Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 791e3808a6f22236528886c5f30bc95897a4d2de 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-ssh13729643760779631040.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13800289735009300453.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12912457434895923324.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12623075223289264720.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-ssh12616635347530344500.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-22967’ is offline Running on prd-ubuntu20.04-docker-8c-8g-22969 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 791e3808a6f22236528886c5f30bc95897a4d2de (main) Commit message: "feat: Using isNull field instead of nil reading value (#1639)" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 791e3808a6f22236528886c5f30bc95897a4d2de # timeout=10 > git rev-list --no-walk 63928f2973ca38a899cb41cf0d65ddd086cb79a5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:38:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:38:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:38:47 ========================================================= 04:38:47 EdgeX Global Pipelines Version Info 04:38:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:38:47 ------------------- 04:38:47 stable info: 04:38:47 ------------------- 04:38:47 Commited By: Ginny Guan ginny@iotechsys.com 04:38:47 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 04:38:47 Message: update stable to v1.0.265 04:38:48 ------------------- 04:38:48 experimental info: 04:38:48 ------------------- 04:38:48 Commited By: Cherry Wang cherry@iotechsys.com 04:38:48 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 04:38:48 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:38:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:38:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:38:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:38:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:38:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:38:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:38:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:38:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:38:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:38:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:38:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:38:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:38:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 791e3808a6f22236528886c5f30bc95897a4d2de [Pipeline] echo 04:38:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 791e380 [Pipeline] echo 04:38:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:38:49 provisioning config files... 04:38:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5671753053081397225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:38:49 ---> ****-login.sh 04:38:49 nexus3.edgexfoundry.org:10001 04:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:50 Configure a credential helper to remove this warning. See 04:38:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:50 04:38:50 Login Succeeded 04:38:50 nexus3.edgexfoundry.org:10002 04:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:50 Configure a credential helper to remove this warning. See 04:38:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:50 04:38:50 Login Succeeded 04:38:50 nexus3.edgexfoundry.org:10003 04:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:50 Configure a credential helper to remove this warning. See 04:38:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:50 04:38:50 Login Succeeded 04:38:50 nexus3.edgexfoundry.org:10004 04:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:50 Configure a credential helper to remove this warning. See 04:38:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:50 04:38:50 Login Succeeded 04:38:50 ****.io 04:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:50 Configure a credential helper to remove this warning. See 04:38:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:50 04:38:50 Login Succeeded 04:38:50 ---> ****-login.sh ends [Pipeline] } 04:38:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:38:50 + git rev-list -1 --merges 791e3808a6f22236528886c5f30bc95897a4d2de~1..791e3808a6f22236528886c5f30bc95897a4d2de [Pipeline] echo 04:38:51 -----------> git rev-list -1 --merges 791e3808a6f22236528886c5f30bc95897a4d2de~1..791e3808a6f22236528886c5f30bc95897a4d2de 791e3808a6f22236528886c5f30bc95897a4d2de [false] [Pipeline] sh 04:38:51 + git log --format=format:%s -1 791e3808a6f22236528886c5f30bc95897a4d2de [Pipeline] echo 04:38:51 ========================================================= 04:38:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:38:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:38:51 + git log --format=format:%s -1 791e3808a6f22236528886c5f30bc95897a4d2de [Pipeline] echo 04:38:51 [semverPrep] GIT_COMMIT: 791e3808a6f22236528886c5f30bc95897a4d2de, Commit Message: feat: Using isNull field instead of nil reading value (#1639) [Pipeline] echo 04:38:51 [semverPrep] This is not a build commit. [Pipeline] sh 04:38:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:38:52 + grep -v github /etc/ssh/ssh_known_hosts 04:38:52 + [ -e /tmp/ssh_known_hosts ] 04:38:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:38:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:38:52 + sudo tee -a /etc/ssh/ssh_known_hosts 04:38:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:52 04:38:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:52 0.1.4: Pulling from edgex-devops/py-git-semver 04:38:52 b85a868b505f: Pulling fs layer 04:38:52 e2be974225ed: Pulling fs layer 04:38:52 339a4e72a1f5: Pulling fs layer 04:38:52 988bab9f4d93: Pulling fs layer 04:38:52 1469e6f7b9e6: Pulling fs layer 04:38:52 eaf3925da568: Pulling fs layer 04:38:52 bab4dde63d76: Pulling fs layer 04:38:52 bde34c3a00c8: Pulling fs layer 04:38:52 b352a97aabf1: Pulling fs layer 04:38:52 4872d77fe225: Pulling fs layer 04:38:52 5851b861e8e6: Pulling fs layer 04:38:52 988bab9f4d93: Waiting 04:38:52 bab4dde63d76: Waiting 04:38:52 5851b861e8e6: Waiting 04:38:52 1469e6f7b9e6: Waiting 04:38:52 eaf3925da568: Waiting 04:38:52 b352a97aabf1: Waiting 04:38:52 e2be974225ed: Verifying Checksum 04:38:52 e2be974225ed: Download complete 04:38:52 988bab9f4d93: Verifying Checksum 04:38:52 988bab9f4d93: Download complete 04:38:52 1469e6f7b9e6: Verifying Checksum 04:38:52 1469e6f7b9e6: Download complete 04:38:52 eaf3925da568: Verifying Checksum 04:38:52 eaf3925da568: Download complete 04:38:52 339a4e72a1f5: Verifying Checksum 04:38:52 339a4e72a1f5: Download complete 04:38:53 bde34c3a00c8: Verifying Checksum 04:38:53 bde34c3a00c8: Download complete 04:38:53 b352a97aabf1: Verifying Checksum 04:38:53 b352a97aabf1: Download complete 04:38:53 4872d77fe225: Verifying Checksum 04:38:53 4872d77fe225: Download complete 04:38:53 5851b861e8e6: Verifying Checksum 04:38:53 5851b861e8e6: Download complete 04:38:53 b85a868b505f: Verifying Checksum 04:38:53 b85a868b505f: Download complete 04:38:53 bab4dde63d76: Verifying Checksum 04:38:53 bab4dde63d76: Download complete 04:38:54 b85a868b505f: Pull complete 04:38:54 e2be974225ed: Pull complete 04:38:54 339a4e72a1f5: Pull complete 04:38:54 988bab9f4d93: Pull complete 04:38:55 1469e6f7b9e6: Pull complete 04:38:55 eaf3925da568: Pull complete 04:38:56 bab4dde63d76: Pull complete 04:38:56 bde34c3a00c8: Pull complete 04:38:56 b352a97aabf1: Pull complete 04:38:56 4872d77fe225: Pull complete 04:38:56 5851b861e8e6: Pull complete 04:38:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:38:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:57 prd-ubuntu20.04-docker-8c-8g-22969 does not seem to be running inside a container 04:38: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:39:00 $ docker top 3c432b34d3335a4b225f1ea177e5a9da4e5fbb2e93658f2809c661b19c468154 -eo pid,comm 04:39:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:39:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:39:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:39:00 [ssh-agent] Looking for ssh-agent implementation... 04:39:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:39:00 $ docker exec 3c432b34d3335a4b225f1ea177e5a9da4e5fbb2e93658f2809c661b19c468154 ssh-agent 04:39:00 SSH_AUTH_SOCK=/tmp/ssh-K41L6D2vW0X8/agent.32 04:39:00 SSH_AGENT_PID=38 04:39:00 Running ssh-add (command line suppressed) 04:39:00 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1123977930951668668.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1123977930951668668.key) 04:39:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:39:00 + git tag --points-at HEAD [Pipeline] } 04:39:00 $ docker exec --env ******** --env ******** 3c432b34d3335a4b225f1ea177e5a9da4e5fbb2e93658f2809c661b19c468154 ssh-agent -k 04:39:00 unset SSH_AUTH_SOCK; 04:39:00 unset SSH_AGENT_PID; 04:39:00 echo Agent pid 38 killed; 04:39:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:39:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:39:00 [ssh-agent] Looking for ssh-agent implementation... 04:39:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:39:01 $ docker exec 3c432b34d3335a4b225f1ea177e5a9da4e5fbb2e93658f2809c661b19c468154 ssh-agent 04:39:01 SSH_AUTH_SOCK=/tmp/ssh-J3LrLlnfYHE9/agent.71 04:39:01 SSH_AGENT_PID=77 04:39:01 Running ssh-add (command line suppressed) 04:39:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12165785176796048271.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12165785176796048271.key) 04:39:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:39:01 + git semver init 04:39:01 2024-10-17 04:39:01,741 [run_init] DEBUG init version:0.0.0 force:False 04:39:01 2024-10-17 04:39:01,742 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:39:01 2024-10-17 04:39:01,742 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:39:01 2024-10-17 04:39:01,742 [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:39:04 2024-10-17 04:39:03,766 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:39:04 2024-10-17 04:39:03,766 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:39:04 2024-10-17 04:39:03,766 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:39:04 2024-10-17 04:39:03,766 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:39:04 3.2.0-dev.47 [Pipeline] } 04:39:04 $ docker exec --env ******** --env ******** 3c432b34d3335a4b225f1ea177e5a9da4e5fbb2e93658f2809c661b19c468154 ssh-agent -k 04:39:04 unset SSH_AUTH_SOCK; 04:39:04 unset SSH_AGENT_PID; 04:39:04 echo Agent pid 77 killed; 04:39:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:39:04 + git semver [Pipeline] } 04:39:05 $ docker stop --time=1 3c432b34d3335a4b225f1ea177e5a9da4e5fbb2e93658f2809c661b19c468154 04:39:06 $ docker rm -f --volumes 3c432b34d3335a4b225f1ea177e5a9da4e5fbb2e93658f2809c661b19c468154 [Pipeline] // withDockerContainer [Pipeline] sh 04:39:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:39:06 Stashed 1 file(s) [Pipeline] echo 04:39:06 [edgeXSemver]: initialized semver on version 3.2.0-dev.47 [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:39:07 provisioning config files... 04:39:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2861848869670307897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:39:07 ---> ****-login.sh 04:39:07 nexus3.edgexfoundry.org:10001 04:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:07 Configure a credential helper to remove this warning. See 04:39:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:07 04:39:07 Login Succeeded 04:39:07 nexus3.edgexfoundry.org:10002 04:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:07 Configure a credential helper to remove this warning. See 04:39:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:07 04:39:07 Login Succeeded 04:39:07 nexus3.edgexfoundry.org:10003 04:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:07 Configure a credential helper to remove this warning. See 04:39:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:07 04:39:07 Login Succeeded 04:39:07 nexus3.edgexfoundry.org:10004 04:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:07 Configure a credential helper to remove this warning. See 04:39:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:07 04:39:07 Login Succeeded 04:39:07 ****.io 04:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:39:07 Configure a credential helper to remove this warning. See 04:39:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:39:07 04:39:07 Login Succeeded 04:39:07 ---> ****-login.sh ends [Pipeline] } 04:39:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:39:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:39:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:39:08 ========================================================= 04:39:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 04:39:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:08 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 04:39:08 Sending build context to Docker daemon 25.38MB 04:39:08 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 04:39:08 Step 2/10 : FROM ${BASE} AS builder 04:39:08 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 04:39:08 43c4264eed91: Pulling fs layer 04:39:08 4cc291be95ef: Pulling fs layer 04:39:08 2ac1f1163629: Pulling fs layer 04:39:08 5c3c966382ef: Pulling fs layer 04:39:08 4f4fb700ef54: Pulling fs layer 04:39:08 5d5c8e513c77: Pulling fs layer 04:39:08 9f66e0745190: Pulling fs layer 04:39:08 f49a43e4bbc0: Pulling fs layer 04:39:08 561ebcabdf7f: Pulling fs layer 04:39:08 5c3c966382ef: Waiting 04:39:08 4f4fb700ef54: Waiting 04:39:08 5d5c8e513c77: Waiting 04:39:08 9f66e0745190: Waiting 04:39:08 f49a43e4bbc0: Waiting 04:39:08 561ebcabdf7f: Waiting 04:39:08 4cc291be95ef: Download complete 04:39:08 5c3c966382ef: Verifying Checksum 04:39:08 5c3c966382ef: Download complete 04:39:08 4f4fb700ef54: Verifying Checksum 04:39:08 4f4fb700ef54: Download complete 04:39:08 5d5c8e513c77: Download complete 04:39:08 43c4264eed91: Download complete 04:39:08 9f66e0745190: Verifying Checksum 04:39:08 9f66e0745190: Download complete 04:39:08 43c4264eed91: Pull complete 04:39:08 561ebcabdf7f: Verifying Checksum 04:39:08 561ebcabdf7f: Download complete 04:39:08 4cc291be95ef: Pull complete 04:39:09 2ac1f1163629: Verifying Checksum 04:39:09 2ac1f1163629: Download complete 04:39:09 f49a43e4bbc0: Verifying Checksum 04:39:09 f49a43e4bbc0: Download complete 04:39:12 2ac1f1163629: Pull complete 04:39:12 5c3c966382ef: Pull complete 04:39:12 4f4fb700ef54: Pull complete 04:39:12 5d5c8e513c77: Pull complete 04:39:12 9f66e0745190: Pull complete 04:39:14 f49a43e4bbc0: Pull complete 04:39:15 561ebcabdf7f: Pull complete 04:39:15 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 04:39:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 04:39:15 ---> 3a752c3f9dda 04:39:15 Step 3/10 : ARG MAKE=make build 04:39:20 ---> Running in 4b012285912d 04:39:20 Removing intermediate container 4b012285912d 04:39:20 ---> fb5c54811d7c 04:39:20 Step 4/10 : WORKDIR /device-sdk-go 04:39:20 ---> Running in 0d85c771c0cd 04:39:20 Removing intermediate container 0d85c771c0cd 04:39:20 ---> e76ed7c5fdc5 04:39:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:39:20 ---> Running in 5723bab85d90 04:39:20 Removing intermediate container 5723bab85d90 04:39:20 ---> 7289880b2853 04:39:20 Step 6/10 : RUN apk add --update --no-cache make git 04:39:20 ---> Running in fd081610f36f 04:39:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:39:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:39:20 OK: 246 MiB in 54 packages 04:39:21 Removing intermediate container fd081610f36f 04:39:21 ---> 51b8f2336d10 04:39:21 Step 7/10 : COPY go.mod vendor* ./ 04:39:21 ---> 3fadb75f85d6 04:39:21 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:39:21 ---> Running in f5cf71769152 04:39:22 Still waiting to schedule task 04:39:22 ‘prd-ubuntu20.04-docker-arm64-4c-16g-22968’ is offline 04:40:07 Removing intermediate container f5cf71769152 04:40:07 ---> cec25614d5f1 04:40:07 Step 9/10 : COPY . . 04:40:08 ---> 12c35c3fb279 04:40:08 Step 10/10 : RUN ${MAKE} 04:40:08 ---> Running in 85406cd09dca 04:40:08 noop 04:40:09 Removing intermediate container 85406cd09dca 04:40:09 ---> aa283edc0cb4 04:40:09 Successfully built aa283edc0cb4 04:40:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:09 + docker inspect -f . ci-base-image-x86_64 04:40:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:09 prd-ubuntu20.04-docker-8c-8g-22969 does not seem to be running inside a container 04:40:09 $ 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:40:09 $ docker top bc42faa10f9ead2e78cbe4fa87ecd19218b8a4fe451afdc6d97d19aac20f57fe -eo pid,comm [Pipeline] { [Pipeline] sh 04:40:10 + go version 04:40:10 go version go1.23.2 linux/amd64 [Pipeline] } 04:40:10 $ docker stop --time=1 bc42faa10f9ead2e78cbe4fa87ecd19218b8a4fe451afdc6d97d19aac20f57fe 04:40:11 $ docker rm -f --volumes bc42faa10f9ead2e78cbe4fa87ecd19218b8a4fe451afdc6d97d19aac20f57fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:11 + docker inspect -f . ci-base-image-x86_64 04:40:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:11 prd-ubuntu20.04-docker-8c-8g-22969 does not seem to be running inside a container 04:40:12 $ 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:40:12 $ docker top 43ec4373c04f9ac657d55ec29d03ab1636dd02f9bf3eb03ab944d72a36d74a88 -eo pid,comm [Pipeline] { [Pipeline] sh 04:40:12 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:40:13 + make test 04:40:13 go test -race -coverprofile=coverage.out ./... 04:40:22 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:41:01 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 04:41:01 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 04:41:01 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 04:41:01 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 04:41:01 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 04:41:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.033s coverage: 26.0% of statements 04:41:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.033s coverage: 79.4% of statements 04:41:01 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 04:41:01 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 04:41:01 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 04:41:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.047s coverage: 86.0% of statements 04:41:01 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:41:01 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 04:41:01 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 04:41:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.099s coverage: 45.2% of statements 04:41:01 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 04:41:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22970 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:41:01 Running in /w/workspace/device-sdk-go/322 [Pipeline] { [Pipeline] checkout 04:41:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.044s coverage: 14.1% of statements 04:41:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.245s coverage: 44.6% of statements 04:41:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.049s coverage: 68.4% of statements 04:41:02 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.083s coverage: 88.3% of statements 04:41:02 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.062s coverage: 5.3% of statements 04:41:04 The recommended git tool is: git 04:41:09 using credential edgex-jenkins-ssh 04:41:09 Cloning the remote Git repository 04:41:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:41:09 > git init /w/workspace/device-sdk-go/322 # timeout=10 04:41:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:41:09 > git --version # timeout=10 04:41:09 > git --version # 'git version 2.25.1' 04:41:09 using GIT_SSH to set credentials SSH Credentials for GitHub 04:41:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:41:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:41:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:41:14 Avoid second fetch 04:41:14 Checking out Revision 791e3808a6f22236528886c5f30bc95897a4d2de (main) 04:41:14 > git config core.sparsecheckout # timeout=10 04:41:14 > git checkout -f 791e3808a6f22236528886c5f30bc95897a4d2de # timeout=10 04:41:14 Commit message: "feat: Using isNull field instead of nil reading value (#1639)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:41:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:41:19 % Total % Received % Xferd Average Speed Time Time Time Current 04:41:19 Dload Upload Total Spent Left Speed 04:41:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 04:41:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:41:20 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 04:41:20 /etc/docker/daemon.new 04:41:20 { 04:41:20 "registry-mirrors": [ 04:41:20 "https://nexus3.edgexfoundry.org:10001" 04:41:20 ], 04:41:20 "bip": "10.250.0.254/24", 04:41:20 "hosts": [ 04:41:20 "tcp://0.0.0.0:5555", 04:41:20 "unix:///var/run/docker.sock" 04:41:20 ], 04:41:20 "mtu": 1458, 04:41:20 "selinux-enabled": true, 04:41:20 "seccomp-profile": "/etc/docker/seccomp.json" 04:41:20 } [Pipeline] sh 04:41:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:41:20 + sudo service docker restart 04:41:34 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:41:39 provisioning config files... 04:41:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/322@tmp/config13353509763299679305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:41:39 ---> ****-login.sh 04:41:39 nexus3.edgexfoundry.org:10001 04:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:41:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:41:40 Configure a credential helper to remove this warning. See 04:41:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:41:40 04:41:40 Login Succeeded 04:41:40 nexus3.edgexfoundry.org:10002 04:41:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:41:40 ./bin/test-attribution-txt.sh 04:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:41:40 Configure a credential helper to remove this warning. See 04:41:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:41:40 [Pipeline] echo 04:41:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:41:40 $ docker stop --time=1 43ec4373c04f9ac657d55ec29d03ab1636dd02f9bf3eb03ab944d72a36d74a88 04:41:40 Login Succeeded 04:41:40 nexus3.edgexfoundry.org:10003 04:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:41:40 Configure a credential helper to remove this warning. See 04:41:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:41:40 04:41:40 Login Succeeded 04:41:40 nexus3.edgexfoundry.org:10004 04:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:41:41 Configure a credential helper to remove this warning. See 04:41:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:41:41 04:41:41 Login Succeeded 04:41:41 ****.io 04:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:41:41 Configure a credential helper to remove this warning. See 04:41:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:41:41 04:41:41 Login Succeeded 04:41:41 ---> ****-login.sh ends 04:41:45 $ docker rm -f --volumes 43ec4373c04f9ac657d55ec29d03ab1636dd02f9bf3eb03ab944d72a36d74a88 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } 04:41:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:41:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo 04:41:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:41:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:41:46 ========================================================= 04:41:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 04:41:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 04:41:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:41:47 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 04:41:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:41:48 + ls -al . 04:41:48 total 716 04:41:48 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 04:40 . 04:41:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 04:38 .. 04:41:48 -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 04:38 .dockerignore 04:41:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 04:41 .git 04:41:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 04:38 .github 04:41:48 -rw-rw-r-- 1 jenkins jenkins 137 Oct 17 04:38 .gitignore 04:41:48 -rw-rw-r-- 1 jenkins jenkins 199 Oct 17 04:38 .golangci.yml 04:41:48 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 04:39 .semver 04:41:48 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 17 04:38 CHANGELOG.md 04:41:48 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 04:38 GOVERNANCE.md 04:41:48 -rw-rw-r-- 1 jenkins jenkins 885 Oct 17 04:38 Jenkinsfile 04:41:48 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 17 04:38 LICENSE 04:41:48 -rw-rw-r-- 1 jenkins jenkins 2379 Oct 17 04:38 Makefile 04:41:48 -rw-rw-r-- 1 jenkins jenkins 619 Oct 17 04:38 OWNERS.md 04:41:48 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 17 04:38 README.md 04:41:48 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 04:39 VERSION 04:41:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 04:38 bin 04:41:48 -rw-r--r-- 1 jenkins jenkins 467901 Oct 17 04:41 coverage.out 04:41:48 drwxrwxr-x 5 jenkins jenkins 4096 Oct 17 04:38 example 04:41:48 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 17 04:38 go.mod 04:41:48 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 17 04:38 go.sum 04:41:48 drwxrwxr-x 13 jenkins jenkins 4096 Oct 17 04:38 internal 04:41:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 04:38 openapi 04:41:48 drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 04:38 pkg 04:41:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 04:38 snap 04:41:48 -rw-rw-r-- 1 jenkins jenkins 222 Oct 17 04:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:48 Sending build context to Docker daemon 13.15MB 04:41:48 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 04:41:48 Step 2/10 : FROM ${BASE} AS builder 04:41:48 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:41:48 cf04c63912e1: Pulling fs layer 04:41:48 55b35a11ae5e: Pulling fs layer 04:41:48 a37a00ec5f00: Pulling fs layer 04:41:48 50b3750afda1: Pulling fs layer 04:41:48 4f4fb700ef54: Pulling fs layer 04:41:48 80978eb59214: Pulling fs layer 04:41:48 c9f46d7d2bd2: Pulling fs layer 04:41:48 c5a475d317c9: Pulling fs layer 04:41:48 50b3750afda1: Waiting 04:41:48 4f4fb700ef54: Waiting 04:41:48 c9f46d7d2bd2: Waiting 04:41:48 80978eb59214: Waiting 04:41:48 + 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=791e3808a6f22236528886c5f30bc95897a4d2de --label arch=amd64 --label version=3.2.0-dev.47 . 04:41:48 Sending build context to Docker daemon 25.85MB 04:41:48 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 04:41:48 Step 2/24 : FROM ${BASE} AS builder 04:41:48 ---> aa283edc0cb4 04:41:48 Step 3/24 : ARG MAKE=make build 04:41:48 55b35a11ae5e: Verifying Checksum 04:41:48 55b35a11ae5e: Download complete 04:41:48 50b3750afda1: Verifying Checksum 04:41:48 50b3750afda1: Download complete 04:41:48 4f4fb700ef54: Verifying Checksum 04:41:48 4f4fb700ef54: Download complete 04:41:48 80978eb59214: Verifying Checksum 04:41:48 80978eb59214: Download complete 04:41:48 cf04c63912e1: Verifying Checksum 04:41:48 cf04c63912e1: Download complete 04:41:49 c5a475d317c9: Verifying Checksum 04:41:49 c5a475d317c9: Download complete 04:41:49 cf04c63912e1: Pull complete 04:41:49 ---> Running in 3f4ecba2426a 04:41:49 Removing intermediate container 3f4ecba2426a 04:41:49 ---> c60a87b70521 04:41:49 Step 4/24 : WORKDIR /device-sdk-go 04:41:49 ---> Running in a9a3a7c8e62f 04:41:49 Removing intermediate container a9a3a7c8e62f 04:41:49 ---> c53bc7815a94 04:41:49 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:41:49 ---> Running in ee6a7da7c7bb 04:41:49 Removing intermediate container ee6a7da7c7bb 04:41:49 ---> 11dc1653d0bc 04:41:49 Step 6/24 : RUN apk add --update --no-cache make git 04:41:49 ---> Running in 9c7b880eaf73 04:41:49 55b35a11ae5e: Pull complete 04:41:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:41:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:41:50 a37a00ec5f00: Verifying Checksum 04:41:50 a37a00ec5f00: Download complete 04:41:50 OK: 246 MiB in 54 packages 04:41:50 Removing intermediate container 9c7b880eaf73 04:41:50 ---> db188ad9313b 04:41:50 Step 7/24 : COPY go.mod vendor* ./ 04:41:50 ---> 49191712bb95 04:41:50 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:41:50 ---> Running in 627b885226f8 04:41:51 c9f46d7d2bd2: Verifying Checksum 04:41:51 c9f46d7d2bd2: Download complete 04:41:51 Removing intermediate container 627b885226f8 04:41:51 ---> 72744dd3402f 04:41:51 Step 9/24 : COPY . . 04:41:52 ---> 50566708da28 04:41:52 Step 10/24 : RUN ${MAKE} 04:41:52 ---> Running in 817b3d057b8b 04:41:52 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.47 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:42:06 a37a00ec5f00: Pull complete 04:42:06 50b3750afda1: Pull complete 04:42:06 4f4fb700ef54: Pull complete 04:42:06 80978eb59214: Pull complete 04:42:12 c9f46d7d2bd2: Pull complete 04:42:13 c5a475d317c9: Pull complete 04:42:13 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 04:42:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 04:42:13 ---> be29e6b0f0d4 04:42:13 Step 3/10 : ARG MAKE=make build 04:42:15 ---> Running in a40e6c9b0fc7 04:42:15 Removing intermediate container a40e6c9b0fc7 04:42:15 ---> 938e24bce68f 04:42:15 Step 4/10 : WORKDIR /device-sdk-go 04:42:15 ---> Running in 7daa7677036c 04:42:16 Removing intermediate container 7daa7677036c 04:42:16 ---> 476c775cbf4a 04:42:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:42:16 ---> Running in 0380d48843f8 04:42:16 Removing intermediate container 0380d48843f8 04:42:16 ---> 46b078db5ff1 04:42:16 Step 6/10 : RUN apk add --update --no-cache make git 04:42:16 ---> Running in 8ee0e5b8e76b 04:42:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:42:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:42:19 OK: 238 MiB in 54 packages 04:42:19 Removing intermediate container 8ee0e5b8e76b 04:42:19 ---> 0778a3d3b5e1 04:42:19 Step 7/10 : COPY go.mod vendor* ./ 04:42:20 ---> 8f178cfe5839 04:42:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:42:20 ---> Running in a1c4f4ed9641 04:42:31 Removing intermediate container 817b3d057b8b 04:42:31 ---> 7f638f5bdfdb 04:42:31 Step 11/24 : FROM alpine:3.20 04:42:31 3.20: Pulling from library/alpine 04:42:31 43c4264eed91: Already exists 04:42:31 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 04:42:31 Status: Downloaded newer image for alpine:3.20 04:42:31 ---> 91ef0af61f39 04:42:31 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:42:31 ---> Running in 9e5aa7098d85 04:42:31 Removing intermediate container 9e5aa7098d85 04:42:31 ---> 04259449c331 04:42:31 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:42:31 ---> Running in 7681697c85a1 04:42:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:42:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:42:31 (1/1) Installing dumb-init (1.2.5-r3) 04:42:31 Executing busybox-1.36.1-r29.trigger 04:42:31 OK: 8 MiB in 15 packages 04:42:31 Removing intermediate container 7681697c85a1 04:42:31 ---> c217ff3248eb 04:42:31 Step 14/24 : RUN apk --no-cache upgrade 04:42:31 ---> Running in e21e499dec38 04:42:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:42:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:42:31 Upgrading critical system libraries and apk-tools: 04:42:31 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 04:42:31 Executing busybox-1.36.1-r29.trigger 04:42:31 Continuing the upgrade transaction with new apk-tools: 04:42:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:42:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:42:31 OK: 8 MiB in 15 packages 04:42:31 Removing intermediate container e21e499dec38 04:42:31 ---> 52afaf1581e5 04:42:31 Step 15/24 : WORKDIR / 04:42:31 ---> Running in 0051314201ea 04:42:31 Removing intermediate container 0051314201ea 04:42:31 ---> 4f11e327eceb 04:42:31 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:42:31 ---> ea68292c911f 04:42:31 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:42:31 ---> 3ade24b85465 04:42:31 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:42:31 ---> 934d2690ce91 04:42:31 Step 19/24 : EXPOSE 59999 04:42:31 ---> Running in a18d5e9221c9 04:42:31 Removing intermediate container a18d5e9221c9 04:42:31 ---> 3bb55b60e2d5 04:42:31 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:42:31 ---> Running in 9305a3fd9ca3 04:42:32 Removing intermediate container 9305a3fd9ca3 04:42:32 ---> 0502120edb13 04:42:32 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:42:32 ---> Running in fc4f54fd496f 04:42:32 Removing intermediate container fc4f54fd496f 04:42:32 ---> b9153c79f4ae 04:42:32 Step 22/24 : LABEL arch=amd64 04:42:32 ---> Running in ce83ba2756ac 04:42:32 Removing intermediate container ce83ba2756ac 04:42:32 ---> f9e2ace1621c 04:42:32 Step 23/24 : LABEL git_sha=791e3808a6f22236528886c5f30bc95897a4d2de 04:42:32 ---> Running in 70407ff03769 04:42:32 Removing intermediate container 70407ff03769 04:42:32 ---> a6740399a543 04:42:32 Step 24/24 : LABEL version=3.2.0-dev.47 04:42:32 ---> Running in f27aac616d50 04:42:32 Removing intermediate container f27aac616d50 04:42:32 ---> dc16271be633 04:42:32 [Warning] One or more build-args [ARCH] were not consumed 04:42:32 Successfully built dc16271be633 04:42:32 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:42:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:32 04:42:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:33 latest: Pulling from edgex-lftools-log-publisher 04:42:33 5eb5b503b376: Pulling fs layer 04:42:33 5c69ac0246d0: Pulling fs layer 04:42:33 ec43610c2a17: Pulling fs layer 04:42:33 3a2ae6a8a46f: Pulling fs layer 04:42:33 33b1e0a273af: Pulling fs layer 04:42:33 5d3b04190fa2: Pulling fs layer 04:42:33 2f39f015ded8: Pulling fs layer 04:42:33 3a2ae6a8a46f: Waiting 04:42:33 2f39f015ded8: Waiting 04:42:33 5d3b04190fa2: Waiting 04:42:33 33b1e0a273af: Waiting 04:42:33 5c69ac0246d0: Download complete 04:42:33 3a2ae6a8a46f: Download complete 04:42:33 33b1e0a273af: Verifying Checksum 04:42:33 33b1e0a273af: Download complete 04:42:33 ec43610c2a17: Verifying Checksum 04:42:33 ec43610c2a17: Download complete 04:42:33 5d3b04190fa2: Verifying Checksum 04:42:33 5d3b04190fa2: Download complete 04:42:33 5eb5b503b376: Verifying Checksum 04:42:33 5eb5b503b376: Download complete 04:42:34 2f39f015ded8: Verifying Checksum 04:42:34 2f39f015ded8: Download complete 04:42:34 5eb5b503b376: Pull complete 04:42:34 5c69ac0246d0: Pull complete 04:42:35 ec43610c2a17: Pull complete 04:42:35 3a2ae6a8a46f: Pull complete 04:42:35 33b1e0a273af: Pull complete 04:42:35 5d3b04190fa2: Pull complete 04:42:39 2f39f015ded8: Pull complete 04:42:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:42:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:39 prd-ubuntu20.04-docker-8c-8g-22969 does not seem to be running inside a container 04:42:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:42:44 $ docker top 9259e0cdbd990ae5305a6906f4ff45d91158b4fd32257796399719037c3a3faa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:42:45 ---> job-cost.sh 04:42:45 lf-activate-venv: SKIPPING 04:42:45 INFO: No Stack... 04:42:45 INFO: Retrieving Pricing Info for: v3-standard-8 04:42:45 INFO: Archiving Costs [Pipeline] sh 04:42:46 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:42:46 + cut -d, -f6 [Pipeline] lock 04:42:46 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-322-stack-cost] 04:42:46 Resource [jenkins-edgexfoundry-device-sdk-go-main-322-stack-cost] did not exist. Created. 04:42:46 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-322-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:42:46 + echo total: 0.2199999988079071 [Pipeline] stash 04:42:46 Stashed 1 file(s) [Pipeline] } 04:42:46 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-322-stack-cost] [Pipeline] // lock [Pipeline] } 04:42:46 $ docker stop --time=1 9259e0cdbd990ae5305a6906f4ff45d91158b4fd32257796399719037c3a3faa 04:42:47 $ docker rm -f --volumes 9259e0cdbd990ae5305a6906f4ff45d91158b4fd32257796399719037c3a3faa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:44:11 Removing intermediate container a1c4f4ed9641 04:44:11 ---> dbe8e24d3b5d 04:44:11 Step 9/10 : COPY . . 04:44:11 ---> 68d0e8489e73 04:44:11 Step 10/10 : RUN ${MAKE} 04:44:11 ---> Running in 05da8e26b81b 04:44:11 noop 04:44:11 Removing intermediate container 05da8e26b81b 04:44:11 ---> 1ee893a91d87 04:44:11 Successfully built 1ee893a91d87 04:44:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:12 + docker inspect -f . ci-base-image-arm64 04:44:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:12 prd-ubuntu20.04-docker-arm64-4c-16g-22970 does not seem to be running inside a container 04:44:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/322 -v /w/workspace/device-sdk-go/322:/w/workspace/device-sdk-go/322:rw,z -v /w/workspace/device-sdk-go/322@tmp:/w/workspace/device-sdk-go/322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:44:13 $ docker top 2475fd1dfd7d775879dc2013ae73e8b2ab66df28f013f0853c111b9dd012c8af -eo pid,comm [Pipeline] { [Pipeline] sh 04:44:14 + go version 04:44:14 go version go1.23.2 linux/arm64 [Pipeline] } 04:44:14 $ docker stop --time=1 2475fd1dfd7d775879dc2013ae73e8b2ab66df28f013f0853c111b9dd012c8af 04:44:16 $ docker rm -f --volumes 2475fd1dfd7d775879dc2013ae73e8b2ab66df28f013f0853c111b9dd012c8af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:17 + docker inspect -f . ci-base-image-arm64 04:44:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:17 prd-ubuntu20.04-docker-arm64-4c-16g-22970 does not seem to be running inside a container 04:44:17 $ 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/322 -v /w/workspace/device-sdk-go/322:/w/workspace/device-sdk-go/322:rw,z -v /w/workspace/device-sdk-go/322@tmp:/w/workspace/device-sdk-go/322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:44:18 $ docker top c68d54416586a53a00228173748a08b02c2580f7b47ed6d74b288892c3f1a06b -eo pid,comm [Pipeline] { [Pipeline] sh 04:44:19 + git config --global --add safe.directory /w/workspace/device-sdk-go/322 [Pipeline] fileExists [Pipeline] sh 04:44:20 + make test 04:44:20 go test -race -coverprofile=coverage.out ./... 04:45:07 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:49:14 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 04:49:14 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 04:49:14 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 04:49:14 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 04:49:14 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 04:49:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.187s coverage: 26.0% of statements 04:49:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.187s coverage: 79.4% of statements 04:49:33 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 04:49:33 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 04:49:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.352s coverage: 86.0% of statements 04:49:49 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 04:49:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.566s coverage: 45.2% of statements 04:49:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.238s coverage: 14.1% of statements 04:49:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.128s coverage: 44.6% of statements 04:49:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:49:57 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 04:49:57 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 04:49:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.419s coverage: 68.4% of statements 04:50:05 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.398s coverage: 88.3% of statements 04:50:12 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 04:50:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.322s coverage: 5.3% of statements 04:50:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:50:14 GO111MODULE=on go vet ./... 04:54:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:54:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:54:36 ./bin/test-attribution-txt.sh [Pipeline] echo 04:54:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:54:36 $ docker stop --time=1 c68d54416586a53a00228173748a08b02c2580f7b47ed6d74b288892c3f1a06b 04:54:38 $ docker rm -f --volumes c68d54416586a53a00228173748a08b02c2580f7b47ed6d74b288892c3f1a06b [Pipeline] // withDockerContainer [Pipeline] sh 04:54:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:54:41 Warning: overwriting stash ‘coverage-report’ 04:54:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:54:43 + ls -al . 04:54:43 total 712 04:54:43 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 04:44 . 04:54:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 04:41 .. 04:54:43 -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 04:41 .dockerignore 04:54:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 04:41 .git 04:54:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 04:41 .github 04:54:43 -rw-rw-r-- 1 jenkins jenkins 137 Oct 17 04:41 .gitignore 04:54:43 -rw-rw-r-- 1 jenkins jenkins 199 Oct 17 04:41 .golangci.yml 04:54:43 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 17 04:41 CHANGELOG.md 04:54:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 04:41 GOVERNANCE.md 04:54:43 -rw-rw-r-- 1 jenkins jenkins 885 Oct 17 04:41 Jenkinsfile 04:54:43 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 17 04:41 LICENSE 04:54:43 -rw-rw-r-- 1 jenkins jenkins 2379 Oct 17 04:41 Makefile 04:54:43 -rw-rw-r-- 1 jenkins jenkins 619 Oct 17 04:41 OWNERS.md 04:54:43 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 17 04:41 README.md 04:54:43 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 04:39 VERSION 04:54:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 04:41 bin 04:54:43 -rw-r--r-- 1 jenkins jenkins 467900 Oct 17 04:50 coverage.out 04:54:43 drwxrwxr-x 5 jenkins jenkins 4096 Oct 17 04:41 example 04:54:43 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 17 04:41 go.mod 04:54:43 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 17 04:41 go.sum 04:54:43 drwxrwxr-x 13 jenkins jenkins 4096 Oct 17 04:41 internal 04:54:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 04:41 openapi 04:54:43 drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 04:41 pkg 04:54:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 04:41 snap 04:54:43 -rw-rw-r-- 1 jenkins jenkins 222 Oct 17 04:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:43 + 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=791e3808a6f22236528886c5f30bc95897a4d2de --label arch=arm64 --label version=3.2.0-dev.47 . 04:54:44 Sending build context to Docker daemon 13.61MB 04:54:44 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 04:54:44 Step 2/24 : FROM ${BASE} AS builder 04:54:44 ---> 1ee893a91d87 04:54:44 Step 3/24 : ARG MAKE=make build 04:54:44 ---> Running in 22404b57ed35 04:54:44 Removing intermediate container 22404b57ed35 04:54:44 ---> 9640a9fee653 04:54:44 Step 4/24 : WORKDIR /device-sdk-go 04:54:45 ---> Running in 3a1f66a13574 04:54:45 Removing intermediate container 3a1f66a13574 04:54:45 ---> 147c44c45164 04:54:45 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:54:45 ---> Running in 945c8ce92488 04:54:45 Removing intermediate container 945c8ce92488 04:54:45 ---> 9be968a77a00 04:54:45 Step 6/24 : RUN apk add --update --no-cache make git 04:54:45 ---> Running in d94a74b99afb 04:54:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:54:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:54:48 OK: 238 MiB in 54 packages 04:54:49 Removing intermediate container d94a74b99afb 04:54:49 ---> 0e3b93d63a95 04:54:49 Step 7/24 : COPY go.mod vendor* ./ 04:54:50 ---> 314136a030fc 04:54:50 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:50 ---> Running in 8b1af1207c6b 04:54:52 Removing intermediate container 8b1af1207c6b 04:54:52 ---> c50b2dd86942 04:54:52 Step 9/24 : COPY . . 04:54:54 ---> 982eb4fda40b 04:54:54 Step 10/24 : RUN ${MAKE} 04:54:54 ---> Running in 48f4c903a62f 04:54:56 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.47 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:59:02 Removing intermediate container 48f4c903a62f 04:59:02 ---> b9141e795530 04:59:02 Step 11/24 : FROM alpine:3.20 04:59:02 3.20: Pulling from library/alpine 04:59:02 cf04c63912e1: Already exists 04:59:02 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 04:59:02 Status: Downloaded newer image for alpine:3.20 04:59:02 ---> c157a85ed455 04:59:02 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:59:02 ---> Running in 52ac535490d6 04:59:03 Removing intermediate container 52ac535490d6 04:59:03 ---> 558abaf4bc86 04:59:03 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:59:03 ---> Running in b78230f11181 04:59:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:59:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:59:07 (1/1) Installing dumb-init (1.2.5-r3) 04:59:07 Executing busybox-1.36.1-r29.trigger 04:59:07 OK: 9 MiB in 15 packages 04:59:08 Removing intermediate container b78230f11181 04:59:08 ---> b8535dd5ad3a 04:59:08 Step 14/24 : RUN apk --no-cache upgrade 04:59:08 ---> Running in fc96372dc658 04:59:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:59:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:59:11 Upgrading critical system libraries and apk-tools: 04:59:11 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 04:59:11 Executing busybox-1.36.1-r29.trigger 04:59:11 Continuing the upgrade transaction with new apk-tools: 04:59:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:59:14 OK: 9 MiB in 15 packages 04:59:14 Removing intermediate container fc96372dc658 04:59:14 ---> 5ba0c87abe0a 04:59:14 Step 15/24 : WORKDIR / 04:59:14 ---> Running in 71e553c794d7 04:59:15 Removing intermediate container 71e553c794d7 04:59:15 ---> 9d6b6a3b4767 04:59:15 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:59:15 ---> f4e6b4b41ba4 04:59:15 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:59:19 ---> b74867a36622 04:59:19 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:59:19 ---> 04f49bc99c78 04:59:19 Step 19/24 : EXPOSE 59999 04:59:19 ---> Running in aed71ab947de 04:59:19 Removing intermediate container aed71ab947de 04:59:19 ---> 66e7166cfa13 04:59:19 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:59:19 ---> Running in 9682f1d7d33e 04:59:20 Removing intermediate container 9682f1d7d33e 04:59:20 ---> 949a4684ee5d 04:59:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:59:20 ---> Running in 77b2abb1509a 04:59:20 Removing intermediate container 77b2abb1509a 04:59:20 ---> f374b83930c5 04:59:20 Step 22/24 : LABEL arch=arm64 04:59:20 ---> Running in a824ab276238 04:59:20 Removing intermediate container a824ab276238 04:59:20 ---> e4291f1934f6 04:59:20 Step 23/24 : LABEL git_sha=791e3808a6f22236528886c5f30bc95897a4d2de 04:59:20 ---> Running in 173ac9a12682 04:59:21 Removing intermediate container 173ac9a12682 04:59:21 ---> 83f94b9aa013 04:59:21 Step 24/24 : LABEL version=3.2.0-dev.47 04:59:21 ---> Running in 59a46485eae6 04:59:21 Removing intermediate container 59a46485eae6 04:59:21 ---> c6430db5a418 04:59:21 [Warning] One or more build-args [ARCH] were not consumed 04:59:21 Successfully built c6430db5a418 04:59:21 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:59:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:59:22 04:59:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:59:22 arm64: Pulling from edgex-lftools-log-publisher 04:59:22 8998bd30e6a1: Pulling fs layer 04:59:22 04944245beec: Pulling fs layer 04:59:22 699f458cf7ca: Pulling fs layer 04:59:22 765212b225bb: Pulling fs layer 04:59:22 f23df028b6ca: Pulling fs layer 04:59:22 d65c8cfc05b1: Pulling fs layer 04:59:22 2437ff75d9bd: Pulling fs layer 04:59:22 d65c8cfc05b1: Waiting 04:59:22 2437ff75d9bd: Waiting 04:59:22 f23df028b6ca: Waiting 04:59:22 765212b225bb: Waiting 04:59:22 04944245beec: Verifying Checksum 04:59:22 04944245beec: Download complete 04:59:22 765212b225bb: Download complete 04:59:22 f23df028b6ca: Verifying Checksum 04:59:22 f23df028b6ca: Download complete 04:59:23 d65c8cfc05b1: Verifying Checksum 04:59:23 d65c8cfc05b1: Download complete 04:59:23 699f458cf7ca: Verifying Checksum 04:59:23 699f458cf7ca: Download complete 04:59:23 8998bd30e6a1: Verifying Checksum 04:59:23 8998bd30e6a1: Download complete 04:59:26 2437ff75d9bd: Verifying Checksum 04:59:26 2437ff75d9bd: Download complete 04:59:28 8998bd30e6a1: Pull complete 04:59:29 04944245beec: Pull complete 04:59:31 699f458cf7ca: Pull complete 04:59:31 765212b225bb: Pull complete 04:59:32 f23df028b6ca: Pull complete 04:59:32 d65c8cfc05b1: Pull complete 04:59:50 2437ff75d9bd: Pull complete 04:59:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:59:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:59:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:50 prd-ubuntu20.04-docker-arm64-4c-16g-22970 does not seem to be running inside a container 04:59:50 $ 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/322 -v /w/workspace/device-sdk-go/322:/w/workspace/device-sdk-go/322:rw,z -v /w/workspace/device-sdk-go/322@tmp:/w/workspace/device-sdk-go/322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:59:54 $ docker top 04b6a7e6ad7bac00aaeeefd06d9e124eb9228edefe7a0bd86fcc81d8bb92400b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:59:55 ---> job-cost.sh 04:59:55 lf-activate-venv: SKIPPING 04:59:55 INFO: No Stack... 04:59:55 INFO: Retrieving Pricing Info for: v3-standard-4 04:59:56 INFO: Archiving Costs [Pipeline] sh 04:59:57 + cat /w/workspace/device-sdk-go/322/archives/cost.csv 04:59:57 + cut -d, -f6 [Pipeline] lock 04:59:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-322-stack-cost] 04:59:57 Resource [jenkins-edgexfoundry-device-sdk-go-main-322-stack-cost] did not exist. Created. 04:59:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-322-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:59:58 /w/workspace/device-sdk-go/322@tmp/durable-dc2a8917/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:59:58 + echo total: 0.10999999940395355 [Pipeline] stash 04:59:58 Warning: overwriting stash ‘stack-cost’ 04:59:58 Stashed 1 file(s) [Pipeline] } 04:59:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-322-stack-cost] [Pipeline] // lock [Pipeline] } 04:59:58 $ docker stop --time=1 04b6a7e6ad7bac00aaeeefd06d9e124eb9228edefe7a0bd86fcc81d8bb92400b 05:00:00 $ docker rm -f --volumes 04b6a7e6ad7bac00aaeeefd06d9e124eb9228edefe7a0bd86fcc81d8bb92400b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:00:01 provisioning config files... 05:00:01 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12567684150701896152tmp [Pipeline] { [Pipeline] sh 05:00:01 + set +x 05:00:01 + + bash -s -- 05:00:01 curl -s https://codecov.io/bash 05:00:01 05:00:01 _____ _ 05:00:01 / ____| | | 05:00:01 | | ___ __| | ___ ___ _____ __ 05:00:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:00:01 | |___| (_) | (_| | __/ (_| (_) \ V / 05:00:01 \_____\___/ \__,_|\___|\___\___/ \_/ 05:00:01 Bash-1.0.6 05:00:01 05:00:01 05:00:01 ==> git version 2.25.1 found 05:00:01 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:00:01 Release-Date: 2020-01-08 05:00:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:00:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:00:01 ==> Jenkins CI detected. 05:00:01 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:00:01 project root: . 05:00:01 --> token set from env 05:00:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:00:01 ==> Running gcov in . (disable via -X gcov) 05:00:01 ==> Python coveragepy not found 05:00:01 ==> Searching for coverage reports in: 05:00:01 + . 05:00:01 -> Found 1 reports 05:00:01 ==> Detecting git/mercurial file structure 05:00:01 ==> Reading reports 05:00:01 + ./coverage.out bytes=467900 05:00:01 ==> Appending adjustments 05:00:01 https://docs.codecov.io/docs/fixing-reports 05:00:01 + Found adjustments 05:00:01 ==> Gzipping contents 05:00:01 44K /tmp/codecov.mFq9Mm.gz 05:00:01 ==> Uploading reports 05:00:01 url: https://codecov.io 05:00:01 query: branch=main&commit=791e3808a6f22236528886c5f30bc95897a4d2de&build=322&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F322%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:00:01 -> Pinging Codecov 05:00:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=791e3808a6f22236528886c5f30bc95897a4d2de&build=322&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F322%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:00:02 -> Uploading to 05:00:02 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/791e3808a6f22236528886c5f30bc95897a4d2de/4287a972-bb5e-4c72-95ad-22aa56aaffb1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241017%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241017T050001Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=468d292c955d3157e8fa76e2403951970db6c630540d37faac16cee082d2a89c 05:00:02 % Total % Received % Xferd Average Speed Time Time Time Current 05:00:02 Dload Upload Total Spent Left Speed 05:00:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44724 0 0 100 44724 0 169k --:--:-- --:--:-- --:--:-- 169k 05:00:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/791e3808a6f22236528886c5f30bc95897a4d2de [Pipeline] } 05:00:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:00:02 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:00:02 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:00:02 05:00:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:00:03 latest: Pulling from edgex-devops/edgex-snyk-go 05:00:03 43c4264eed91: Already exists 05:00:03 4cc291be95ef: Already exists 05:00:03 2ac1f1163629: Already exists 05:00:03 5c3c966382ef: Already exists 05:00:03 4f4fb700ef54: Already exists 05:00:03 d9c7d2e4e75e: Pulling fs layer 05:00:03 9c3e1370e548: Pulling fs layer 05:00:03 d9c7d2e4e75e: Verifying Checksum 05:00:03 d9c7d2e4e75e: Download complete 05:00:03 d9c7d2e4e75e: Pull complete 05:00:04 9c3e1370e548: Verifying Checksum 05:00:04 9c3e1370e548: Download complete 05:00:07 9c3e1370e548: Pull complete 05:00:07 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 05:00:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:00:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:09 prd-ubuntu20.04-docker-8c-8g-22969 does not seem to be running inside a container 05:00:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 05:00:13 $ docker top 5cbbb79fd3ab00ed779921147660858a89fe896ddb001ec2a98610bea51bf918 -eo pid,comm [Pipeline] { [Pipeline] sh 05:00:21 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 05:00:21 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:00:22 + set -o pipefail 05:00:22 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:00:28 05:00:28 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:00:28 05:00:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/410c5780-1952-4b5a-a075-3d23610267ff 05:00:28 05:00:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:00:28 05:00:28 05:00:28 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 05:00:28 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:00:29 $ docker stop --time=1 5cbbb79fd3ab00ed779921147660858a89fe896ddb001ec2a98610bea51bf918 05:00:34 $ docker rm -f --volumes 5cbbb79fd3ab00ed779921147660858a89fe896ddb001ec2a98610bea51bf918 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 05:00:35 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:00:35 provisioning config files... 05:00:35 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14558057070450028295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:00:35 --> edgex-publish-swagger.sh 05:00:35 === Publish openapi/v3 API === 05:00:35 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:00:35 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:00:35 % Total % Received % Xferd Average Speed Time Time Time Current 05:00:35 Dload Upload Total Spent Left Speed 05:00:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 37518 0 0 100 37518 0 172k --:--:-- --:--:-- --:--:-- 172k 100 37674 100 156 100 37518 345 83004 --:--:-- --:--:-- --:--:-- 83165 05:00:35 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 05:00:35 [Pipeline] } 05:00:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:00:36 + git log --format=format:%s -1 791e3808a6f22236528886c5f30bc95897a4d2de [Pipeline] sh 05:00:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:00:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:00:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:37 prd-ubuntu20.04-docker-8c-8g-22969 does not seem to be running inside a container 05:00:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:00:37 $ docker top 2cc1608b5dda76169a89e790dbda3e65ff732980bc565f574e70a6d5ae5adce8 -eo pid,comm 05:00:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:00:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:00:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:00:37 [ssh-agent] Looking for ssh-agent implementation... 05:00:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:00:37 $ docker exec 2cc1608b5dda76169a89e790dbda3e65ff732980bc565f574e70a6d5ae5adce8 ssh-agent 05:00:37 SSH_AUTH_SOCK=/tmp/ssh-1uojY4fogHnq/agent.32 05:00:37 SSH_AGENT_PID=38 05:00:37 Running ssh-add (command line suppressed) 05:00:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3627646271798940875.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3627646271798940875.key) 05:00:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:00:38 + git semver tag 05:00:38 2024-10-17 05:00:38,547 [run_tag] DEBUG tag force:False 05:00:38 2024-10-17 05:00:38,547 [check_head_tag] DEBUG check head tag 05:00:38 2024-10-17 05:00:38,549 [execute] INFO git cat-file --batch-check 05:00:38 2024-10-17 05:00:38,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:00:38 2024-10-17 05:00:38,553 [execute] INFO git cat-file --batch 05:00:38 2024-10-17 05:00:38,553 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:00:38 2024-10-17 05:00:38,586 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:00:38 2024-10-17 05:00:38,586 [execute] INFO git tag -a v3.2.0-dev.47 -m v3.2.0-dev.47 05:00:38 2024-10-17 05:00:38,586 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.47', '-m', 'v3.2.0-dev.47'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:00:38 2024-10-17 05:00:38,590 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:00:38 3.2.0-dev.47 [Pipeline] } 05:00:38 $ docker exec --env ******** --env ******** 2cc1608b5dda76169a89e790dbda3e65ff732980bc565f574e70a6d5ae5adce8 ssh-agent -k 05:00:38 unset SSH_AUTH_SOCK; 05:00:38 unset SSH_AGENT_PID; 05:00:38 echo Agent pid 38 killed; 05:00:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:00:39 + git semver [Pipeline] } 05:00:39 $ docker stop --time=1 2cc1608b5dda76169a89e790dbda3e65ff732980bc565f574e70a6d5ae5adce8 05:00:40 $ docker rm -f --volumes 2cc1608b5dda76169a89e790dbda3e65ff732980bc565f574e70a6d5ae5adce8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:00:41 05:00:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:00:41 0.23.1-centos7: Pulling from edgex-lftools 05:00:41 ab5ef0e58194: Pulling fs layer 05:00:41 9712f1f96733: Pulling fs layer 05:00:41 63f879dbbcfc: Pulling fs layer 05:00:41 0d9ebad4ef96: Pulling fs layer 05:00:41 e9a5061849ea: Pulling fs layer 05:00:41 d747dcd14b5f: Pulling fs layer 05:00:41 2de7ff778b66: Pulling fs layer 05:00:41 e9a5061849ea: Waiting 05:00:41 2de7ff778b66: Waiting 05:00:41 d747dcd14b5f: Waiting 05:00:41 0d9ebad4ef96: Waiting 05:00:41 9712f1f96733: Verifying Checksum 05:00:41 9712f1f96733: Download complete 05:00:41 63f879dbbcfc: Verifying Checksum 05:00:41 63f879dbbcfc: Download complete 05:00:41 0d9ebad4ef96: Verifying Checksum 05:00:41 0d9ebad4ef96: Download complete 05:00:41 e9a5061849ea: Verifying Checksum 05:00:41 e9a5061849ea: Download complete 05:00:41 d747dcd14b5f: Verifying Checksum 05:00:41 d747dcd14b5f: Download complete 05:00:41 2de7ff778b66: Verifying Checksum 05:00:41 2de7ff778b66: Download complete 05:00:41 ab5ef0e58194: Verifying Checksum 05:00:41 ab5ef0e58194: Download complete 05:00:45 ab5ef0e58194: Pull complete 05:00:45 9712f1f96733: Pull complete 05:00:45 63f879dbbcfc: Pull complete 05:00:49 0d9ebad4ef96: Pull complete 05:00:49 e9a5061849ea: Pull complete 05:00:49 d747dcd14b5f: Pull complete 05:00:50 2de7ff778b66: Pull complete 05:00:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:00:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:00:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:50 prd-ubuntu20.04-docker-8c-8g-22969 does not seem to be running inside a container 05:00:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:00:56 $ docker top 0a7cedd0cedf894b82dbefd90ce5c94787fd589e060c7c3b62aff95ca62a1ef6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:00:56 provisioning config files... 05:00:56 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2044835748196462540tmp 05:00:56 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2259068734977135154tmp 05:00:56 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8206261306067020380tmp [Pipeline] { [Pipeline] echo 05:00:56 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:00:57 ---> sigul-configuration.sh 05:00:57 gpg: directory `/root/.gnupg' created 05:00:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:00:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:00:57 gpg: keyring `/root/.gnupg/secring.gpg' created 05:00:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:00:57 gpg: CAST5 encrypted data 05:00:57 gpg: encrypted with 1 passphrase 05:00:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:00:57 + mkdir /home/jenkins 05:00:57 + mkdir /home/jenkins/sigul [Pipeline] sh 05:00:57 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:00:57 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:00:58 ---> sigul-install.sh 05:00:58 Sigul already installed; skipping installation. [Pipeline] sh 05:00:58 + git tag --list 05:00:58 0.7.1 05:00:58 delhi-tag 05:00:58 v1.0.0 05:00:58 v1.1.0 05:00:58 v1.1.1 05:00:58 v1.1.2 05:00:58 v1.2.0 05:00:58 v1.2.1 05:00:58 v1.2.2 05:00:58 v1.2.3 05:00:58 v1.3.0 05:00:58 v1.4.0 05:00:58 v2.0.0 05:00:58 v2.1.0 05:00:58 v2.1.1 05:00:58 v2.2.0 05:00:58 v2.3.0 05:00:58 v2.3.1 05:00:58 v3.0 05:00:58 v3.0.0 05:00:58 v3.0.1-dev.1 05:00:58 v3.1 05:00:58 v3.1.0 05:00:58 v3.1.0-dev.1 05:00:58 v3.1.0-dev.10 05:00:58 v3.1.0-dev.11 05:00:58 v3.1.0-dev.12 05:00:58 v3.1.0-dev.13 05:00:58 v3.1.0-dev.14 05:00:58 v3.1.0-dev.15 05:00:58 v3.1.0-dev.16 05:00:58 v3.1.0-dev.17 05:00:58 v3.1.0-dev.18 05:00:58 v3.1.0-dev.19 05:00:58 v3.1.0-dev.2 05:00:58 v3.1.0-dev.20 05:00:58 v3.1.0-dev.21 05:00:58 v3.1.0-dev.22 05:00:58 v3.1.0-dev.23 05:00:58 v3.1.0-dev.24 05:00:58 v3.1.0-dev.25 05:00:58 v3.1.0-dev.26 05:00:58 v3.1.0-dev.27 05:00:58 v3.1.0-dev.28 05:00:58 v3.1.0-dev.29 05:00:58 v3.1.0-dev.3 05:00:58 v3.1.0-dev.30 05:00:58 v3.1.0-dev.31 05:00:58 v3.1.0-dev.32 05:00:58 v3.1.0-dev.33 05:00:58 v3.1.0-dev.34 05:00:58 v3.1.0-dev.35 05:00:58 v3.1.0-dev.36 05:00:58 v3.1.0-dev.37 05:00:58 v3.1.0-dev.38 05:00:58 v3.1.0-dev.39 05:00:58 v3.1.0-dev.4 05:00:58 v3.1.0-dev.40 05:00:58 v3.1.0-dev.41 05:00:58 v3.1.0-dev.5 05:00:58 v3.1.0-dev.6 05:00:58 v3.1.0-dev.7 05:00:58 v3.1.0-dev.8 05:00:58 v3.1.0-dev.9 05:00:58 v3.1.1 05:00:58 v3.1.1-dev.1 05:00:58 v3.2.0-dev.1 05:00:58 v3.2.0-dev.10 05:00:58 v3.2.0-dev.11 05:00:58 v3.2.0-dev.12 05:00:58 v3.2.0-dev.13 05:00:58 v3.2.0-dev.14 05:00:58 v3.2.0-dev.15 05:00:58 v3.2.0-dev.16 05:00:58 v3.2.0-dev.17 05:00:58 v3.2.0-dev.18 05:00:58 v3.2.0-dev.19 05:00:58 v3.2.0-dev.2 05:00:58 v3.2.0-dev.20 05:00:58 v3.2.0-dev.21 05:00:58 v3.2.0-dev.22 05:00:58 v3.2.0-dev.23 05:00:58 v3.2.0-dev.24 05:00:58 v3.2.0-dev.25 05:00:58 v3.2.0-dev.26 05:00:58 v3.2.0-dev.27 05:00:58 v3.2.0-dev.28 05:00:58 v3.2.0-dev.29 05:00:58 v3.2.0-dev.3 05:00:58 v3.2.0-dev.30 05:00:58 v3.2.0-dev.31 05:00:58 v3.2.0-dev.32 05:00:58 v3.2.0-dev.33 05:00:58 v3.2.0-dev.34 05:00:58 v3.2.0-dev.35 05:00:58 v3.2.0-dev.36 05:00:58 v3.2.0-dev.37 05:00:58 v3.2.0-dev.38 05:00:58 v3.2.0-dev.39 05:00:58 v3.2.0-dev.4 05:00:58 v3.2.0-dev.40 05:00:58 v3.2.0-dev.41 05:00:58 v3.2.0-dev.42 05:00:58 v3.2.0-dev.43 05:00:58 v3.2.0-dev.44 05:00:58 v3.2.0-dev.45 05:00:58 v3.2.0-dev.46 05:00:58 v3.2.0-dev.47 05:00:58 v3.2.0-dev.5 05:00:58 v3.2.0-dev.6 05:00:58 v3.2.0-dev.7 05:00:58 v3.2.0-dev.8 05:00:58 v3.2.0-dev.9 [Pipeline] sh 05:00:58 + lftools sign git-tag v3.2.0-dev.47 05:00:59 Signing Git tag with Sigul... 05:00:59 Signing v3.2.0-dev.47 [Pipeline] echo 05:00:59 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:00:59 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:00:59 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:00:59 $ docker stop --time=1 0a7cedd0cedf894b82dbefd90ce5c94787fd589e060c7c3b62aff95ca62a1ef6 05:01:01 $ docker rm -f --volumes 0a7cedd0cedf894b82dbefd90ce5c94787fd589e060c7c3b62aff95ca62a1ef6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:01:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:01:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:01:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:02 prd-ubuntu20.04-docker-8c-8g-22969 does not seem to be running inside a container 05:01:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:01:02 $ docker top 50c3c2a220deb49a7f852cc72609ac4fb16a31e7b765e0c1ba6c1efe3337e2c5 -eo pid,comm 05:01:02 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:01:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:01:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:01:02 [ssh-agent] Looking for ssh-agent implementation... 05:01:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:01:02 $ docker exec 50c3c2a220deb49a7f852cc72609ac4fb16a31e7b765e0c1ba6c1efe3337e2c5 ssh-agent 05:01:02 SSH_AUTH_SOCK=/tmp/ssh-N1LVyJWG26qO/agent.32 05:01:02 SSH_AGENT_PID=38 05:01:02 Running ssh-add (command line suppressed) 05:01:02 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14905683651282021987.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14905683651282021987.key) 05:01:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:01:03 + git semver bump pre 05:01:03 2024-10-17 05:01:03,307 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:01:03 2024-10-17 05:01:03,307 [bump_version] DEBUG bumping version:3.2.0-dev.47 on axis:pre with prefix:dev 05:01:03 2024-10-17 05:01:03,307 [bump_version] DEBUG bumped version:3.2.0-dev.48 05:01:03 2024-10-17 05:01:03,307 [write_version] DEBUG write version:3.2.0-dev.48 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:01:03 2024-10-17 05:01:03,307 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:01:03 2024-10-17 05:01:03,307 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:01:03 2024-10-17 05:01:03,309 [execute] INFO git cat-file --batch-check 05:01:03 2024-10-17 05:01:03,309 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:01:03 2024-10-17 05:01:03,314 [execute] INFO git cat-file --batch 05:01:03 2024-10-17 05:01:03,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:01:03 2024-10-17 05:01:03,320 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:01:03 3.2.0-dev.48 [Pipeline] } 05:01:03 $ docker exec --env ******** --env ******** 50c3c2a220deb49a7f852cc72609ac4fb16a31e7b765e0c1ba6c1efe3337e2c5 ssh-agent -k 05:01:03 unset SSH_AUTH_SOCK; 05:01:03 unset SSH_AGENT_PID; 05:01:03 echo Agent pid 38 killed; 05:01:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:01:03 + git semver [Pipeline] } 05:01:04 $ docker stop --time=1 50c3c2a220deb49a7f852cc72609ac4fb16a31e7b765e0c1ba6c1efe3337e2c5 05:01:05 $ docker rm -f --volumes 50c3c2a220deb49a7f852cc72609ac4fb16a31e7b765e0c1ba6c1efe3337e2c5 [Pipeline] // withDockerContainer [Pipeline] sh 05:01:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:01:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:01:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:06 prd-ubuntu20.04-docker-8c-8g-22969 does not seem to be running inside a container 05:01:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:01:06 $ docker top 030250ef1ff78e1075f79c86ee0dec8fbfd58ddb03eda5ff9eafeafb6bbfa2e1 -eo pid,comm 05:01:06 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:01:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:01:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:01:06 [ssh-agent] Looking for ssh-agent implementation... 05:01:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:01:06 $ docker exec 030250ef1ff78e1075f79c86ee0dec8fbfd58ddb03eda5ff9eafeafb6bbfa2e1 ssh-agent 05:01:06 SSH_AUTH_SOCK=/tmp/ssh-iu9fE1V0a3jV/agent.32 05:01:06 SSH_AGENT_PID=38 05:01:06 Running ssh-add (command line suppressed) 05:01:07 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4370206893230526277.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4370206893230526277.key) 05:01:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:01:07 + git semver push 05:01:07 2024-10-17 05:01:07,488 [run_push] DEBUG push 05:01:07 2024-10-17 05:01:07,489 [execute] INFO git cat-file --batch-check 05:01:07 2024-10-17 05:01:07,489 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:01:07 2024-10-17 05:01:07,493 [execute] INFO git rev-list 24dbceca6e01e214d6c0fb3053905fe8633c7a02 -- 05:01:07 2024-10-17 05:01:07,493 [execute] DEBUG Popen(['git', 'rev-list', '24dbceca6e01e214d6c0fb3053905fe8633c7a02', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:01:07 2024-10-17 05:01:07,507 [execute] INFO git fetch -v origin 05:01:07 2024-10-17 05:01:07,508 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:01:08 2024-10-17 05:01:07,972 [run_push] DEBUG no remote changes detected 05:01:08 2024-10-17 05:01:07,973 [execute] INFO git push origin semver 05:01:08 2024-10-17 05:01:07,974 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:01:08 2024-10-17 05:01:08,661 [run_push] DEBUG push all version tags 05:01:08 2024-10-17 05:01:08,661 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:01:08 2024-10-17 05:01:08,662 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:01:09 2024-10-17 05:01:09,287 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:01:09 3.2.0-dev.48 [Pipeline] } 05:01:09 $ docker exec --env ******** --env ******** 030250ef1ff78e1075f79c86ee0dec8fbfd58ddb03eda5ff9eafeafb6bbfa2e1 ssh-agent -k 05:01:09 unset SSH_AUTH_SOCK; 05:01:09 unset SSH_AGENT_PID; 05:01:09 echo Agent pid 38 killed; 05:01:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:01:10 + git semver [Pipeline] } 05:01:10 $ docker stop --time=1 030250ef1ff78e1075f79c86ee0dec8fbfd58ddb03eda5ff9eafeafb6bbfa2e1 05:01:11 $ docker rm -f --volumes 030250ef1ff78e1075f79c86ee0dec8fbfd58ddb03eda5ff9eafeafb6bbfa2e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:01:12 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:01:12 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:01:12 total 16 05:01:12 drwxr-xr-x 3 root root 4096 Oct 17 04:42 . 05:01:12 drwxrwxr-x 12 jenkins jenkins 4096 Oct 17 05:00 .. 05:01:12 drwxr-xr-x 2 root root 4096 Oct 17 04:42 cost 05:01:12 -rw-r--r-- 1 root root 85 Oct 17 04:42 cost.csv 05:01:12 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:01:12 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:01:12 total 16 05:01:12 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 04:42 . 05:01:12 drwxrwxr-x 12 jenkins jenkins 4096 Oct 17 05:00 .. 05:01:12 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 04:42 cost 05:01:12 -rw-r--r-- 1 jenkins jenkins 85 Oct 17 04:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:01:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:01:13 ---> package-listing.sh 05:01:13 ++ facter osfamily 05:01:13 ++ tr '[:upper:]' '[:lower:]' 05:01:13 + OS_FAMILY=debian 05:01:13 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:01:13 + START_PACKAGES=/tmp/packages_start.txt 05:01:13 + END_PACKAGES=/tmp/packages_end.txt 05:01:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:01:13 + PACKAGES=/tmp/packages_start.txt 05:01:13 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:01:13 + PACKAGES=/tmp/packages_end.txt 05:01:13 + case "${OS_FAMILY}" in 05:01:13 + dpkg -l 05:01:13 + grep '^ii' 05:01:13 + '[' -f /tmp/packages_start.txt ']' 05:01:13 + '[' -f /tmp/packages_end.txt ']' 05:01:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:01:13 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:01:13 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:01:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:01:13 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:01:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:01:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:14 prd-ubuntu20.04-docker-8c-8g-22969 does not seem to be running inside a container 05:01:14 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:01:14 $ docker top 4c940dc06bacaa66aba5c6d708828a562182b2d152d31152e568ea1e8621b88a -eo pid,comm [Pipeline] { [Pipeline] sh 05:01:15 + touch /tmp/pre-build-complete [Pipeline] sh 05:01:15 + mkdir -p /var/log/sysstat [Pipeline] sh 05:01:15 + ls /var/log/sa-host 05:01:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:01:15 provisioning config files... 05:01:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4641593260948697666tmp [Pipeline] { [Pipeline] echo 05:01:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:01:16 ---> create-netrc.sh [Pipeline] } 05:01:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:01:16 ---> python-tools-install.sh [Pipeline] echo 05:01:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:01:16 ---> sudo-logs.sh 05:01:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:01:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:01:17 ---> job-cost.sh 05:01:17 lf-activate-venv: SKIPPING 05:01:17 DEBUG: total: 0.2199999988079071 05:01:17 INFO: Retrieving Stack Cost... 05:01:17 INFO: Retrieving Pricing Info for: v3-standard-8 05:01:18 INFO: Archiving Costs [Pipeline] echo 05:01:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:01:18 ---> logs-deploy.sh 05:01:18 lf-activate-venv: SKIPPING 05:01:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/322 05:01:18 INFO: archiving workspace using pattern(s): 05:01:19 Archives upload complete. 05:01:19 INFO: archiving logs to Nexus