Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf 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-ssh14746199229420925137.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-ssh5297384198159570308.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-ssh7345249569693212456.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-ssh10120667904830648428.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-ssh8903539825099936951.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21832 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf (main) Commit message: "Merge pull request #1633 from weichou1229/issue-931" > git config core.sparsecheckout # timeout=10 > git checkout -f 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf # timeout=10 > git rev-list --no-walk 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:23:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:23:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:23:52 ========================================================= 14:23:52 EdgeX Global Pipelines Version Info 14:23:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:23:53 ------------------- 14:23:53 stable info: 14:23:53 ------------------- 14:23:53 Commited By: Ginny Guan ginny@iotechsys.com 14:23:53 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 14:23:53 Message: update stable to v1.0.265 14:23:54 ------------------- 14:23:54 experimental info: 14:23:54 ------------------- 14:23:54 Commited By: Cherry Wang cherry@iotechsys.com 14:23:54 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 14:23:54 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9dc1e0e [Pipeline] echo 14:23:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:23:54 provisioning config files... 14:23:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config407276292538512898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:23:55 ---> ****-login.sh 14:23:55 nexus3.edgexfoundry.org:10001 14:23:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:23:55 Configure a credential helper to remove this warning. See 14:23:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:23:55 14:23:55 Login Succeeded 14:23:55 nexus3.edgexfoundry.org:10002 14:23:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:23:55 Configure a credential helper to remove this warning. See 14:23:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:23:55 14:23:55 Login Succeeded 14:23:55 nexus3.edgexfoundry.org:10003 14:23:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:23:56 Configure a credential helper to remove this warning. See 14:23:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:23:56 14:23:56 Login Succeeded 14:23:56 nexus3.edgexfoundry.org:10004 14:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:23:56 Configure a credential helper to remove this warning. See 14:23:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:23:56 14:23:56 Login Succeeded 14:23:56 ****.io 14:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:23:56 Configure a credential helper to remove this warning. See 14:23:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:23:56 14:23:56 Login Succeeded 14:23:56 ---> ****-login.sh ends [Pipeline] } 14:23:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:23:56 + git rev-list -1 --merges 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf~1..9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf [Pipeline] echo 14:23:56 -----------> git rev-list -1 --merges 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf~1..9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf 14:23:56 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf [false] [Pipeline] sh 14:23:57 + git log --format=format:%s -1 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf [Pipeline] echo 14:23:57 ========================================================= 14:23:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:23:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:23:57 + git log --format=format:%s -1 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf [Pipeline] echo 14:23:57 [semverPrep] GIT_COMMIT: 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf, Commit Message: Merge pull request #1633 from weichou1229/issue-931 [Pipeline] echo 14:23:57 [semverPrep] This is not a build commit. [Pipeline] sh 14:23:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:23:57 + grep -v github /etc/ssh/ssh_known_hosts 14:23:57 + [ -e /tmp/ssh_known_hosts ] 14:23:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:23:57 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:23:57 sudo tee -a /etc/ssh/ssh_known_hosts 14:23:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:23:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:23:58 14:23:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:23:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:23:58 0.1.4: Pulling from edgex-devops/py-git-semver 14:23:58 b85a868b505f: Pulling fs layer 14:23:58 e2be974225ed: Pulling fs layer 14:23:58 339a4e72a1f5: Pulling fs layer 14:23:58 988bab9f4d93: Pulling fs layer 14:23:58 1469e6f7b9e6: Pulling fs layer 14:23:58 eaf3925da568: Pulling fs layer 14:23:58 bab4dde63d76: Pulling fs layer 14:23:58 bde34c3a00c8: Pulling fs layer 14:23:58 b352a97aabf1: Pulling fs layer 14:23:58 4872d77fe225: Pulling fs layer 14:23:58 5851b861e8e6: Pulling fs layer 14:23:58 bab4dde63d76: Waiting 14:23:58 bde34c3a00c8: Waiting 14:23:58 988bab9f4d93: Waiting 14:23:58 b352a97aabf1: Waiting 14:23:58 4872d77fe225: Waiting 14:23:58 1469e6f7b9e6: Waiting 14:23:58 5851b861e8e6: Waiting 14:23:58 eaf3925da568: Waiting 14:23:58 e2be974225ed: Verifying Checksum 14:23:58 e2be974225ed: Download complete 14:23:58 988bab9f4d93: Verifying Checksum 14:23:58 988bab9f4d93: Download complete 14:23:59 339a4e72a1f5: Verifying Checksum 14:23:59 339a4e72a1f5: Download complete 14:23:59 eaf3925da568: Verifying Checksum 14:23:59 eaf3925da568: Download complete 14:23:59 1469e6f7b9e6: Verifying Checksum 14:23:59 1469e6f7b9e6: Download complete 14:23:59 bde34c3a00c8: Download complete 14:23:59 b352a97aabf1: Download complete 14:23:59 4872d77fe225: Download complete 14:23:59 5851b861e8e6: Download complete 14:23:59 b85a868b505f: Verifying Checksum 14:23:59 b85a868b505f: Download complete 14:23:59 bab4dde63d76: Verifying Checksum 14:23:59 bab4dde63d76: Download complete 14:24:00 b85a868b505f: Pull complete 14:24:00 e2be974225ed: Pull complete 14:24:00 339a4e72a1f5: Pull complete 14:24:01 988bab9f4d93: Pull complete 14:24:01 1469e6f7b9e6: Pull complete 14:24:01 eaf3925da568: Pull complete 14:24:03 bab4dde63d76: Pull complete 14:24:03 bde34c3a00c8: Pull complete 14:24:03 b352a97aabf1: Pull complete 14:24:03 4872d77fe225: Pull complete 14:24:03 5851b861e8e6: Pull complete 14:24:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:24:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:24:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:24:03 prd-ubuntu20.04-docker-8c-8g-21832 does not seem to be running inside a container 14:24:03 $ 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 14:24:08 $ docker top a99a5b0e015791f31ed407cf1f4f180cd794d76e3031586c8196b786c2d56056 -eo pid,comm 14:24:08 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). 14:24:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:24:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:24:08 [ssh-agent] Looking for ssh-agent implementation... 14:24:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:24:08 $ docker exec a99a5b0e015791f31ed407cf1f4f180cd794d76e3031586c8196b786c2d56056 ssh-agent 14:24:08 SSH_AUTH_SOCK=/tmp/ssh-7DMXrAduy2mw/agent.32 14:24:08 SSH_AGENT_PID=38 14:24:08 Running ssh-add (command line suppressed) 14:24:08 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_861081498794963271.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_861081498794963271.key) 14:24:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:24:08 + git tag --points-at HEAD [Pipeline] } 14:24:08 $ docker exec --env ******** --env ******** a99a5b0e015791f31ed407cf1f4f180cd794d76e3031586c8196b786c2d56056 ssh-agent -k 14:24:08 unset SSH_AUTH_SOCK; 14:24:08 unset SSH_AGENT_PID; 14:24:08 echo Agent pid 38 killed; 14:24:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:24:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:24:09 [ssh-agent] Looking for ssh-agent implementation... 14:24:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:24:09 $ docker exec a99a5b0e015791f31ed407cf1f4f180cd794d76e3031586c8196b786c2d56056 ssh-agent 14:24:09 SSH_AUTH_SOCK=/tmp/ssh-zYY2HGr2B0Mx/agent.70 14:24:09 SSH_AGENT_PID=76 14:24:09 Running ssh-add (command line suppressed) 14:24:09 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3235906394562369792.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3235906394562369792.key) 14:24:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:24:09 + git semver init 14:24:09 2024-10-04 14:24:09,847 [run_init] DEBUG init version:0.0.0 force:False 14:24:09 2024-10-04 14:24:09,848 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 14:24:09 2024-10-04 14:24:09,849 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 14:24:09 2024-10-04 14:24:09,849 [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) 14:24:12 2024-10-04 14:24:11,896 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 14:24:12 2024-10-04 14:24:11,896 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 14:24:12 2024-10-04 14:24:11,896 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:24:12 2024-10-04 14:24:11,897 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:24:12 3.2.0-dev.42 [Pipeline] } 14:24:12 $ docker exec --env ******** --env ******** a99a5b0e015791f31ed407cf1f4f180cd794d76e3031586c8196b786c2d56056 ssh-agent -k 14:24:12 unset SSH_AUTH_SOCK; 14:24:12 unset SSH_AGENT_PID; 14:24:12 echo Agent pid 76 killed; 14:24:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:24:12 + git semver [Pipeline] } 14:24:13 $ docker stop --time=1 a99a5b0e015791f31ed407cf1f4f180cd794d76e3031586c8196b786c2d56056 14:24:14 $ docker rm -f --volumes a99a5b0e015791f31ed407cf1f4f180cd794d76e3031586c8196b786c2d56056 [Pipeline] // withDockerContainer [Pipeline] sh 14:24:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:24:15 Stashed 1 file(s) [Pipeline] echo 14:24:15 [edgeXSemver]: initialized semver on version 3.2.0-dev.42 [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 14:24:15 provisioning config files... 14:24:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5915862903044267504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:24:15 ---> ****-login.sh 14:24:15 nexus3.edgexfoundry.org:10001 14:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:24:15 Configure a credential helper to remove this warning. See 14:24:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:24:15 14:24:15 Login Succeeded 14:24:15 nexus3.edgexfoundry.org:10002 14:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:24:15 Configure a credential helper to remove this warning. See 14:24:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:24:15 14:24:15 Login Succeeded 14:24:15 nexus3.edgexfoundry.org:10003 14:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:24:15 Configure a credential helper to remove this warning. See 14:24:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:24:15 14:24:15 Login Succeeded 14:24:15 nexus3.edgexfoundry.org:10004 14:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:24:15 Configure a credential helper to remove this warning. See 14:24:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:24:15 14:24:15 Login Succeeded 14:24:15 ****.io 14:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:24:16 Configure a credential helper to remove this warning. See 14:24:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:24:16 14:24:16 Login Succeeded 14:24:16 ---> ****-login.sh ends [Pipeline] } 14:24:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:24:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:24:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:24:16 ========================================================= 14:24:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 14:24:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:16 + 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 . 14:24:16 Sending build context to Docker daemon 25.41MB 14:24:16 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 14:24:16 Step 2/10 : FROM ${BASE} AS builder 14:24:16 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 14:24:16 43c4264eed91: Pulling fs layer 14:24:16 4cc291be95ef: Pulling fs layer 14:24:16 2ac1f1163629: Pulling fs layer 14:24:16 5c3c966382ef: Pulling fs layer 14:24:16 4f4fb700ef54: Pulling fs layer 14:24:16 5d5c8e513c77: Pulling fs layer 14:24:16 9f66e0745190: Pulling fs layer 14:24:16 5c3c966382ef: Waiting 14:24:16 4f4fb700ef54: Waiting 14:24:16 5d5c8e513c77: Waiting 14:24:16 9f66e0745190: Waiting 14:24:16 f49a43e4bbc0: Pulling fs layer 14:24:16 561ebcabdf7f: Pulling fs layer 14:24:16 561ebcabdf7f: Waiting 14:24:16 4cc291be95ef: Download complete 14:24:16 5c3c966382ef: Verifying Checksum 14:24:16 5c3c966382ef: Download complete 14:24:16 43c4264eed91: Download complete 14:24:16 4f4fb700ef54: Verifying Checksum 14:24:16 4f4fb700ef54: Download complete 14:24:16 5d5c8e513c77: Verifying Checksum 14:24:16 5d5c8e513c77: Download complete 14:24:16 9f66e0745190: Verifying Checksum 14:24:16 9f66e0745190: Download complete 14:24:17 43c4264eed91: Pull complete 14:24:17 4cc291be95ef: Pull complete 14:24:17 561ebcabdf7f: Verifying Checksum 14:24:17 561ebcabdf7f: Download complete 14:24:17 2ac1f1163629: Verifying Checksum 14:24:17 2ac1f1163629: Download complete 14:24:18 f49a43e4bbc0: Verifying Checksum 14:24:18 f49a43e4bbc0: Download complete 14:24:21 2ac1f1163629: Pull complete 14:24:21 5c3c966382ef: Pull complete 14:24:21 4f4fb700ef54: Pull complete 14:24:21 5d5c8e513c77: Pull complete 14:24:21 9f66e0745190: Pull complete 14:24:23 f49a43e4bbc0: Pull complete 14:24:23 561ebcabdf7f: Pull complete 14:24:23 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 14:24:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 14:24:23 ---> 3a752c3f9dda 14:24:23 Step 3/10 : ARG MAKE=make build 14:24:30 Still waiting to schedule task 14:24:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:24:31 ---> Running in 2ac86ee1d810 14:24:31 Removing intermediate container 2ac86ee1d810 14:24:31 ---> 4640e8dfc438 14:24:31 Step 4/10 : WORKDIR /device-sdk-go 14:24:31 ---> Running in b89c224a6d83 14:24:32 Removing intermediate container b89c224a6d83 14:24:32 ---> a06ceaa25fd1 14:24:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:24:32 ---> Running in b5dd5aedcd2a 14:24:32 Removing intermediate container b5dd5aedcd2a 14:24:32 ---> 7446e2fce473 14:24:32 Step 6/10 : RUN apk add --update --no-cache make git 14:24:32 ---> Running in 10a7e1cd6515 14:24:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:24:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:24:32 OK: 246 MiB in 54 packages 14:24:33 Removing intermediate container 10a7e1cd6515 14:24:33 ---> 997b153b1978 14:24:33 Step 7/10 : COPY go.mod vendor* ./ 14:24:33 ---> e0e837a0808a 14:24:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:24:33 ---> Running in 16258a58ad2a 14:25:41 Removing intermediate container 16258a58ad2a 14:25:41 ---> 2a3c61a1bd0b 14:25:41 Step 9/10 : COPY . . 14:25:41 ---> 909e97230f37 14:25:41 Step 10/10 : RUN ${MAKE} 14:25:41 ---> Running in dcebb6b2e482 14:25:41 noop 14:25:41 Removing intermediate container dcebb6b2e482 14:25:41 ---> b06da4314ee7 14:25:41 Successfully built b06da4314ee7 14:25:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:41 + docker inspect -f . ci-base-image-x86_64 14:25:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:25:41 prd-ubuntu20.04-docker-8c-8g-21832 does not seem to be running inside a container 14:25:41 $ 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 14:25:42 $ docker top 135d955c314933008637848a56f151bc7e767e1cb94858a6726993936ecf77ee -eo pid,comm [Pipeline] { [Pipeline] sh 14:25:42 + go version 14:25:42 go version go1.23.2 linux/amd64 [Pipeline] } 14:25:42 $ docker stop --time=1 135d955c314933008637848a56f151bc7e767e1cb94858a6726993936ecf77ee 14:25:43 $ docker rm -f --volumes 135d955c314933008637848a56f151bc7e767e1cb94858a6726993936ecf77ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:44 + docker inspect -f . ci-base-image-x86_64 14:25:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:25:44 prd-ubuntu20.04-docker-8c-8g-21832 does not seem to be running inside a container 14:25:44 $ 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 14:25:44 $ docker top 03ef17af0801603b68dffee76634b2b10c873347068f76ecf875583760189535 -eo pid,comm [Pipeline] { [Pipeline] sh 14:25:45 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 14:25:45 + make test 14:25:45 go test -race -coverprofile=coverage.out ./... 14:25:53 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 14:26:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21833 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 14:26:06 Running in /w/workspace/device-sdk-go/317 [Pipeline] { [Pipeline] checkout 14:26:09 The recommended git tool is: git 14:26:13 using credential edgex-jenkins-ssh 14:26:13 Cloning the remote Git repository 14:26:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:26:13 > git init /w/workspace/device-sdk-go/317 # timeout=10 14:26:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:26:13 > git --version # timeout=10 14:26:13 > git --version # 'git version 2.25.1' 14:26:13 using GIT_SSH to set credentials SSH Credentials for GitHub 14:26:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:26:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:26:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:26:18 Avoid second fetch 14:26:18 Checking out Revision 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf (main) 14:26:18 Commit message: "Merge pull request #1633 from weichou1229/issue-931" 14:26:18 > git config core.sparsecheckout # timeout=10 14:26:18 > git checkout -f 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:26:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:26:23 % Total % Received % Xferd Average Speed Time Time Time Current 14:26:23 Dload Upload Total Spent Left Speed 14:26:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 89706 0 --:--:-- --:--:-- --:--:-- 89706 [Pipeline] sh 14:26:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:26:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:26:24 + sudo tee /etc/docker/daemon.new 14:26:24 { 14:26:24 "registry-mirrors": [ 14:26:24 "https://nexus3.edgexfoundry.org:10001" 14:26:24 ], 14:26:24 "bip": "10.250.0.254/24", 14:26:24 "hosts": [ 14:26:24 "tcp://0.0.0.0:5555", 14:26:24 "unix:///var/run/docker.sock" 14:26:24 ], 14:26:24 "mtu": 1458, 14:26:24 "selinux-enabled": true, 14:26:24 "seccomp-profile": "/etc/docker/seccomp.json" 14:26:24 } [Pipeline] sh 14:26:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:26:24 + sudo service docker restart 14:26:32 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 14:26:32 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 14:26:32 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 14:26:32 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 14:26:32 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 14:26:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.028s coverage: 26.0% of statements 14:26:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.025s coverage: 79.4% of statements 14:26:32 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 14:26:32 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 14:26:32 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 14:26:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.046s coverage: 86.0% of statements 14:26:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 14:26:32 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 14:26:32 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 14:26:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.096s coverage: 45.2% of statements 14:26:32 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 14:26:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.081s coverage: 14.1% of statements 14:26:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.437s coverage: 44.6% of statements 14:26:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.054s coverage: 68.3% of statements 14:26:33 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.085s coverage: 88.3% of statements 14:26:33 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.058s coverage: 5.3% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:26:43 provisioning config files... 14:26:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/317@tmp/config17206834979445095879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:26:43 ---> ****-login.sh 14:26:43 nexus3.edgexfoundry.org:10001 14:26:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:26:44 Configure a credential helper to remove this warning. See 14:26:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:26:44 14:26:44 Login Succeeded 14:26:44 nexus3.edgexfoundry.org:10002 14:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:26:44 Configure a credential helper to remove this warning. See 14:26:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:26:44 14:26:44 Login Succeeded 14:26:44 nexus3.edgexfoundry.org:10003 14:26:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:26:45 Configure a credential helper to remove this warning. See 14:26:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:26:45 14:26:45 Login Succeeded 14:26:45 nexus3.edgexfoundry.org:10004 14:26:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:26:45 Configure a credential helper to remove this warning. See 14:26:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:26:45 14:26:45 Login Succeeded 14:26:45 ****.io 14:26:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:26:45 Configure a credential helper to remove this warning. See 14:26:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:26:45 14:26:45 Login Succeeded 14:26:45 ---> ****-login.sh ends [Pipeline] } 14:26:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:26:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:26:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:26:46 ========================================================= 14:26:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 14:26:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:26:46 + 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 . 14:26:47 Sending build context to Docker daemon 13.16MB 14:26:47 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 14:26:47 Step 2/10 : FROM ${BASE} AS builder 14:26:47 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:26:47 cf04c63912e1: Pulling fs layer 14:26:47 55b35a11ae5e: Pulling fs layer 14:26:47 a37a00ec5f00: Pulling fs layer 14:26:47 50b3750afda1: Pulling fs layer 14:26:47 4f4fb700ef54: Pulling fs layer 14:26:47 80978eb59214: Pulling fs layer 14:26:47 c9f46d7d2bd2: Pulling fs layer 14:26:47 c5a475d317c9: Pulling fs layer 14:26:47 50b3750afda1: Waiting 14:26:47 80978eb59214: Waiting 14:26:47 4f4fb700ef54: Waiting 14:26:47 c9f46d7d2bd2: Waiting 14:26:47 c5a475d317c9: Waiting 14:26:47 55b35a11ae5e: Verifying Checksum 14:26:47 55b35a11ae5e: Download complete 14:26:47 50b3750afda1: Verifying Checksum 14:26:47 50b3750afda1: Download complete 14:26:47 4f4fb700ef54: Download complete 14:26:47 80978eb59214: Verifying Checksum 14:26:47 80978eb59214: Download complete 14:26:47 cf04c63912e1: Verifying Checksum 14:26:47 cf04c63912e1: Download complete 14:26:47 c5a475d317c9: Verifying Checksum 14:26:47 c5a475d317c9: Download complete 14:26:48 cf04c63912e1: Pull complete 14:26:48 55b35a11ae5e: Pull complete 14:26:49 a37a00ec5f00: Verifying Checksum 14:26:49 a37a00ec5f00: Download complete 14:26:50 c9f46d7d2bd2: Verifying Checksum 14:26:50 c9f46d7d2bd2: Download complete 14:26:59 GO111MODULE=on go vet ./... 14:27:02 a37a00ec5f00: Pull complete 14:27:02 50b3750afda1: Pull complete 14:27:03 4f4fb700ef54: Pull complete 14:27:03 80978eb59214: Pull complete 14:27:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:27:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:27:04 ./bin/test-attribution-txt.sh 14:27:04 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 14:27:04 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 14:27:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:27:04 $ docker stop --time=1 03ef17af0801603b68dffee76634b2b10c873347068f76ecf875583760189535 14:27:11 c9f46d7d2bd2: Pull complete 14:27:12 $ docker rm -f --volumes 03ef17af0801603b68dffee76634b2b10c873347068f76ecf875583760189535 [Pipeline] // withDockerContainer [Pipeline] sh 14:27:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:27:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 14:27:13 c5a475d317c9: Pull complete 14:27:13 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 14:27:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 14:27:13 ---> be29e6b0f0d4 14:27:13 Step 3/10 : ARG MAKE=make build [Pipeline] sh 14:27:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:27:14 + ls -al . 14:27:14 total 712 14:27:14 drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 14:25 . 14:27:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 14:23 .. 14:27:14 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 14:23 .dockerignore 14:27:14 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 14:26 .git 14:27:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 14:23 .github 14:27:14 -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 14:23 .gitignore 14:27:14 -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 14:23 .golangci.yml 14:27:14 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 14:24 .semver 14:27:14 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 4 14:23 CHANGELOG.md 14:27:14 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 14:23 GOVERNANCE.md 14:27:14 -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 14:23 Jenkinsfile 14:27:14 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 14:23 LICENSE 14:27:14 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 14:23 Makefile 14:27:14 -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 14:23 OWNERS.md 14:27:14 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 4 14:23 README.md 14:27:14 -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 14:24 VERSION 14:27:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 14:23 bin 14:27:14 -rw-r--r-- 1 jenkins jenkins 466605 Oct 4 14:26 coverage.out 14:27:14 drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 14:23 example 14:27:14 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 4 14:23 go.mod 14:27:14 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 4 14:23 go.sum 14:27:14 drwxrwxr-x 13 jenkins jenkins 4096 Oct 4 14:23 internal 14:27:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 14:23 openapi 14:27:14 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 14:23 pkg 14:27:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 14:23 snap 14:27:14 -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 14:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:27:14 + 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=9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf --label arch=amd64 --label version=3.2.0-dev.42 . 14:27:14 Sending build context to Docker daemon 25.87MB 14:27:14 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 14:27:14 Step 2/24 : FROM ${BASE} AS builder 14:27:14 ---> b06da4314ee7 14:27:14 Step 3/24 : ARG MAKE=make build 14:27:14 ---> Running in fe55f62c39e7 14:27:15 ---> Running in b98bea855de8 14:27:15 Removing intermediate container fe55f62c39e7 14:27:15 ---> a8ffe562881c 14:27:15 Step 4/10 : WORKDIR /device-sdk-go 14:27:15 ---> Running in 06106998a8ed 14:27:15 Removing intermediate container b98bea855de8 14:27:15 ---> fe91662af47d 14:27:15 Step 4/24 : WORKDIR /device-sdk-go 14:27:15 ---> Running in f44bc3436dfc 14:27:15 Removing intermediate container f44bc3436dfc 14:27:15 ---> ecad973ee182 14:27:15 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:27:15 ---> Running in 8993a27467cd 14:27:15 Removing intermediate container 8993a27467cd 14:27:15 ---> 2916032c9d9b 14:27:15 Step 6/24 : RUN apk add --update --no-cache make git 14:27:15 ---> Running in 244df937a164 14:27:15 Removing intermediate container 06106998a8ed 14:27:15 ---> 33cf3a0de5d6 14:27:15 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:27:15 ---> Running in 70d48c348425 14:27:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:27:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:27:16 Removing intermediate container 70d48c348425 14:27:16 ---> e2c39801d0be 14:27:16 Step 6/10 : RUN apk add --update --no-cache make git 14:27:16 ---> Running in e9a46ba58f8e 14:27:16 OK: 246 MiB in 54 packages 14:27:16 Removing intermediate container 244df937a164 14:27:16 ---> 688909a9d737 14:27:16 Step 7/24 : COPY go.mod vendor* ./ 14:27:16 ---> efb5a3726bc1 14:27:16 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:27:16 ---> Running in 60451049163d 14:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:27:17 Removing intermediate container 60451049163d 14:27:17 ---> 3f8cc15b9245 14:27:17 Step 9/24 : COPY . . 14:27:18 ---> 3b71cba9a761 14:27:18 Step 10/24 : RUN ${MAKE} 14:27:18 OK: 238 MiB in 54 packages 14:27:18 ---> Running in 7cc94050c6ec 14:27:19 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.42 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.42" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 14:27:19 Removing intermediate container e9a46ba58f8e 14:27:19 ---> 6345fce8bbbd 14:27:19 Step 7/10 : COPY go.mod vendor* ./ 14:27:20 ---> dbde6403bbf6 14:27:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:27:20 ---> Running in 4697182b50d3 14:27:58 Removing intermediate container 7cc94050c6ec 14:27:58 ---> 7330b3d1112b 14:27:58 Step 11/24 : FROM alpine:3.20 14:27:58 3.20: Pulling from library/alpine 14:27:58 43c4264eed91: Already exists 14:27:58 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 14:27:58 Status: Downloaded newer image for alpine:3.20 14:27:58 ---> 91ef0af61f39 14:27:58 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:27:58 ---> Running in 31a86deaa4a7 14:27:58 Removing intermediate container 31a86deaa4a7 14:27:58 ---> f75b94c12089 14:27:58 Step 13/24 : RUN apk add --update --no-cache dumb-init 14:27:58 ---> Running in aeda0e898662 14:27:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:27:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:27:58 (1/1) Installing dumb-init (1.2.5-r3) 14:27:58 Executing busybox-1.36.1-r29.trigger 14:27:58 OK: 8 MiB in 15 packages 14:27:58 Removing intermediate container aeda0e898662 14:27:58 ---> 71505b5a39b3 14:27:58 Step 14/24 : RUN apk --no-cache upgrade 14:27:58 ---> Running in d844dcfbb795 14:27:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:27:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:27:59 Upgrading critical system libraries and apk-tools: 14:27:59 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 14:27:59 Executing busybox-1.36.1-r29.trigger 14:27:59 Continuing the upgrade transaction with new apk-tools: 14:27:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:27:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:27:59 OK: 8 MiB in 15 packages 14:28:00 Removing intermediate container d844dcfbb795 14:28:00 ---> 2514e01469dd 14:28:00 Step 15/24 : WORKDIR / 14:28:00 ---> Running in 8d15f9ed8981 14:28:00 Removing intermediate container 8d15f9ed8981 14:28:00 ---> 9fece9bfb23f 14:28:00 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 14:28:00 ---> cf6b3c30a74a 14:28:00 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 14:28:01 ---> 3160fc058ab3 14:28:01 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 14:28:01 ---> 938ef74795dd 14:28:01 Step 19/24 : EXPOSE 59999 14:28:01 ---> Running in fe455d0002d1 14:28:01 Removing intermediate container fe455d0002d1 14:28:01 ---> e192f355c5b8 14:28:01 Step 20/24 : ENTRYPOINT ["/device-simple"] 14:28:01 ---> Running in 20aa5693e03f 14:28:01 Removing intermediate container 20aa5693e03f 14:28:01 ---> 8fd5c8e6c736 14:28:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 14:28:01 ---> Running in 2188415ee1e5 14:28:02 Removing intermediate container 2188415ee1e5 14:28:02 ---> 19e742a7f2b5 14:28:02 Step 22/24 : LABEL arch=amd64 14:28:02 ---> Running in 1a3b51bc42a7 14:28:02 Removing intermediate container 1a3b51bc42a7 14:28:02 ---> 356dc9b737dc 14:28:02 Step 23/24 : LABEL git_sha=9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf 14:28:02 ---> Running in a75476f53656 14:28:02 Removing intermediate container a75476f53656 14:28:02 ---> ff5d3fd40722 14:28:02 Step 24/24 : LABEL version=3.2.0-dev.42 14:28:02 ---> Running in 72913ad4410b 14:28:02 Removing intermediate container 72913ad4410b 14:28:02 ---> 4134325290b0 14:28:02 [Warning] One or more build-args [ARCH] were not consumed 14:28:02 Successfully built 4134325290b0 14:28:02 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 14:28:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:28:02 14:28:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:28:03 latest: Pulling from edgex-lftools-log-publisher 14:28:03 5eb5b503b376: Pulling fs layer 14:28:03 5c69ac0246d0: Pulling fs layer 14:28:03 ec43610c2a17: Pulling fs layer 14:28:03 3a2ae6a8a46f: Pulling fs layer 14:28:03 33b1e0a273af: Pulling fs layer 14:28:03 5d3b04190fa2: Pulling fs layer 14:28:03 2f39f015ded8: Pulling fs layer 14:28:03 33b1e0a273af: Waiting 14:28:03 3a2ae6a8a46f: Waiting 14:28:03 5d3b04190fa2: Waiting 14:28:03 2f39f015ded8: Waiting 14:28:03 5c69ac0246d0: Download complete 14:28:03 3a2ae6a8a46f: Download complete 14:28:03 33b1e0a273af: Verifying Checksum 14:28:03 33b1e0a273af: Download complete 14:28:03 ec43610c2a17: Verifying Checksum 14:28:03 ec43610c2a17: Download complete 14:28:03 5d3b04190fa2: Verifying Checksum 14:28:03 5d3b04190fa2: Download complete 14:28:03 5eb5b503b376: Verifying Checksum 14:28:03 5eb5b503b376: Download complete 14:28:04 2f39f015ded8: Verifying Checksum 14:28:05 5eb5b503b376: Pull complete 14:28:05 5c69ac0246d0: Pull complete 14:28:05 ec43610c2a17: Pull complete 14:28:05 3a2ae6a8a46f: Pull complete 14:28:05 33b1e0a273af: Pull complete 14:28:06 5d3b04190fa2: Pull complete 14:28:10 2f39f015ded8: Pull complete 14:28:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:28:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:28:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:28:10 prd-ubuntu20.04-docker-8c-8g-21832 does not seem to be running inside a container 14:28:10 $ 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 14:28:17 $ docker top 86c8da69c86c936effd996b030568eaaccf5da782d6f40ea3603e3ff314aa18a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:28:17 ---> job-cost.sh 14:28:17 lf-activate-venv: SKIPPING 14:28:17 INFO: No Stack... 14:28:17 INFO: Retrieving Pricing Info for: v3-standard-8 14:28:18 INFO: Archiving Costs [Pipeline] sh 14:28:18 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 14:28:18 + cut -d, -f6 [Pipeline] lock 14:28:18 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-317-stack-cost] 14:28:18 Resource [jenkins-edgexfoundry-device-sdk-go-main-317-stack-cost] did not exist. Created. 14:28:18 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-317-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:28:18 + echo total: 0.2199999988079071 [Pipeline] stash 14:28:18 Stashed 1 file(s) [Pipeline] } 14:28:18 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-317-stack-cost] [Pipeline] // lock [Pipeline] } 14:28:18 $ docker stop --time=1 86c8da69c86c936effd996b030568eaaccf5da782d6f40ea3603e3ff314aa18a 14:28:20 $ docker rm -f --volumes 86c8da69c86c936effd996b030568eaaccf5da782d6f40ea3603e3ff314aa18a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:29:12 Removing intermediate container 4697182b50d3 14:29:12 ---> 8cf1ff13545a 14:29:12 Step 9/10 : COPY . . 14:29:12 ---> 524d3ecfaeed 14:29:12 Step 10/10 : RUN ${MAKE} 14:29:12 ---> Running in 6e29910e6413 14:29:12 noop 14:29:12 Removing intermediate container 6e29910e6413 14:29:12 ---> b75f4fd26fc8 14:29:12 Successfully built b75f4fd26fc8 14:29:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:29:12 + docker inspect -f . ci-base-image-arm64 14:29:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:29:12 prd-ubuntu20.04-docker-arm64-4c-16g-21833 does not seem to be running inside a container 14:29:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/317 -v /w/workspace/device-sdk-go/317:/w/workspace/device-sdk-go/317:rw,z -v /w/workspace/device-sdk-go/317@tmp:/w/workspace/device-sdk-go/317@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 14:29:14 $ docker top a37c6ee17f03301b546ab49f3fd1821f8dc06a1147a32c66e59ce62f91ef2a30 -eo pid,comm [Pipeline] { [Pipeline] sh 14:29:14 + go version 14:29:14 go version go1.23.2 linux/arm64 [Pipeline] } 14:29:14 $ docker stop --time=1 a37c6ee17f03301b546ab49f3fd1821f8dc06a1147a32c66e59ce62f91ef2a30 14:29:16 $ docker rm -f --volumes a37c6ee17f03301b546ab49f3fd1821f8dc06a1147a32c66e59ce62f91ef2a30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:29:17 + docker inspect -f . ci-base-image-arm64 14:29:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:29:17 prd-ubuntu20.04-docker-arm64-4c-16g-21833 does not seem to be running inside a container 14:29: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/317 -v /w/workspace/device-sdk-go/317:/w/workspace/device-sdk-go/317:rw,z -v /w/workspace/device-sdk-go/317@tmp:/w/workspace/device-sdk-go/317@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 14:29:18 $ docker top d770a7f736462ea9106809f59c18cedc3dd30c7d0b529342db807711f50eb39b -eo pid,comm [Pipeline] { [Pipeline] sh 14:29:19 + git config --global --add safe.directory /w/workspace/device-sdk-go/317 [Pipeline] fileExists [Pipeline] sh 14:29:20 + make test 14:29:20 go test -race -coverprofile=coverage.out ./... 14:30:06 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 14:33:44 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 14:33:44 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 14:33:44 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 14:33:44 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 14:33:44 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 14:33:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.163s coverage: 26.0% of statements 14:34:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.172s coverage: 79.4% of statements 14:34:10 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 14:34:10 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 14:34:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.273s coverage: 86.0% of statements 14:34:21 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 14:34:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.550s coverage: 45.2% of statements 14:34:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.247s coverage: 14.1% of statements 14:34:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.099s coverage: 44.6% of statements 14:34:29 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 14:34:29 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 14:34:29 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 14:34:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.386s coverage: 68.3% of statements 14:34:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.346s coverage: 88.3% of statements 14:34:41 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 14:34:42 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.276s coverage: 5.3% of statements 14:34:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:34:43 GO111MODULE=on go vet ./... 14:38:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:38:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:38:05 ./bin/test-attribution-txt.sh 14:38:05 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 14:38:05 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 14:38:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:38:05 $ docker stop --time=1 d770a7f736462ea9106809f59c18cedc3dd30c7d0b529342db807711f50eb39b 14:38:07 $ docker rm -f --volumes d770a7f736462ea9106809f59c18cedc3dd30c7d0b529342db807711f50eb39b [Pipeline] // withDockerContainer [Pipeline] sh 14:38:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:38:09 Warning: overwriting stash ‘coverage-report’ 14:38:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:38:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:38:11 + ls -al . 14:38:11 total 708 14:38:11 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 14:29 . 14:38:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 14:26 .. 14:38:11 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 14:26 .dockerignore 14:38:11 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 14:26 .git 14:38:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 14:26 .github 14:38:11 -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 14:26 .gitignore 14:38:11 -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 14:26 .golangci.yml 14:38:11 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 4 14:26 CHANGELOG.md 14:38:11 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 14:26 GOVERNANCE.md 14:38:11 -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 14:26 Jenkinsfile 14:38:11 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 14:26 LICENSE 14:38:11 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 14:26 Makefile 14:38:11 -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 14:26 OWNERS.md 14:38:11 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 4 14:26 README.md 14:38:11 -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 14:24 VERSION 14:38:11 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 14:26 bin 14:38:11 -rw-r--r-- 1 jenkins jenkins 466603 Oct 4 14:34 coverage.out 14:38:11 drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 14:26 example 14:38:11 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 4 14:26 go.mod 14:38:11 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 4 14:26 go.sum 14:38:11 drwxrwxr-x 13 jenkins jenkins 4096 Oct 4 14:26 internal 14:38:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 14:26 openapi 14:38:11 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 14:26 pkg 14:38:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 14:26 snap 14:38:11 -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 14:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:11 + 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=9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf --label arch=arm64 --label version=3.2.0-dev.42 . 14:38:12 Sending build context to Docker daemon 13.63MB 14:38:12 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 14:38:12 Step 2/24 : FROM ${BASE} AS builder 14:38:12 ---> b75f4fd26fc8 14:38:12 Step 3/24 : ARG MAKE=make build 14:38:12 ---> Running in b6874bccd895 14:38:12 Removing intermediate container b6874bccd895 14:38:12 ---> b7fbaab5ab9b 14:38:12 Step 4/24 : WORKDIR /device-sdk-go 14:38:12 ---> Running in 728bc2136cee 14:38:13 Removing intermediate container 728bc2136cee 14:38:13 ---> 37d5a75b5735 14:38:13 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:38:13 ---> Running in 9b34fc21df6d 14:38:13 Removing intermediate container 9b34fc21df6d 14:38:13 ---> 4835f71943aa 14:38:13 Step 6/24 : RUN apk add --update --no-cache make git 14:38:13 ---> Running in 30299927931a 14:38:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:38:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:38:16 OK: 238 MiB in 54 packages 14:38:17 Removing intermediate container 30299927931a 14:38:17 ---> 18d8c2165c94 14:38:17 Step 7/24 : COPY go.mod vendor* ./ 14:38:17 ---> 5282ff1d907d 14:38:17 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:38:17 ---> Running in c5c0a4766e8f 14:38:19 Removing intermediate container c5c0a4766e8f 14:38:19 ---> d00cd344010b 14:38:19 Step 9/24 : COPY . . 14:38:21 ---> 2ecf1ae10bed 14:38:21 Step 10/24 : RUN ${MAKE} 14:38:21 ---> Running in 071528fbafd7 14:38:22 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.42 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.42" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 14:41:44 Removing intermediate container 071528fbafd7 14:41:44 ---> c27e48465b8e 14:41:44 Step 11/24 : FROM alpine:3.20 14:41:44 3.20: Pulling from library/alpine 14:41:44 cf04c63912e1: Already exists 14:41:44 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 14:41:44 Status: Downloaded newer image for alpine:3.20 14:41:44 ---> c157a85ed455 14:41:44 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:41:44 ---> Running in 4e1d4a70acc1 14:41:44 Removing intermediate container 4e1d4a70acc1 14:41:44 ---> 92042543c199 14:41:44 Step 13/24 : RUN apk add --update --no-cache dumb-init 14:41:44 ---> Running in 8bb8f55bc4ea 14:41:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:41:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:41:47 (1/1) Installing dumb-init (1.2.5-r3) 14:41:47 Executing busybox-1.36.1-r29.trigger 14:41:47 OK: 9 MiB in 15 packages 14:41:48 Removing intermediate container 8bb8f55bc4ea 14:41:48 ---> ae4405799d74 14:41:48 Step 14/24 : RUN apk --no-cache upgrade 14:41:48 ---> Running in 1bb5da615e50 14:41:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:41:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:41:51 Upgrading critical system libraries and apk-tools: 14:41:51 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 14:41:51 Executing busybox-1.36.1-r29.trigger 14:41:51 Continuing the upgrade transaction with new apk-tools: 14:41:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:41:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:41:52 OK: 9 MiB in 15 packages 14:41:53 Removing intermediate container 1bb5da615e50 14:41:53 ---> b30f1f58b10f 14:41:53 Step 15/24 : WORKDIR / 14:41:53 ---> Running in 3700fb0db1ac 14:41:54 Removing intermediate container 3700fb0db1ac 14:41:54 ---> 7ddfc54f2b17 14:41:54 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 14:41:54 ---> 0aa05bfb5e3c 14:41:54 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 14:41:57 ---> 3d563ea65639 14:41:57 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 14:41:57 ---> 0cbb0c596f91 14:41:57 Step 19/24 : EXPOSE 59999 14:41:57 ---> Running in 2e98406cdbd1 14:41:58 Removing intermediate container 2e98406cdbd1 14:41:58 ---> 3ba69ce97925 14:41:58 Step 20/24 : ENTRYPOINT ["/device-simple"] 14:41:58 ---> Running in d779bcfd27b3 14:41:58 Removing intermediate container d779bcfd27b3 14:41:58 ---> 9ac2edded17e 14:41:58 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 14:41:58 ---> Running in df923d7d841b 14:41:58 Removing intermediate container df923d7d841b 14:41:58 ---> 7489199da706 14:41:58 Step 22/24 : LABEL arch=arm64 14:41:58 ---> Running in 8e672a566984 14:41:59 Removing intermediate container 8e672a566984 14:41:59 ---> 88ef402e0398 14:41:59 Step 23/24 : LABEL git_sha=9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf 14:41:59 ---> Running in 0a02b7e5e509 14:41:59 Removing intermediate container 0a02b7e5e509 14:41:59 ---> f7ff624062b1 14:41:59 Step 24/24 : LABEL version=3.2.0-dev.42 14:41:59 ---> Running in 50ce5d51e84d 14:42:00 Removing intermediate container 50ce5d51e84d 14:42:00 ---> 6aa88395503a 14:42:00 [Warning] One or more build-args [ARCH] were not consumed 14:42:00 Successfully built 6aa88395503a 14:42:00 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 14:42:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:42:00 14:42:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:42:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:42:01 arm64: Pulling from edgex-lftools-log-publisher 14:42:01 8998bd30e6a1: Pulling fs layer 14:42:01 04944245beec: Pulling fs layer 14:42:01 699f458cf7ca: Pulling fs layer 14:42:01 765212b225bb: Pulling fs layer 14:42:01 f23df028b6ca: Pulling fs layer 14:42:01 d65c8cfc05b1: Pulling fs layer 14:42:01 2437ff75d9bd: Pulling fs layer 14:42:01 f23df028b6ca: Waiting 14:42:01 d65c8cfc05b1: Waiting 14:42:01 2437ff75d9bd: Waiting 14:42:01 765212b225bb: Waiting 14:42:01 04944245beec: Verifying Checksum 14:42:01 04944245beec: Download complete 14:42:01 765212b225bb: Verifying Checksum 14:42:01 765212b225bb: Download complete 14:42:01 f23df028b6ca: Verifying Checksum 14:42:01 f23df028b6ca: Download complete 14:42:01 d65c8cfc05b1: Verifying Checksum 14:42:01 d65c8cfc05b1: Download complete 14:42:01 699f458cf7ca: Verifying Checksum 14:42:01 699f458cf7ca: Download complete 14:42:01 8998bd30e6a1: Verifying Checksum 14:42:01 8998bd30e6a1: Download complete 14:42:04 2437ff75d9bd: Verifying Checksum 14:42:04 2437ff75d9bd: Download complete 14:42:06 8998bd30e6a1: Pull complete 14:42:06 04944245beec: Pull complete 14:42:08 699f458cf7ca: Pull complete 14:42:08 765212b225bb: Pull complete 14:42:09 f23df028b6ca: Pull complete 14:42:09 d65c8cfc05b1: Pull complete 14:42:27 2437ff75d9bd: Pull complete 14:42:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:42:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:42:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:42:28 prd-ubuntu20.04-docker-arm64-4c-16g-21833 does not seem to be running inside a container 14:42:28 $ 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/317 -v /w/workspace/device-sdk-go/317:/w/workspace/device-sdk-go/317:rw,z -v /w/workspace/device-sdk-go/317@tmp:/w/workspace/device-sdk-go/317@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 14:42:30 $ docker top fe91b32e2a79f468e530448b1ec293fffe45a7338e266b321c5cd94e0642c9ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:42:31 ---> job-cost.sh 14:42:31 lf-activate-venv: SKIPPING 14:42:31 INFO: No Stack... 14:42:32 INFO: Retrieving Pricing Info for: v3-standard-4 14:42:33 INFO: Archiving Costs [Pipeline] sh 14:42:33 + cut -d, -f6 14:42:33 + cat /w/workspace/device-sdk-go/317/archives/cost.csv [Pipeline] lock 14:42:33 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-317-stack-cost] 14:42:33 Resource [jenkins-edgexfoundry-device-sdk-go-main-317-stack-cost] did not exist. Created. 14:42:33 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-317-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:42:34 /w/workspace/device-sdk-go/317@tmp/durable-e9443fd2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:42:35 + echo total: 0.10999999940395355 [Pipeline] stash 14:42:35 Warning: overwriting stash ‘stack-cost’ 14:42:35 Stashed 1 file(s) [Pipeline] } 14:42:35 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-317-stack-cost] [Pipeline] // lock [Pipeline] } 14:42:35 $ docker stop --time=1 fe91b32e2a79f468e530448b1ec293fffe45a7338e266b321c5cd94e0642c9ce 14:42:36 $ docker rm -f --volumes fe91b32e2a79f468e530448b1ec293fffe45a7338e266b321c5cd94e0642c9ce [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 14:42:37 provisioning config files... 14:42:37 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17139802480362629045tmp [Pipeline] { [Pipeline] sh 14:42:37 + set +x 14:42:37 + + curl -s https://codecov.io/bash 14:42:37 bash -s -- 14:42:37 14:42:37 _____ _ 14:42:37 / ____| | | 14:42:37 | | ___ __| | ___ ___ _____ __ 14:42:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:42:37 | |___| (_) | (_| | __/ (_| (_) \ V / 14:42:37 \_____\___/ \__,_|\___|\___\___/ \_/ 14:42:37 Bash-1.0.6 14:42:37 14:42:37 14:42:37 ==> git version 2.25.1 found 14:42:37 ==> 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 14:42:37 Release-Date: 2020-01-08 14:42:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:42:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:42:37 ==> Jenkins CI detected. 14:42:37 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 14:42:37 project root: . 14:42:37 --> token set from env 14:42:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:42:37 ==> Running gcov in . (disable via -X gcov) 14:42:37 ==> Python coveragepy not found 14:42:37 ==> Searching for coverage reports in: 14:42:37 + . 14:42:37 -> Found 1 reports 14:42:37 ==> Detecting git/mercurial file structure 14:42:37 ==> Reading reports 14:42:37 + ./coverage.out bytes=466603 14:42:37 ==> Appending adjustments 14:42:37 https://docs.codecov.io/docs/fixing-reports 14:42:38 + Found adjustments 14:42:38 ==> Gzipping contents 14:42:38 44K /tmp/codecov.uNYXAv.gz 14:42:38 ==> Uploading reports 14:42:38 url: https://codecov.io 14:42:38 query: branch=main&commit=9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf&build=317&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F317%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:42:38 -> Pinging Codecov 14:42:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf&build=317&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F317%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:42:38 -> Uploading to 14:42:38 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf/a993dcec-29dc-489a-8bc5-ccd63c57c305.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T144238Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=eff1bd57c68e9d4a49201f25c0158355417cd84772c7ebc9bd3ab8f6b3edb274 14:42:38 % Total % Received % Xferd Average Speed Time Time Time Current 14:42:38 Dload Upload Total Spent Left Speed 14:42:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44618 0 0 100 44618 0 213k --:--:-- --:--:-- --:--:-- 212k 100 44618 0 0 100 44618 0 186k --:--:-- --:--:-- --:--:-- 185k 14:42:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf [Pipeline] } 14:42:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:42:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:42:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:42:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 14:42:39 14:42:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:42:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 14:42:39 latest: Pulling from edgex-devops/edgex-snyk-go 14:42:39 43c4264eed91: Already exists 14:42:39 4cc291be95ef: Already exists 14:42:39 2ac1f1163629: Already exists 14:42:39 5c3c966382ef: Already exists 14:42:39 4f4fb700ef54: Already exists 14:42:39 d9c7d2e4e75e: Pulling fs layer 14:42:39 9c3e1370e548: Pulling fs layer 14:42:39 d9c7d2e4e75e: Verifying Checksum 14:42:39 d9c7d2e4e75e: Download complete 14:42:40 d9c7d2e4e75e: Pull complete 14:42:40 9c3e1370e548: Verifying Checksum 14:42:40 9c3e1370e548: Download complete 14:42:43 9c3e1370e548: Pull complete 14:42:43 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 14:42:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 14:42:43 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:42:43 prd-ubuntu20.04-docker-8c-8g-21832 does not seem to be running inside a container 14:42:43 $ 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 14:42:46 $ docker top a68e667223ebc39694ff4144955056d78ac2e1513da882babd5d2d441e62da12 -eo pid,comm [Pipeline] { [Pipeline] sh 14:42:46 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 14:42:46 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 14:42:47 + set -o pipefail 14:42:47 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 14:42:55 14:42:55 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 14:42:55 14:42:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/a75bdd35-3724-4d3c-8233-a4c2738d6e0a 14:42:55 14:42:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:42:55 14:42:55 14:42:55 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 14:42:55 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 14:42:55 $ docker stop --time=1 a68e667223ebc39694ff4144955056d78ac2e1513da882babd5d2d441e62da12 14:43:02 $ docker rm -f --volumes a68e667223ebc39694ff4144955056d78ac2e1513da882babd5d2d441e62da12 [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 14:43:02 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:43:02 provisioning config files... 14:43:02 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16259690758248215761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:43:02 --> edgex-publish-swagger.sh 14:43:02 === Publish openapi/v3 API === 14:43:02 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 14:43:02 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 14:43:02 % Total % Received % Xferd Average Speed Time Time Time Current 14:43:02 Dload Upload Total Spent Left Speed 14:43:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 37674 100 156 100 37518 305 73564 --:--:-- --:--:-- --:--:-- 73870 14:43:03 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 14:43:03 [Pipeline] } 14:43:03 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 14:43:03 + git log --format=format:%s -1 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf [Pipeline] sh 14:43:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:43:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:43:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:43:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:43:04 prd-ubuntu20.04-docker-8c-8g-21832 does not seem to be running inside a container 14:43:04 $ 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 14:43:05 $ docker top 8376c98ed85abfb0dbfe6352ae978afc7cff19c610286f1a7ff686876a3be383 -eo pid,comm 14:43:05 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). 14:43:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:43:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:43:05 [ssh-agent] Looking for ssh-agent implementation... 14:43:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:43:05 $ docker exec 8376c98ed85abfb0dbfe6352ae978afc7cff19c610286f1a7ff686876a3be383 ssh-agent 14:43:05 SSH_AUTH_SOCK=/tmp/ssh-UHDXiLQScqVh/agent.32 14:43:05 SSH_AGENT_PID=38 14:43:05 Running ssh-add (command line suppressed) 14:43:05 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1276031395132407393.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1276031395132407393.key) 14:43:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:43:06 + git semver tag 14:43:06 2024-10-04 14:43:06,305 [run_tag] DEBUG tag force:False 14:43:06 2024-10-04 14:43:06,305 [check_head_tag] DEBUG check head tag 14:43:06 2024-10-04 14:43:06,307 [execute] INFO git cat-file --batch-check 14:43:06 2024-10-04 14:43:06,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 14:43:06 2024-10-04 14:43:06,311 [execute] INFO git cat-file --batch 14:43:06 2024-10-04 14:43:06,311 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 14:43:06 2024-10-04 14:43:06,342 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:43:06 2024-10-04 14:43:06,342 [execute] INFO git tag -a v3.2.0-dev.42 -m v3.2.0-dev.42 14:43:06 2024-10-04 14:43:06,342 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.42', '-m', 'v3.2.0-dev.42'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 14:43:06 2024-10-04 14:43:06,346 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:43:06 3.2.0-dev.42 [Pipeline] } 14:43:06 $ docker exec --env ******** --env ******** 8376c98ed85abfb0dbfe6352ae978afc7cff19c610286f1a7ff686876a3be383 ssh-agent -k 14:43:06 unset SSH_AUTH_SOCK; 14:43:06 unset SSH_AGENT_PID; 14:43:06 echo Agent pid 38 killed; 14:43:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:43:06 + git semver [Pipeline] } 14:43:07 $ docker stop --time=1 8376c98ed85abfb0dbfe6352ae978afc7cff19c610286f1a7ff686876a3be383 14:43:08 $ docker rm -f --volumes 8376c98ed85abfb0dbfe6352ae978afc7cff19c610286f1a7ff686876a3be383 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:43:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:43:08 14:43:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:43:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:43:09 0.23.1-centos7: Pulling from edgex-lftools 14:43:09 ab5ef0e58194: Pulling fs layer 14:43:09 9712f1f96733: Pulling fs layer 14:43:09 63f879dbbcfc: Pulling fs layer 14:43:09 0d9ebad4ef96: Pulling fs layer 14:43:09 e9a5061849ea: Pulling fs layer 14:43:09 d747dcd14b5f: Pulling fs layer 14:43:09 2de7ff778b66: Pulling fs layer 14:43:09 0d9ebad4ef96: Waiting 14:43:09 2de7ff778b66: Waiting 14:43:09 e9a5061849ea: Waiting 14:43:09 d747dcd14b5f: Waiting 14:43:09 9712f1f96733: Download complete 14:43:09 63f879dbbcfc: Verifying Checksum 14:43:09 63f879dbbcfc: Download complete 14:43:09 0d9ebad4ef96: Verifying Checksum 14:43:09 0d9ebad4ef96: Download complete 14:43:09 e9a5061849ea: Verifying Checksum 14:43:09 e9a5061849ea: Download complete 14:43:09 d747dcd14b5f: Download complete 14:43:09 ab5ef0e58194: Download complete 14:43:09 2de7ff778b66: Verifying Checksum 14:43:09 2de7ff778b66: Download complete 14:43:12 ab5ef0e58194: Pull complete 14:43:12 9712f1f96733: Pull complete 14:43:12 63f879dbbcfc: Pull complete 14:43:16 0d9ebad4ef96: Pull complete 14:43:16 e9a5061849ea: Pull complete 14:43:16 d747dcd14b5f: Pull complete 14:43:17 2de7ff778b66: Pull complete 14:43:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:43:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:43:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:43:18 prd-ubuntu20.04-docker-8c-8g-21832 does not seem to be running inside a container 14:43:18 $ 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 14:43:24 $ docker top 3b58dc8f7c70da3370f0a52332672bdcc232236f0714246f9fc60ac9e6666b89 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:43:24 provisioning config files... 14:43:24 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3439626666084244927tmp 14:43:24 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7242721694104078100tmp 14:43:24 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12024185155225509396tmp [Pipeline] { [Pipeline] echo 14:43:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:43:25 ---> sigul-configuration.sh 14:43:25 gpg: directory `/root/.gnupg' created 14:43:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:43:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:43:25 gpg: keyring `/root/.gnupg/secring.gpg' created 14:43:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:43:25 gpg: CAST5 encrypted data 14:43:25 gpg: encrypted with 1 passphrase 14:43:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:43:25 + mkdir /home/jenkins 14:43:25 + mkdir /home/jenkins/sigul [Pipeline] sh 14:43:25 + 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 14:43:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:43:26 ---> sigul-install.sh 14:43:26 Sigul already installed; skipping installation. [Pipeline] sh 14:43:26 + git tag --list 14:43:26 0.7.1 14:43:26 delhi-tag 14:43:26 v1.0.0 14:43:26 v1.1.0 14:43:26 v1.1.1 14:43:26 v1.1.2 14:43:26 v1.2.0 14:43:26 v1.2.1 14:43:26 v1.2.2 14:43:26 v1.2.3 14:43:26 v1.3.0 14:43:26 v1.4.0 14:43:26 v2.0.0 14:43:26 v2.1.0 14:43:26 v2.1.1 14:43:26 v2.2.0 14:43:26 v2.3.0 14:43:26 v2.3.1 14:43:26 v3.0 14:43:26 v3.0.0 14:43:26 v3.0.1-dev.1 14:43:26 v3.1 14:43:26 v3.1.0 14:43:26 v3.1.0-dev.1 14:43:26 v3.1.0-dev.10 14:43:26 v3.1.0-dev.11 14:43:26 v3.1.0-dev.12 14:43:26 v3.1.0-dev.13 14:43:26 v3.1.0-dev.14 14:43:26 v3.1.0-dev.15 14:43:26 v3.1.0-dev.16 14:43:26 v3.1.0-dev.17 14:43:26 v3.1.0-dev.18 14:43:26 v3.1.0-dev.19 14:43:26 v3.1.0-dev.2 14:43:26 v3.1.0-dev.20 14:43:26 v3.1.0-dev.21 14:43:26 v3.1.0-dev.22 14:43:26 v3.1.0-dev.23 14:43:26 v3.1.0-dev.24 14:43:26 v3.1.0-dev.25 14:43:26 v3.1.0-dev.26 14:43:26 v3.1.0-dev.27 14:43:26 v3.1.0-dev.28 14:43:26 v3.1.0-dev.29 14:43:26 v3.1.0-dev.3 14:43:26 v3.1.0-dev.30 14:43:26 v3.1.0-dev.31 14:43:26 v3.1.0-dev.32 14:43:26 v3.1.0-dev.33 14:43:26 v3.1.0-dev.34 14:43:26 v3.1.0-dev.35 14:43:26 v3.1.0-dev.36 14:43:26 v3.1.0-dev.37 14:43:26 v3.1.0-dev.38 14:43:26 v3.1.0-dev.39 14:43:26 v3.1.0-dev.4 14:43:26 v3.1.0-dev.40 14:43:26 v3.1.0-dev.41 14:43:26 v3.1.0-dev.5 14:43:26 v3.1.0-dev.6 14:43:26 v3.1.0-dev.7 14:43:26 v3.1.0-dev.8 14:43:26 v3.1.0-dev.9 14:43:26 v3.1.1 14:43:26 v3.1.1-dev.1 14:43:26 v3.2.0-dev.1 14:43:26 v3.2.0-dev.10 14:43:26 v3.2.0-dev.11 14:43:26 v3.2.0-dev.12 14:43:26 v3.2.0-dev.13 14:43:26 v3.2.0-dev.14 14:43:26 v3.2.0-dev.15 14:43:26 v3.2.0-dev.16 14:43:26 v3.2.0-dev.17 14:43:26 v3.2.0-dev.18 14:43:26 v3.2.0-dev.19 14:43:26 v3.2.0-dev.2 14:43:26 v3.2.0-dev.20 14:43:26 v3.2.0-dev.21 14:43:26 v3.2.0-dev.22 14:43:26 v3.2.0-dev.23 14:43:26 v3.2.0-dev.24 14:43:26 v3.2.0-dev.25 14:43:26 v3.2.0-dev.26 14:43:26 v3.2.0-dev.27 14:43:26 v3.2.0-dev.28 14:43:26 v3.2.0-dev.29 14:43:26 v3.2.0-dev.3 14:43:26 v3.2.0-dev.30 14:43:26 v3.2.0-dev.31 14:43:26 v3.2.0-dev.32 14:43:26 v3.2.0-dev.33 14:43:26 v3.2.0-dev.34 14:43:26 v3.2.0-dev.35 14:43:26 v3.2.0-dev.36 14:43:26 v3.2.0-dev.37 14:43:26 v3.2.0-dev.38 14:43:26 v3.2.0-dev.39 14:43:26 v3.2.0-dev.4 14:43:26 v3.2.0-dev.40 14:43:26 v3.2.0-dev.41 14:43:26 v3.2.0-dev.42 14:43:26 v3.2.0-dev.5 14:43:26 v3.2.0-dev.6 14:43:26 v3.2.0-dev.7 14:43:26 v3.2.0-dev.8 14:43:26 v3.2.0-dev.9 [Pipeline] sh 14:43:26 + lftools sign git-tag v3.2.0-dev.42 14:43:27 Signing Git tag with Sigul... 14:43:27 Signing v3.2.0-dev.42 [Pipeline] echo 14:43:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:43:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:43:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:43:27 $ docker stop --time=1 3b58dc8f7c70da3370f0a52332672bdcc232236f0714246f9fc60ac9e6666b89 14:43:29 $ docker rm -f --volumes 3b58dc8f7c70da3370f0a52332672bdcc232236f0714246f9fc60ac9e6666b89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:43:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:43:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:43:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:43:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:43:30 prd-ubuntu20.04-docker-8c-8g-21832 does not seem to be running inside a container 14:43:30 $ 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 14:43:30 $ docker top f2b7092405a9e6ee94b909dc7f24285970774a3c50e3477ca2e7f9b8e80c8069 -eo pid,comm 14:43:30 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). 14:43:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:43:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:43:30 [ssh-agent] Looking for ssh-agent implementation... 14:43:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:43:30 $ docker exec f2b7092405a9e6ee94b909dc7f24285970774a3c50e3477ca2e7f9b8e80c8069 ssh-agent 14:43:30 SSH_AUTH_SOCK=/tmp/ssh-hbWKo4KdDZ6q/agent.31 14:43:30 SSH_AGENT_PID=37 14:43:30 Running ssh-add (command line suppressed) 14:43:30 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9902836439844955905.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9902836439844955905.key) 14:43:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:43:31 + git semver bump pre 14:43:31 2024-10-04 14:43:31,462 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:43:31 2024-10-04 14:43:31,462 [bump_version] DEBUG bumping version:3.2.0-dev.42 on axis:pre with prefix:dev 14:43:31 2024-10-04 14:43:31,462 [bump_version] DEBUG bumped version:3.2.0-dev.43 14:43:31 2024-10-04 14:43:31,462 [write_version] DEBUG write version:3.2.0-dev.43 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 14:43:31 2024-10-04 14:43:31,462 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:43:31 2024-10-04 14:43:31,462 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:43:31 2024-10-04 14:43:31,465 [execute] INFO git cat-file --batch-check 14:43:31 2024-10-04 14:43:31,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:43:31 2024-10-04 14:43:31,470 [execute] INFO git cat-file --batch 14:43:31 2024-10-04 14:43:31,471 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:43:31 2024-10-04 14:43:31,476 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:43:31 3.2.0-dev.43 [Pipeline] } 14:43:31 $ docker exec --env ******** --env ******** f2b7092405a9e6ee94b909dc7f24285970774a3c50e3477ca2e7f9b8e80c8069 ssh-agent -k 14:43:31 unset SSH_AUTH_SOCK; 14:43:31 unset SSH_AGENT_PID; 14:43:31 echo Agent pid 37 killed; 14:43:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:43:32 + git semver [Pipeline] } 14:43:32 $ docker stop --time=1 f2b7092405a9e6ee94b909dc7f24285970774a3c50e3477ca2e7f9b8e80c8069 14:43:33 $ docker rm -f --volumes f2b7092405a9e6ee94b909dc7f24285970774a3c50e3477ca2e7f9b8e80c8069 [Pipeline] // withDockerContainer [Pipeline] sh 14:43:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:43:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:43:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:43:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:43:34 prd-ubuntu20.04-docker-8c-8g-21832 does not seem to be running inside a container 14:43:34 $ 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 14:43:34 $ docker top 1773f3a041343c63819470dbae70eed0cc7c55bd79ab13774f22bfc70de86c25 -eo pid,comm 14:43:34 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). 14:43:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:43:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:43:34 [ssh-agent] Looking for ssh-agent implementation... 14:43:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:43:34 $ docker exec 1773f3a041343c63819470dbae70eed0cc7c55bd79ab13774f22bfc70de86c25 ssh-agent 14:43:34 SSH_AUTH_SOCK=/tmp/ssh-RiwtPwLiUltH/agent.32 14:43:34 SSH_AGENT_PID=38 14:43:34 Running ssh-add (command line suppressed) 14:43:35 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15740414911292307606.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15740414911292307606.key) 14:43:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:43:35 + git semver push 14:43:35 2024-10-04 14:43:35,546 [run_push] DEBUG push 14:43:35 2024-10-04 14:43:35,547 [execute] INFO git cat-file --batch-check 14:43:35 2024-10-04 14:43:35,547 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:43:35 2024-10-04 14:43:35,551 [execute] INFO git rev-list 857c7d9a9029ef3c24728a553850b7d2c54cffdc -- 14:43:35 2024-10-04 14:43:35,551 [execute] DEBUG Popen(['git', 'rev-list', '857c7d9a9029ef3c24728a553850b7d2c54cffdc', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:43:35 2024-10-04 14:43:35,565 [execute] INFO git fetch -v origin 14:43:35 2024-10-04 14:43:35,565 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:43:36 2024-10-04 14:43:36,000 [run_push] DEBUG no remote changes detected 14:43:36 2024-10-04 14:43:36,001 [execute] INFO git push origin semver 14:43:36 2024-10-04 14:43:36,001 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:43:36 2024-10-04 14:43:36,686 [run_push] DEBUG push all version tags 14:43:36 2024-10-04 14:43:36,686 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:43:36 2024-10-04 14:43:36,687 [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) 14:43:37 2024-10-04 14:43:37,330 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:43:37 3.2.0-dev.43 [Pipeline] } 14:43:37 $ docker exec --env ******** --env ******** 1773f3a041343c63819470dbae70eed0cc7c55bd79ab13774f22bfc70de86c25 ssh-agent -k 14:43:37 unset SSH_AUTH_SOCK; 14:43:37 unset SSH_AGENT_PID; 14:43:37 echo Agent pid 38 killed; 14:43:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:43:38 + git semver [Pipeline] } 14:43:38 $ docker stop --time=1 1773f3a041343c63819470dbae70eed0cc7c55bd79ab13774f22bfc70de86c25 14:43:39 $ docker rm -f --volumes 1773f3a041343c63819470dbae70eed0cc7c55bd79ab13774f22bfc70de86c25 [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 14:43:40 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 14:43:40 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 14:43:40 total 16 14:43:40 drwxr-xr-x 3 root root 4096 Oct 4 14:28 . 14:43:40 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 14:43 .. 14:43:40 drwxr-xr-x 2 root root 4096 Oct 4 14:28 cost 14:43:40 -rw-r--r-- 1 root root 85 Oct 4 14:28 cost.csv 14:43:40 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 14:43:40 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 14:43:40 total 16 14:43:40 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 14:28 . 14:43:40 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 14:43 .. 14:43:40 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 14:28 cost 14:43:40 -rw-r--r-- 1 jenkins jenkins 85 Oct 4 14:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:43:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:43:41 ---> package-listing.sh 14:43:41 ++ facter osfamily 14:43:41 ++ tr '[:upper:]' '[:lower:]' 14:43:41 + OS_FAMILY=debian 14:43:41 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 14:43:41 + START_PACKAGES=/tmp/packages_start.txt 14:43:41 + END_PACKAGES=/tmp/packages_end.txt 14:43:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:43:41 + PACKAGES=/tmp/packages_start.txt 14:43:41 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 14:43:41 + PACKAGES=/tmp/packages_end.txt 14:43:41 + case "${OS_FAMILY}" in 14:43:41 + dpkg -l 14:43:41 + grep '^ii' 14:43:41 + '[' -f /tmp/packages_start.txt ']' 14:43:41 + '[' -f /tmp/packages_end.txt ']' 14:43:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:43:41 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 14:43:41 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 14:43:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 14:43:41 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 14:43:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:43:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:43:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:43:42 prd-ubuntu20.04-docker-8c-8g-21832 does not seem to be running inside a container 14:43:42 $ 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 14:43:42 $ docker top 590cdb576f8f4d6b2240c6842392e63da245dea3ac65ff6444f38e648ab75108 -eo pid,comm [Pipeline] { [Pipeline] sh 14:43:43 + touch /tmp/pre-build-complete [Pipeline] sh 14:43:43 + mkdir -p /var/log/sysstat [Pipeline] sh 14:43:43 + ls /var/log/sa-host 14:43:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:43:43 provisioning config files... 14:43:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3036418954415369262tmp [Pipeline] { [Pipeline] echo 14:43:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:43:44 ---> create-netrc.sh [Pipeline] } 14:43:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:43:44 ---> python-tools-install.sh [Pipeline] echo 14:43:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:43:44 ---> sudo-logs.sh 14:43:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:43:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:43:45 ---> job-cost.sh 14:43:45 lf-activate-venv: SKIPPING 14:43:45 DEBUG: total: 0.2199999988079071 14:43:45 INFO: Retrieving Stack Cost... 14:43:45 INFO: Retrieving Pricing Info for: v3-standard-8 14:43:46 INFO: Archiving Costs [Pipeline] echo 14:43:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:43:46 ---> logs-deploy.sh 14:43:46 lf-activate-venv: SKIPPING 14:43:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/317 14:43:46 INFO: archiving workspace using pattern(s): 14:43:47 Archives upload complete. 14:43:47 INFO: archiving logs to Nexus