Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9af2c67acc1b0a717523512c26f369bc9793e2f1 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-ssh2785241123419905570.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh405765179237576274.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6997822755654677171.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17294039229904816141.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-ssh7975730135470066990.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 ‘prd-ubuntu20.04-docker-8c-8g-6716’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6722 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 > 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 Avoid second fetch Checking out Revision 9af2c67acc1b0a717523512c26f369bc9793e2f1 (main) Commit message: "Merge pull request #1605 from cloudxxx8/issue-1604" > git config core.sparsecheckout # timeout=10 > git checkout -f 9af2c67acc1b0a717523512c26f369bc9793e2f1 # timeout=10 > git rev-list --no-walk fce9cd2fc4ac40e381905aab8d946eeb523fa2a4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:08:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:08:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:08:58 ========================================================= 04:08:58 EdgeX Global Pipelines Version Info 04:08:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:08:59 ------------------- 04:08:59 stable info: 04:08:59 ------------------- 04:08:59 Commited By: Ginny Guan ginny@iotechsys.com 04:08:59 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 04:08:59 Message: update stable to v1.0.260 04:09:00 ------------------- 04:09:00 experimental info: 04:09:00 ------------------- 04:09:00 Commited By: Ginny Guan ginny@iotechsys.com 04:09:00 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 04:09:00 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9af2c67acc1b0a717523512c26f369bc9793e2f1 [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9af2c67 [Pipeline] echo 04:09:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:09:00 provisioning config files... 04:09:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16047570251062759190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:01 ---> ****-login.sh 04:09:01 nexus3.edgexfoundry.org:10001 04:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:01 Configure a credential helper to remove this warning. See 04:09:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:01 04:09:01 Login Succeeded 04:09:01 nexus3.edgexfoundry.org:10002 04:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:01 Configure a credential helper to remove this warning. See 04:09:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:01 04:09:01 Login Succeeded 04:09:01 nexus3.edgexfoundry.org:10003 04:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:01 Configure a credential helper to remove this warning. See 04:09:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:01 04:09:01 Login Succeeded 04:09:01 nexus3.edgexfoundry.org:10004 04:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:01 Configure a credential helper to remove this warning. See 04:09:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:01 04:09:01 Login Succeeded 04:09:01 ****.io 04:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:02 Configure a credential helper to remove this warning. See 04:09:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:02 04:09:02 Login Succeeded 04:09:02 ---> ****-login.sh ends [Pipeline] } 04:09:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:09:02 + git rev-list -1 --merges 9af2c67acc1b0a717523512c26f369bc9793e2f1~1..9af2c67acc1b0a717523512c26f369bc9793e2f1 [Pipeline] echo 04:09:02 -----------> git rev-list -1 --merges 9af2c67acc1b0a717523512c26f369bc9793e2f1~1..9af2c67acc1b0a717523512c26f369bc9793e2f1 9af2c67acc1b0a717523512c26f369bc9793e2f1 04:09:02 9af2c67acc1b0a717523512c26f369bc9793e2f1 [false] [Pipeline] sh 04:09:02 + git log --format=format:%s -1 9af2c67acc1b0a717523512c26f369bc9793e2f1 [Pipeline] echo 04:09:02 ========================================================= 04:09:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:09:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:03 + git log --format=format:%s -1 9af2c67acc1b0a717523512c26f369bc9793e2f1 [Pipeline] echo 04:09:03 [semverPrep] GIT_COMMIT: 9af2c67acc1b0a717523512c26f369bc9793e2f1, Commit Message: Merge pull request #1605 from cloudxxx8/issue-1604 [Pipeline] echo 04:09:03 [semverPrep] This is not a build commit. [Pipeline] sh 04:09:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:09:03 + grep -v github /etc/ssh/ssh_known_hosts 04:09:03 + [ -e /tmp/ssh_known_hosts ] 04:09:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:09:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:09:03 + sudo tee -a /etc/ssh/ssh_known_hosts 04:09:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:09:03 04:09:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:09:04 0.1.4: Pulling from edgex-devops/py-git-semver 04:09:04 b85a868b505f: Pulling fs layer 04:09:04 e2be974225ed: Pulling fs layer 04:09:04 339a4e72a1f5: Pulling fs layer 04:09:04 988bab9f4d93: Pulling fs layer 04:09:04 1469e6f7b9e6: Pulling fs layer 04:09:04 eaf3925da568: Pulling fs layer 04:09:04 bab4dde63d76: Pulling fs layer 04:09:04 bde34c3a00c8: Pulling fs layer 04:09:04 b352a97aabf1: Pulling fs layer 04:09:04 4872d77fe225: Pulling fs layer 04:09:04 5851b861e8e6: Pulling fs layer 04:09:04 4872d77fe225: Waiting 04:09:04 bab4dde63d76: Waiting 04:09:04 bde34c3a00c8: Waiting 04:09:04 5851b861e8e6: Waiting 04:09:04 988bab9f4d93: Waiting 04:09:04 1469e6f7b9e6: Waiting 04:09:04 eaf3925da568: Waiting 04:09:04 b352a97aabf1: Waiting 04:09:04 e2be974225ed: Download complete 04:09:04 988bab9f4d93: Verifying Checksum 04:09:04 988bab9f4d93: Download complete 04:09:04 1469e6f7b9e6: Verifying Checksum 04:09:04 1469e6f7b9e6: Download complete 04:09:04 eaf3925da568: Download complete 04:09:04 339a4e72a1f5: Verifying Checksum 04:09:04 339a4e72a1f5: Download complete 04:09:04 bde34c3a00c8: Verifying Checksum 04:09:04 bde34c3a00c8: Download complete 04:09:04 b352a97aabf1: Download complete 04:09:04 4872d77fe225: Verifying Checksum 04:09:04 4872d77fe225: Download complete 04:09:04 5851b861e8e6: Verifying Checksum 04:09:04 5851b861e8e6: Download complete 04:09:04 b85a868b505f: Verifying Checksum 04:09:04 b85a868b505f: Download complete 04:09:04 bab4dde63d76: Verifying Checksum 04:09:04 bab4dde63d76: Download complete 04:09:05 b85a868b505f: Pull complete 04:09:05 e2be974225ed: Pull complete 04:09:06 339a4e72a1f5: Pull complete 04:09:06 988bab9f4d93: Pull complete 04:09:06 1469e6f7b9e6: Pull complete 04:09:06 eaf3925da568: Pull complete 04:09:08 bab4dde63d76: Pull complete 04:09:08 bde34c3a00c8: Pull complete 04:09:08 b352a97aabf1: Pull complete 04:09:08 4872d77fe225: Pull complete 04:09:08 5851b861e8e6: Pull complete 04:09:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:09:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:09:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:08 prd-ubuntu20.04-docker-8c-8g-6722 does not seem to be running inside a container 04:09:08 $ 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 04:09:12 $ docker top 4057f110962ea61fecf46e9f7361ab0183a3e9ed803e34ca61862b13f3ff279f -eo pid,comm 04:09:12 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). 04:09:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:09:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:09:12 [ssh-agent] Looking for ssh-agent implementation... 04:09:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:09:12 $ docker exec 4057f110962ea61fecf46e9f7361ab0183a3e9ed803e34ca61862b13f3ff279f ssh-agent 04:09:12 SSH_AUTH_SOCK=/tmp/ssh-88yH9FYTfbqv/agent.32 04:09:12 SSH_AGENT_PID=38 04:09:12 Running ssh-add (command line suppressed) 04:09:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6067010649218470101.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6067010649218470101.key) 04:09:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:09:13 + git tag --points-at HEAD [Pipeline] } 04:09:13 $ docker exec --env ******** --env ******** 4057f110962ea61fecf46e9f7361ab0183a3e9ed803e34ca61862b13f3ff279f ssh-agent -k 04:09:13 unset SSH_AUTH_SOCK; 04:09:13 unset SSH_AGENT_PID; 04:09:13 echo Agent pid 38 killed; 04:09:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:09:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:09:13 [ssh-agent] Looking for ssh-agent implementation... 04:09:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:09:13 $ docker exec 4057f110962ea61fecf46e9f7361ab0183a3e9ed803e34ca61862b13f3ff279f ssh-agent 04:09:13 SSH_AUTH_SOCK=/tmp/ssh-Sl7rVV3L4Qe5/agent.71 04:09:13 SSH_AGENT_PID=77 04:09:13 Running ssh-add (command line suppressed) 04:09:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13194968100724608080.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13194968100724608080.key) 04:09:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:09:13 + git semver init 04:09:14 2024-07-30 04:09:14,105 [run_init] DEBUG init version:0.0.0 force:False 04:09:14 2024-07-30 04:09:14,106 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:09:14 2024-07-30 04:09:14,107 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:09:14 2024-07-30 04:09:14,107 [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) 04:09:17 2024-07-30 04:09:16,149 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:09:17 2024-07-30 04:09:16,149 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:09:17 2024-07-30 04:09:16,150 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:09:17 2024-07-30 04:09:16,150 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:09:17 3.2.0-dev.28 [Pipeline] } 04:09:17 $ docker exec --env ******** --env ******** 4057f110962ea61fecf46e9f7361ab0183a3e9ed803e34ca61862b13f3ff279f ssh-agent -k 04:09:17 unset SSH_AUTH_SOCK; 04:09:17 unset SSH_AGENT_PID; 04:09:17 echo Agent pid 77 killed; 04:09:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:09:17 + git semver [Pipeline] } 04:09:18 $ docker stop --time=1 4057f110962ea61fecf46e9f7361ab0183a3e9ed803e34ca61862b13f3ff279f 04:09:19 $ docker rm -f --volumes 4057f110962ea61fecf46e9f7361ab0183a3e9ed803e34ca61862b13f3ff279f [Pipeline] // withDockerContainer [Pipeline] sh 04:09:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:09:20 Stashed 1 file(s) [Pipeline] echo 04:09:20 [edgeXSemver]: initialized semver on version 3.2.0-dev.28 [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 04:09:20 provisioning config files... 04:09:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17917801891919252819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:20 ---> ****-login.sh 04:09:20 nexus3.edgexfoundry.org:10001 04:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:20 Configure a credential helper to remove this warning. See 04:09:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:20 04:09:20 Login Succeeded 04:09:20 nexus3.edgexfoundry.org:10002 04:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:20 Configure a credential helper to remove this warning. See 04:09:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:20 04:09:20 Login Succeeded 04:09:20 nexus3.edgexfoundry.org:10003 04:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:20 Configure a credential helper to remove this warning. See 04:09:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:20 04:09:20 Login Succeeded 04:09:20 nexus3.edgexfoundry.org:10004 04:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:20 Configure a credential helper to remove this warning. See 04:09:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:20 04:09:20 Login Succeeded 04:09:20 ****.io 04:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:09:21 Configure a credential helper to remove this warning. See 04:09:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:09:21 04:09:21 Login Succeeded 04:09:21 ---> ****-login.sh ends [Pipeline] } 04:09:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:09:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:09:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:09:21 ========================================================= 04:09:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:09:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:21 + 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 . 04:09:21 Sending build context to Docker daemon 25.13MB 04:09:21 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:09:21 Step 2/10 : FROM ${BASE} AS builder 04:09:21 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:09:21 619be1103602: Pulling fs layer 04:09:21 7862e08f4a3e: Pulling fs layer 04:09:21 5df492c9dc93: Pulling fs layer 04:09:21 7629e6793208: Pulling fs layer 04:09:21 4f4fb700ef54: Pulling fs layer 04:09:21 fb5054dd5b73: Pulling fs layer 04:09:21 eeca6798cff9: Pulling fs layer 04:09:21 aa269ceb94a6: Pulling fs layer 04:09:21 ada007ff1a6a: Pulling fs layer 04:09:21 4f4fb700ef54: Waiting 04:09:21 fb5054dd5b73: Waiting 04:09:21 eeca6798cff9: Waiting 04:09:21 aa269ceb94a6: Waiting 04:09:21 ada007ff1a6a: Waiting 04:09:21 7629e6793208: Waiting 04:09:21 7862e08f4a3e: Download complete 04:09:21 7629e6793208: Download complete 04:09:21 4f4fb700ef54: Download complete 04:09:21 fb5054dd5b73: Verifying Checksum 04:09:21 fb5054dd5b73: Download complete 04:09:21 619be1103602: Verifying Checksum 04:09:21 619be1103602: Download complete 04:09:21 eeca6798cff9: Verifying Checksum 04:09:21 eeca6798cff9: Download complete 04:09:22 619be1103602: Pull complete 04:09:22 ada007ff1a6a: Verifying Checksum 04:09:22 ada007ff1a6a: Download complete 04:09:22 7862e08f4a3e: Pull complete 04:09:22 5df492c9dc93: Verifying Checksum 04:09:22 5df492c9dc93: Download complete 04:09:22 aa269ceb94a6: Verifying Checksum 04:09:22 aa269ceb94a6: Download complete 04:09:25 5df492c9dc93: Pull complete 04:09:25 7629e6793208: Pull complete 04:09:25 4f4fb700ef54: Pull complete 04:09:25 fb5054dd5b73: Pull complete 04:09:25 eeca6798cff9: Pull complete 04:09:27 aa269ceb94a6: Pull complete 04:09:27 ada007ff1a6a: Pull complete 04:09:27 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:09:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:09:28 ---> f489d0715acc 04:09:28 Step 3/10 : ARG MAKE=make build 04:09:33 ---> Running in 1a72de330146 04:09:33 Removing intermediate container 1a72de330146 04:09:33 ---> 7e089808d2fb 04:09:33 Step 4/10 : WORKDIR /device-sdk-go 04:09:33 ---> Running in 2f65bf7ca9b5 04:09:33 Removing intermediate container 2f65bf7ca9b5 04:09:33 ---> b1edf2e766e9 04:09:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:09:33 ---> Running in 842317ea599a 04:09:33 Removing intermediate container 842317ea599a 04:09:33 ---> 8fdcddc6414e 04:09:33 Step 6/10 : RUN apk add --update --no-cache make git 04:09:33 ---> Running in b686a0b8ad0c 04:09:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:09:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:09:33 OK: 264 MiB in 52 packages 04:09:34 Removing intermediate container b686a0b8ad0c 04:09:34 ---> b8b03dc782f3 04:09:34 Step 7/10 : COPY go.mod vendor* ./ 04:09:34 ---> 997022494fe8 04:09:34 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:34 ---> Running in 568786d41f9d 04:09:35 Still waiting to schedule task 04:09:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6720’ is offline 04:10:30 Removing intermediate container 568786d41f9d 04:10:30 ---> 86a47339ef49 04:10:30 Step 9/10 : COPY . . 04:10:30 ---> 11f1297eb8ea 04:10:30 Step 10/10 : RUN ${MAKE} 04:10:30 ---> Running in c8c04b2bad6b 04:10:30 noop 04:10:30 Removing intermediate container c8c04b2bad6b 04:10:30 ---> fc19407fdc82 04:10:30 Successfully built fc19407fdc82 04:10:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:30 + docker inspect -f . ci-base-image-x86_64 04:10:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:30 prd-ubuntu20.04-docker-8c-8g-6722 does not seem to be running inside a container 04:10:30 $ 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 04:10:31 $ docker top 1ad7b755505978e31622e8fc495a5984afdd60ed340d3b5146d970459d18b390 -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:31 + go version 04:10:31 go version go1.21.9 linux/amd64 [Pipeline] } 04:10:31 $ docker stop --time=1 1ad7b755505978e31622e8fc495a5984afdd60ed340d3b5146d970459d18b390 04:10:32 $ docker rm -f --volumes 1ad7b755505978e31622e8fc495a5984afdd60ed340d3b5146d970459d18b390 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:33 + docker inspect -f . ci-base-image-x86_64 04:10:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:33 prd-ubuntu20.04-docker-8c-8g-6722 does not seem to be running inside a container 04:10:33 $ 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 04:10:33 $ docker top 6d1d74d5f466e31edf6a3cd629308075b3aa2a4dafb2d47c9ccbaca66cb82e27 -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:34 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:10:34 + make test 04:10:34 go test -race -coverprofile=coverage.out ./... 04:10:40 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:11:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:11:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:11:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:11:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:11:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:11:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:11:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:11:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.028s coverage: 27.0% of statements 04:11:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.033s coverage: 79.4% of statements 04:11:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.042s coverage: 86.0% of statements 04:11:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:11:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:11:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:11:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.081s coverage: 55.2% of statements 04:11:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:11:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.030s coverage: 14.4% of statements 04:11:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.842s coverage: 44.6% of statements 04:11:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.041s coverage: 68.5% of statements 04:11:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.093s coverage: 89.2% of statements 04:11:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.4% of statements 04:11:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6723 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:11:11 Running in /w/workspace/device-sdk-go/303 [Pipeline] { [Pipeline] checkout 04:11:11 The recommended git tool is: git 04:11:21 using credential edgex-jenkins-ssh 04:11:21 Cloning the remote Git repository 04:11:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:11:21 > git init /w/workspace/device-sdk-go/303 # timeout=10 04:11:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:11:21 > git --version # timeout=10 04:11:21 > git --version # 'git version 2.25.1' 04:11:21 using GIT_SSH to set credentials SSH Credentials for GitHub 04:11:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:11:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:11:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:11:26 Avoid second fetch 04:11:26 Checking out Revision 9af2c67acc1b0a717523512c26f369bc9793e2f1 (main) 04:11:26 > git config core.sparsecheckout # timeout=10 04:11:26 > git checkout -f 9af2c67acc1b0a717523512c26f369bc9793e2f1 # timeout=10 04:11:27 Commit message: "Merge pull request #1605 from cloudxxx8/issue-1604" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:11:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:11:32 % Total % Received % Xferd Average Speed Time Time Time Current 04:11:32 Dload Upload Total Spent Left Speed 04:11:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 04:11:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:11:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:11:33 + sudo tee /etc/docker/daemon.new 04:11:33 { 04:11:33 "registry-mirrors": [ 04:11:33 "https://nexus3.edgexfoundry.org:10001" 04:11:33 ], 04:11:33 "bip": "10.250.0.254/24", 04:11:33 "hosts": [ 04:11:33 "tcp://0.0.0.0:5555", 04:11:33 "unix:///var/run/docker.sock" 04:11:33 ], 04:11:33 "mtu": 1458, 04:11:33 "selinux-enabled": true, 04:11:33 "seccomp-profile": "/etc/docker/seccomp.json" 04:11:33 } [Pipeline] sh 04:11:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:11:33 + sudo service docker restart 04:11:42 GO111MODULE=on go vet ./... 04:11:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:11:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:11:43 ./bin/test-attribution-txt.sh [Pipeline] echo 04:11:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:11:43 $ docker stop --time=1 6d1d74d5f466e31edf6a3cd629308075b3aa2a4dafb2d47c9ccbaca66cb82e27 04:11:49 $ docker rm -f --volumes 6d1d74d5f466e31edf6a3cd629308075b3aa2a4dafb2d47c9ccbaca66cb82e27 [Pipeline] // withDockerContainer [Pipeline] sh 04:11:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:11:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:11:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:11:50 + ls -al . 04:11:50 total 380 04:11:50 drwxrwxr-x 11 jenkins jenkins 4096 Jul 30 04:10 . 04:11:50 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 04:08 .. 04:11:50 -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 04:08 .dockerignore 04:11:50 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 04:11 .git 04:11:50 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 04:08 .github 04:11:50 -rw-rw-r-- 1 jenkins jenkins 137 Jul 30 04:08 .gitignore 04:11:50 -rw-rw-r-- 1 jenkins jenkins 42 Jul 30 04:08 .golangci.yml 04:11:50 drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 04:09 .semver 04:11:50 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 30 04:08 CHANGELOG.md 04:11:50 -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 04:08 GOVERNANCE.md 04:11:50 -rw-rw-r-- 1 jenkins jenkins 885 Jul 30 04:08 Jenkinsfile 04:11:50 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 30 04:08 LICENSE 04:11:50 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 30 04:08 Makefile 04:11:50 -rw-rw-r-- 1 jenkins jenkins 619 Jul 30 04:08 OWNERS.md 04:11:50 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 30 04:08 README.md 04:11:50 -rw-rw-r-- 1 jenkins jenkins 12 Jul 30 04:09 VERSION 04:11:50 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 04:08 bin 04:11:50 -rw-r--r-- 1 jenkins jenkins 125320 Jul 30 04:11 coverage.out 04:11:50 drwxrwxr-x 5 jenkins jenkins 4096 Jul 30 04:08 example 04:11:50 -rw-rw-r-- 1 jenkins jenkins 6996 Jul 30 04:08 go.mod 04:11:50 -rw-rw-r-- 1 jenkins jenkins 101460 Jul 30 04:08 go.sum 04:11:50 drwxrwxr-x 12 jenkins jenkins 4096 Jul 30 04:08 internal 04:11:50 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 04:08 openapi 04:11:50 drwxrwxr-x 6 jenkins jenkins 4096 Jul 30 04:08 pkg 04:11:50 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 04:08 snap 04:11:50 -rw-rw-r-- 1 jenkins jenkins 222 Jul 30 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:50 + 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=9af2c67acc1b0a717523512c26f369bc9793e2f1 --label arch=amd64 --label version=3.2.0-dev.28 . 04:11:50 Sending build context to Docker daemon 25.26MB 04:11:50 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:11:50 Step 2/24 : FROM ${BASE} AS builder 04:11:50 ---> fc19407fdc82 04:11:50 Step 3/24 : ARG MAKE=make build 04:11:51 ---> Running in b3dbdb347973 04:11:51 Removing intermediate container b3dbdb347973 04:11:51 ---> 74c562d52169 04:11:51 Step 4/24 : WORKDIR /device-sdk-go 04:11:51 ---> Running in ba5d326045d2 04:11:51 Removing intermediate container ba5d326045d2 04:11:51 ---> 8420632d2d2d 04:11:51 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:11:51 ---> Running in 0132b0d82693 04:11:51 Removing intermediate container 0132b0d82693 04:11:51 ---> a702844db4bd 04:11:51 Step 6/24 : RUN apk add --update --no-cache make git 04:11:51 ---> Running in b41acf9659f0 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:11:52 provisioning config files... 04:11:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/303@tmp/config13244463581619624715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:11:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:11:52 ---> ****-login.sh 04:11:52 nexus3.edgexfoundry.org:10001 04:11:52 OK: 264 MiB in 52 packages 04:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:52 Removing intermediate container b41acf9659f0 04:11:52 ---> 806332904030 04:11:52 Step 7/24 : COPY go.mod vendor* ./ 04:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:11:53 Configure a credential helper to remove this warning. See 04:11:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:11:53 04:11:53 Login Succeeded 04:11:53 nexus3.edgexfoundry.org:10002 04:11:53 ---> c5d0d61aaa35 04:11:53 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:53 ---> Running in 81ee767f2b52 04:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:11:53 Configure a credential helper to remove this warning. See 04:11:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:11:53 04:11:53 Login Succeeded 04:11:53 nexus3.edgexfoundry.org:10003 04:11:53 Removing intermediate container 81ee767f2b52 04:11:53 ---> 3daaab16c679 04:11:53 Step 9/24 : COPY . . 04:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:11:53 Configure a credential helper to remove this warning. See 04:11:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:11:53 04:11:53 Login Succeeded 04:11:53 nexus3.edgexfoundry.org:10004 04:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:11:54 Configure a credential helper to remove this warning. See 04:11:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:11:54 04:11:54 Login Succeeded 04:11:54 ****.io 04:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:11:54 Configure a credential helper to remove this warning. See 04:11:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:11:54 04:11:54 Login Succeeded 04:11:54 ---> ****-login.sh ends [Pipeline] } 04:11:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:11:54 ---> 71d7f3d4e7e8 04:11:54 Step 10/24 : RUN ${MAKE} 04:11:54 ---> Running in 52a37ffedef9 04:11:54 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.28" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] echo 04:11:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:11:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:11:54 ========================================================= 04:11:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:11:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:55 + 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 . 04:11:55 Sending build context to Docker daemon 13MB 04:11:55 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:11:55 Step 2/10 : FROM ${BASE} AS builder 04:11:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:11:55 c6b39de5b339: Pulling fs layer 04:11:55 a69c41024577: Pulling fs layer 04:11:55 d6de4b400683: Pulling fs layer 04:11:55 35cb2a7552d0: Pulling fs layer 04:11:55 4f4fb700ef54: Pulling fs layer 04:11:55 464afbd9ba4c: Pulling fs layer 04:11:55 00f215d4a9da: Pulling fs layer 04:11:55 d496ad576159: Pulling fs layer 04:11:55 464afbd9ba4c: Waiting 04:11:55 35cb2a7552d0: Waiting 04:11:55 00f215d4a9da: Waiting 04:11:55 4f4fb700ef54: Waiting 04:11:55 d496ad576159: Waiting 04:11:55 a69c41024577: Download complete 04:11:56 35cb2a7552d0: Verifying Checksum 04:11:56 35cb2a7552d0: Download complete 04:11:56 4f4fb700ef54: Verifying Checksum 04:11:56 4f4fb700ef54: Download complete 04:11:56 464afbd9ba4c: Verifying Checksum 04:11:56 464afbd9ba4c: Download complete 04:11:56 c6b39de5b339: Download complete 04:11:56 d496ad576159: Verifying Checksum 04:11:56 d496ad576159: Download complete 04:11:57 c6b39de5b339: Pull complete 04:11:58 a69c41024577: Pull complete 04:11:58 d6de4b400683: Verifying Checksum 04:11:58 d6de4b400683: Download complete 04:11:59 00f215d4a9da: Verifying Checksum 04:12:11 d6de4b400683: Pull complete 04:12:11 35cb2a7552d0: Pull complete 04:12:11 4f4fb700ef54: Pull complete 04:12:11 464afbd9ba4c: Pull complete 04:12:21 00f215d4a9da: Pull complete 04:12:22 d496ad576159: Pull complete 04:12:22 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:12:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:12:22 ---> f246e2811388 04:12:22 Step 3/10 : ARG MAKE=make build 04:12:23 ---> Running in 8f511e405a87 04:12:24 Removing intermediate container 8f511e405a87 04:12:24 ---> 8b8667fa482b 04:12:24 Step 4/10 : WORKDIR /device-sdk-go 04:12:24 ---> Running in 444ed9fceab8 04:12:24 Removing intermediate container 444ed9fceab8 04:12:24 ---> 0afd0c9834c3 04:12:24 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:12:24 ---> Running in 7239cf5e1527 04:12:24 Removing intermediate container 7239cf5e1527 04:12:24 ---> a591e24d2090 04:12:24 Step 6/10 : RUN apk add --update --no-cache make git 04:12:24 ---> Running in bc8255447b61 04:12:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:12:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:12:26 Removing intermediate container 52a37ffedef9 04:12:26 ---> 02c769b07df8 04:12:26 Step 11/24 : FROM alpine:3.18 04:12:26 3.18: Pulling from library/alpine 04:12:26 930bdd4d222e: Pulling fs layer 04:12:26 930bdd4d222e: Verifying Checksum 04:12:26 930bdd4d222e: Download complete 04:12:26 930bdd4d222e: Pull complete 04:12:26 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 04:12:26 Status: Downloaded newer image for alpine:3.18 04:12:26 ---> 18f865063206 04:12:26 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:12:26 ---> Running in ecc398e4d30b 04:12:26 Removing intermediate container ecc398e4d30b 04:12:26 ---> e7fd79b78ebb 04:12:26 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:12:26 ---> Running in 7f35531e18a1 04:12:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:12:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:12:26 (1/1) Installing dumb-init (1.2.5-r2) 04:12:26 Executing busybox-1.36.1-r7.trigger 04:12:26 OK: 7 MiB in 16 packages 04:12:26 Removing intermediate container 7f35531e18a1 04:12:26 ---> 71099a6ca78b 04:12:26 Step 14/24 : RUN apk --no-cache upgrade 04:12:27 ---> Running in 77ae258a47c1 04:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:12:27 OK: 266 MiB in 52 packages 04:12:27 OK: 7 MiB in 16 packages 04:12:27 Removing intermediate container 77ae258a47c1 04:12:27 ---> 3fa99bf29968 04:12:27 Step 15/24 : WORKDIR / 04:12:27 ---> Running in 51c4a62bce51 04:12:27 Removing intermediate container 51c4a62bce51 04:12:27 ---> 47dc84273581 04:12:27 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:12:28 Removing intermediate container bc8255447b61 04:12:28 ---> 767903eef13d 04:12:28 Step 7/10 : COPY go.mod vendor* ./ 04:12:28 ---> e0f2ab857113 04:12:28 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:12:28 ---> 4f2cea83728d 04:12:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:12:28 ---> Running in 90584152a52c 04:12:30 ---> 6a9fd47ebb06 04:12:30 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:12:30 ---> 7c5e8e2e7740 04:12:30 Step 19/24 : EXPOSE 59999 04:12:30 ---> Running in b19556611e2a 04:12:30 Removing intermediate container b19556611e2a 04:12:30 ---> 2c5b28485971 04:12:30 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:12:30 ---> Running in 6788a3588d7c 04:12:30 Removing intermediate container 6788a3588d7c 04:12:30 ---> 6332e598e6ef 04:12:30 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:12:30 ---> Running in 74455a6d9f75 04:12:30 Removing intermediate container 74455a6d9f75 04:12:30 ---> 6dc845f9e4cc 04:12:30 Step 22/24 : LABEL arch=amd64 04:12:30 ---> Running in ff9707993238 04:12:30 Removing intermediate container ff9707993238 04:12:30 ---> 8be8e1f2edd1 04:12:30 Step 23/24 : LABEL git_sha=9af2c67acc1b0a717523512c26f369bc9793e2f1 04:12:30 ---> Running in 2bed7dbfe694 04:12:30 Removing intermediate container 2bed7dbfe694 04:12:30 ---> 482eb140de90 04:12:30 Step 24/24 : LABEL version=3.2.0-dev.28 04:12:30 ---> Running in c0ccb86f5248 04:12:30 Removing intermediate container c0ccb86f5248 04:12:30 ---> a471f0a0a571 04:12:30 [Warning] One or more build-args [ARCH] were not consumed 04:12:30 Successfully built a471f0a0a571 04:12:30 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 04:12:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:31 04:12:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:31 latest: Pulling from edgex-lftools-log-publisher 04:12:31 5eb5b503b376: Pulling fs layer 04:12:31 5c69ac0246d0: Pulling fs layer 04:12:31 ec43610c2a17: Pulling fs layer 04:12:31 3a2ae6a8a46f: Pulling fs layer 04:12:31 33b1e0a273af: Pulling fs layer 04:12:31 5d3b04190fa2: Pulling fs layer 04:12:31 2f39f015ded8: Pulling fs layer 04:12:31 3a2ae6a8a46f: Waiting 04:12:31 5d3b04190fa2: Waiting 04:12:31 33b1e0a273af: Waiting 04:12:31 2f39f015ded8: Waiting 04:12:31 5c69ac0246d0: Verifying Checksum 04:12:31 5c69ac0246d0: Download complete 04:12:31 3a2ae6a8a46f: Verifying Checksum 04:12:31 3a2ae6a8a46f: Download complete 04:12:31 33b1e0a273af: Verifying Checksum 04:12:31 33b1e0a273af: Download complete 04:12:31 5d3b04190fa2: Verifying Checksum 04:12:31 5d3b04190fa2: Download complete 04:12:31 ec43610c2a17: Verifying Checksum 04:12:31 ec43610c2a17: Download complete 04:12:31 5eb5b503b376: Verifying Checksum 04:12:31 5eb5b503b376: Download complete 04:12:32 2f39f015ded8: Download complete 04:12:32 5eb5b503b376: Pull complete 04:12:32 5c69ac0246d0: Pull complete 04:12:33 ec43610c2a17: Pull complete 04:12:33 3a2ae6a8a46f: Pull complete 04:12:33 33b1e0a273af: Pull complete 04:12:33 5d3b04190fa2: Pull complete 04:12:37 2f39f015ded8: Pull complete 04:12:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:12:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:37 prd-ubuntu20.04-docker-8c-8g-6722 does not seem to be running inside a container 04:12:37 $ 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 04:12:42 $ docker top 4f64ae66b76a3bcfc5499384d7e3865a117403a5b59218b415afb76560bc3ee7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:42 ---> job-cost.sh 04:12:42 lf-activate-venv: SKIPPING 04:12:42 INFO: No Stack... 04:12:43 INFO: Retrieving Pricing Info for: v3-standard-8 04:12:43 INFO: Archiving Costs [Pipeline] sh 04:12:43 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:12:43 + cut -d, -f6 [Pipeline] lock 04:12:43 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-303-stack-cost] 04:12:43 Resource [jenkins-edgexfoundry-device-sdk-go-main-303-stack-cost] did not exist. Created. 04:12:43 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-303-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:12:43 + echo total: 0.2199999988079071 [Pipeline] stash 04:12:43 Stashed 1 file(s) [Pipeline] } 04:12:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-303-stack-cost] [Pipeline] // lock [Pipeline] } 04:12:44 $ docker stop --time=1 4f64ae66b76a3bcfc5499384d7e3865a117403a5b59218b415afb76560bc3ee7 04:12:45 $ docker rm -f --volumes 4f64ae66b76a3bcfc5499384d7e3865a117403a5b59218b415afb76560bc3ee7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:14:20 Removing intermediate container 90584152a52c 04:14:20 ---> ffdc024efdc5 04:14:20 Step 9/10 : COPY . . 04:14:20 ---> 35d74e80e6ad 04:14:20 Step 10/10 : RUN ${MAKE} 04:14:20 ---> Running in 44b04ec510b5 04:14:20 noop 04:14:20 Removing intermediate container 44b04ec510b5 04:14:20 ---> a35a43085c8e 04:14:20 Successfully built a35a43085c8e 04:14:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:20 + docker inspect -f . ci-base-image-arm64 04:14:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:14:20 prd-ubuntu20.04-docker-arm64-4c-16g-6723 does not seem to be running inside a container 04:14:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/303 -v /w/workspace/device-sdk-go/303:/w/workspace/device-sdk-go/303:rw,z -v /w/workspace/device-sdk-go/303@tmp:/w/workspace/device-sdk-go/303@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:14:22 $ docker top ed54a8be98cf27b6eaf4b9b626665a760be9c63dcb7ef064c05dab95a97ac988 -eo pid,comm [Pipeline] { [Pipeline] sh 04:14:22 + go version 04:14:22 go version go1.21.9 linux/arm64 [Pipeline] } 04:14:22 $ docker stop --time=1 ed54a8be98cf27b6eaf4b9b626665a760be9c63dcb7ef064c05dab95a97ac988 04:14:24 $ docker rm -f --volumes ed54a8be98cf27b6eaf4b9b626665a760be9c63dcb7ef064c05dab95a97ac988 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:25 + docker inspect -f . ci-base-image-arm64 04:14:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:14:25 prd-ubuntu20.04-docker-arm64-4c-16g-6723 does not seem to be running inside a container 04:14:25 $ 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/303 -v /w/workspace/device-sdk-go/303:/w/workspace/device-sdk-go/303:rw,z -v /w/workspace/device-sdk-go/303@tmp:/w/workspace/device-sdk-go/303@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:14:26 $ docker top 8e3b786d9692f05f32ee6522d2fbac17e8b06aeb40835b3295075b91510ebb74 -eo pid,comm [Pipeline] { [Pipeline] sh 04:14:27 + git config --global --add safe.directory /w/workspace/device-sdk-go/303 [Pipeline] fileExists [Pipeline] sh 04:14:28 + make test 04:14:28 go test -race -coverprofile=coverage.out ./... 04:15:06 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:18:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:18:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:18:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:18:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:18:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:18:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.114s coverage: 27.0% of statements 04:18:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.166s coverage: 79.4% of statements 04:18:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:18:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:18:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.264s coverage: 86.0% of statements 04:18:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:18:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.393s coverage: 55.2% of statements 04:18:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.164s coverage: 14.4% of statements 04:18:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.492s coverage: 44.6% of statements 04:18:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:18:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:18:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.315s coverage: 68.5% of statements 04:18:54 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.386s coverage: 89.2% of statements 04:18:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:19:00 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.231s coverage: 5.4% of statements 04:19:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:19:01 GO111MODULE=on go vet ./... 04:22:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:22:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:22:38 ./bin/test-attribution-txt.sh [Pipeline] echo 04:22:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:22:38 $ docker stop --time=1 8e3b786d9692f05f32ee6522d2fbac17e8b06aeb40835b3295075b91510ebb74 04:22:40 $ docker rm -f --volumes 8e3b786d9692f05f32ee6522d2fbac17e8b06aeb40835b3295075b91510ebb74 [Pipeline] // withDockerContainer [Pipeline] sh 04:22:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:22:42 Warning: overwriting stash ‘coverage-report’ 04:22:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:22:44 + ls -al . 04:22:44 total 376 04:22:44 drwxrwxr-x 10 jenkins jenkins 4096 Jul 30 04:14 . 04:22:44 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 04:11 .. 04:22:44 -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 04:11 .dockerignore 04:22:44 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 04:11 .git 04:22:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 04:11 .github 04:22:44 -rw-rw-r-- 1 jenkins jenkins 137 Jul 30 04:11 .gitignore 04:22:44 -rw-rw-r-- 1 jenkins jenkins 42 Jul 30 04:11 .golangci.yml 04:22:44 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 30 04:11 CHANGELOG.md 04:22:44 -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 04:11 GOVERNANCE.md 04:22:44 -rw-rw-r-- 1 jenkins jenkins 885 Jul 30 04:11 Jenkinsfile 04:22:44 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 30 04:11 LICENSE 04:22:44 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 30 04:11 Makefile 04:22:44 -rw-rw-r-- 1 jenkins jenkins 619 Jul 30 04:11 OWNERS.md 04:22:44 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 30 04:11 README.md 04:22:44 -rw-rw-r-- 1 jenkins jenkins 12 Jul 30 04:09 VERSION 04:22:44 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 04:11 bin 04:22:44 -rw-r--r-- 1 jenkins jenkins 125320 Jul 30 04:19 coverage.out 04:22:44 drwxrwxr-x 5 jenkins jenkins 4096 Jul 30 04:11 example 04:22:44 -rw-rw-r-- 1 jenkins jenkins 6996 Jul 30 04:11 go.mod 04:22:44 -rw-rw-r-- 1 jenkins jenkins 101460 Jul 30 04:11 go.sum 04:22:44 drwxrwxr-x 12 jenkins jenkins 4096 Jul 30 04:11 internal 04:22:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 04:11 openapi 04:22:44 drwxrwxr-x 6 jenkins jenkins 4096 Jul 30 04:11 pkg 04:22:44 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 04:11 snap 04:22:44 -rw-rw-r-- 1 jenkins jenkins 222 Jul 30 04:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:44 + 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=9af2c67acc1b0a717523512c26f369bc9793e2f1 --label arch=arm64 --label version=3.2.0-dev.28 . 04:22:45 Sending build context to Docker daemon 13.12MB 04:22:45 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:22:45 Step 2/24 : FROM ${BASE} AS builder 04:22:45 ---> a35a43085c8e 04:22:45 Step 3/24 : ARG MAKE=make build 04:22:45 ---> Running in 64ce4984e4aa 04:22:45 Removing intermediate container 64ce4984e4aa 04:22:45 ---> 3a8be793e286 04:22:45 Step 4/24 : WORKDIR /device-sdk-go 04:22:45 ---> Running in 40257d593134 04:22:45 Removing intermediate container 40257d593134 04:22:45 ---> 08b66c3470a6 04:22:45 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:22:45 ---> Running in 16faebef82e0 04:22:46 Removing intermediate container 16faebef82e0 04:22:46 ---> 8069016b2211 04:22:46 Step 6/24 : RUN apk add --update --no-cache make git 04:22:46 ---> Running in a88df33cb313 04:22:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:22:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:22:48 OK: 266 MiB in 52 packages 04:22:49 Removing intermediate container a88df33cb313 04:22:49 ---> 14229569bcc4 04:22:49 Step 7/24 : COPY go.mod vendor* ./ 04:22:50 ---> 6d96e9d89d34 04:22:50 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:22:50 ---> Running in 7d231d998bec 04:22:52 Removing intermediate container 7d231d998bec 04:22:52 ---> d899a9d4432c 04:22:52 Step 9/24 : COPY . . 04:22:53 ---> c145d30d5745 04:22:53 Step 10/24 : RUN ${MAKE} 04:22:53 ---> Running in c64c9e387042 04:22:54 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.28" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:26:16 Removing intermediate container c64c9e387042 04:26:16 ---> f220bb1c94ec 04:26:16 Step 11/24 : FROM alpine:3.18 04:26:16 3.18: Pulling from library/alpine 04:26:16 4983c3fe2029: Pulling fs layer 04:26:16 4983c3fe2029: Verifying Checksum 04:26:16 4983c3fe2029: Download complete 04:26:16 4983c3fe2029: Pull complete 04:26:16 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 04:26:16 Status: Downloaded newer image for alpine:3.18 04:26:16 ---> a0237000ae83 04:26:16 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:26:16 ---> Running in ce616ac21f5c 04:26:16 Removing intermediate container ce616ac21f5c 04:26:16 ---> bae71ee3ef18 04:26:16 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:26:16 ---> Running in 1b12c3967c4a 04:26:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:26:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:26:16 (1/1) Installing dumb-init (1.2.5-r2) 04:26:16 Executing busybox-1.36.1-r7.trigger 04:26:16 OK: 8 MiB in 16 packages 04:26:17 Removing intermediate container 1b12c3967c4a 04:26:17 ---> ee142a926ba3 04:26:17 Step 14/24 : RUN apk --no-cache upgrade 04:26:17 ---> Running in 8519acbc6b19 04:26:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:26:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:26:19 OK: 8 MiB in 16 packages 04:26:20 Removing intermediate container 8519acbc6b19 04:26:20 ---> 199fa57bb40e 04:26:20 Step 15/24 : WORKDIR / 04:26:20 ---> Running in 22178bd2e3ef 04:26:21 Removing intermediate container 22178bd2e3ef 04:26:21 ---> 9bb1bac3dc37 04:26:21 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:26:21 ---> d2528d267064 04:26:21 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:26:23 ---> 9bc3d75303d3 04:26:23 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:26:24 ---> 1dce6ca11093 04:26:24 Step 19/24 : EXPOSE 59999 04:26:24 ---> Running in 04fce372304f 04:26:24 Removing intermediate container 04fce372304f 04:26:24 ---> e2c385bc7c88 04:26:24 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:26:24 ---> Running in 59bf322485d8 04:26:25 Removing intermediate container 59bf322485d8 04:26:25 ---> d6688a55fb0c 04:26:25 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:26:25 ---> Running in b53cf39adb11 04:26:25 Removing intermediate container b53cf39adb11 04:26:25 ---> 055f301d0ffb 04:26:25 Step 22/24 : LABEL arch=arm64 04:26:25 ---> Running in 4ad9adcda527 04:26:25 Removing intermediate container 4ad9adcda527 04:26:25 ---> 5896a5c137c8 04:26:25 Step 23/24 : LABEL git_sha=9af2c67acc1b0a717523512c26f369bc9793e2f1 04:26:25 ---> Running in c4eae5ac3e77 04:26:26 Removing intermediate container c4eae5ac3e77 04:26:26 ---> fcf9ed26b63d 04:26:26 Step 24/24 : LABEL version=3.2.0-dev.28 04:26:26 ---> Running in fbe969c8c748 04:26:26 Removing intermediate container fbe969c8c748 04:26:26 ---> 3d9542e7b5d5 04:26:26 [Warning] One or more build-args [ARCH] were not consumed 04:26:26 Successfully built 3d9542e7b5d5 04:26:26 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 04:26:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:27 04:26:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:27 arm64: Pulling from edgex-lftools-log-publisher 04:26:27 8998bd30e6a1: Pulling fs layer 04:26:27 04944245beec: Pulling fs layer 04:26:27 699f458cf7ca: Pulling fs layer 04:26:27 765212b225bb: Pulling fs layer 04:26:27 765212b225bb: Waiting 04:26:27 f23df028b6ca: Pulling fs layer 04:26:27 f23df028b6ca: Waiting 04:26:27 d65c8cfc05b1: Pulling fs layer 04:26:27 2437ff75d9bd: Pulling fs layer 04:26:27 d65c8cfc05b1: Waiting 04:26:27 2437ff75d9bd: Waiting 04:26:27 04944245beec: Verifying Checksum 04:26:27 04944245beec: Download complete 04:26:27 765212b225bb: Download complete 04:26:27 f23df028b6ca: Verifying Checksum 04:26:27 f23df028b6ca: Download complete 04:26:27 d65c8cfc05b1: Verifying Checksum 04:26:27 d65c8cfc05b1: Download complete 04:26:27 699f458cf7ca: Verifying Checksum 04:26:27 699f458cf7ca: Download complete 04:26:28 8998bd30e6a1: Download complete 04:26:30 2437ff75d9bd: Verifying Checksum 04:26:30 2437ff75d9bd: Download complete 04:26:32 8998bd30e6a1: Pull complete 04:26:33 04944245beec: Pull complete 04:26:35 699f458cf7ca: Pull complete 04:26:35 765212b225bb: Pull complete 04:26:35 f23df028b6ca: Pull complete 04:26:35 d65c8cfc05b1: Pull complete 04:26:54 2437ff75d9bd: Pull complete 04:26:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:26:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:54 prd-ubuntu20.04-docker-arm64-4c-16g-6723 does not seem to be running inside a container 04:26:54 $ 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/303 -v /w/workspace/device-sdk-go/303:/w/workspace/device-sdk-go/303:rw,z -v /w/workspace/device-sdk-go/303@tmp:/w/workspace/device-sdk-go/303@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:26:57 $ docker top 85e4f28121686dbbca2f96fead2087728e3ac576908884d3471433058a7652c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:58 ---> job-cost.sh 04:26:58 lf-activate-venv: SKIPPING 04:26:58 INFO: No Stack... 04:26:58 INFO: Retrieving Pricing Info for: v3-standard-4 04:26:59 INFO: Archiving Costs [Pipeline] sh 04:26:59 + cat /w/workspace/device-sdk-go/303/archives/cost.csv 04:26:59 + cut -d, -f6 [Pipeline] lock 04:27:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-303-stack-cost] 04:27:00 Resource [jenkins-edgexfoundry-device-sdk-go-main-303-stack-cost] did not exist. Created. 04:27:00 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-303-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:27:00 /w/workspace/device-sdk-go/303@tmp/durable-95f90258/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:27:01 + echo total: 0.10999999940395355 [Pipeline] stash 04:27:01 Warning: overwriting stash ‘stack-cost’ 04:27:01 Stashed 1 file(s) [Pipeline] } 04:27:01 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-303-stack-cost] [Pipeline] // lock [Pipeline] } 04:27:01 $ docker stop --time=1 85e4f28121686dbbca2f96fead2087728e3ac576908884d3471433058a7652c1 04:27:03 $ docker rm -f --volumes 85e4f28121686dbbca2f96fead2087728e3ac576908884d3471433058a7652c1 [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 04:27:03 provisioning config files... 04:27:03 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9543874948605153667tmp [Pipeline] { [Pipeline] sh 04:27:03 + set +x 04:27:03 + curl -s+ https://codecov.io/bash 04:27:03 bash -s -- 04:27:03 04:27:03 _____ _ 04:27:03 / ____| | | 04:27:03 | | ___ __| | ___ ___ _____ __ 04:27:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:27:03 | |___| (_) | (_| | __/ (_| (_) \ V / 04:27:03 \_____\___/ \__,_|\___|\___\___/ \_/ 04:27:03 Bash-1.0.6 04:27:03 04:27:03 04:27:03 ==> git version 2.25.1 found 04:27:03 ==> 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 04:27:03 Release-Date: 2020-01-08 04:27:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:27:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:27:03 ==> Jenkins CI detected. 04:27:03 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 04:27:03 project root: . 04:27:03 --> token set from env 04:27:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:27:03 ==> Running gcov in . (disable via -X gcov) 04:27:03 ==> Python coveragepy not found 04:27:03 ==> Searching for coverage reports in: 04:27:03 + . 04:27:03 -> Found 1 reports 04:27:03 ==> Detecting git/mercurial file structure 04:27:04 ==> Reading reports 04:27:04 + ./coverage.out bytes=125320 04:27:04 ==> Appending adjustments 04:27:04 https://docs.codecov.io/docs/fixing-reports 04:27:04 + Found adjustments 04:27:04 ==> Gzipping contents 04:27:04 20K /tmp/codecov.1kfqxg.gz 04:27:04 ==> Uploading reports 04:27:04 url: https://codecov.io 04:27:04 query: branch=main&commit=9af2c67acc1b0a717523512c26f369bc9793e2f1&build=303&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F303%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:27:04 -> Pinging Codecov 04:27:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=9af2c67acc1b0a717523512c26f369bc9793e2f1&build=303&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F303%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:27:04 -> Uploading to 04:27:04 https://storage.googleapis.com/codecov/v4/raw/2024-07-30/7E55EF52A471D76F132DFD9A03CDDE97/9af2c67acc1b0a717523512c26f369bc9793e2f1/f177685c-e7a6-43b8-a4f3-cdc888d65de8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240730%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240730T042704Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2695c2da4684fdff33569008cbcc92a22b8fb1082171a3e355373d4a2febcd5d 04:27:04 % Total % Received % Xferd Average Speed Time Time Time Current 04:27:04 Dload Upload Total Spent Left Speed 04:27:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17092 0 0 100 17092 0 58534 --:--:-- --:--:-- --:--:-- 58534 04:27:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/9af2c67acc1b0a717523512c26f369bc9793e2f1 [Pipeline] } 04:27:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:27:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:27:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:27:05 04:27:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:27:05 latest: Pulling from edgex-devops/edgex-snyk-go 04:27:05 619be1103602: Already exists 04:27:05 f8ea3408117e: Pulling fs layer 04:27:05 91320369b822: Pulling fs layer 04:27:05 0406650e8295: Pulling fs layer 04:27:05 4f4fb700ef54: Pulling fs layer 04:27:05 96d80e3f36e1: Pulling fs layer 04:27:05 bcf3aedb951c: Pulling fs layer 04:27:05 4f4fb700ef54: Waiting 04:27:05 96d80e3f36e1: Waiting 04:27:05 bcf3aedb951c: Waiting 04:27:05 0406650e8295: Download complete 04:27:05 4f4fb700ef54: Verifying Checksum 04:27:05 4f4fb700ef54: Download complete 04:27:05 f8ea3408117e: Download complete 04:27:05 f8ea3408117e: Pull complete 04:27:05 96d80e3f36e1: Verifying Checksum 04:27:05 96d80e3f36e1: Download complete 04:27:06 91320369b822: Verifying Checksum 04:27:06 91320369b822: Download complete 04:27:06 bcf3aedb951c: Verifying Checksum 04:27:06 bcf3aedb951c: Download complete 04:27:09 91320369b822: Pull complete 04:27:09 0406650e8295: Pull complete 04:27:09 4f4fb700ef54: Pull complete 04:27:09 96d80e3f36e1: Pull complete 04:27:12 bcf3aedb951c: Pull complete 04:27:12 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 04:27:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:27:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:12 prd-ubuntu20.04-docker-8c-8g-6722 does not seem to be running inside a container 04:27:13 $ 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 04:27:16 $ docker top aed2b4c6b9257658182afa6abbad0a85605518f5634c05d82546864a3210f0cf -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:17 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 04:27:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 04:27:17 + set -o pipefail 04:27:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 04:27:23 04:27:23 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 04:27:23 04:27:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/e4c15f52-a0c8-4101-9def-b63a160c3ab0 04:27:23 04:27:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:27:23 04:27:23 04:27:23 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 04:27:23 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:27:23 $ docker stop --time=1 aed2b4c6b9257658182afa6abbad0a85605518f5634c05d82546864a3210f0cf 04:27:28 $ docker rm -f --volumes aed2b4c6b9257658182afa6abbad0a85605518f5634c05d82546864a3210f0cf [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 04:27:28 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:27:28 provisioning config files... 04:27:28 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13384663541459826348tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:29 --> edgex-publish-swagger.sh 04:27:29 === Publish openapi/v3 API === 04:27:29 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 04:27:29 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 04:27:29 % Total % Received % Xferd Average Speed Time Time Time Current 04:27:29 Dload Upload Total Spent Left Speed 04:27:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28429 0 0 100 28429 0 129k --:--:-- --:--:-- --:--:-- 129k 100 28585 100 156 100 28429 275 50139 --:--:-- --:--:-- --:--:-- 50325 04:27:29 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 04:27:29 [Pipeline] } 04:27:29 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 04:27:30 + git log --format=format:%s -1 9af2c67acc1b0a717523512c26f369bc9793e2f1 [Pipeline] sh 04:27:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:27:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:27:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:31 prd-ubuntu20.04-docker-8c-8g-6722 does not seem to be running inside a container 04:27:31 $ 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 04:27:31 $ docker top 948ad597df6b9e00e8bdac16da627945bbe4ea99893b7599d0102d34a4f67763 -eo pid,comm 04:27:31 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). 04:27:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:27:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:27:31 [ssh-agent] Looking for ssh-agent implementation... 04:27:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:27:31 $ docker exec 948ad597df6b9e00e8bdac16da627945bbe4ea99893b7599d0102d34a4f67763 ssh-agent 04:27:32 SSH_AUTH_SOCK=/tmp/ssh-K1rKhT4ZvZB9/agent.33 04:27:32 SSH_AGENT_PID=39 04:27:32 Running ssh-add (command line suppressed) 04:27:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3788043574800498037.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3788043574800498037.key) 04:27:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:27:32 + git semver tag 04:27:32 2024-07-30 04:27:32,647 [run_tag] DEBUG tag force:False 04:27:32 2024-07-30 04:27:32,647 [check_head_tag] DEBUG check head tag 04:27:32 2024-07-30 04:27:32,649 [execute] INFO git cat-file --batch-check 04:27:32 2024-07-30 04:27:32,649 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:27:32 2024-07-30 04:27:32,654 [execute] INFO git cat-file --batch 04:27:32 2024-07-30 04:27:32,654 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:27:32 2024-07-30 04:27:32,684 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:27:32 2024-07-30 04:27:32,684 [execute] INFO git tag -a v3.2.0-dev.28 -m v3.2.0-dev.28 04:27:32 2024-07-30 04:27:32,684 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.28', '-m', 'v3.2.0-dev.28'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:27:32 2024-07-30 04:27:32,689 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:27:32 3.2.0-dev.28 [Pipeline] } 04:27:32 $ docker exec --env ******** --env ******** 948ad597df6b9e00e8bdac16da627945bbe4ea99893b7599d0102d34a4f67763 ssh-agent -k 04:27:33 unset SSH_AUTH_SOCK; 04:27:33 unset SSH_AGENT_PID; 04:27:33 echo Agent pid 39 killed; 04:27:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:27:33 + git semver [Pipeline] } 04:27:33 $ docker stop --time=1 948ad597df6b9e00e8bdac16da627945bbe4ea99893b7599d0102d34a4f67763 04:27:35 $ docker rm -f --volumes 948ad597df6b9e00e8bdac16da627945bbe4ea99893b7599d0102d34a4f67763 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:27:35 04:27:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:27:35 0.23.1-centos7: Pulling from edgex-lftools 04:27:35 ab5ef0e58194: Pulling fs layer 04:27:35 9712f1f96733: Pulling fs layer 04:27:35 63f879dbbcfc: Pulling fs layer 04:27:35 0d9ebad4ef96: Pulling fs layer 04:27:35 e9a5061849ea: Pulling fs layer 04:27:35 d747dcd14b5f: Pulling fs layer 04:27:35 2de7ff778b66: Pulling fs layer 04:27:35 2de7ff778b66: Waiting 04:27:35 0d9ebad4ef96: Waiting 04:27:35 d747dcd14b5f: Waiting 04:27:35 e9a5061849ea: Waiting 04:27:35 9712f1f96733: Download complete 04:27:36 63f879dbbcfc: Verifying Checksum 04:27:36 63f879dbbcfc: Download complete 04:27:36 e9a5061849ea: Verifying Checksum 04:27:36 e9a5061849ea: Download complete 04:27:36 d747dcd14b5f: Verifying Checksum 04:27:36 d747dcd14b5f: Download complete 04:27:36 ab5ef0e58194: Verifying Checksum 04:27:36 ab5ef0e58194: Download complete 04:27:36 0d9ebad4ef96: Verifying Checksum 04:27:36 0d9ebad4ef96: Download complete 04:27:36 2de7ff778b66: Verifying Checksum 04:27:39 ab5ef0e58194: Pull complete 04:27:39 9712f1f96733: Pull complete 04:27:39 63f879dbbcfc: Pull complete 04:27:43 0d9ebad4ef96: Pull complete 04:27:44 e9a5061849ea: Pull complete 04:27:44 d747dcd14b5f: Pull complete 04:27:45 2de7ff778b66: Pull complete 04:27:45 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:27:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:27:45 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:45 prd-ubuntu20.04-docker-8c-8g-6722 does not seem to be running inside a container 04:27:45 $ 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 04:27:51 $ docker top 96d108e2bf58d0a0330e0fb988fba6267b30b929b9ec11992ef7ed2a45b8b94b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:27:51 provisioning config files... 04:27:51 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16138524778649776574tmp 04:27:51 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9195285750464759457tmp 04:27:51 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17842162757580784872tmp [Pipeline] { [Pipeline] echo 04:27:51 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:27:51 ---> sigul-configuration.sh 04:27:51 gpg: directory `/root/.gnupg' created 04:27:51 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:27:51 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:27:51 gpg: keyring `/root/.gnupg/secring.gpg' created 04:27:51 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:27:51 gpg: CAST5 encrypted data 04:27:51 gpg: encrypted with 1 passphrase 04:27:51 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:27:52 + mkdir /home/jenkins 04:27:52 + mkdir /home/jenkins/sigul [Pipeline] sh 04:27:52 + 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 04:27:52 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:27:52 ---> sigul-install.sh 04:27:52 Sigul already installed; skipping installation. [Pipeline] sh 04:27:53 + git tag --list 04:27:53 0.7.1 04:27:53 delhi-tag 04:27:53 v1.0.0 04:27:53 v1.1.0 04:27:53 v1.1.1 04:27:53 v1.1.2 04:27:53 v1.2.0 04:27:53 v1.2.1 04:27:53 v1.2.2 04:27:53 v1.2.3 04:27:53 v1.3.0 04:27:53 v1.4.0 04:27:53 v2.0.0 04:27:53 v2.1.0 04:27:53 v2.1.1 04:27:53 v2.2.0 04:27:53 v2.3.0 04:27:53 v2.3.1 04:27:53 v3.0 04:27:53 v3.0.0 04:27:53 v3.0.1-dev.1 04:27:53 v3.1 04:27:53 v3.1.0 04:27:53 v3.1.0-dev.1 04:27:53 v3.1.0-dev.10 04:27:53 v3.1.0-dev.11 04:27:53 v3.1.0-dev.12 04:27:53 v3.1.0-dev.13 04:27:53 v3.1.0-dev.14 04:27:53 v3.1.0-dev.15 04:27:53 v3.1.0-dev.16 04:27:53 v3.1.0-dev.17 04:27:53 v3.1.0-dev.18 04:27:53 v3.1.0-dev.19 04:27:53 v3.1.0-dev.2 04:27:53 v3.1.0-dev.20 04:27:53 v3.1.0-dev.21 04:27:53 v3.1.0-dev.22 04:27:53 v3.1.0-dev.23 04:27:53 v3.1.0-dev.24 04:27:53 v3.1.0-dev.25 04:27:53 v3.1.0-dev.26 04:27:53 v3.1.0-dev.27 04:27:53 v3.1.0-dev.28 04:27:53 v3.1.0-dev.29 04:27:53 v3.1.0-dev.3 04:27:53 v3.1.0-dev.30 04:27:53 v3.1.0-dev.31 04:27:53 v3.1.0-dev.32 04:27:53 v3.1.0-dev.33 04:27:53 v3.1.0-dev.34 04:27:53 v3.1.0-dev.35 04:27:53 v3.1.0-dev.36 04:27:53 v3.1.0-dev.37 04:27:53 v3.1.0-dev.38 04:27:53 v3.1.0-dev.39 04:27:53 v3.1.0-dev.4 04:27:53 v3.1.0-dev.40 04:27:53 v3.1.0-dev.41 04:27:53 v3.1.0-dev.5 04:27:53 v3.1.0-dev.6 04:27:53 v3.1.0-dev.7 04:27:53 v3.1.0-dev.8 04:27:53 v3.1.0-dev.9 04:27:53 v3.1.1 04:27:53 v3.1.1-dev.1 04:27:53 v3.2.0-dev.1 04:27:53 v3.2.0-dev.10 04:27:53 v3.2.0-dev.11 04:27:53 v3.2.0-dev.12 04:27:53 v3.2.0-dev.13 04:27:53 v3.2.0-dev.14 04:27:53 v3.2.0-dev.15 04:27:53 v3.2.0-dev.16 04:27:53 v3.2.0-dev.17 04:27:53 v3.2.0-dev.18 04:27:53 v3.2.0-dev.19 04:27:53 v3.2.0-dev.2 04:27:53 v3.2.0-dev.20 04:27:53 v3.2.0-dev.21 04:27:53 v3.2.0-dev.22 04:27:53 v3.2.0-dev.23 04:27:53 v3.2.0-dev.24 04:27:53 v3.2.0-dev.25 04:27:53 v3.2.0-dev.26 04:27:53 v3.2.0-dev.27 04:27:53 v3.2.0-dev.28 04:27:53 v3.2.0-dev.3 04:27:53 v3.2.0-dev.4 04:27:53 v3.2.0-dev.5 04:27:53 v3.2.0-dev.6 04:27:53 v3.2.0-dev.7 04:27:53 v3.2.0-dev.8 04:27:53 v3.2.0-dev.9 [Pipeline] sh 04:27:53 + lftools sign git-tag v3.2.0-dev.28 04:27:53 Signing Git tag with Sigul... 04:27:53 Signing v3.2.0-dev.28 [Pipeline] echo 04:27:54 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:27:54 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:27:54 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:27:54 $ docker stop --time=1 96d108e2bf58d0a0330e0fb988fba6267b30b929b9ec11992ef7ed2a45b8b94b 04:27:56 $ docker rm -f --volumes 96d108e2bf58d0a0330e0fb988fba6267b30b929b9ec11992ef7ed2a45b8b94b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:27:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:27:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:27:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:57 prd-ubuntu20.04-docker-8c-8g-6722 does not seem to be running inside a container 04:27:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:27:57 $ docker top af5f2a183748990b0c4ad4abfc30a95ae552359d38ad92d2eadd8019207feed1 -eo pid,comm 04:27:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:27:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:27:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:27:57 [ssh-agent] Looking for ssh-agent implementation... 04:27:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:27:57 $ docker exec af5f2a183748990b0c4ad4abfc30a95ae552359d38ad92d2eadd8019207feed1 ssh-agent 04:27:57 SSH_AUTH_SOCK=/tmp/ssh-VWAq8hW5hZHh/agent.33 04:27:57 SSH_AGENT_PID=39 04:27:57 Running ssh-add (command line suppressed) 04:27:57 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9468202632777112831.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9468202632777112831.key) 04:27:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:27:58 + git semver bump pre 04:27:58 2024-07-30 04:27:58,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:27:58 2024-07-30 04:27:58,345 [bump_version] DEBUG bumping version:3.2.0-dev.28 on axis:pre with prefix:dev 04:27:58 2024-07-30 04:27:58,346 [bump_version] DEBUG bumped version:3.2.0-dev.29 04:27:58 2024-07-30 04:27:58,346 [write_version] DEBUG write version:3.2.0-dev.29 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 04:27:58 2024-07-30 04:27:58,346 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:27:58 2024-07-30 04:27:58,346 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:27:58 2024-07-30 04:27:58,348 [execute] INFO git cat-file --batch-check 04:27:58 2024-07-30 04:27:58,348 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:27:58 2024-07-30 04:27:58,355 [execute] INFO git cat-file --batch 04:27:58 2024-07-30 04:27:58,355 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:27:58 2024-07-30 04:27:58,361 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:27:58 3.2.0-dev.29 [Pipeline] } 04:27:58 $ docker exec --env ******** --env ******** af5f2a183748990b0c4ad4abfc30a95ae552359d38ad92d2eadd8019207feed1 ssh-agent -k 04:27:58 unset SSH_AUTH_SOCK; 04:27:58 unset SSH_AGENT_PID; 04:27:58 echo Agent pid 39 killed; 04:27:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:27:58 + git semver [Pipeline] } 04:27:59 $ docker stop --time=1 af5f2a183748990b0c4ad4abfc30a95ae552359d38ad92d2eadd8019207feed1 04:28:00 $ docker rm -f --volumes af5f2a183748990b0c4ad4abfc30a95ae552359d38ad92d2eadd8019207feed1 [Pipeline] // withDockerContainer [Pipeline] sh 04:28:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:28:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:01 prd-ubuntu20.04-docker-8c-8g-6722 does not seem to be running inside a container 04:28:01 $ 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 04:28:01 $ docker top f257336b0b9c387e16a2d3e82e21c3ff72846895d82c61f1c1f209eda4662a0a -eo pid,comm 04:28:01 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). 04:28:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:28:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:28:01 [ssh-agent] Looking for ssh-agent implementation... 04:28:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:28:01 $ docker exec f257336b0b9c387e16a2d3e82e21c3ff72846895d82c61f1c1f209eda4662a0a ssh-agent 04:28:01 SSH_AUTH_SOCK=/tmp/ssh-ddNyBPdZNYZO/agent.31 04:28:01 SSH_AGENT_PID=37 04:28:01 Running ssh-add (command line suppressed) 04:28:02 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11037989005902594610.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11037989005902594610.key) 04:28:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:28:02 + git semver push 04:28:02 2024-07-30 04:28:02,517 [run_push] DEBUG push 04:28:02 2024-07-30 04:28:02,518 [execute] INFO git cat-file --batch-check 04:28:02 2024-07-30 04:28:02,518 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:28:02 2024-07-30 04:28:02,523 [execute] INFO git rev-list e31c6ed9cc89a48a6568523ae142f09e093c34b2 -- 04:28:02 2024-07-30 04:28:02,523 [execute] DEBUG Popen(['git', 'rev-list', 'e31c6ed9cc89a48a6568523ae142f09e093c34b2', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:28:02 2024-07-30 04:28:02,538 [execute] INFO git fetch -v origin 04:28:02 2024-07-30 04:28:02,538 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:28:03 2024-07-30 04:28:02,994 [run_push] DEBUG no remote changes detected 04:28:03 2024-07-30 04:28:02,995 [execute] INFO git push origin semver 04:28:03 2024-07-30 04:28:02,995 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:28:04 2024-07-30 04:28:03,850 [run_push] DEBUG push all version tags 04:28:04 2024-07-30 04:28:03,851 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:28:04 2024-07-30 04:28:03,851 [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) 04:28:04 2024-07-30 04:28:04,573 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:28:04 3.2.0-dev.29 [Pipeline] } 04:28:04 $ docker exec --env ******** --env ******** f257336b0b9c387e16a2d3e82e21c3ff72846895d82c61f1c1f209eda4662a0a ssh-agent -k 04:28:04 unset SSH_AUTH_SOCK; 04:28:04 unset SSH_AGENT_PID; 04:28:04 echo Agent pid 37 killed; 04:28:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:28:05 + git semver [Pipeline] } 04:28:05 $ docker stop --time=1 f257336b0b9c387e16a2d3e82e21c3ff72846895d82c61f1c1f209eda4662a0a 04:28:06 $ docker rm -f --volumes f257336b0b9c387e16a2d3e82e21c3ff72846895d82c61f1c1f209eda4662a0a [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 04:28:07 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 04:28:07 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:28:07 total 16 04:28:07 drwxr-xr-x 3 root root 4096 Jul 30 04:12 . 04:28:07 drwxrwxr-x 12 jenkins jenkins 4096 Jul 30 04:27 .. 04:28:07 drwxr-xr-x 2 root root 4096 Jul 30 04:12 cost 04:28:07 -rw-r--r-- 1 root root 85 Jul 30 04:12 cost.csv 04:28:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:28:07 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:28:07 total 16 04:28:07 drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 04:12 . 04:28:07 drwxrwxr-x 12 jenkins jenkins 4096 Jul 30 04:27 .. 04:28:07 drwxr-xr-x 2 jenkins jenkins 4096 Jul 30 04:12 cost 04:28:07 -rw-r--r-- 1 jenkins jenkins 85 Jul 30 04:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:28:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:28:08 ---> package-listing.sh 04:28:08 ++ facter osfamily 04:28:08 ++ tr '[:upper:]' '[:lower:]' 04:28:08 + OS_FAMILY=debian 04:28:08 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 04:28:08 + START_PACKAGES=/tmp/packages_start.txt 04:28:08 + END_PACKAGES=/tmp/packages_end.txt 04:28:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:28:08 + PACKAGES=/tmp/packages_start.txt 04:28:08 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:28:08 + PACKAGES=/tmp/packages_end.txt 04:28:08 + case "${OS_FAMILY}" in 04:28:08 + dpkg -l 04:28:08 + grep '^ii' 04:28:08 + '[' -f /tmp/packages_start.txt ']' 04:28:08 + '[' -f /tmp/packages_end.txt ']' 04:28:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:28:08 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:28:08 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 04:28:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 04:28:08 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 04:28:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:09 prd-ubuntu20.04-docker-8c-8g-6722 does not seem to be running inside a container 04:28:09 $ 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 04:28:10 $ docker top c8517e5963760f2f6b2da30130c36902efc16043335d309da9016e8fd960c6dd -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:10 + touch /tmp/pre-build-complete [Pipeline] sh 04:28:10 + mkdir -p /var/log/sysstat [Pipeline] sh 04:28:11 + ls /var/log/sa-host 04:28:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:11 provisioning config files... 04:28:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2792816662609794158tmp [Pipeline] { [Pipeline] echo 04:28:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:28:11 ---> create-netrc.sh [Pipeline] } 04:28:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:28:11 ---> python-tools-install.sh [Pipeline] echo 04:28:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:28:12 ---> sudo-logs.sh 04:28:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:28:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:28:12 ---> job-cost.sh 04:28:12 lf-activate-venv: SKIPPING 04:28:12 DEBUG: total: 0.2199999988079071 04:28:12 INFO: Retrieving Stack Cost... 04:28:12 INFO: Retrieving Pricing Info for: v3-standard-8 04:28:13 INFO: Archiving Costs [Pipeline] echo 04:28:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:28:16 ---> logs-deploy.sh 04:28:16 lf-activate-venv: SKIPPING 04:28:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/303 04:28:16 INFO: archiving workspace using pattern(s): 04:28:17 Archives upload complete. 04:28:18 INFO: archiving logs to Nexus