Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 63928f2973ca38a899cb41cf0d65ddd086cb79a5 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-ssh9481630066303433510.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-ssh13305477844637572920.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-ssh8899193046392356944.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-ssh14795081459260693264.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-ssh16066916861004676614.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22722 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 63928f2973ca38a899cb41cf0d65ddd086cb79a5 (main) Commit message: "Merge pull request #1638 from jackchenjc/edgex-go-issue-4916" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63928f2973ca38a899cb41cf0d65ddd086cb79a5 # timeout=10 > git rev-list --no-walk f7f74c656f33fe2f31a87c52cf44e870be8830fd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:33:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:33:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:33:33 ========================================================= 08:33:33 EdgeX Global Pipelines Version Info 08:33:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:33:34 ------------------- 08:33:34 stable info: 08:33:34 ------------------- 08:33:34 Commited By: Ginny Guan ginny@iotechsys.com 08:33:34 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 08:33:34 Message: update stable to v1.0.265 08:33:35 ------------------- 08:33:35 experimental info: 08:33:35 ------------------- 08:33:35 Commited By: Cherry Wang cherry@iotechsys.com 08:33:35 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 08:33:35 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:33:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:33:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:33:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63928f2973ca38a899cb41cf0d65ddd086cb79a5 [Pipeline] echo 08:33:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63928f2 [Pipeline] echo 08:33:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:33:36 provisioning config files... 08:33:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config30444743676279804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:33:36 ---> ****-login.sh 08:33:36 nexus3.edgexfoundry.org:10001 08:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:33:36 Configure a credential helper to remove this warning. See 08:33:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:33:36 08:33:36 Login Succeeded 08:33:36 nexus3.edgexfoundry.org:10002 08:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:33:36 Configure a credential helper to remove this warning. See 08:33:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:33:36 08:33:36 Login Succeeded 08:33:36 nexus3.edgexfoundry.org:10003 08:33:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:33:37 Configure a credential helper to remove this warning. See 08:33:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:33:37 08:33:37 Login Succeeded 08:33:37 nexus3.edgexfoundry.org:10004 08:33:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:33:37 Configure a credential helper to remove this warning. See 08:33:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:33:37 08:33:37 Login Succeeded 08:33:37 ****.io 08:33:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:33:37 Configure a credential helper to remove this warning. See 08:33:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:33:37 08:33:37 Login Succeeded 08:33:37 ---> ****-login.sh ends [Pipeline] } 08:33:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:33:37 + git rev-list -1 --merges 63928f2973ca38a899cb41cf0d65ddd086cb79a5~1..63928f2973ca38a899cb41cf0d65ddd086cb79a5 [Pipeline] echo 08:33:37 -----------> git rev-list -1 --merges 63928f2973ca38a899cb41cf0d65ddd086cb79a5~1..63928f2973ca38a899cb41cf0d65ddd086cb79a5 63928f2973ca38a899cb41cf0d65ddd086cb79a5 08:33:37 63928f2973ca38a899cb41cf0d65ddd086cb79a5 [false] [Pipeline] sh 08:33:38 + git log --format=format:%s -1 63928f2973ca38a899cb41cf0d65ddd086cb79a5 [Pipeline] echo 08:33:38 ========================================================= 08:33:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:33:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:33:38 + git log --format=format:%s -1 63928f2973ca38a899cb41cf0d65ddd086cb79a5 [Pipeline] echo 08:33:38 [semverPrep] GIT_COMMIT: 63928f2973ca38a899cb41cf0d65ddd086cb79a5, Commit Message: Merge pull request #1638 from jackchenjc/edgex-go-issue-4916 [Pipeline] echo 08:33:38 [semverPrep] This is not a build commit. [Pipeline] sh 08:33:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:33:38 + grep -v github /etc/ssh/ssh_known_hosts 08:33:38 + [ -e /tmp/ssh_known_hosts ] 08:33:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:33:38 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:33:38 sudo tee -a /etc/ssh/ssh_known_hosts 08:33:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:33:39 08:33:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:33:39 0.1.4: Pulling from edgex-devops/py-git-semver 08:33:39 b85a868b505f: Pulling fs layer 08:33:39 e2be974225ed: Pulling fs layer 08:33:39 339a4e72a1f5: Pulling fs layer 08:33:39 988bab9f4d93: Pulling fs layer 08:33:39 1469e6f7b9e6: Pulling fs layer 08:33:39 eaf3925da568: Pulling fs layer 08:33:39 bab4dde63d76: Pulling fs layer 08:33:39 bde34c3a00c8: Pulling fs layer 08:33:39 b352a97aabf1: Pulling fs layer 08:33:39 4872d77fe225: Pulling fs layer 08:33:39 5851b861e8e6: Pulling fs layer 08:33:39 1469e6f7b9e6: Waiting 08:33:39 eaf3925da568: Waiting 08:33:39 bab4dde63d76: Waiting 08:33:39 bde34c3a00c8: Waiting 08:33:39 b352a97aabf1: Waiting 08:33:39 988bab9f4d93: Waiting 08:33:39 5851b861e8e6: Waiting 08:33:39 4872d77fe225: Waiting 08:33:39 e2be974225ed: Download complete 08:33:39 988bab9f4d93: Verifying Checksum 08:33:39 988bab9f4d93: Download complete 08:33:39 1469e6f7b9e6: Verifying Checksum 08:33:39 1469e6f7b9e6: Download complete 08:33:39 eaf3925da568: Verifying Checksum 08:33:39 eaf3925da568: Download complete 08:33:39 339a4e72a1f5: Verifying Checksum 08:33:39 339a4e72a1f5: Download complete 08:33:39 bde34c3a00c8: Download complete 08:33:39 b352a97aabf1: Download complete 08:33:39 4872d77fe225: Verifying Checksum 08:33:39 4872d77fe225: Download complete 08:33:39 5851b861e8e6: Verifying Checksum 08:33:39 5851b861e8e6: Download complete 08:33:39 b85a868b505f: Verifying Checksum 08:33:39 b85a868b505f: Download complete 08:33:40 bab4dde63d76: Verifying Checksum 08:33:40 bab4dde63d76: Download complete 08:33:41 b85a868b505f: Pull complete 08:33:41 e2be974225ed: Pull complete 08:33:41 339a4e72a1f5: Pull complete 08:33:41 988bab9f4d93: Pull complete 08:33:42 1469e6f7b9e6: Pull complete 08:33:42 eaf3925da568: Pull complete 08:33:44 bab4dde63d76: Pull complete 08:33:44 bde34c3a00c8: Pull complete 08:33:44 b352a97aabf1: Pull complete 08:33:44 4872d77fe225: Pull complete 08:33:44 5851b861e8e6: Pull complete 08:33:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:33:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:33:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:33:44 prd-ubuntu20.04-docker-8c-8g-22722 does not seem to be running inside a container 08:33:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:33:48 $ docker top a25371eb1f78724c0e239aa68eb2c09341daa5ccbd5480fa70742d54dc3b9c65 -eo pid,comm 08:33:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:33:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:33:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:33:48 [ssh-agent] Looking for ssh-agent implementation... 08:33:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:33:48 $ docker exec a25371eb1f78724c0e239aa68eb2c09341daa5ccbd5480fa70742d54dc3b9c65 ssh-agent 08:33:48 SSH_AUTH_SOCK=/tmp/ssh-yx9xhArjHvUU/agent.33 08:33:48 SSH_AGENT_PID=39 08:33:48 Running ssh-add (command line suppressed) 08:33:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18201781769650265782.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18201781769650265782.key) 08:33:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:33:49 + git tag --points-at HEAD [Pipeline] } 08:33:49 $ docker exec --env ******** --env ******** a25371eb1f78724c0e239aa68eb2c09341daa5ccbd5480fa70742d54dc3b9c65 ssh-agent -k 08:33:49 unset SSH_AUTH_SOCK; 08:33:49 unset SSH_AGENT_PID; 08:33:49 echo Agent pid 39 killed; 08:33:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:33:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:33:49 [ssh-agent] Looking for ssh-agent implementation... 08:33:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:33:49 $ docker exec a25371eb1f78724c0e239aa68eb2c09341daa5ccbd5480fa70742d54dc3b9c65 ssh-agent 08:33:49 SSH_AUTH_SOCK=/tmp/ssh-BIMxTGgTCjtJ/agent.72 08:33:49 SSH_AGENT_PID=78 08:33:49 Running ssh-add (command line suppressed) 08:33:49 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12172582244067500219.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12172582244067500219.key) 08:33:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:33:50 + git semver init 08:33:50 2024-10-14 08:33:50,298 [run_init] DEBUG init version:0.0.0 force:False 08:33:50 2024-10-14 08:33:50,299 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 08:33:50 2024-10-14 08:33:50,299 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 08:33:50 2024-10-14 08:33:50,299 [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) 08:33:52 2024-10-14 08:33:52,394 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 08:33:52 2024-10-14 08:33:52,395 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 08:33:52 2024-10-14 08:33:52,395 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:33:52 2024-10-14 08:33:52,395 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:33:52 3.2.0-dev.46 [Pipeline] } 08:33:52 $ docker exec --env ******** --env ******** a25371eb1f78724c0e239aa68eb2c09341daa5ccbd5480fa70742d54dc3b9c65 ssh-agent -k 08:33:53 unset SSH_AUTH_SOCK; 08:33:53 unset SSH_AGENT_PID; 08:33:53 echo Agent pid 78 killed; 08:33:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:33:53 + git semver [Pipeline] } 08:33:53 $ docker stop --time=1 a25371eb1f78724c0e239aa68eb2c09341daa5ccbd5480fa70742d54dc3b9c65 08:33:54 $ docker rm -f --volumes a25371eb1f78724c0e239aa68eb2c09341daa5ccbd5480fa70742d54dc3b9c65 [Pipeline] // withDockerContainer [Pipeline] sh 08:33:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:33:55 Stashed 1 file(s) [Pipeline] echo 08:33:55 [edgeXSemver]: initialized semver on version 3.2.0-dev.46 [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 08:33:55 provisioning config files... 08:33:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1405372731545063977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:33:56 ---> ****-login.sh 08:33:56 nexus3.edgexfoundry.org:10001 08:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:33:56 Configure a credential helper to remove this warning. See 08:33:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:33:56 08:33:56 Login Succeeded 08:33:56 nexus3.edgexfoundry.org:10002 08:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:33:56 Configure a credential helper to remove this warning. See 08:33:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:33:56 08:33:56 Login Succeeded 08:33:56 nexus3.edgexfoundry.org:10003 08:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:33:56 Configure a credential helper to remove this warning. See 08:33:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:33:56 08:33:56 Login Succeeded 08:33:56 nexus3.edgexfoundry.org:10004 08:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:33:56 Configure a credential helper to remove this warning. See 08:33:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:33:56 08:33:56 Login Succeeded 08:33:56 ****.io 08:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:33:56 Configure a credential helper to remove this warning. See 08:33:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:33:56 08:33:56 Login Succeeded 08:33:56 ---> ****-login.sh ends [Pipeline] } 08:33:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:33:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:33:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:33:56 ========================================================= 08:33:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 08:33:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:57 + 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 . 08:33:57 Sending build context to Docker daemon 25.43MB 08:33:57 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 08:33:57 Step 2/10 : FROM ${BASE} AS builder 08:33:57 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 08:33:57 43c4264eed91: Pulling fs layer 08:33:57 4cc291be95ef: Pulling fs layer 08:33:57 2ac1f1163629: Pulling fs layer 08:33:57 5c3c966382ef: Pulling fs layer 08:33:57 4f4fb700ef54: Pulling fs layer 08:33:57 5d5c8e513c77: Pulling fs layer 08:33:57 9f66e0745190: Pulling fs layer 08:33:57 4f4fb700ef54: Waiting 08:33:57 5d5c8e513c77: Waiting 08:33:57 5c3c966382ef: Waiting 08:33:57 f49a43e4bbc0: Pulling fs layer 08:33:57 9f66e0745190: Waiting 08:33:57 561ebcabdf7f: Pulling fs layer 08:33:57 f49a43e4bbc0: Waiting 08:33:57 4cc291be95ef: Download complete 08:33:57 5c3c966382ef: Verifying Checksum 08:33:57 5c3c966382ef: Download complete 08:33:57 4f4fb700ef54: Download complete 08:33:57 5d5c8e513c77: Verifying Checksum 08:33:57 5d5c8e513c77: Download complete 08:33:57 43c4264eed91: Download complete 08:33:57 9f66e0745190: Verifying Checksum 08:33:57 9f66e0745190: Download complete 08:33:57 43c4264eed91: Pull complete 08:33:57 561ebcabdf7f: Download complete 08:33:57 4cc291be95ef: Pull complete 08:33:57 2ac1f1163629: Verifying Checksum 08:33:57 2ac1f1163629: Download complete 08:33:58 f49a43e4bbc0: Verifying Checksum 08:33:58 f49a43e4bbc0: Download complete 08:34:02 2ac1f1163629: Pull complete 08:34:02 5c3c966382ef: Pull complete 08:34:02 4f4fb700ef54: Pull complete 08:34:02 5d5c8e513c77: Pull complete 08:34:02 9f66e0745190: Pull complete 08:34:04 f49a43e4bbc0: Pull complete 08:34:04 561ebcabdf7f: Pull complete 08:34:04 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 08:34:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:34:04 ---> 3a752c3f9dda 08:34:04 Step 3/10 : ARG MAKE=make build 08:34:10 Still waiting to schedule task 08:34:10 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 08:34:11 ---> Running in a2c7f05bd135 08:34:11 Removing intermediate container a2c7f05bd135 08:34:11 ---> d461cb92b82c 08:34:11 Step 4/10 : WORKDIR /device-sdk-go 08:34:11 ---> Running in dabd4e027497 08:34:11 Removing intermediate container dabd4e027497 08:34:11 ---> 1bd387c1a339 08:34:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:34:11 ---> Running in 194722ddc5de 08:34:11 Removing intermediate container 194722ddc5de 08:34:11 ---> 51a3c39a8879 08:34:11 Step 6/10 : RUN apk add --update --no-cache make git 08:34:11 ---> Running in 478e00a01214 08:34:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:34:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:34:11 OK: 246 MiB in 54 packages 08:34:12 Removing intermediate container 478e00a01214 08:34:12 ---> aa81f0261c7d 08:34:12 Step 7/10 : COPY go.mod vendor* ./ 08:34:12 ---> cce2245dbe5a 08:34:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:34:12 ---> Running in bc8ac7862df9 08:35:08 Removing intermediate container bc8ac7862df9 08:35:08 ---> ca5e699a6418 08:35:08 Step 9/10 : COPY . . 08:35:08 ---> 24baadec0ba7 08:35:08 Step 10/10 : RUN ${MAKE} 08:35:08 ---> Running in 94b23345533d 08:35:08 noop 08:35:08 Removing intermediate container 94b23345533d 08:35:08 ---> 932a9e97abe5 08:35:08 Successfully built 932a9e97abe5 08:35:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:35:09 + docker inspect -f . ci-base-image-x86_64 08:35:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:35:09 prd-ubuntu20.04-docker-8c-8g-22722 does not seem to be running inside a container 08:35:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:35:09 $ docker top bb3905aecc4c1d26ebfa0fe2ec1a3f843fbc78833ba97f9858e1881ec597fd39 -eo pid,comm [Pipeline] { [Pipeline] sh 08:35:09 + go version 08:35:09 go version go1.23.2 linux/amd64 [Pipeline] } 08:35:09 $ docker stop --time=1 bb3905aecc4c1d26ebfa0fe2ec1a3f843fbc78833ba97f9858e1881ec597fd39 08:35:11 $ docker rm -f --volumes bb3905aecc4c1d26ebfa0fe2ec1a3f843fbc78833ba97f9858e1881ec597fd39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:35:11 + docker inspect -f . ci-base-image-x86_64 08:35:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:35:11 prd-ubuntu20.04-docker-8c-8g-22722 does not seem to be running inside a container 08:35:11 $ 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 08:35:12 $ docker top bea11740813a839703885925d14d45b1dddb4589720667c78d85d8fa109a6236 -eo pid,comm [Pipeline] { [Pipeline] sh 08:35:12 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 08:35:12 + make test 08:35:12 go test -race -coverprofile=coverage.out ./... 08:35:20 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 08:35:59 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 08:35:59 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 08:35:59 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 08:35:59 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 08:35:59 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 08:35:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.064s coverage: 26.0% of statements 08:35:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.062s coverage: 79.4% of statements 08:35:59 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 08:35:59 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 08:36:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.051s coverage: 86.0% of statements 08:36:00 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 08:36:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.096s coverage: 45.2% of statements 08:36:01 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 08:36:01 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 08:36:01 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 08:36:03 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 08:36:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.050s coverage: 14.1% of statements 08:36:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.900s coverage: 44.6% of statements 08:36:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.054s coverage: 68.3% of statements 08:36:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.098s coverage: 88.3% of statements 08:36:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.068s coverage: 5.3% of statements 08:36:43 GO111MODULE=on go vet ./... 08:36:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:36:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:36:46 ./bin/test-attribution-txt.sh [Pipeline] echo 08:36:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:36:46 $ docker stop --time=1 bea11740813a839703885925d14d45b1dddb4589720667c78d85d8fa109a6236 08:36:52 $ docker rm -f --volumes bea11740813a839703885925d14d45b1dddb4589720667c78d85d8fa109a6236 [Pipeline] // withDockerContainer [Pipeline] sh 08:36:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:36:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:36:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:36:54 + ls -al . 08:36:54 total 712 08:36:54 drwxrwxr-x 11 jenkins jenkins 4096 Oct 14 08:35 . 08:36:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:33 .. 08:36:54 -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 08:33 .dockerignore 08:36:54 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 08:36 .git 08:36:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:33 .github 08:36:54 -rw-rw-r-- 1 jenkins jenkins 137 Oct 14 08:33 .gitignore 08:36:54 -rw-rw-r-- 1 jenkins jenkins 199 Oct 14 08:33 .golangci.yml 08:36:54 drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 08:33 .semver 08:36:54 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 14 08:33 CHANGELOG.md 08:36:54 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 08:33 GOVERNANCE.md 08:36:54 -rw-rw-r-- 1 jenkins jenkins 885 Oct 14 08:33 Jenkinsfile 08:36:54 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 08:33 LICENSE 08:36:54 -rw-rw-r-- 1 jenkins jenkins 2379 Oct 14 08:33 Makefile 08:36:54 -rw-rw-r-- 1 jenkins jenkins 619 Oct 14 08:33 OWNERS.md 08:36:54 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 14 08:33 README.md 08:36:54 -rw-rw-r-- 1 jenkins jenkins 12 Oct 14 08:33 VERSION 08:36:54 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:33 bin 08:36:54 -rw-r--r-- 1 jenkins jenkins 466605 Oct 14 08:36 coverage.out 08:36:54 drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 08:33 example 08:36:54 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 14 08:33 go.mod 08:36:54 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 14 08:33 go.sum 08:36:54 drwxrwxr-x 13 jenkins jenkins 4096 Oct 14 08:33 internal 08:36:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:33 openapi 08:36:54 drwxrwxr-x 6 jenkins jenkins 4096 Oct 14 08:33 pkg 08:36:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:33 snap 08:36:54 -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 08:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:54 + 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=63928f2973ca38a899cb41cf0d65ddd086cb79a5 --label arch=amd64 --label version=3.2.0-dev.46 . 08:36:54 Sending build context to Docker daemon 25.89MB 08:36:54 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 08:36:54 Step 2/24 : FROM ${BASE} AS builder 08:36:54 ---> 932a9e97abe5 08:36:54 Step 3/24 : ARG MAKE=make build 08:36:55 ---> Running in 6e072b95497a 08:36:55 Removing intermediate container 6e072b95497a 08:36:55 ---> 86f69985f622 08:36:55 Step 4/24 : WORKDIR /device-sdk-go 08:36:55 ---> Running in 8b80e911df76 08:36:55 Removing intermediate container 8b80e911df76 08:36:55 ---> 6f7d59ba2126 08:36:55 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:36:55 ---> Running in 0f02c61f5406 08:36:55 Removing intermediate container 0f02c61f5406 08:36:55 ---> 791dd4f3425c 08:36:55 Step 6/24 : RUN apk add --update --no-cache make git 08:36:55 ---> Running in b6a0d40d57cc 08:36:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:36:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:36:56 OK: 246 MiB in 54 packages 08:36:56 Removing intermediate container b6a0d40d57cc 08:36:56 ---> 8bc8c3767f6b 08:36:56 Step 7/24 : COPY go.mod vendor* ./ 08:36:56 ---> d0f17243a71a 08:36:56 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:36:56 ---> Running in 3b7958b7eced 08:36:57 Removing intermediate container 3b7958b7eced 08:36:57 ---> 17461fc195a1 08:36:57 Step 9/24 : COPY . . 08:36:58 ---> eb2f116e031b 08:36:58 Step 10/24 : RUN ${MAKE} 08:36:58 ---> Running in 6eb2852aec03 08:36:58 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.46 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.46" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:37:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22724 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 08:37:13 Running in /w/workspace/device-sdk-go/321 [Pipeline] { [Pipeline] checkout 08:37:16 The recommended git tool is: git 08:37:22 using credential edgex-jenkins-ssh 08:37:22 Cloning the remote Git repository 08:37:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:37:22 > git init /w/workspace/device-sdk-go/321 # timeout=10 08:37:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:37:23 > git --version # timeout=10 08:37:23 > git --version # 'git version 2.25.1' 08:37:23 using GIT_SSH to set credentials SSH Credentials for GitHub 08:37:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:37:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:37:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:37:28 Avoid second fetch 08:37:28 Checking out Revision 63928f2973ca38a899cb41cf0d65ddd086cb79a5 (main) 08:37:29 Commit message: "Merge pull request #1638 from jackchenjc/edgex-go-issue-4916" 08:37:28 > git config core.sparsecheckout # timeout=10 08:37:28 > git checkout -f 63928f2973ca38a899cb41cf0d65ddd086cb79a5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:37:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:37:34 % Total % Received % Xferd Average Speed Time Time Time Current 08:37:34 Dload Upload Total Spent Left Speed 08:37:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 110k 0 --:--:-- --:--:-- --:--:-- 110k [Pipeline] sh 08:37:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:37:35 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 08:37:35 08:37:35 { 08:37:35 "registry-mirrors": [ 08:37:35 "https://nexus3.edgexfoundry.org:10001" 08:37:35 ], 08:37:35 "bip": "10.250.0.254/24", 08:37:35 "hosts": [ 08:37:35 "tcp://0.0.0.0:5555", 08:37:35 "unix:///var/run/docker.sock" 08:37:35 ], 08:37:35 "mtu": 1458, 08:37:35 "selinux-enabled": true, 08:37:35 "seccomp-profile": "/etc/docker/seccomp.json" 08:37:35 } [Pipeline] sh 08:37:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:37:35 + sudo service docker restart 08:37:37 Removing intermediate container 6eb2852aec03 08:37:37 ---> 330b37363f1b 08:37:37 Step 11/24 : FROM alpine:3.20 08:37:37 3.20: Pulling from library/alpine 08:37:37 43c4264eed91: Already exists 08:37:37 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 08:37:37 Status: Downloaded newer image for alpine:3.20 08:37:37 ---> 91ef0af61f39 08:37:37 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:37:37 ---> Running in aa48e498ff04 08:37:37 Removing intermediate container aa48e498ff04 08:37:37 ---> e476ffb9e561 08:37:37 Step 13/24 : RUN apk add --update --no-cache dumb-init 08:37:37 ---> Running in df548f9dff31 08:37:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:37:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:37:37 (1/1) Installing dumb-init (1.2.5-r3) 08:37:37 Executing busybox-1.36.1-r29.trigger 08:37:37 OK: 8 MiB in 15 packages 08:37:37 Removing intermediate container df548f9dff31 08:37:37 ---> f197940dc88f 08:37:37 Step 14/24 : RUN apk --no-cache upgrade 08:37:37 ---> Running in debf3cb7529f 08:37:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:37:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:37:37 Upgrading critical system libraries and apk-tools: 08:37:37 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 08:37:37 Executing busybox-1.36.1-r29.trigger 08:37:37 Continuing the upgrade transaction with new apk-tools: 08:37:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:37:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:37:37 OK: 8 MiB in 15 packages 08:37:37 Removing intermediate container debf3cb7529f 08:37:37 ---> f881c7ba6e71 08:37:37 Step 15/24 : WORKDIR / 08:37:37 ---> Running in bb89f77a5b8e 08:37:37 Removing intermediate container bb89f77a5b8e 08:37:37 ---> 44acbcd706d5 08:37:37 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:37:38 ---> 7beb8ae8a07b 08:37:38 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:37:40 ---> 72c18473113b 08:37:40 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:37:40 ---> b2f5137c3ef9 08:37:40 Step 19/24 : EXPOSE 59999 08:37:40 ---> Running in 0f025f25120d 08:37:40 Removing intermediate container 0f025f25120d 08:37:40 ---> 577200b45630 08:37:40 Step 20/24 : ENTRYPOINT ["/device-simple"] 08:37:40 ---> Running in 474fa5f8ca32 08:37:40 Removing intermediate container 474fa5f8ca32 08:37:40 ---> 37ca8d811e58 08:37:40 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:37:40 ---> Running in e43d8875eee6 08:37:40 Removing intermediate container e43d8875eee6 08:37:40 ---> 5d2faa642ce9 08:37:40 Step 22/24 : LABEL arch=amd64 08:37:40 ---> Running in 38212ce147e5 08:37:40 Removing intermediate container 38212ce147e5 08:37:40 ---> 4c847115a1c5 08:37:40 Step 23/24 : LABEL git_sha=63928f2973ca38a899cb41cf0d65ddd086cb79a5 08:37:40 ---> Running in e2bf88fd772a 08:37:40 Removing intermediate container e2bf88fd772a 08:37:40 ---> f245d5ed2085 08:37:40 Step 24/24 : LABEL version=3.2.0-dev.46 08:37:40 ---> Running in d9e7d37af968 08:37:40 Removing intermediate container d9e7d37af968 08:37:40 ---> eabc70be6c41 08:37:40 [Warning] One or more build-args [ARCH] were not consumed 08:37:40 Successfully built eabc70be6c41 08:37:40 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 08:37:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:37:41 08:37:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:37:41 latest: Pulling from edgex-lftools-log-publisher 08:37:41 5eb5b503b376: Pulling fs layer 08:37:41 5c69ac0246d0: Pulling fs layer 08:37:41 ec43610c2a17: Pulling fs layer 08:37:41 3a2ae6a8a46f: Pulling fs layer 08:37:41 33b1e0a273af: Pulling fs layer 08:37:41 5d3b04190fa2: Pulling fs layer 08:37:41 2f39f015ded8: Pulling fs layer 08:37:41 5d3b04190fa2: Waiting 08:37:41 2f39f015ded8: Waiting 08:37:41 3a2ae6a8a46f: Waiting 08:37:41 5c69ac0246d0: Download complete 08:37:41 3a2ae6a8a46f: Verifying Checksum 08:37:41 3a2ae6a8a46f: Download complete 08:37:41 33b1e0a273af: Verifying Checksum 08:37:41 33b1e0a273af: Download complete 08:37:41 5d3b04190fa2: Verifying Checksum 08:37:41 5d3b04190fa2: Download complete 08:37:41 ec43610c2a17: Verifying Checksum 08:37:41 ec43610c2a17: Download complete 08:37:41 5eb5b503b376: Verifying Checksum 08:37:41 5eb5b503b376: Download complete 08:37:42 2f39f015ded8: Download complete 08:37:43 5eb5b503b376: Pull complete 08:37:43 5c69ac0246d0: Pull complete 08:37:43 ec43610c2a17: Pull complete 08:37:43 3a2ae6a8a46f: Pull complete 08:37:44 33b1e0a273af: Pull complete 08:37:44 5d3b04190fa2: Pull complete 08:37:49 2f39f015ded8: Pull complete 08:37:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:37:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:37:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:37:49 prd-ubuntu20.04-docker-8c-8g-22722 does not seem to be running inside a container 08:37:49 $ 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 08:37:54 $ docker top e541cf806010d00064769a709d23e21be2f2d4d70f5fd385db805353589b8a59 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 08:37:54 provisioning config files... 08:37:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/321@tmp/config14870226188571430042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:37:54 ---> job-cost.sh 08:37:54 lf-activate-venv: SKIPPING 08:37:54 INFO: No Stack... 08:37:54 INFO: Retrieving Pricing Info for: v3-standard-8 08:37:54 ---> ****-login.sh 08:37:54 nexus3.edgexfoundry.org:10001 08:37:55 INFO: Archiving Costs [Pipeline] sh 08:37:55 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 08:37:55 + cut -d, -f6 [Pipeline] lock 08:37:55 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-321-stack-cost] 08:37:55 Resource [jenkins-edgexfoundry-device-sdk-go-main-321-stack-cost] did not exist. Created. 08:37:55 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-321-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:37:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:37:55 Configure a credential helper to remove this warning. See 08:37:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:37:55 08:37:55 Login Succeeded 08:37:55 nexus3.edgexfoundry.org:10002 08:37:55 + echo total: 0.2199999988079071 [Pipeline] stash 08:37:55 Stashed 1 file(s) [Pipeline] } 08:37:55 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-321-stack-cost] [Pipeline] // lock [Pipeline] } 08:37:55 $ docker stop --time=1 e541cf806010d00064769a709d23e21be2f2d4d70f5fd385db805353589b8a59 08:37:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:37:56 Configure a credential helper to remove this warning. See 08:37:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:37:56 08:37:56 Login Succeeded 08:37:56 nexus3.edgexfoundry.org:10003 08:37:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:37:56 Configure a credential helper to remove this warning. See 08:37:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:37:56 08:37:56 Login Succeeded 08:37:56 nexus3.edgexfoundry.org:10004 08:37:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:37:56 Configure a credential helper to remove this warning. See 08:37:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:37:56 08:37:56 Login Succeeded 08:37:56 ****.io 08:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:37:57 Configure a credential helper to remove this warning. See 08:37:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:37:57 08:37:57 Login Succeeded 08:37:57 ---> ****-login.sh ends 08:37:58 $ docker rm -f --volumes e541cf806010d00064769a709d23e21be2f2d4d70f5fd385db805353589b8a59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 08:37:58 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 08:37:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:37:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:37:59 ========================================================= 08:37:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 08:37:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:59 + 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 . 08:38:00 Sending build context to Docker daemon 13.17MB 08:38:00 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 08:38:00 Step 2/10 : FROM ${BASE} AS builder 08:38:00 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:38:00 cf04c63912e1: Pulling fs layer 08:38:00 55b35a11ae5e: Pulling fs layer 08:38:00 a37a00ec5f00: Pulling fs layer 08:38:00 50b3750afda1: Pulling fs layer 08:38:00 4f4fb700ef54: Pulling fs layer 08:38:00 80978eb59214: Pulling fs layer 08:38:00 c9f46d7d2bd2: Pulling fs layer 08:38:00 c5a475d317c9: Pulling fs layer 08:38:00 50b3750afda1: Waiting 08:38:00 4f4fb700ef54: Waiting 08:38:00 80978eb59214: Waiting 08:38:00 c5a475d317c9: Waiting 08:38:00 c9f46d7d2bd2: Waiting 08:38:00 55b35a11ae5e: Verifying Checksum 08:38:00 55b35a11ae5e: Download complete 08:38:00 50b3750afda1: Verifying Checksum 08:38:00 50b3750afda1: Download complete 08:38:00 4f4fb700ef54: Verifying Checksum 08:38:00 4f4fb700ef54: Download complete 08:38:00 80978eb59214: Verifying Checksum 08:38:00 80978eb59214: Download complete 08:38:00 cf04c63912e1: Download complete 08:38:01 c5a475d317c9: Verifying Checksum 08:38:01 c5a475d317c9: Download complete 08:38:01 cf04c63912e1: Pull complete 08:38:02 55b35a11ae5e: Pull complete 08:38:02 a37a00ec5f00: Verifying Checksum 08:38:02 a37a00ec5f00: Download complete 08:38:03 c9f46d7d2bd2: Verifying Checksum 08:38:03 c9f46d7d2bd2: Download complete 08:38:18 a37a00ec5f00: Pull complete 08:38:18 50b3750afda1: Pull complete 08:38:18 4f4fb700ef54: Pull complete 08:38:18 80978eb59214: Pull complete 08:38:27 c9f46d7d2bd2: Pull complete 08:38:28 c5a475d317c9: Pull complete 08:38:28 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 08:38:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 08:38:28 ---> be29e6b0f0d4 08:38:28 Step 3/10 : ARG MAKE=make build 08:38:31 ---> Running in 9a2178f7a963 08:38:31 Removing intermediate container 9a2178f7a963 08:38:31 ---> 5051e0b594e0 08:38:31 Step 4/10 : WORKDIR /device-sdk-go 08:38:31 ---> Running in bfda9e72deed 08:38:31 Removing intermediate container bfda9e72deed 08:38:31 ---> b133dfe426fe 08:38:31 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:38:31 ---> Running in 38b3dd9b6238 08:38:31 Removing intermediate container 38b3dd9b6238 08:38:31 ---> 724d42fdbd2e 08:38:31 Step 6/10 : RUN apk add --update --no-cache make git 08:38:31 ---> Running in 77c2400ef756 08:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:38:35 OK: 238 MiB in 54 packages 08:38:36 Removing intermediate container 77c2400ef756 08:38:36 ---> 9b49140f8d05 08:38:36 Step 7/10 : COPY go.mod vendor* ./ 08:38:37 ---> 97c17b91727a 08:38:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:38:37 ---> Running in 022e89a79308 08:40:43 Removing intermediate container 022e89a79308 08:40:43 ---> 9aa8da3932f1 08:40:43 Step 9/10 : COPY . . 08:40:43 ---> 5058beb2b2be 08:40:43 Step 10/10 : RUN ${MAKE} 08:40:43 ---> Running in d85c56f4ceb1 08:40:43 noop 08:40:43 Removing intermediate container d85c56f4ceb1 08:40:43 ---> ad08257e97b0 08:40:43 Successfully built ad08257e97b0 08:40:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:44 + docker inspect -f . ci-base-image-arm64 08:40:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:40:44 prd-ubuntu20.04-docker-arm64-4c-16g-22724 does not seem to be running inside a container 08:40:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/321 -v /w/workspace/device-sdk-go/321:/w/workspace/device-sdk-go/321:rw,z -v /w/workspace/device-sdk-go/321@tmp:/w/workspace/device-sdk-go/321@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 08:40:46 $ docker top 5409205c67bd16a6a39a41cbf0f87ca4de4ba55068f27b80281400f83a74d026 -eo pid,comm [Pipeline] { [Pipeline] sh 08:40:47 + go version 08:40:47 go version go1.23.2 linux/arm64 [Pipeline] } 08:40:47 $ docker stop --time=1 5409205c67bd16a6a39a41cbf0f87ca4de4ba55068f27b80281400f83a74d026 08:40:48 $ docker rm -f --volumes 5409205c67bd16a6a39a41cbf0f87ca4de4ba55068f27b80281400f83a74d026 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:49 + docker inspect -f . ci-base-image-arm64 08:40:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:40:49 prd-ubuntu20.04-docker-arm64-4c-16g-22724 does not seem to be running inside a container 08:40:49 $ 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/321 -v /w/workspace/device-sdk-go/321:/w/workspace/device-sdk-go/321:rw,z -v /w/workspace/device-sdk-go/321@tmp:/w/workspace/device-sdk-go/321@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 08:40:50 $ docker top d89def04e8c56cfff6ca7061bedee3d54b6d330d49492bea1b2410a84b0115cd -eo pid,comm [Pipeline] { [Pipeline] sh 08:40:51 + git config --global --add safe.directory /w/workspace/device-sdk-go/321 [Pipeline] fileExists [Pipeline] sh 08:40:52 + make test 08:40:52 go test -race -coverprofile=coverage.out ./... 08:41:48 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 08:45:40 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 08:45:40 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 08:45:40 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 08:45:40 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 08:45:40 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 08:45:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.184s coverage: 26.0% of statements 08:45:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.186s coverage: 79.4% of statements 08:46:06 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 08:46:06 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 08:46:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.356s coverage: 86.0% of statements 08:46:22 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 08:46:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.702s coverage: 45.2% of statements 08:46:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.311s coverage: 14.1% of statements 08:46:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.364s coverage: 44.6% of statements 08:46:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 08:46:31 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 08:46:31 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 08:46:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.410s coverage: 68.3% of statements 08:46:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.377s coverage: 88.3% of statements 08:46:43 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 08:46:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.300s coverage: 5.3% of statements 08:46:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:46:46 GO111MODULE=on go vet ./... 08:52:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:52:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:52:08 ./bin/test-attribution-txt.sh [Pipeline] echo 08:52:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:52:08 $ docker stop --time=1 d89def04e8c56cfff6ca7061bedee3d54b6d330d49492bea1b2410a84b0115cd 08:52:10 $ docker rm -f --volumes d89def04e8c56cfff6ca7061bedee3d54b6d330d49492bea1b2410a84b0115cd [Pipeline] // withDockerContainer [Pipeline] sh 08:52:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:52:13 Warning: overwriting stash ‘coverage-report’ 08:52:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:52:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:52:15 + ls -al . 08:52:15 total 708 08:52:15 drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 08:40 . 08:52:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:37 .. 08:52:15 -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 08:37 .dockerignore 08:52:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 08:37 .git 08:52:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:37 .github 08:52:15 -rw-rw-r-- 1 jenkins jenkins 137 Oct 14 08:37 .gitignore 08:52:15 -rw-rw-r-- 1 jenkins jenkins 199 Oct 14 08:37 .golangci.yml 08:52:15 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 14 08:37 CHANGELOG.md 08:52:15 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 08:37 GOVERNANCE.md 08:52:15 -rw-rw-r-- 1 jenkins jenkins 885 Oct 14 08:37 Jenkinsfile 08:52:15 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 08:37 LICENSE 08:52:15 -rw-rw-r-- 1 jenkins jenkins 2379 Oct 14 08:37 Makefile 08:52:15 -rw-rw-r-- 1 jenkins jenkins 619 Oct 14 08:37 OWNERS.md 08:52:15 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 14 08:37 README.md 08:52:15 -rw-rw-r-- 1 jenkins jenkins 12 Oct 14 08:33 VERSION 08:52:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:37 bin 08:52:15 -rw-r--r-- 1 jenkins jenkins 466603 Oct 14 08:46 coverage.out 08:52:15 drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 08:37 example 08:52:15 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 14 08:37 go.mod 08:52:15 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 14 08:37 go.sum 08:52:15 drwxrwxr-x 13 jenkins jenkins 4096 Oct 14 08:37 internal 08:52:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:37 openapi 08:52:15 drwxrwxr-x 6 jenkins jenkins 4096 Oct 14 08:37 pkg 08:52:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:37 snap 08:52:15 -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 08:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:52:15 + 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=63928f2973ca38a899cb41cf0d65ddd086cb79a5 --label arch=arm64 --label version=3.2.0-dev.46 . 08:52:15 Sending build context to Docker daemon 13.63MB 08:52:15 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 08:52:15 Step 2/24 : FROM ${BASE} AS builder 08:52:15 ---> ad08257e97b0 08:52:15 Step 3/24 : ARG MAKE=make build 08:52:16 ---> Running in e96b4c89be83 08:52:16 Removing intermediate container e96b4c89be83 08:52:16 ---> a7796a47ba88 08:52:16 Step 4/24 : WORKDIR /device-sdk-go 08:52:16 ---> Running in d217bd1b6a0c 08:52:17 Removing intermediate container d217bd1b6a0c 08:52:17 ---> e2b0564e63ed 08:52:17 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:52:17 ---> Running in 0f24f24da887 08:52:17 Removing intermediate container 0f24f24da887 08:52:17 ---> 22cee0d31f66 08:52:17 Step 6/24 : RUN apk add --update --no-cache make git 08:52:17 ---> Running in b2e27044b2bd 08:52:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:52:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:52:20 OK: 238 MiB in 54 packages 08:52:22 Removing intermediate container b2e27044b2bd 08:52:22 ---> e6090a563b89 08:52:22 Step 7/24 : COPY go.mod vendor* ./ 08:52:22 ---> ee4e9f142cfb 08:52:22 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:52:22 ---> Running in 563e4587ecef 08:52:25 Removing intermediate container 563e4587ecef 08:52:25 ---> 89b13559fb66 08:52:25 Step 9/24 : COPY . . 08:52:27 ---> 21ea5d227f22 08:52:27 Step 10/24 : RUN ${MAKE} 08:52:27 ---> Running in 6db0ed8f3e89 08:52:28 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.46 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.46" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:57:05 Removing intermediate container 6db0ed8f3e89 08:57:05 ---> e81eec24cd89 08:57:05 Step 11/24 : FROM alpine:3.20 08:57:05 3.20: Pulling from library/alpine 08:57:05 cf04c63912e1: Already exists 08:57:05 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 08:57:05 Status: Downloaded newer image for alpine:3.20 08:57:05 ---> c157a85ed455 08:57:05 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:57:05 ---> Running in 98008f679a6d 08:57:05 Removing intermediate container 98008f679a6d 08:57:05 ---> a3ce1428acdf 08:57:05 Step 13/24 : RUN apk add --update --no-cache dumb-init 08:57:05 ---> Running in b7ebb5fba857 08:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:57:05 (1/1) Installing dumb-init (1.2.5-r3) 08:57:05 Executing busybox-1.36.1-r29.trigger 08:57:05 OK: 9 MiB in 15 packages 08:57:05 Removing intermediate container b7ebb5fba857 08:57:05 ---> 637f2031dc52 08:57:05 Step 14/24 : RUN apk --no-cache upgrade 08:57:05 ---> Running in a2e843097252 08:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:57:05 Upgrading critical system libraries and apk-tools: 08:57:05 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 08:57:05 Executing busybox-1.36.1-r29.trigger 08:57:05 Continuing the upgrade transaction with new apk-tools: 08:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:57:06 OK: 9 MiB in 15 packages 08:57:07 Removing intermediate container a2e843097252 08:57:07 ---> f4d7c813395a 08:57:07 Step 15/24 : WORKDIR / 08:57:07 ---> Running in 1f7e64b11e31 08:57:07 Removing intermediate container 1f7e64b11e31 08:57:07 ---> 1a3def0e4c24 08:57:07 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:57:08 ---> 9ff5da1a5dca 08:57:08 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:57:11 ---> 73cfb8c290dd 08:57:11 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:57:11 ---> 4b9c1d4dca90 08:57:11 Step 19/24 : EXPOSE 59999 08:57:11 ---> Running in 36e914787b29 08:57:11 Removing intermediate container 36e914787b29 08:57:11 ---> aa86e5b096bd 08:57:11 Step 20/24 : ENTRYPOINT ["/device-simple"] 08:57:12 ---> Running in fcfb3c57328a 08:57:12 Removing intermediate container fcfb3c57328a 08:57:12 ---> 3a6985a23cc8 08:57:12 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:57:12 ---> Running in c1254f3df02e 08:57:13 Removing intermediate container c1254f3df02e 08:57:13 ---> 4b215a529dbf 08:57:13 Step 22/24 : LABEL arch=arm64 08:57:13 ---> Running in 8ed97d502f08 08:57:13 Removing intermediate container 8ed97d502f08 08:57:13 ---> 6f4f95211bb2 08:57:13 Step 23/24 : LABEL git_sha=63928f2973ca38a899cb41cf0d65ddd086cb79a5 08:57:13 ---> Running in e8c1845bfbd0 08:57:14 Removing intermediate container e8c1845bfbd0 08:57:14 ---> 0091a00b6992 08:57:14 Step 24/24 : LABEL version=3.2.0-dev.46 08:57:14 ---> Running in 99fa524b85d5 08:57:14 Removing intermediate container 99fa524b85d5 08:57:14 ---> d376bc617a98 08:57:14 [Warning] One or more build-args [ARCH] were not consumed 08:57:14 Successfully built d376bc617a98 08:57:14 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:57:15 08:57:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:57:15 arm64: Pulling from edgex-lftools-log-publisher 08:57:15 8998bd30e6a1: Pulling fs layer 08:57:15 04944245beec: Pulling fs layer 08:57:15 699f458cf7ca: Pulling fs layer 08:57:15 765212b225bb: Pulling fs layer 08:57:15 f23df028b6ca: Pulling fs layer 08:57:15 d65c8cfc05b1: Pulling fs layer 08:57:15 2437ff75d9bd: Pulling fs layer 08:57:15 f23df028b6ca: Waiting 08:57:15 765212b225bb: Waiting 08:57:15 d65c8cfc05b1: Waiting 08:57:15 04944245beec: Download complete 08:57:15 765212b225bb: Verifying Checksum 08:57:15 765212b225bb: Download complete 08:57:15 f23df028b6ca: Verifying Checksum 08:57:15 f23df028b6ca: Download complete 08:57:15 d65c8cfc05b1: Verifying Checksum 08:57:15 d65c8cfc05b1: Download complete 08:57:16 699f458cf7ca: Verifying Checksum 08:57:16 699f458cf7ca: Download complete 08:57:16 8998bd30e6a1: Download complete 08:57:19 2437ff75d9bd: Verifying Checksum 08:57:19 2437ff75d9bd: Download complete 08:57:21 8998bd30e6a1: Pull complete 08:57:22 04944245beec: Pull complete 08:57:24 699f458cf7ca: Pull complete 08:57:24 765212b225bb: Pull complete 08:57:25 f23df028b6ca: Pull complete 08:57:25 d65c8cfc05b1: Pull complete 08:57:44 2437ff75d9bd: Pull complete 08:57:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:57:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:57:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:57:44 prd-ubuntu20.04-docker-arm64-4c-16g-22724 does not seem to be running inside a container 08:57:44 $ 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/321 -v /w/workspace/device-sdk-go/321:/w/workspace/device-sdk-go/321:rw,z -v /w/workspace/device-sdk-go/321@tmp:/w/workspace/device-sdk-go/321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:57:48 $ docker top 8d7635690f6f0ec90d63b16cbeb727c0f546d69e93b59019957823929acfa253 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:57:49 ---> job-cost.sh 08:57:49 lf-activate-venv: SKIPPING 08:57:49 INFO: No Stack... 08:57:49 INFO: Retrieving Pricing Info for: v3-standard-4 08:57:50 INFO: Archiving Costs [Pipeline] sh 08:57:51 + cat /w/workspace/device-sdk-go/321/archives/cost.csv 08:57:51 + cut -d, -f6 [Pipeline] lock 08:57:51 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-321-stack-cost] 08:57:51 Resource [jenkins-edgexfoundry-device-sdk-go-main-321-stack-cost] did not exist. Created. 08:57:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-321-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:57:51 /w/workspace/device-sdk-go/321@tmp/durable-b3b24f02/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:57:52 + echo total: 0.10999999940395355 [Pipeline] stash 08:57:52 Warning: overwriting stash ‘stack-cost’ 08:57:52 Stashed 1 file(s) [Pipeline] } 08:57:52 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-321-stack-cost] [Pipeline] // lock [Pipeline] } 08:57:52 $ docker stop --time=1 8d7635690f6f0ec90d63b16cbeb727c0f546d69e93b59019957823929acfa253 08:57:54 $ docker rm -f --volumes 8d7635690f6f0ec90d63b16cbeb727c0f546d69e93b59019957823929acfa253 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 08:57:54 provisioning config files... 08:57:54 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2930184200595187308tmp [Pipeline] { [Pipeline] sh 08:57:55 + set +x 08:57:55 + curl -s https://codecov.io/bash 08:57:55 + bash -s -- 08:57:55 08:57:55 _____ _ 08:57:55 / ____| | | 08:57:55 | | ___ __| | ___ ___ _____ __ 08:57:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:57:55 | |___| (_) | (_| | __/ (_| (_) \ V / 08:57:55 \_____\___/ \__,_|\___|\___\___/ \_/ 08:57:55 Bash-1.0.6 08:57:55 08:57:55 08:57:55 ==> git version 2.25.1 found 08:57:55 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 08:57:55 Release-Date: 2020-01-08 08:57:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:57:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:57:55 ==> Jenkins CI detected. 08:57:55 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 08:57:55 project root: . 08:57:55 --> token set from env 08:57:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:57:55 ==> Running gcov in . (disable via -X gcov) 08:57:55 ==> Python coveragepy not found 08:57:55 ==> Searching for coverage reports in: 08:57:55 + . 08:57:55 -> Found 1 reports 08:57:55 ==> Detecting git/mercurial file structure 08:57:55 ==> Reading reports 08:57:55 + ./coverage.out bytes=466603 08:57:55 ==> Appending adjustments 08:57:55 https://docs.codecov.io/docs/fixing-reports 08:57:55 + Found adjustments 08:57:55 ==> Gzipping contents 08:57:55 44K /tmp/codecov.JaterW.gz 08:57:55 ==> Uploading reports 08:57:55 url: https://codecov.io 08:57:55 query: branch=main&commit=63928f2973ca38a899cb41cf0d65ddd086cb79a5&build=321&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F321%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:57:55 -> Pinging Codecov 08:57:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=63928f2973ca38a899cb41cf0d65ddd086cb79a5&build=321&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F321%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:57:56 -> Uploading to 08:57:56 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/63928f2973ca38a899cb41cf0d65ddd086cb79a5/b68cc6ed-6004-4b5e-885c-b5bc2f9ffab1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241014%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241014T085755Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=ea2a4058fce35b8ced7808ffa962100ee7edebefc1f14cb739be10d4a151a3f9 08:57:56 % Total % Received % Xferd Average Speed Time Time Time Current 08:57:56 Dload Upload Total Spent Left Speed 08:57:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 42520 0 0 100 42520 0 157k --:--:-- --:--:-- --:--:-- 157k 100 42520 0 0 100 42520 0 157k --:--:-- --:--:-- --:--:-- 157k 08:57:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/63928f2973ca38a899cb41cf0d65ddd086cb79a5 [Pipeline] } 08:57:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:57:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:57:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:57:56 08:57:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:57:57 latest: Pulling from edgex-devops/edgex-snyk-go 08:57:57 43c4264eed91: Already exists 08:57:57 4cc291be95ef: Already exists 08:57:57 2ac1f1163629: Already exists 08:57:57 5c3c966382ef: Already exists 08:57:57 4f4fb700ef54: Already exists 08:57:57 d9c7d2e4e75e: Pulling fs layer 08:57:57 9c3e1370e548: Pulling fs layer 08:57:57 d9c7d2e4e75e: Verifying Checksum 08:57:57 d9c7d2e4e75e: Download complete 08:57:57 d9c7d2e4e75e: Pull complete 08:57:58 9c3e1370e548: Verifying Checksum 08:57:58 9c3e1370e548: Download complete 08:58:01 9c3e1370e548: Pull complete 08:58:01 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 08:58:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:58:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:58:01 prd-ubuntu20.04-docker-8c-8g-22722 does not seem to be running inside a container 08:58:01 $ 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 08:58:03 $ docker top 197a01355654a6f4fad483363f31f8b374723b5c771652fe17bf46da7cf21347 -eo pid,comm [Pipeline] { [Pipeline] sh 08:58:04 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 08:58:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 08:58:04 + set -o pipefail 08:58:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 08:58:14 08:58:14 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 08:58:14 08:58:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/9457648e-7f01-47cc-bbf7-c822a1785cf4 08:58:14 08:58:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:58:14 08:58:14 08:58:14 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 08:58:14 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:58:14 $ docker stop --time=1 197a01355654a6f4fad483363f31f8b374723b5c771652fe17bf46da7cf21347 08:58:20 $ docker rm -f --volumes 197a01355654a6f4fad483363f31f8b374723b5c771652fe17bf46da7cf21347 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 08:58:20 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:58:20 provisioning config files... 08:58:20 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9227397056189838783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:58:21 --> edgex-publish-swagger.sh 08:58:21 === Publish openapi/v3 API === 08:58:21 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 08:58:21 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 08:58:21 % Total % Received % Xferd Average Speed Time Time Time Current 08:58:21 Dload Upload Total Spent Left Speed 08:58:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 37518 0 0 100 37518 0 156k --:--:-- --:--:-- --:--:-- 155k 100 37674 100 156 100 37518 395 95223 --:--:-- --:--:-- --:--:-- 95377 08:58:21 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 08:58:21 [Pipeline] } 08:58:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:58:21 + git log --format=format:%s -1 63928f2973ca38a899cb41cf0d65ddd086cb79a5 [Pipeline] sh 08:58:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:58:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:58:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:58:22 prd-ubuntu20.04-docker-8c-8g-22722 does not seem to be running inside a container 08:58:22 $ 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 08:58:23 $ docker top 964aad14b71b5fbcf0646fb37084192ba88a4c79ce75a5d9e50dc997ed6dee52 -eo pid,comm 08:58:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:58:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:58:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:58:23 [ssh-agent] Looking for ssh-agent implementation... 08:58:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:58:23 $ docker exec 964aad14b71b5fbcf0646fb37084192ba88a4c79ce75a5d9e50dc997ed6dee52 ssh-agent 08:58:23 SSH_AUTH_SOCK=/tmp/ssh-IqBXoP0keOXr/agent.32 08:58:23 SSH_AGENT_PID=38 08:58:23 Running ssh-add (command line suppressed) 08:58:23 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14634101570258680445.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14634101570258680445.key) 08:58:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:58:23 + git semver tag 08:58:24 2024-10-14 08:58:24,003 [run_tag] DEBUG tag force:False 08:58:24 2024-10-14 08:58:24,003 [check_head_tag] DEBUG check head tag 08:58:24 2024-10-14 08:58:24,005 [execute] INFO git cat-file --batch-check 08:58:24 2024-10-14 08:58:24,005 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 08:58:24 2024-10-14 08:58:24,009 [execute] INFO git cat-file --batch 08:58:24 2024-10-14 08:58:24,009 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 08:58:24 2024-10-14 08:58:24,039 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:58:24 2024-10-14 08:58:24,039 [execute] INFO git tag -a v3.2.0-dev.46 -m v3.2.0-dev.46 08:58:24 2024-10-14 08:58:24,039 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.46', '-m', 'v3.2.0-dev.46'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 08:58:24 2024-10-14 08:58:24,044 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:58:24 3.2.0-dev.46 [Pipeline] } 08:58:24 $ docker exec --env ******** --env ******** 964aad14b71b5fbcf0646fb37084192ba88a4c79ce75a5d9e50dc997ed6dee52 ssh-agent -k 08:58:24 unset SSH_AUTH_SOCK; 08:58:24 unset SSH_AGENT_PID; 08:58:24 echo Agent pid 38 killed; 08:58:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:58:24 + git semver [Pipeline] } 08:58:24 $ docker stop --time=1 964aad14b71b5fbcf0646fb37084192ba88a4c79ce75a5d9e50dc997ed6dee52 08:58:26 $ docker rm -f --volumes 964aad14b71b5fbcf0646fb37084192ba88a4c79ce75a5d9e50dc997ed6dee52 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:58:26 08:58:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:58:26 0.23.1-centos7: Pulling from edgex-lftools 08:58:26 ab5ef0e58194: Pulling fs layer 08:58:26 9712f1f96733: Pulling fs layer 08:58:26 63f879dbbcfc: Pulling fs layer 08:58:26 0d9ebad4ef96: Pulling fs layer 08:58:26 e9a5061849ea: Pulling fs layer 08:58:26 d747dcd14b5f: Pulling fs layer 08:58:26 2de7ff778b66: Pulling fs layer 08:58:26 e9a5061849ea: Waiting 08:58:26 d747dcd14b5f: Waiting 08:58:26 2de7ff778b66: Waiting 08:58:26 0d9ebad4ef96: Waiting 08:58:26 9712f1f96733: Verifying Checksum 08:58:26 9712f1f96733: Download complete 08:58:27 63f879dbbcfc: Verifying Checksum 08:58:27 63f879dbbcfc: Download complete 08:58:27 e9a5061849ea: Verifying Checksum 08:58:27 e9a5061849ea: Download complete 08:58:27 d747dcd14b5f: Verifying Checksum 08:58:27 d747dcd14b5f: Download complete 08:58:27 ab5ef0e58194: Verifying Checksum 08:58:27 ab5ef0e58194: Download complete 08:58:27 0d9ebad4ef96: Verifying Checksum 08:58:27 0d9ebad4ef96: Download complete 08:58:27 2de7ff778b66: Verifying Checksum 08:58:27 2de7ff778b66: Download complete 08:58:30 ab5ef0e58194: Pull complete 08:58:30 9712f1f96733: Pull complete 08:58:30 63f879dbbcfc: Pull complete 08:58:34 0d9ebad4ef96: Pull complete 08:58:34 e9a5061849ea: Pull complete 08:58:34 d747dcd14b5f: Pull complete 08:58:35 2de7ff778b66: Pull complete 08:58:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:58:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:58:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:58:35 prd-ubuntu20.04-docker-8c-8g-22722 does not seem to be running inside a container 08:58:35 $ 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 08:58:42 $ docker top 2cb6603f48ccac303060864c2eab4ab68933bab343c540db0341137b09021553 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:58:42 provisioning config files... 08:58:42 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12646571702690388404tmp 08:58:42 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16955643995404725387tmp 08:58:42 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11275659878466598210tmp [Pipeline] { [Pipeline] echo 08:58:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:58:43 ---> sigul-configuration.sh 08:58:43 gpg: directory `/root/.gnupg' created 08:58:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:58:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:58:43 gpg: keyring `/root/.gnupg/secring.gpg' created 08:58:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:58:43 gpg: CAST5 encrypted data 08:58:43 gpg: encrypted with 1 passphrase 08:58:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:58:43 + mkdir /home/jenkins 08:58:43 + mkdir /home/jenkins/sigul [Pipeline] sh 08:58:43 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 08:58:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:58:44 ---> sigul-install.sh 08:58:44 Sigul already installed; skipping installation. [Pipeline] sh 08:58:44 + git tag --list 08:58:44 0.7.1 08:58:44 delhi-tag 08:58:44 v1.0.0 08:58:44 v1.1.0 08:58:44 v1.1.1 08:58:44 v1.1.2 08:58:44 v1.2.0 08:58:44 v1.2.1 08:58:44 v1.2.2 08:58:44 v1.2.3 08:58:44 v1.3.0 08:58:44 v1.4.0 08:58:44 v2.0.0 08:58:44 v2.1.0 08:58:44 v2.1.1 08:58:44 v2.2.0 08:58:44 v2.3.0 08:58:44 v2.3.1 08:58:44 v3.0 08:58:44 v3.0.0 08:58:44 v3.0.1-dev.1 08:58:44 v3.1 08:58:44 v3.1.0 08:58:44 v3.1.0-dev.1 08:58:44 v3.1.0-dev.10 08:58:44 v3.1.0-dev.11 08:58:44 v3.1.0-dev.12 08:58:44 v3.1.0-dev.13 08:58:44 v3.1.0-dev.14 08:58:44 v3.1.0-dev.15 08:58:44 v3.1.0-dev.16 08:58:44 v3.1.0-dev.17 08:58:44 v3.1.0-dev.18 08:58:44 v3.1.0-dev.19 08:58:44 v3.1.0-dev.2 08:58:44 v3.1.0-dev.20 08:58:44 v3.1.0-dev.21 08:58:44 v3.1.0-dev.22 08:58:44 v3.1.0-dev.23 08:58:44 v3.1.0-dev.24 08:58:44 v3.1.0-dev.25 08:58:44 v3.1.0-dev.26 08:58:44 v3.1.0-dev.27 08:58:44 v3.1.0-dev.28 08:58:44 v3.1.0-dev.29 08:58:44 v3.1.0-dev.3 08:58:44 v3.1.0-dev.30 08:58:44 v3.1.0-dev.31 08:58:44 v3.1.0-dev.32 08:58:44 v3.1.0-dev.33 08:58:44 v3.1.0-dev.34 08:58:44 v3.1.0-dev.35 08:58:44 v3.1.0-dev.36 08:58:44 v3.1.0-dev.37 08:58:44 v3.1.0-dev.38 08:58:44 v3.1.0-dev.39 08:58:44 v3.1.0-dev.4 08:58:44 v3.1.0-dev.40 08:58:44 v3.1.0-dev.41 08:58:44 v3.1.0-dev.5 08:58:44 v3.1.0-dev.6 08:58:44 v3.1.0-dev.7 08:58:44 v3.1.0-dev.8 08:58:44 v3.1.0-dev.9 08:58:44 v3.1.1 08:58:44 v3.1.1-dev.1 08:58:44 v3.2.0-dev.1 08:58:44 v3.2.0-dev.10 08:58:44 v3.2.0-dev.11 08:58:44 v3.2.0-dev.12 08:58:44 v3.2.0-dev.13 08:58:44 v3.2.0-dev.14 08:58:44 v3.2.0-dev.15 08:58:44 v3.2.0-dev.16 08:58:44 v3.2.0-dev.17 08:58:44 v3.2.0-dev.18 08:58:44 v3.2.0-dev.19 08:58:44 v3.2.0-dev.2 08:58:44 v3.2.0-dev.20 08:58:44 v3.2.0-dev.21 08:58:44 v3.2.0-dev.22 08:58:44 v3.2.0-dev.23 08:58:44 v3.2.0-dev.24 08:58:44 v3.2.0-dev.25 08:58:44 v3.2.0-dev.26 08:58:44 v3.2.0-dev.27 08:58:44 v3.2.0-dev.28 08:58:44 v3.2.0-dev.29 08:58:44 v3.2.0-dev.3 08:58:44 v3.2.0-dev.30 08:58:44 v3.2.0-dev.31 08:58:44 v3.2.0-dev.32 08:58:44 v3.2.0-dev.33 08:58:44 v3.2.0-dev.34 08:58:44 v3.2.0-dev.35 08:58:44 v3.2.0-dev.36 08:58:44 v3.2.0-dev.37 08:58:44 v3.2.0-dev.38 08:58:44 v3.2.0-dev.39 08:58:44 v3.2.0-dev.4 08:58:44 v3.2.0-dev.40 08:58:44 v3.2.0-dev.41 08:58:44 v3.2.0-dev.42 08:58:44 v3.2.0-dev.43 08:58:44 v3.2.0-dev.44 08:58:44 v3.2.0-dev.45 08:58:44 v3.2.0-dev.46 08:58:44 v3.2.0-dev.5 08:58:44 v3.2.0-dev.6 08:58:44 v3.2.0-dev.7 08:58:44 v3.2.0-dev.8 08:58:44 v3.2.0-dev.9 [Pipeline] sh 08:58:44 + lftools sign git-tag v3.2.0-dev.46 08:58:45 Signing Git tag with Sigul... 08:58:45 Signing v3.2.0-dev.46 [Pipeline] echo 08:58:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:58:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:58:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:58:46 $ docker stop --time=1 2cb6603f48ccac303060864c2eab4ab68933bab343c540db0341137b09021553 08:58:47 $ docker rm -f --volumes 2cb6603f48ccac303060864c2eab4ab68933bab343c540db0341137b09021553 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:58:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:58:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:58:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:58:48 prd-ubuntu20.04-docker-8c-8g-22722 does not seem to be running inside a container 08:58:48 $ 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 08:58:48 $ docker top ce604c984ba89fce772642775404011765ca4fd9addf7585254d55753697f264 -eo pid,comm 08:58:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:58:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:58:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:58:48 [ssh-agent] Looking for ssh-agent implementation... 08:58:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:58:48 $ docker exec ce604c984ba89fce772642775404011765ca4fd9addf7585254d55753697f264 ssh-agent 08:58:48 SSH_AUTH_SOCK=/tmp/ssh-RD2qhO196LS6/agent.32 08:58:48 SSH_AGENT_PID=38 08:58:48 Running ssh-add (command line suppressed) 08:58:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16429707794933818518.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16429707794933818518.key) 08:58:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:58:49 + git semver bump pre 08:58:49 2024-10-14 08:58:49,369 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:58:49 2024-10-14 08:58:49,369 [bump_version] DEBUG bumping version:3.2.0-dev.46 on axis:pre with prefix:dev 08:58:49 2024-10-14 08:58:49,369 [bump_version] DEBUG bumped version:3.2.0-dev.47 08:58:49 2024-10-14 08:58:49,369 [write_version] DEBUG write version:3.2.0-dev.47 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 08:58:49 2024-10-14 08:58:49,369 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:58:49 2024-10-14 08:58:49,369 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:58:49 2024-10-14 08:58:49,371 [execute] INFO git cat-file --batch-check 08:58:49 2024-10-14 08:58:49,371 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:58:49 2024-10-14 08:58:49,377 [execute] INFO git cat-file --batch 08:58:49 2024-10-14 08:58:49,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:58:49 2024-10-14 08:58:49,382 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:58:49 3.2.0-dev.47 [Pipeline] } 08:58:49 $ docker exec --env ******** --env ******** ce604c984ba89fce772642775404011765ca4fd9addf7585254d55753697f264 ssh-agent -k 08:58:49 unset SSH_AUTH_SOCK; 08:58:49 unset SSH_AGENT_PID; 08:58:49 echo Agent pid 38 killed; 08:58:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:58:49 + git semver [Pipeline] } 08:58:50 $ docker stop --time=1 ce604c984ba89fce772642775404011765ca4fd9addf7585254d55753697f264 08:58:51 $ docker rm -f --volumes ce604c984ba89fce772642775404011765ca4fd9addf7585254d55753697f264 [Pipeline] // withDockerContainer [Pipeline] sh 08:58:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:58:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:58:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:58:52 prd-ubuntu20.04-docker-8c-8g-22722 does not seem to be running inside a container 08:58:52 $ 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 08:58:52 $ docker top ae4fb5148421e3952a32c2088f54eb711296706082df2b86f909f4dcb68ba25e -eo pid,comm 08:58:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:58:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:58:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:58:52 [ssh-agent] Looking for ssh-agent implementation... 08:58:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:58:52 $ docker exec ae4fb5148421e3952a32c2088f54eb711296706082df2b86f909f4dcb68ba25e ssh-agent 08:58:52 SSH_AUTH_SOCK=/tmp/ssh-b9c2NFA41JdY/agent.32 08:58:52 SSH_AGENT_PID=38 08:58:52 Running ssh-add (command line suppressed) 08:58:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18211981370432470028.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18211981370432470028.key) 08:58:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:58:53 + git semver push 08:58:53 2024-10-14 08:58:53,433 [run_push] DEBUG push 08:58:53 2024-10-14 08:58:53,434 [execute] INFO git cat-file --batch-check 08:58:53 2024-10-14 08:58:53,434 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:58:53 2024-10-14 08:58:53,438 [execute] INFO git rev-list 2135c7ee72297ed207841a45d24145dea16930c6 -- 08:58:53 2024-10-14 08:58:53,438 [execute] DEBUG Popen(['git', 'rev-list', '2135c7ee72297ed207841a45d24145dea16930c6', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:58:53 2024-10-14 08:58:53,452 [execute] INFO git fetch -v origin 08:58:53 2024-10-14 08:58:53,452 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 08:58:54 2024-10-14 08:58:53,902 [run_push] DEBUG no remote changes detected 08:58:54 2024-10-14 08:58:53,903 [execute] INFO git push origin semver 08:58:54 2024-10-14 08:58:53,903 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:58:54 2024-10-14 08:58:54,545 [run_push] DEBUG push all version tags 08:58:54 2024-10-14 08:58:54,546 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:58:54 2024-10-14 08:58:54,546 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 08:58:55 2024-10-14 08:58:55,164 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:58:55 3.2.0-dev.47 [Pipeline] } 08:58:55 $ docker exec --env ******** --env ******** ae4fb5148421e3952a32c2088f54eb711296706082df2b86f909f4dcb68ba25e ssh-agent -k 08:58:55 unset SSH_AUTH_SOCK; 08:58:55 unset SSH_AGENT_PID; 08:58:55 echo Agent pid 38 killed; 08:58:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:58:55 + git semver [Pipeline] } 08:58:55 $ docker stop --time=1 ae4fb5148421e3952a32c2088f54eb711296706082df2b86f909f4dcb68ba25e 08:58:57 $ docker rm -f --volumes ae4fb5148421e3952a32c2088f54eb711296706082df2b86f909f4dcb68ba25e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:58:57 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 08:58:57 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 08:58:57 total 16 08:58:57 drwxr-xr-x 3 root root 4096 Oct 14 08:37 . 08:58:57 drwxrwxr-x 12 jenkins jenkins 4096 Oct 14 08:58 .. 08:58:57 drwxr-xr-x 2 root root 4096 Oct 14 08:37 cost 08:58:57 -rw-r--r-- 1 root root 85 Oct 14 08:37 cost.csv 08:58:57 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 08:58:57 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 08:58:57 total 16 08:58:57 drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 08:37 . 08:58:57 drwxrwxr-x 12 jenkins jenkins 4096 Oct 14 08:58 .. 08:58:57 drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 08:37 cost 08:58:57 -rw-r--r-- 1 jenkins jenkins 85 Oct 14 08:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:58:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:58:58 ---> package-listing.sh 08:58:58 ++ tr '[:upper:]' '[:lower:]' 08:58:58 ++ facter osfamily 08:58:59 + OS_FAMILY=debian 08:58:59 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 08:58:59 + START_PACKAGES=/tmp/packages_start.txt 08:58:59 + END_PACKAGES=/tmp/packages_end.txt 08:58:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:58:59 + PACKAGES=/tmp/packages_start.txt 08:58:59 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 08:58:59 + PACKAGES=/tmp/packages_end.txt 08:58:59 + case "${OS_FAMILY}" in 08:58:59 + dpkg -l 08:58:59 + grep '^ii' 08:58:59 + '[' -f /tmp/packages_start.txt ']' 08:58:59 + '[' -f /tmp/packages_end.txt ']' 08:58:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:58:59 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 08:58:59 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 08:58:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 08:58:59 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:58:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:59:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:59:00 prd-ubuntu20.04-docker-8c-8g-22722 does not seem to be running inside a container 08:59:00 $ 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 08:59:00 $ docker top cc577a0acca0ea7107bac6af055e431ac998a6249a6834db2936413981e461fd -eo pid,comm [Pipeline] { [Pipeline] sh 08:59:00 + touch /tmp/pre-build-complete [Pipeline] sh 08:59:01 + mkdir -p /var/log/sysstat [Pipeline] sh 08:59:01 + ls /var/log/sa-host 08:59:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:59:01 provisioning config files... 08:59:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15012735323292459076tmp [Pipeline] { [Pipeline] echo 08:59:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:59:01 ---> create-netrc.sh [Pipeline] } 08:59:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:59:02 ---> python-tools-install.sh [Pipeline] echo 08:59:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:59:02 ---> sudo-logs.sh 08:59:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:59:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:59:02 ---> job-cost.sh 08:59:02 lf-activate-venv: SKIPPING 08:59:02 DEBUG: total: 0.2199999988079071 08:59:02 INFO: Retrieving Stack Cost... 08:59:02 INFO: Retrieving Pricing Info for: v3-standard-8 08:59:03 INFO: Archiving Costs [Pipeline] echo 08:59:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:59:03 ---> logs-deploy.sh 08:59:03 lf-activate-venv: SKIPPING 08:59:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/321 08:59:03 INFO: archiving workspace using pattern(s): 08:59:04 Archives upload complete. 08:59:04 INFO: archiving logs to Nexus