Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 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-ssh3040920781900745168.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-ssh9918359474624485959.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-ssh2579486051183748067.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-ssh6061628653730910758.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-ssh3459728409430545000.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]] ========================================================= [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 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-23748 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 5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 (main) Commit message: "Merge pull request #1642 from weichou1229/v4-module" > 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 5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 # timeout=10 > git rev-list --no-walk 1e80e475b0e97679140bd79592a828cf1f53df47 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:03:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:03:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:03:13 ========================================================= 09:03:13 EdgeX Global Pipelines Version Info 09:03:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:03:14 ------------------- 09:03:14 stable info: 09:03:14 ------------------- 09:03:14 Commited By: Ginny Guan ginny@iotechsys.com 09:03:14 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 09:03:14 Message: update stable to v1.0.265 09:03:14 ------------------- 09:03:14 experimental info: 09:03:14 ------------------- 09:03:14 Commited By: Cherry Wang cherry@iotechsys.com 09:03:14 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 09:03:14 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5dc79f3 [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:03:15 provisioning config files... 09:03:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11372871324836710096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:03:15 ---> ****-login.sh 09:03:15 nexus3.edgexfoundry.org:10001 09:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:03:16 Configure a credential helper to remove this warning. See 09:03:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:03:16 09:03:16 Login Succeeded 09:03:16 nexus3.edgexfoundry.org:10002 09:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:03:16 Configure a credential helper to remove this warning. See 09:03:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:03:16 09:03:16 Login Succeeded 09:03:16 nexus3.edgexfoundry.org:10003 09:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:03:16 Configure a credential helper to remove this warning. See 09:03:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:03:16 09:03:16 Login Succeeded 09:03:16 nexus3.edgexfoundry.org:10004 09:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:03:16 Configure a credential helper to remove this warning. See 09:03:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:03:16 09:03:16 Login Succeeded 09:03:16 ****.io 09:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:03:16 Configure a credential helper to remove this warning. See 09:03:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:03:16 09:03:16 Login Succeeded 09:03:16 ---> ****-login.sh ends [Pipeline] } 09:03:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:03:17 + git rev-list -1 --merges 5dc79f35a7c74344e8991c1acbe9dcbe544b48e9~1..5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 [Pipeline] echo 09:03:17 -----------> git rev-list -1 --merges 5dc79f35a7c74344e8991c1acbe9dcbe544b48e9~1..5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 09:03:17 5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 [false] [Pipeline] sh 09:03:17 + git log --format=format:%s -1 5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 [Pipeline] echo 09:03:17 ========================================================= 09:03:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:03:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:03:18 + git log --format=format:%s -1 5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 [Pipeline] echo 09:03:18 [semverPrep] GIT_COMMIT: 5dc79f35a7c74344e8991c1acbe9dcbe544b48e9, Commit Message: Merge pull request #1642 from weichou1229/v4-module [Pipeline] echo 09:03:18 [semverPrep] This is not a build commit. [Pipeline] sh 09:03:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:03:18 + grep -v github /etc/ssh/ssh_known_hosts 09:03:18 + [ -e /tmp/ssh_known_hosts ] 09:03:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:03:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:03:18 + sudo tee -a /etc/ssh/ssh_known_hosts 09:03:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:03:18 09:03:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:03:19 0.1.4: Pulling from edgex-devops/py-git-semver 09:03:19 b85a868b505f: Pulling fs layer 09:03:19 e2be974225ed: Pulling fs layer 09:03:19 339a4e72a1f5: Pulling fs layer 09:03:19 988bab9f4d93: Pulling fs layer 09:03:19 1469e6f7b9e6: Pulling fs layer 09:03:19 eaf3925da568: Pulling fs layer 09:03:19 bab4dde63d76: Pulling fs layer 09:03:19 bde34c3a00c8: Pulling fs layer 09:03:19 b352a97aabf1: Pulling fs layer 09:03:19 4872d77fe225: Pulling fs layer 09:03:19 5851b861e8e6: Pulling fs layer 09:03:19 988bab9f4d93: Waiting 09:03:19 eaf3925da568: Waiting 09:03:19 b352a97aabf1: Waiting 09:03:19 bab4dde63d76: Waiting 09:03:19 bde34c3a00c8: Waiting 09:03:19 4872d77fe225: Waiting 09:03:19 1469e6f7b9e6: Waiting 09:03:19 5851b861e8e6: Waiting 09:03:19 e2be974225ed: Download complete 09:03:19 988bab9f4d93: Download complete 09:03:19 1469e6f7b9e6: Verifying Checksum 09:03:19 1469e6f7b9e6: Download complete 09:03:19 eaf3925da568: Download complete 09:03:19 339a4e72a1f5: Verifying Checksum 09:03:19 339a4e72a1f5: Download complete 09:03:19 bde34c3a00c8: Download complete 09:03:19 b352a97aabf1: Download complete 09:03:19 4872d77fe225: Download complete 09:03:19 5851b861e8e6: Verifying Checksum 09:03:19 5851b861e8e6: Download complete 09:03:19 b85a868b505f: Verifying Checksum 09:03:19 b85a868b505f: Download complete 09:03:19 bab4dde63d76: Verifying Checksum 09:03:19 bab4dde63d76: Download complete 09:03:20 b85a868b505f: Pull complete 09:03:20 e2be974225ed: Pull complete 09:03:21 339a4e72a1f5: Pull complete 09:03:21 988bab9f4d93: Pull complete 09:03:21 1469e6f7b9e6: Pull complete 09:03:21 eaf3925da568: Pull complete 09:03:23 bab4dde63d76: Pull complete 09:03:23 bde34c3a00c8: Pull complete 09:03:23 b352a97aabf1: Pull complete 09:03:23 4872d77fe225: Pull complete 09:03:23 5851b861e8e6: Pull complete 09:03:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:03:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:03:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:24 prd-ubuntu20.04-docker-8c-8g-23748 does not seem to be running inside a container 09:03:24 $ 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 09:03:27 $ docker top a7f374d8d30f008832ddfafa95480e213f78d5491e0c513bbf16b7c0f05c744d -eo pid,comm 09:03:27 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). 09:03:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:03:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:03:27 [ssh-agent] Looking for ssh-agent implementation... 09:03:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:03:28 $ docker exec a7f374d8d30f008832ddfafa95480e213f78d5491e0c513bbf16b7c0f05c744d ssh-agent 09:03:28 SSH_AUTH_SOCK=/tmp/ssh-Bf5Zlmck8Rrc/agent.32 09:03:28 SSH_AGENT_PID=38 09:03:28 Running ssh-add (command line suppressed) 09:03:28 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15206421020840627919.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15206421020840627919.key) 09:03:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:03:28 + git tag --points-at HEAD [Pipeline] } 09:03:28 $ docker exec --env ******** --env ******** a7f374d8d30f008832ddfafa95480e213f78d5491e0c513bbf16b7c0f05c744d ssh-agent -k 09:03:28 unset SSH_AUTH_SOCK; 09:03:28 unset SSH_AGENT_PID; 09:03:28 echo Agent pid 38 killed; 09:03:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:03:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:03:28 [ssh-agent] Looking for ssh-agent implementation... 09:03:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:03:28 $ docker exec a7f374d8d30f008832ddfafa95480e213f78d5491e0c513bbf16b7c0f05c744d ssh-agent 09:03:28 SSH_AUTH_SOCK=/tmp/ssh-CFH9q4NYDMuv/agent.71 09:03:28 SSH_AGENT_PID=78 09:03:28 Running ssh-add (command line suppressed) 09:03:29 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15178788531056709130.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15178788531056709130.key) 09:03:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:03:29 + git semver init 09:03:29 2024-10-25 09:03:29,569 [run_init] DEBUG init version:0.0.0 force:False 09:03:29 2024-10-25 09:03:29,570 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 09:03:29 2024-10-25 09:03:29,571 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 09:03:29 2024-10-25 09:03:29,571 [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) 09:03:31 2024-10-25 09:03:31,463 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 09:03:31 2024-10-25 09:03:31,464 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 09:03:31 2024-10-25 09:03:31,464 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:03:31 2024-10-25 09:03:31,464 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:03:31 4.0.0-dev.1 [Pipeline] } 09:03:31 $ docker exec --env ******** --env ******** a7f374d8d30f008832ddfafa95480e213f78d5491e0c513bbf16b7c0f05c744d ssh-agent -k 09:03:31 unset SSH_AUTH_SOCK; 09:03:31 unset SSH_AGENT_PID; 09:03:31 echo Agent pid 78 killed; 09:03:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:03:31 + git semver [Pipeline] } 09:03:32 $ docker stop --time=1 a7f374d8d30f008832ddfafa95480e213f78d5491e0c513bbf16b7c0f05c744d 09:03:33 $ docker rm -f --volumes a7f374d8d30f008832ddfafa95480e213f78d5491e0c513bbf16b7c0f05c744d [Pipeline] // withDockerContainer [Pipeline] sh 09:03:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:03:34 Stashed 1 file(s) [Pipeline] echo 09:03:34 [edgeXSemver]: initialized semver on version 4.0.0-dev.1 [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 09:03:34 provisioning config files... 09:03:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15338786027989739935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:03:34 ---> ****-login.sh 09:03:34 nexus3.edgexfoundry.org:10001 09:03:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:03:34 Configure a credential helper to remove this warning. See 09:03:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:03:34 09:03:34 Login Succeeded 09:03:34 nexus3.edgexfoundry.org:10002 09:03:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:03:34 Configure a credential helper to remove this warning. See 09:03:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:03:34 09:03:34 Login Succeeded 09:03:34 nexus3.edgexfoundry.org:10003 09:03:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:03:34 Configure a credential helper to remove this warning. See 09:03:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:03:34 09:03:34 Login Succeeded 09:03:34 nexus3.edgexfoundry.org:10004 09:03:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:03:34 Configure a credential helper to remove this warning. See 09:03:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:03:34 09:03:34 Login Succeeded 09:03:34 ****.io 09:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:03:35 Configure a credential helper to remove this warning. See 09:03:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:03:35 09:03:35 Login Succeeded 09:03:35 ---> ****-login.sh ends [Pipeline] } 09:03:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:03:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:03:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:03:35 ========================================================= 09:03:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:03:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:35 + 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 . 09:03:35 Sending build context to Docker daemon 25.54MB 09:03:35 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 09:03:35 Step 2/10 : FROM ${BASE} AS builder 09:03:35 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:03:35 43c4264eed91: Pulling fs layer 09:03:35 4cc291be95ef: Pulling fs layer 09:03:35 2ac1f1163629: Pulling fs layer 09:03:35 5c3c966382ef: Pulling fs layer 09:03:35 4f4fb700ef54: Pulling fs layer 09:03:35 5d5c8e513c77: Pulling fs layer 09:03:35 9f66e0745190: Pulling fs layer 09:03:35 f49a43e4bbc0: Pulling fs layer 09:03:35 561ebcabdf7f: Pulling fs layer 09:03:35 5c3c966382ef: Waiting 09:03:35 4f4fb700ef54: Waiting 09:03:35 5d5c8e513c77: Waiting 09:03:35 9f66e0745190: Waiting 09:03:35 f49a43e4bbc0: Waiting 09:03:35 561ebcabdf7f: Waiting 09:03:35 4cc291be95ef: Verifying Checksum 09:03:35 4cc291be95ef: Download complete 09:03:35 5c3c966382ef: Verifying Checksum 09:03:35 5c3c966382ef: Download complete 09:03:35 4f4fb700ef54: Verifying Checksum 09:03:35 4f4fb700ef54: Download complete 09:03:35 5d5c8e513c77: Verifying Checksum 09:03:35 5d5c8e513c77: Download complete 09:03:35 9f66e0745190: Verifying Checksum 09:03:35 9f66e0745190: Download complete 09:03:36 43c4264eed91: Pull complete 09:03:36 4cc291be95ef: Pull complete 09:03:36 561ebcabdf7f: Verifying Checksum 09:03:36 561ebcabdf7f: Download complete 09:03:36 2ac1f1163629: Download complete 09:03:36 f49a43e4bbc0: Verifying Checksum 09:03:36 f49a43e4bbc0: Download complete 09:03:40 2ac1f1163629: Pull complete 09:03:40 5c3c966382ef: Pull complete 09:03:40 4f4fb700ef54: Pull complete 09:03:40 5d5c8e513c77: Pull complete 09:03:40 9f66e0745190: Pull complete 09:03:42 f49a43e4bbc0: Pull complete 09:03:43 561ebcabdf7f: Pull complete 09:03:43 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 09:03:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:03:43 ---> 3a752c3f9dda 09:03:43 Step 3/10 : ARG MAKE=make build 09:03:48 ---> Running in df72228e522e 09:03:48 Removing intermediate container df72228e522e 09:03:48 ---> cf2341f38501 09:03:48 Step 4/10 : WORKDIR /device-sdk-go 09:03:48 ---> Running in af2b81a4d4b6 09:03:48 Removing intermediate container af2b81a4d4b6 09:03:48 ---> 57b0c34bc7c9 09:03:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:03:48 ---> Running in 095f57fbb3b1 09:03:48 Removing intermediate container 095f57fbb3b1 09:03:48 ---> a510a6a4390e 09:03:48 Step 6/10 : RUN apk add --update --no-cache make git 09:03:48 ---> Running in d2cfe388608c 09:03:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:03:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:03:48 OK: 246 MiB in 54 packages 09:03:49 Removing intermediate container d2cfe388608c 09:03:49 ---> 191831c7ba5b 09:03:49 Step 7/10 : COPY go.mod vendor* ./ 09:03:49 ---> dda88f1b0945 09:03:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:03:49 ---> Running in 713c8dcb87b8 09:03:49 Still waiting to schedule task 09:03:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:04:35 Removing intermediate container 713c8dcb87b8 09:04:35 ---> bcca214148f8 09:04:35 Step 9/10 : COPY . . 09:04:35 ---> e41f343d9438 09:04:35 Step 10/10 : RUN ${MAKE} 09:04:35 ---> Running in 456b224eb666 09:04:35 noop 09:04:35 Removing intermediate container 456b224eb666 09:04:35 ---> a9d17c804632 09:04:35 Successfully built a9d17c804632 09:04:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:36 + docker inspect -f . ci-base-image-x86_64 09:04:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:36 prd-ubuntu20.04-docker-8c-8g-23748 does not seem to be running inside a container 09:04:36 $ 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 09:04:36 $ docker top 4b3ce187264c027e80b634f66417f6b17d42a40520d688f75a0ba8a7f69651e0 -eo pid,comm [Pipeline] { [Pipeline] sh 09:04:37 + go version 09:04:37 go version go1.23.2 linux/amd64 [Pipeline] } 09:04:37 $ docker stop --time=1 4b3ce187264c027e80b634f66417f6b17d42a40520d688f75a0ba8a7f69651e0 09:04:38 $ docker rm -f --volumes 4b3ce187264c027e80b634f66417f6b17d42a40520d688f75a0ba8a7f69651e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:38 + docker inspect -f . ci-base-image-x86_64 09:04:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:38 prd-ubuntu20.04-docker-8c-8g-23748 does not seem to be running inside a container 09:04:38 $ 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 09:04:39 $ docker top 28a731426a125af17743906a51b796a620229a18b58ab8fe2d04143cd910576c -eo pid,comm [Pipeline] { [Pipeline] sh 09:04:39 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 09:04:39 + make test 09:04:39 go test -race -coverprofile=coverage.out ./... 09:04:48 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 09:05:14 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 09:05:14 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 09:05:14 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 09:05:14 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 09:05:14 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 09:05:14 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 09:05:14 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 09:05:14 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.034s coverage: 26.0% of statements 09:05:14 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.034s coverage: 79.4% of statements 09:05:14 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.052s coverage: 86.0% of statements 09:05:15 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 09:05:15 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 09:05:15 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 09:05:15 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 09:05:15 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.087s coverage: 45.2% of statements 09:05:16 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 09:05:19 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.045s coverage: 14.1% of statements 09:05:19 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 2.956s coverage: 44.6% of statements 09:05:19 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.051s coverage: 68.4% of statements 09:05:19 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.092s coverage: 88.3% of statements 09:05:19 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.054s coverage: 5.3% of statements 09:05:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23751 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 09:05:23 Running in /w/workspace/device-sdk-go/324 [Pipeline] { [Pipeline] checkout 09:05:26 The recommended git tool is: git 09:05:31 using credential edgex-jenkins-ssh 09:05:31 Cloning the remote Git repository 09:05:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:05:31 > git init /w/workspace/device-sdk-go/324 # timeout=10 09:05:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:05:31 > git --version # timeout=10 09:05:31 > git --version # 'git version 2.25.1' 09:05:31 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:05:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:05:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:05:35 Avoid second fetch 09:05:35 Checking out Revision 5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 (main) 09:05:36 Commit message: "Merge pull request #1642 from weichou1229/v4-module" 09:05:36 > git config core.sparsecheckout # timeout=10 09:05:36 > git checkout -f 5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:05:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:05:41 % Total % Received % Xferd Average Speed Time Time Time Current 09:05:41 Dload Upload Total Spent Left Speed 09:05:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 09:05:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:05:42 + sudo tee /etc/docker/daemon.new 09:05:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:05:42 { 09:05:42 "registry-mirrors": [ 09:05:42 "https://nexus3.edgexfoundry.org:10001" 09:05:42 ], 09:05:42 "bip": "10.250.0.254/24", 09:05:42 "hosts": [ 09:05:42 "tcp://0.0.0.0:5555", 09:05:42 "unix:///var/run/docker.sock" 09:05:42 ], 09:05:42 "mtu": 1458, 09:05:42 "selinux-enabled": true, 09:05:42 "seccomp-profile": "/etc/docker/seccomp.json" 09:05:42 } [Pipeline] sh 09:05:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:05:42 + sudo service docker restart 09:05:58 GO111MODULE=on go vet ./... 09:05:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:05:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:05:59 ./bin/test-attribution-txt.sh [Pipeline] echo 09:05:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:05:59 $ docker stop --time=1 28a731426a125af17743906a51b796a620229a18b58ab8fe2d04143cd910576c 09:06:04 $ docker rm -f --volumes 28a731426a125af17743906a51b796a620229a18b58ab8fe2d04143cd910576c [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:06:05 provisioning config files... 09:06:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/324@tmp/config13264972424169917248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:06:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:06:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 09:06:05 ---> ****-login.sh 09:06:05 nexus3.edgexfoundry.org:10001 [Pipeline] sh 09:06:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:06:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:06:06 Configure a credential helper to remove this warning. See 09:06:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:06:06 09:06:06 Login Succeeded 09:06:06 nexus3.edgexfoundry.org:10002 09:06:06 + ls -al . 09:06:06 total 716 09:06:06 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 09:04 . 09:06:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 09:03 .. 09:06:06 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 09:03 .dockerignore 09:06:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 09:05 .git 09:06:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 09:03 .github 09:06:06 -rw-rw-r-- 1 jenkins jenkins 137 Oct 25 09:03 .gitignore 09:06:06 -rw-rw-r-- 1 jenkins jenkins 199 Oct 25 09:03 .golangci.yml 09:06:06 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 09:03 .semver 09:06:06 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 25 09:03 CHANGELOG.md 09:06:06 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 09:03 GOVERNANCE.md 09:06:06 -rw-rw-r-- 1 jenkins jenkins 882 Oct 25 09:03 Jenkinsfile 09:06:06 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 25 09:03 LICENSE 09:06:06 -rw-rw-r-- 1 jenkins jenkins 2379 Oct 25 09:03 Makefile 09:06:06 -rw-rw-r-- 1 jenkins jenkins 619 Oct 25 09:03 OWNERS.md 09:06:06 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 25 09:03 README.md 09:06:06 -rw-rw-r-- 1 jenkins jenkins 11 Oct 25 09:03 VERSION 09:06:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 09:03 bin 09:06:06 -rw-r--r-- 1 jenkins jenkins 467900 Oct 25 09:05 coverage.out 09:06:06 drwxrwxr-x 5 jenkins jenkins 4096 Oct 25 09:03 example 09:06:06 -rw-rw-r-- 1 jenkins jenkins 6950 Oct 25 09:03 go.mod 09:06:06 -rw-rw-r-- 1 jenkins jenkins 99951 Oct 25 09:03 go.sum 09:06:06 drwxrwxr-x 13 jenkins jenkins 4096 Oct 25 09:03 internal 09:06:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 09:03 openapi 09:06:06 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 09:03 pkg 09:06:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 09:03 snap 09:06:06 -rw-rw-r-- 1 jenkins jenkins 222 Oct 25 09:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:06:06 Configure a credential helper to remove this warning. See 09:06:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:06:06 09:06:06 Login Succeeded 09:06:06 nexus3.edgexfoundry.org:10003 09:06:06 + 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=5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 --label arch=amd64 --label version=4.0.0-dev.1 . 09:06:06 Sending build context to Docker daemon 26.01MB 09:06:06 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 09:06:06 Step 2/24 : FROM ${BASE} AS builder 09:06:06 ---> a9d17c804632 09:06:06 Step 3/24 : ARG MAKE=make build 09:06:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:06:07 Configure a credential helper to remove this warning. See 09:06:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:06:07 09:06:07 Login Succeeded 09:06:07 nexus3.edgexfoundry.org:10004 09:06:07 ---> Running in 04c78249fd60 09:06:07 Removing intermediate container 04c78249fd60 09:06:07 ---> 043180dbda38 09:06:07 Step 4/24 : WORKDIR /device-sdk-go 09:06:07 ---> Running in 57040b5e3e1b 09:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:06:07 Configure a credential helper to remove this warning. See 09:06:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:06:07 09:06:07 Login Succeeded 09:06:07 ****.io 09:06:07 Removing intermediate container 57040b5e3e1b 09:06:07 ---> 659af1c0a80a 09:06:07 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:06:07 ---> Running in c49eb05d74f0 09:06:07 Removing intermediate container c49eb05d74f0 09:06:07 ---> 6696eccc4868 09:06:07 Step 6/24 : RUN apk add --update --no-cache make git 09:06:07 ---> Running in a46e22a0cfe5 09:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:06:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:06:07 Configure a credential helper to remove this warning. See 09:06:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:06:07 09:06:07 Login Succeeded 09:06:07 ---> ****-login.sh ends [Pipeline] } 09:06:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 09:06:08 OK: 246 MiB in 54 packages [Pipeline] echo 09:06:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:06:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:06:08 ========================================================= 09:06:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 09:06:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:08 + 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 . 09:06:08 Removing intermediate container a46e22a0cfe5 09:06:08 ---> 0fe2ba8fc5c8 09:06:08 Step 7/24 : COPY go.mod vendor* ./ 09:06:08 ---> 9c238c231a30 09:06:08 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:06:08 ---> Running in e9f07a7ede80 09:06:09 Sending build context to Docker daemon 13.23MB 09:06:09 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 09:06:09 Step 2/10 : FROM ${BASE} AS builder 09:06:09 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:06:09 cf04c63912e1: Pulling fs layer 09:06:09 55b35a11ae5e: Pulling fs layer 09:06:09 a37a00ec5f00: Pulling fs layer 09:06:09 50b3750afda1: Pulling fs layer 09:06:09 4f4fb700ef54: Pulling fs layer 09:06:09 80978eb59214: Pulling fs layer 09:06:09 c9f46d7d2bd2: Pulling fs layer 09:06:09 c5a475d317c9: Pulling fs layer 09:06:09 50b3750afda1: Waiting 09:06:09 4f4fb700ef54: Waiting 09:06:09 80978eb59214: Waiting 09:06:09 c9f46d7d2bd2: Waiting 09:06:09 c5a475d317c9: Waiting 09:06:09 Removing intermediate container e9f07a7ede80 09:06:09 ---> 7a6bdfdeebfa 09:06:09 Step 9/24 : COPY . . 09:06:09 55b35a11ae5e: Verifying Checksum 09:06:09 55b35a11ae5e: Download complete 09:06:09 50b3750afda1: Download complete 09:06:09 4f4fb700ef54: Verifying Checksum 09:06:09 4f4fb700ef54: Download complete 09:06:09 80978eb59214: Verifying Checksum 09:06:09 80978eb59214: Download complete 09:06:09 cf04c63912e1: Verifying Checksum 09:06:09 cf04c63912e1: Download complete 09:06:09 c5a475d317c9: Verifying Checksum 09:06:09 c5a475d317c9: Download complete 09:06:10 cf04c63912e1: Pull complete 09:06:10 ---> 0d161cccefb2 09:06:10 Step 10/24 : RUN ${MAKE} 09:06:10 ---> Running in f95d5470a722 09:06:10 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=4.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:06:10 55b35a11ae5e: Pull complete 09:06:11 a37a00ec5f00: Verifying Checksum 09:06:11 a37a00ec5f00: Download complete 09:06:12 c9f46d7d2bd2: Verifying Checksum 09:06:12 c9f46d7d2bd2: Download complete 09:06:27 a37a00ec5f00: Pull complete 09:06:27 50b3750afda1: Pull complete 09:06:27 4f4fb700ef54: Pull complete 09:06:27 80978eb59214: Pull complete 09:06:33 c9f46d7d2bd2: Pull complete 09:06:35 c5a475d317c9: Pull complete 09:06:35 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 09:06:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 09:06:35 ---> be29e6b0f0d4 09:06:35 Step 3/10 : ARG MAKE=make build 09:06:37 ---> Running in b745c2e56ef9 09:06:37 Removing intermediate container b745c2e56ef9 09:06:37 ---> b6b3e8d85cb9 09:06:37 Step 4/10 : WORKDIR /device-sdk-go 09:06:37 ---> Running in 0dc7cd5e1b1a 09:06:37 Removing intermediate container 0dc7cd5e1b1a 09:06:37 ---> 6dbff576637c 09:06:37 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:06:37 ---> Running in 1c3a62a48c90 09:06:38 Removing intermediate container 1c3a62a48c90 09:06:38 ---> d4c7ae5e0a46 09:06:38 Step 6/10 : RUN apk add --update --no-cache make git 09:06:38 ---> Running in f939ac690f77 09:06:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:06:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:06:41 OK: 238 MiB in 54 packages 09:06:42 Removing intermediate container f939ac690f77 09:06:42 ---> 6f576427deda 09:06:42 Step 7/10 : COPY go.mod vendor* ./ 09:06:42 ---> 6d33097b4d70 09:06:42 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:06:42 ---> Running in 103937f572c1 09:06:49 Removing intermediate container f95d5470a722 09:06:49 ---> 5d42aa47369a 09:06:49 Step 11/24 : FROM alpine:3.20 09:06:49 3.20: Pulling from library/alpine 09:06:49 43c4264eed91: Already exists 09:06:49 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:06:49 Status: Downloaded newer image for alpine:3.20 09:06:49 ---> 91ef0af61f39 09:06:49 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:06:49 ---> Running in 0abb6d8108fd 09:06:49 Removing intermediate container 0abb6d8108fd 09:06:49 ---> c8b47142ff68 09:06:49 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:06:49 ---> Running in 4bdbe12f9902 09:06:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:06:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:06:50 (1/1) Installing dumb-init (1.2.5-r3) 09:06:50 Executing busybox-1.36.1-r29.trigger 09:06:50 OK: 8 MiB in 15 packages 09:06:50 Removing intermediate container 4bdbe12f9902 09:06:50 ---> f7ca3f95483f 09:06:50 Step 14/24 : RUN apk --no-cache upgrade 09:06:50 ---> Running in 062916f63577 09:06:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:06:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:06:51 Upgrading critical system libraries and apk-tools: 09:06:51 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:06:51 Executing busybox-1.36.1-r29.trigger 09:06:51 Continuing the upgrade transaction with new apk-tools: 09:06:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:06:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:06:51 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:06:51 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:06:51 OK: 8 MiB in 15 packages 09:06:52 Removing intermediate container 062916f63577 09:06:52 ---> 53441fde7576 09:06:52 Step 15/24 : WORKDIR / 09:06:52 ---> Running in 22facdc685cd 09:06:52 Removing intermediate container 22facdc685cd 09:06:52 ---> 70a56221bf59 09:06:52 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:06:52 ---> 14bacdbe53b4 09:06:52 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:06:54 ---> 262b53b02863 09:06:54 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:06:54 ---> 7bcae644090a 09:06:54 Step 19/24 : EXPOSE 59999 09:06:54 ---> Running in cf3e5e4b9543 09:06:54 Removing intermediate container cf3e5e4b9543 09:06:54 ---> 405c9f60d83d 09:06:54 Step 20/24 : ENTRYPOINT ["/device-simple"] 09:06:54 ---> Running in d0dce292ac84 09:06:54 Removing intermediate container d0dce292ac84 09:06:54 ---> 98ad2015581a 09:06:54 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:06:54 ---> Running in 66282230d6b4 09:06:54 Removing intermediate container 66282230d6b4 09:06:54 ---> b44fef661728 09:06:54 Step 22/24 : LABEL arch=amd64 09:06:54 ---> Running in fa725e636576 09:06:54 Removing intermediate container fa725e636576 09:06:54 ---> 9b147bc2750d 09:06:54 Step 23/24 : LABEL git_sha=5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 09:06:54 ---> Running in a66a72f65ec1 09:06:54 Removing intermediate container a66a72f65ec1 09:06:54 ---> fcb2e683c9f2 09:06:54 Step 24/24 : LABEL version=4.0.0-dev.1 09:06:54 ---> Running in 5ae5871355e0 09:06:54 Removing intermediate container 5ae5871355e0 09:06:54 ---> a1829b5e0636 09:06:54 [Warning] One or more build-args [ARCH] were not consumed 09:06:54 Successfully built a1829b5e0636 09:06:54 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 09:06:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:06:55 09:06:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:06:55 latest: Pulling from edgex-lftools-log-publisher 09:06:55 5eb5b503b376: Pulling fs layer 09:06:55 5c69ac0246d0: Pulling fs layer 09:06:55 ec43610c2a17: Pulling fs layer 09:06:55 3a2ae6a8a46f: Pulling fs layer 09:06:55 33b1e0a273af: Pulling fs layer 09:06:55 5d3b04190fa2: Pulling fs layer 09:06:55 2f39f015ded8: Pulling fs layer 09:06:55 5d3b04190fa2: Waiting 09:06:55 33b1e0a273af: Waiting 09:06:55 3a2ae6a8a46f: Waiting 09:06:55 2f39f015ded8: Waiting 09:06:55 5c69ac0246d0: Download complete 09:06:55 3a2ae6a8a46f: Verifying Checksum 09:06:55 3a2ae6a8a46f: Download complete 09:06:55 33b1e0a273af: Verifying Checksum 09:06:55 33b1e0a273af: Download complete 09:06:55 5d3b04190fa2: Verifying Checksum 09:06:55 5d3b04190fa2: Download complete 09:06:55 ec43610c2a17: Verifying Checksum 09:06:55 ec43610c2a17: Download complete 09:06:55 5eb5b503b376: Verifying Checksum 09:06:55 5eb5b503b376: Download complete 09:06:56 2f39f015ded8: Download complete 09:06:56 5eb5b503b376: Pull complete 09:06:57 5c69ac0246d0: Pull complete 09:06:57 ec43610c2a17: Pull complete 09:06:57 3a2ae6a8a46f: Pull complete 09:06:57 33b1e0a273af: Pull complete 09:06:57 5d3b04190fa2: Pull complete 09:07:02 2f39f015ded8: Pull complete 09:07:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:07:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:07:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:07:02 prd-ubuntu20.04-docker-8c-8g-23748 does not seem to be running inside a container 09:07:02 $ 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 09:07:10 $ docker top 2f1bcd0cd9a92ce373c8655c3a161eaf61c95cc6d757b6aea3c56a988b9a865f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:07:10 ---> job-cost.sh 09:07:10 lf-activate-venv: SKIPPING 09:07:10 INFO: No Stack... 09:07:11 INFO: Retrieving Pricing Info for: v3-standard-8 09:07:11 INFO: Archiving Costs [Pipeline] sh 09:07:11 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 09:07:11 + cut -d, -f6 [Pipeline] lock 09:07:11 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-324-stack-cost] 09:07:11 Resource [jenkins-edgexfoundry-device-sdk-go-main-324-stack-cost] did not exist. Created. 09:07:11 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-324-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:07:11 + echo total: 0.2199999988079071 [Pipeline] stash 09:07:11 Stashed 1 file(s) [Pipeline] } 09:07:11 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-324-stack-cost] [Pipeline] // lock [Pipeline] } 09:07:12 $ docker stop --time=1 2f1bcd0cd9a92ce373c8655c3a161eaf61c95cc6d757b6aea3c56a988b9a865f 09:07:13 $ docker rm -f --volumes 2f1bcd0cd9a92ce373c8655c3a161eaf61c95cc6d757b6aea3c56a988b9a865f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:08:34 Removing intermediate container 103937f572c1 09:08:34 ---> 0657b4091bc0 09:08:34 Step 9/10 : COPY . . 09:08:34 ---> 6c443d3029b1 09:08:34 Step 10/10 : RUN ${MAKE} 09:08:34 ---> Running in c8535e49ea25 09:08:34 noop 09:08:34 Removing intermediate container c8535e49ea25 09:08:34 ---> 4f6798102ffb 09:08:34 Successfully built 4f6798102ffb 09:08:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:34 + docker inspect -f . ci-base-image-arm64 09:08:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:34 prd-ubuntu20.04-docker-arm64-4c-16g-23751 does not seem to be running inside a container 09:08:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/324 -v /w/workspace/device-sdk-go/324:/w/workspace/device-sdk-go/324:rw,z -v /w/workspace/device-sdk-go/324@tmp:/w/workspace/device-sdk-go/324@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 09:08:35 $ docker top d322357961b5210aa063d08b8b93d1e4ae006b244898254c48ddbe83117cc328 -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:36 + go version 09:08:37 go version go1.23.2 linux/arm64 [Pipeline] } 09:08:37 $ docker stop --time=1 d322357961b5210aa063d08b8b93d1e4ae006b244898254c48ddbe83117cc328 09:08:39 $ docker rm -f --volumes d322357961b5210aa063d08b8b93d1e4ae006b244898254c48ddbe83117cc328 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:39 + docker inspect -f . ci-base-image-arm64 09:08:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:40 prd-ubuntu20.04-docker-arm64-4c-16g-23751 does not seem to be running inside a container 09:08:40 $ 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/324 -v /w/workspace/device-sdk-go/324:/w/workspace/device-sdk-go/324:rw,z -v /w/workspace/device-sdk-go/324@tmp:/w/workspace/device-sdk-go/324@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 09:08:41 $ docker top 439625d55e80d3c0cf4598978a367e7633b2db3626edfd561e60dcfc161ced12 -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:42 + git config --global --add safe.directory /w/workspace/device-sdk-go/324 [Pipeline] fileExists [Pipeline] sh 09:08:42 + make test 09:08:42 go test -race -coverprofile=coverage.out ./... 09:09:29 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 09:12:51 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 09:12:51 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 09:12:51 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 09:12:51 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 09:12:51 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 09:12:53 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.163s coverage: 26.0% of statements 09:12:57 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.174s coverage: 79.4% of statements 09:13:07 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 09:13:07 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 09:13:07 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.270s coverage: 86.0% of statements 09:13:17 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 09:13:18 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.575s coverage: 45.2% of statements 09:13:22 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.241s coverage: 14.1% of statements 09:13:22 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.784s coverage: 44.6% of statements 09:13:24 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 09:13:24 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 09:13:24 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 09:13:26 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.400s coverage: 68.4% of statements 09:13:31 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.346s coverage: 88.3% of statements 09:13:35 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 09:13:36 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.282s coverage: 5.3% of statements 09:13:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:13:38 GO111MODULE=on go vet ./... 09:17:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:17:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:17:30 ./bin/test-attribution-txt.sh [Pipeline] echo 09:17:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:17:30 $ docker stop --time=1 439625d55e80d3c0cf4598978a367e7633b2db3626edfd561e60dcfc161ced12 09:17:32 $ docker rm -f --volumes 439625d55e80d3c0cf4598978a367e7633b2db3626edfd561e60dcfc161ced12 [Pipeline] // withDockerContainer [Pipeline] sh 09:17:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:17:34 Warning: overwriting stash ‘coverage-report’ 09:17:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:17:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:17:35 + ls -al . 09:17:35 total 712 09:17:35 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 09:08 . 09:17:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 09:05 .. 09:17:35 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 09:05 .dockerignore 09:17:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 09:05 .git 09:17:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 09:05 .github 09:17:35 -rw-rw-r-- 1 jenkins jenkins 137 Oct 25 09:05 .gitignore 09:17:35 -rw-rw-r-- 1 jenkins jenkins 199 Oct 25 09:05 .golangci.yml 09:17:35 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 25 09:05 CHANGELOG.md 09:17:35 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 09:05 GOVERNANCE.md 09:17:35 -rw-rw-r-- 1 jenkins jenkins 882 Oct 25 09:05 Jenkinsfile 09:17:35 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 25 09:05 LICENSE 09:17:35 -rw-rw-r-- 1 jenkins jenkins 2379 Oct 25 09:05 Makefile 09:17:35 -rw-rw-r-- 1 jenkins jenkins 619 Oct 25 09:05 OWNERS.md 09:17:35 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 25 09:05 README.md 09:17:35 -rw-rw-r-- 1 jenkins jenkins 11 Oct 25 09:03 VERSION 09:17:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 09:05 bin 09:17:35 -rw-r--r-- 1 jenkins jenkins 467900 Oct 25 09:13 coverage.out 09:17:35 drwxrwxr-x 5 jenkins jenkins 4096 Oct 25 09:05 example 09:17:35 -rw-rw-r-- 1 jenkins jenkins 6950 Oct 25 09:05 go.mod 09:17:35 -rw-rw-r-- 1 jenkins jenkins 99951 Oct 25 09:05 go.sum 09:17:35 drwxrwxr-x 13 jenkins jenkins 4096 Oct 25 09:05 internal 09:17:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 09:05 openapi 09:17:35 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 09:05 pkg 09:17:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 09:05 snap 09:17:35 -rw-rw-r-- 1 jenkins jenkins 222 Oct 25 09:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:36 + 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=5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 --label arch=arm64 --label version=4.0.0-dev.1 . 09:17:36 Sending build context to Docker daemon 13.7MB 09:17:36 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 09:17:36 Step 2/24 : FROM ${BASE} AS builder 09:17:36 ---> 4f6798102ffb 09:17:36 Step 3/24 : ARG MAKE=make build 09:17:37 ---> Running in 2e51ee0a23aa 09:17:37 Removing intermediate container 2e51ee0a23aa 09:17:37 ---> 1af108e18cf6 09:17:37 Step 4/24 : WORKDIR /device-sdk-go 09:17:37 ---> Running in ebb8865c3c4c 09:17:37 Removing intermediate container ebb8865c3c4c 09:17:37 ---> 3de5cab370e8 09:17:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:17:37 ---> Running in 8c65c5d8e791 09:17:37 Removing intermediate container 8c65c5d8e791 09:17:37 ---> 880e3c8c6fdf 09:17:37 Step 6/24 : RUN apk add --update --no-cache make git 09:17:38 ---> Running in c3d7943dbfa4 09:17:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:17:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:17:43 OK: 238 MiB in 54 packages 09:17:43 Removing intermediate container c3d7943dbfa4 09:17:43 ---> 1cfcb2d7bdd1 09:17:43 Step 7/24 : COPY go.mod vendor* ./ 09:17:44 ---> 59a39685c78a 09:17:44 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:17:44 ---> Running in be9f3812c973 09:17:47 Removing intermediate container be9f3812c973 09:17:47 ---> 1b9a59a09b3a 09:17:47 Step 9/24 : COPY . . 09:17:48 ---> f697e76818ec 09:17:48 Step 10/24 : RUN ${MAKE} 09:17:48 ---> Running in 47421edff817 09:17:49 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=4.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:21:11 Removing intermediate container 47421edff817 09:21:11 ---> cb5ad52a2f52 09:21:11 Step 11/24 : FROM alpine:3.20 09:21:11 3.20: Pulling from library/alpine 09:21:11 cf04c63912e1: Already exists 09:21:11 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:21:11 Status: Downloaded newer image for alpine:3.20 09:21:11 ---> c157a85ed455 09:21:11 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:21:11 ---> Running in 080e66c10999 09:21:11 Removing intermediate container 080e66c10999 09:21:11 ---> 4e303027becb 09:21:11 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:21:11 ---> Running in 1abf08474da2 09:21:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:21:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:21:14 (1/1) Installing dumb-init (1.2.5-r3) 09:21:14 Executing busybox-1.36.1-r29.trigger 09:21:14 OK: 9 MiB in 15 packages 09:21:15 Removing intermediate container 1abf08474da2 09:21:15 ---> 9696152f6443 09:21:15 Step 14/24 : RUN apk --no-cache upgrade 09:21:15 ---> Running in acb747223b48 09:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:21:17 Upgrading critical system libraries and apk-tools: 09:21:17 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:21:17 Executing busybox-1.36.1-r29.trigger 09:21:18 Continuing the upgrade transaction with new apk-tools: 09:21:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:21:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:21:19 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:21:19 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:21:19 OK: 9 MiB in 15 packages 09:21:20 Removing intermediate container acb747223b48 09:21:20 ---> 913402318682 09:21:20 Step 15/24 : WORKDIR / 09:21:20 ---> Running in 1fcad0ad0f04 09:21:21 Removing intermediate container 1fcad0ad0f04 09:21:21 ---> 6ed8917ca5ee 09:21:21 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:21:21 ---> 7eb26a6fedbc 09:21:21 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:21:23 ---> 9da5f1d6252c 09:21:23 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:21:24 ---> 5bc1bf08e9f7 09:21:24 Step 19/24 : EXPOSE 59999 09:21:24 ---> Running in adae52dcca74 09:21:24 Removing intermediate container adae52dcca74 09:21:24 ---> 428c761ada4e 09:21:24 Step 20/24 : ENTRYPOINT ["/device-simple"] 09:21:24 ---> Running in 6ab0bb42d8e7 09:21:24 Removing intermediate container 6ab0bb42d8e7 09:21:24 ---> 8733d598fe42 09:21:24 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:21:24 ---> Running in a7925f43d7ec 09:21:24 Removing intermediate container a7925f43d7ec 09:21:24 ---> 7d6dec45b0ba 09:21:24 Step 22/24 : LABEL arch=arm64 09:21:24 ---> Running in 06bee3f5439f 09:21:25 Removing intermediate container 06bee3f5439f 09:21:25 ---> 3cb4f8cca00d 09:21:25 Step 23/24 : LABEL git_sha=5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 09:21:25 ---> Running in 008a3ad8fe5e 09:21:25 Removing intermediate container 008a3ad8fe5e 09:21:25 ---> 435d4a777dd2 09:21:25 Step 24/24 : LABEL version=4.0.0-dev.1 09:21:25 ---> Running in 485220fe5116 09:21:26 Removing intermediate container 485220fe5116 09:21:26 ---> b3c02bae58d6 09:21:26 [Warning] One or more build-args [ARCH] were not consumed 09:21:26 Successfully built b3c02bae58d6 09:21:26 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:21:26 09:21:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:21:26 arm64: Pulling from edgex-lftools-log-publisher 09:21:26 8998bd30e6a1: Pulling fs layer 09:21:26 04944245beec: Pulling fs layer 09:21:26 699f458cf7ca: Pulling fs layer 09:21:26 765212b225bb: Pulling fs layer 09:21:26 f23df028b6ca: Pulling fs layer 09:21:26 d65c8cfc05b1: Pulling fs layer 09:21:26 2437ff75d9bd: Pulling fs layer 09:21:26 765212b225bb: Waiting 09:21:26 f23df028b6ca: Waiting 09:21:26 d65c8cfc05b1: Waiting 09:21:26 2437ff75d9bd: Waiting 09:21:27 04944245beec: Verifying Checksum 09:21:27 04944245beec: Download complete 09:21:27 765212b225bb: Verifying Checksum 09:21:27 765212b225bb: Download complete 09:21:27 f23df028b6ca: Verifying Checksum 09:21:27 f23df028b6ca: Download complete 09:21:27 d65c8cfc05b1: Verifying Checksum 09:21:27 d65c8cfc05b1: Download complete 09:21:27 699f458cf7ca: Verifying Checksum 09:21:27 699f458cf7ca: Download complete 09:21:27 8998bd30e6a1: Verifying Checksum 09:21:27 8998bd30e6a1: Download complete 09:21:30 2437ff75d9bd: Verifying Checksum 09:21:30 2437ff75d9bd: Download complete 09:21:32 8998bd30e6a1: Pull complete 09:21:32 04944245beec: Pull complete 09:21:34 699f458cf7ca: Pull complete 09:21:34 765212b225bb: Pull complete 09:21:34 f23df028b6ca: Pull complete 09:21:35 d65c8cfc05b1: Pull complete 09:21:53 2437ff75d9bd: Pull complete 09:21:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:21:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:21:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:21:53 prd-ubuntu20.04-docker-arm64-4c-16g-23751 does not seem to be running inside a container 09:21:53 $ 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/324 -v /w/workspace/device-sdk-go/324:/w/workspace/device-sdk-go/324:rw,z -v /w/workspace/device-sdk-go/324@tmp:/w/workspace/device-sdk-go/324@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 09:21:56 $ docker top aa11975ed83f032f3848ca23ae9e7501af8137f3b8dad573daedd6d97c69d106 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:56 ---> job-cost.sh 09:21:57 lf-activate-venv: SKIPPING 09:21:57 INFO: No Stack... 09:21:57 INFO: Retrieving Pricing Info for: v3-standard-4 09:21:58 INFO: Archiving Costs [Pipeline] sh 09:21:58 + cut -d, -f6 09:21:58 + cat /w/workspace/device-sdk-go/324/archives/cost.csv [Pipeline] lock 09:21:59 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-324-stack-cost] 09:21:59 Resource [jenkins-edgexfoundry-device-sdk-go-main-324-stack-cost] did not exist. Created. 09:21:59 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-324-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:21:59 /w/workspace/device-sdk-go/324@tmp/durable-e92a8c17/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:22:00 + echo total: 0.10999999940395355 [Pipeline] stash 09:22:00 Warning: overwriting stash ‘stack-cost’ 09:22:00 Stashed 1 file(s) [Pipeline] } 09:22:00 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-324-stack-cost] [Pipeline] // lock [Pipeline] } 09:22:00 $ docker stop --time=1 aa11975ed83f032f3848ca23ae9e7501af8137f3b8dad573daedd6d97c69d106 09:22:02 $ docker rm -f --volumes aa11975ed83f032f3848ca23ae9e7501af8137f3b8dad573daedd6d97c69d106 [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 09:22:02 provisioning config files... 09:22:02 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15581014463592765319tmp [Pipeline] { [Pipeline] sh 09:22:02 + set +x 09:22:02 + curl -s https://codecov.io/bash 09:22:02 + bash -s -- 09:22:02 09:22:02 _____ _ 09:22:02 / ____| | | 09:22:02 | | ___ __| | ___ ___ _____ __ 09:22:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:22:02 | |___| (_) | (_| | __/ (_| (_) \ V / 09:22:02 \_____\___/ \__,_|\___|\___\___/ \_/ 09:22:02 Bash-1.0.6 09:22:02 09:22:02 09:22:02 ==> git version 2.25.1 found 09:22:02 ==> 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 09:22:02 Release-Date: 2020-01-08 09:22:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:22:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:22:02 ==> Jenkins CI detected. 09:22:02 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 09:22:02 project root: . 09:22:02 --> token set from env 09:22:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:22:02 ==> Running gcov in . (disable via -X gcov) 09:22:02 ==> Python coveragepy not found 09:22:02 ==> Searching for coverage reports in: 09:22:02 + . 09:22:02 -> Found 1 reports 09:22:02 ==> Detecting git/mercurial file structure 09:22:02 ==> Reading reports 09:22:03 + ./coverage.out bytes=467900 09:22:03 ==> Appending adjustments 09:22:03 https://docs.codecov.io/docs/fixing-reports 09:22:03 + Found adjustments 09:22:03 ==> Gzipping contents 09:22:03 44K /tmp/codecov.HK5SVx.gz 09:22:03 ==> Uploading reports 09:22:03 url: https://codecov.io 09:22:03 query: branch=main&commit=5dc79f35a7c74344e8991c1acbe9dcbe544b48e9&build=324&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F324%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:22:03 -> Pinging Codecov 09:22:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=5dc79f35a7c74344e8991c1acbe9dcbe544b48e9&build=324&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F324%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:22:03 -> Uploading to 09:22:03 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/5dc79f35a7c74344e8991c1acbe9dcbe544b48e9/78ac2ce7-040d-4eeb-b938-56206183f033.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241025%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241025T092203Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=d713d40611da5e7f52dc29903e2d1c340a0493290b4d02804cde428812b3f507 09:22:03 % Total % Received % Xferd Average Speed Time Time Time Current 09:22:03 Dload Upload Total Spent Left Speed 09:22:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44725 0 0 100 44725 0 197k --:--:-- --:--:-- --:--:-- 196k 100 44725 0 0 100 44725 0 157k --:--:-- --:--:-- --:--:-- 156k 09:22:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 [Pipeline] } 09:22:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:22:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:22:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:22:04 09:22:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:22:04 latest: Pulling from edgex-devops/edgex-snyk-go 09:22:04 43c4264eed91: Already exists 09:22:04 4cc291be95ef: Already exists 09:22:04 2ac1f1163629: Already exists 09:22:04 5c3c966382ef: Already exists 09:22:04 4f4fb700ef54: Already exists 09:22:04 d9c7d2e4e75e: Pulling fs layer 09:22:04 9c3e1370e548: Pulling fs layer 09:22:05 d9c7d2e4e75e: Verifying Checksum 09:22:05 d9c7d2e4e75e: Download complete 09:22:05 d9c7d2e4e75e: Pull complete 09:22:05 9c3e1370e548: Verifying Checksum 09:22:05 9c3e1370e548: Download complete 09:22:09 9c3e1370e548: Pull complete 09:22:09 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 09:22:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:22:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:22:09 prd-ubuntu20.04-docker-8c-8g-23748 does not seem to be running inside a container 09:22:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 09:22:11 $ docker top 4e311e3856c26a6887b0c97fc5df052763b7029215247e0c85efa7750c91d4b1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:22:11 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 09:22:11 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 09:22:11 + set -o pipefail 09:22:11 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 09:22:18 09:22:18 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v4)... 09:22:18 09:22:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/d76cb644-e1b8-4697-b193-7298521e3f39 09:22:18 09:22:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:22:18 [Pipeline] } 09:22:19 $ docker stop --time=1 4e311e3856c26a6887b0c97fc5df052763b7029215247e0c85efa7750c91d4b1 09:22:24 $ docker rm -f --volumes 4e311e3856c26a6887b0c97fc5df052763b7029215247e0c85efa7750c91d4b1 [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 09:22:25 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:22:25 provisioning config files... 09:22:25 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15675324029081433345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:25 --> edgex-publish-swagger.sh 09:22:25 === Publish openapi API === 09:22:25 [publishToSwagger] Publishing the API Docs [openapi] to Swagger 09:22:25 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/device-sdk.yaml] 09:22:25 % Total % Received % Xferd Average Speed Time Time Time Current 09:22:25 Dload Upload Total Spent Left Speed 09:22:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 37518 0 0 100 37518 0 148k --:--:-- --:--:-- --:--:-- 147k 100 37674 100 156 100 37518 282 67967 --:--:-- --:--:-- --:--:-- 68126 09:22:26 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 09:22:26 [Pipeline] } 09:22:26 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 09:22:26 + git log --format=format:%s -1 5dc79f35a7c74344e8991c1acbe9dcbe544b48e9 [Pipeline] sh 09:22:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:22:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:22:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:22:27 prd-ubuntu20.04-docker-8c-8g-23748 does not seem to be running inside a container 09:22:27 $ 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 09:22:28 $ docker top 1ff0b39aebb90c043ce1aa472be165d45f0b9a7978d61c9245fe1fd435209af9 -eo pid,comm 09:22:28 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). 09:22:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:22:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:22:28 [ssh-agent] Looking for ssh-agent implementation... 09:22:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:22:28 $ docker exec 1ff0b39aebb90c043ce1aa472be165d45f0b9a7978d61c9245fe1fd435209af9 ssh-agent 09:22:28 SSH_AUTH_SOCK=/tmp/ssh-AXEwmQgwc308/agent.31 09:22:28 SSH_AGENT_PID=38 09:22:28 Running ssh-add (command line suppressed) 09:22:28 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2938119493906363554.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2938119493906363554.key) 09:22:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:22:28 + git semver tag 09:22:29 2024-10-25 09:22:28,942 [run_tag] DEBUG tag force:False 09:22:29 2024-10-25 09:22:28,942 [check_head_tag] DEBUG check head tag 09:22:29 2024-10-25 09:22:28,944 [execute] INFO git cat-file --batch-check 09:22:29 2024-10-25 09:22:28,945 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 09:22:29 2024-10-25 09:22:28,948 [execute] INFO git cat-file --batch 09:22:29 2024-10-25 09:22:28,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 09:22:29 2024-10-25 09:22:28,983 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:22:29 2024-10-25 09:22:28,983 [execute] INFO git tag -a v4.0.0-dev.1 -m v4.0.0-dev.1 09:22:29 2024-10-25 09:22:28,983 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.1', '-m', 'v4.0.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 09:22:29 2024-10-25 09:22:28,988 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:22:29 4.0.0-dev.1 [Pipeline] } 09:22:29 $ docker exec --env ******** --env ******** 1ff0b39aebb90c043ce1aa472be165d45f0b9a7978d61c9245fe1fd435209af9 ssh-agent -k 09:22:29 unset SSH_AUTH_SOCK; 09:22:29 unset SSH_AGENT_PID; 09:22:29 echo Agent pid 38 killed; 09:22:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:22:29 + git semver [Pipeline] } 09:22:29 $ docker stop --time=1 1ff0b39aebb90c043ce1aa472be165d45f0b9a7978d61c9245fe1fd435209af9 09:22:31 $ docker rm -f --volumes 1ff0b39aebb90c043ce1aa472be165d45f0b9a7978d61c9245fe1fd435209af9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:22:31 09:22:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:22:31 0.23.1-centos7: Pulling from edgex-lftools 09:22:31 ab5ef0e58194: Pulling fs layer 09:22:31 9712f1f96733: Pulling fs layer 09:22:31 63f879dbbcfc: Pulling fs layer 09:22:31 0d9ebad4ef96: Pulling fs layer 09:22:31 e9a5061849ea: Pulling fs layer 09:22:31 d747dcd14b5f: Pulling fs layer 09:22:31 2de7ff778b66: Pulling fs layer 09:22:31 e9a5061849ea: Waiting 09:22:31 d747dcd14b5f: Waiting 09:22:31 2de7ff778b66: Waiting 09:22:31 9712f1f96733: Verifying Checksum 09:22:31 9712f1f96733: Download complete 09:22:32 63f879dbbcfc: Verifying Checksum 09:22:32 63f879dbbcfc: Download complete 09:22:32 0d9ebad4ef96: Verifying Checksum 09:22:32 0d9ebad4ef96: Download complete 09:22:32 e9a5061849ea: Verifying Checksum 09:22:32 e9a5061849ea: Download complete 09:22:32 d747dcd14b5f: Download complete 09:22:32 ab5ef0e58194: Download complete 09:22:32 2de7ff778b66: Verifying Checksum 09:22:32 2de7ff778b66: Download complete 09:22:35 ab5ef0e58194: Pull complete 09:22:35 9712f1f96733: Pull complete 09:22:35 63f879dbbcfc: Pull complete 09:22:38 0d9ebad4ef96: Pull complete 09:22:39 e9a5061849ea: Pull complete 09:22:39 d747dcd14b5f: Pull complete 09:22:40 2de7ff778b66: Pull complete 09:22:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:22:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:22:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:22:40 prd-ubuntu20.04-docker-8c-8g-23748 does not seem to be running inside a container 09:22:40 $ 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 09:22:43 $ docker top 8576b27001080c11c891d800db1fffcd1b8bd2d6aed075434ed2eab25a5bd537 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:22:43 provisioning config files... 09:22:43 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10408447107101151936tmp 09:22:43 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3475756321415040382tmp 09:22:43 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13220577365127816738tmp [Pipeline] { [Pipeline] echo 09:22:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:22:43 ---> sigul-configuration.sh 09:22:43 gpg: directory `/root/.gnupg' created 09:22:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:22:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:22:43 gpg: keyring `/root/.gnupg/secring.gpg' created 09:22:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:22:43 gpg: CAST5 encrypted data 09:22:43 gpg: encrypted with 1 passphrase 09:22:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:22:44 + mkdir /home/jenkins 09:22:44 + mkdir /home/jenkins/sigul [Pipeline] sh 09:22:44 + 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 09:22:44 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:22:44 ---> sigul-install.sh 09:22:44 Sigul already installed; skipping installation. [Pipeline] sh 09:22:45 + git tag --list 09:22:45 0.7.1 09:22:45 delhi-tag 09:22:45 v1.0.0 09:22:45 v1.1.0 09:22:45 v1.1.1 09:22:45 v1.1.2 09:22:45 v1.2.0 09:22:45 v1.2.1 09:22:45 v1.2.2 09:22:45 v1.2.3 09:22:45 v1.3.0 09:22:45 v1.4.0 09:22:45 v2.0.0 09:22:45 v2.1.0 09:22:45 v2.1.1 09:22:45 v2.2.0 09:22:45 v2.3.0 09:22:45 v2.3.1 09:22:45 v3.0 09:22:45 v3.0.0 09:22:45 v3.0.1-dev.1 09:22:45 v3.1 09:22:45 v3.1.0 09:22:45 v3.1.0-dev.1 09:22:45 v3.1.0-dev.10 09:22:45 v3.1.0-dev.11 09:22:45 v3.1.0-dev.12 09:22:45 v3.1.0-dev.13 09:22:45 v3.1.0-dev.14 09:22:45 v3.1.0-dev.15 09:22:45 v3.1.0-dev.16 09:22:45 v3.1.0-dev.17 09:22:45 v3.1.0-dev.18 09:22:45 v3.1.0-dev.19 09:22:45 v3.1.0-dev.2 09:22:45 v3.1.0-dev.20 09:22:45 v3.1.0-dev.21 09:22:45 v3.1.0-dev.22 09:22:45 v3.1.0-dev.23 09:22:45 v3.1.0-dev.24 09:22:45 v3.1.0-dev.25 09:22:45 v3.1.0-dev.26 09:22:45 v3.1.0-dev.27 09:22:45 v3.1.0-dev.28 09:22:45 v3.1.0-dev.29 09:22:45 v3.1.0-dev.3 09:22:45 v3.1.0-dev.30 09:22:45 v3.1.0-dev.31 09:22:45 v3.1.0-dev.32 09:22:45 v3.1.0-dev.33 09:22:45 v3.1.0-dev.34 09:22:45 v3.1.0-dev.35 09:22:45 v3.1.0-dev.36 09:22:45 v3.1.0-dev.37 09:22:45 v3.1.0-dev.38 09:22:45 v3.1.0-dev.39 09:22:45 v3.1.0-dev.4 09:22:45 v3.1.0-dev.40 09:22:45 v3.1.0-dev.41 09:22:45 v3.1.0-dev.5 09:22:45 v3.1.0-dev.6 09:22:45 v3.1.0-dev.7 09:22:45 v3.1.0-dev.8 09:22:45 v3.1.0-dev.9 09:22:45 v3.1.1 09:22:45 v3.1.1-dev.1 09:22:45 v3.2.0-dev.1 09:22:45 v3.2.0-dev.10 09:22:45 v3.2.0-dev.11 09:22:45 v3.2.0-dev.12 09:22:45 v3.2.0-dev.13 09:22:45 v3.2.0-dev.14 09:22:45 v3.2.0-dev.15 09:22:45 v3.2.0-dev.16 09:22:45 v3.2.0-dev.17 09:22:45 v3.2.0-dev.18 09:22:45 v3.2.0-dev.19 09:22:45 v3.2.0-dev.2 09:22:45 v3.2.0-dev.20 09:22:45 v3.2.0-dev.21 09:22:45 v3.2.0-dev.22 09:22:45 v3.2.0-dev.23 09:22:45 v3.2.0-dev.24 09:22:45 v3.2.0-dev.25 09:22:45 v3.2.0-dev.26 09:22:45 v3.2.0-dev.27 09:22:45 v3.2.0-dev.28 09:22:45 v3.2.0-dev.29 09:22:45 v3.2.0-dev.3 09:22:45 v3.2.0-dev.30 09:22:45 v3.2.0-dev.31 09:22:45 v3.2.0-dev.32 09:22:45 v3.2.0-dev.33 09:22:45 v3.2.0-dev.34 09:22:45 v3.2.0-dev.35 09:22:45 v3.2.0-dev.36 09:22:45 v3.2.0-dev.37 09:22:45 v3.2.0-dev.38 09:22:45 v3.2.0-dev.39 09:22:45 v3.2.0-dev.4 09:22:45 v3.2.0-dev.40 09:22:45 v3.2.0-dev.41 09:22:45 v3.2.0-dev.42 09:22:45 v3.2.0-dev.43 09:22:45 v3.2.0-dev.44 09:22:45 v3.2.0-dev.45 09:22:45 v3.2.0-dev.46 09:22:45 v3.2.0-dev.47 09:22:45 v3.2.0-dev.48 09:22:45 v3.2.0-dev.5 09:22:45 v3.2.0-dev.6 09:22:45 v3.2.0-dev.7 09:22:45 v3.2.0-dev.8 09:22:45 v3.2.0-dev.9 09:22:45 v4.0.0-dev.1 [Pipeline] sh 09:22:45 + lftools sign git-tag v4.0.0-dev.1 09:22:46 Signing Git tag with Sigul... 09:22:46 Signing v4.0.0-dev.1 [Pipeline] echo 09:22:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:22:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:22:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:22:46 $ docker stop --time=1 8576b27001080c11c891d800db1fffcd1b8bd2d6aed075434ed2eab25a5bd537 09:22:47 $ docker rm -f --volumes 8576b27001080c11c891d800db1fffcd1b8bd2d6aed075434ed2eab25a5bd537 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:22:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:22:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:22:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:22:48 prd-ubuntu20.04-docker-8c-8g-23748 does not seem to be running inside a container 09:22: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 09:22:49 $ docker top 999fec1f958d1c037b0691e0eff9d41cf855e08edcc2615958386b38c98bca26 -eo pid,comm 09:22:49 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). 09:22:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:22:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:22:49 [ssh-agent] Looking for ssh-agent implementation... 09:22:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:22:49 $ docker exec 999fec1f958d1c037b0691e0eff9d41cf855e08edcc2615958386b38c98bca26 ssh-agent 09:22:49 SSH_AUTH_SOCK=/tmp/ssh-i08sYpVAf8sE/agent.32 09:22:49 SSH_AGENT_PID=38 09:22:49 Running ssh-add (command line suppressed) 09:22:49 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2866223219784447501.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2866223219784447501.key) 09:22:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:22:49 + git semver bump pre 09:22:50 2024-10-25 09:22:50,036 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:22:50 2024-10-25 09:22:50,036 [bump_version] DEBUG bumping version:4.0.0-dev.1 on axis:pre with prefix:dev 09:22:50 2024-10-25 09:22:50,036 [bump_version] DEBUG bumped version:4.0.0-dev.2 09:22:50 2024-10-25 09:22:50,036 [write_version] DEBUG write version:4.0.0-dev.2 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 09:22:50 2024-10-25 09:22:50,036 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:22:50 2024-10-25 09:22:50,036 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:22:50 2024-10-25 09:22:50,038 [execute] INFO git cat-file --batch-check 09:22:50 2024-10-25 09:22:50,038 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:22:50 2024-10-25 09:22:50,043 [execute] INFO git cat-file --batch 09:22:50 2024-10-25 09:22:50,043 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:22:50 2024-10-25 09:22:50,048 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:22:50 4.0.0-dev.2 [Pipeline] } 09:22:50 $ docker exec --env ******** --env ******** 999fec1f958d1c037b0691e0eff9d41cf855e08edcc2615958386b38c98bca26 ssh-agent -k 09:22:50 unset SSH_AUTH_SOCK; 09:22:50 unset SSH_AGENT_PID; 09:22:50 echo Agent pid 38 killed; 09:22:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:22:50 + git semver [Pipeline] } 09:22:50 $ docker stop --time=1 999fec1f958d1c037b0691e0eff9d41cf855e08edcc2615958386b38c98bca26 09:22:52 $ docker rm -f --volumes 999fec1f958d1c037b0691e0eff9d41cf855e08edcc2615958386b38c98bca26 [Pipeline] // withDockerContainer [Pipeline] sh 09:22:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:22:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:22:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:22:52 prd-ubuntu20.04-docker-8c-8g-23748 does not seem to be running inside a container 09:22: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 09:22:53 $ docker top 035743c7eb1589b0e3b20baa6ab8ee3240c4ee79042365792b8a048d3fed9bc1 -eo pid,comm 09:22:53 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). 09:22:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:22:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:22:53 [ssh-agent] Looking for ssh-agent implementation... 09:22:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:22:53 $ docker exec 035743c7eb1589b0e3b20baa6ab8ee3240c4ee79042365792b8a048d3fed9bc1 ssh-agent 09:22:53 SSH_AUTH_SOCK=/tmp/ssh-KfV6NL2Qfh2f/agent.33 09:22:53 SSH_AGENT_PID=39 09:22:53 Running ssh-add (command line suppressed) 09:22:53 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2419924495943350346.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2419924495943350346.key) 09:22:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:22:53 + git semver push 09:22:54 2024-10-25 09:22:54,136 [run_push] DEBUG push 09:22:54 2024-10-25 09:22:54,137 [execute] INFO git cat-file --batch-check 09:22:54 2024-10-25 09:22:54,137 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:22:54 2024-10-25 09:22:54,141 [execute] INFO git rev-list 39ef46645e844d5638ee9c16347009a676772710 -- 09:22:54 2024-10-25 09:22:54,142 [execute] DEBUG Popen(['git', 'rev-list', '39ef46645e844d5638ee9c16347009a676772710', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:22:54 2024-10-25 09:22:54,154 [execute] INFO git fetch -v origin 09:22:54 2024-10-25 09:22:54,155 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:22:54 2024-10-25 09:22:54,624 [run_push] DEBUG no remote changes detected 09:22:54 2024-10-25 09:22:54,625 [execute] INFO git push origin semver 09:22:54 2024-10-25 09:22:54,625 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:22:55 2024-10-25 09:22:55,380 [run_push] DEBUG push all version tags 09:22:55 2024-10-25 09:22:55,381 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:22:55 2024-10-25 09:22:55,381 [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) 09:22:56 2024-10-25 09:22:56,073 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:22:56 4.0.0-dev.2 [Pipeline] } 09:22:56 $ docker exec --env ******** --env ******** 035743c7eb1589b0e3b20baa6ab8ee3240c4ee79042365792b8a048d3fed9bc1 ssh-agent -k 09:22:56 unset SSH_AUTH_SOCK; 09:22:56 unset SSH_AGENT_PID; 09:22:56 echo Agent pid 39 killed; 09:22:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:22:56 + git semver [Pipeline] } 09:22:57 $ docker stop --time=1 035743c7eb1589b0e3b20baa6ab8ee3240c4ee79042365792b8a048d3fed9bc1 09:22:58 $ docker rm -f --volumes 035743c7eb1589b0e3b20baa6ab8ee3240c4ee79042365792b8a048d3fed9bc1 [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 09:22:58 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 09:22:58 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 09:22:58 total 16 09:22:58 drwxr-xr-x 3 root root 4096 Oct 25 09:07 . 09:22:58 drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 09:22 .. 09:22:58 drwxr-xr-x 2 root root 4096 Oct 25 09:07 cost 09:22:58 -rw-r--r-- 1 root root 85 Oct 25 09:07 cost.csv 09:22:58 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 09:22:58 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 09:22:58 total 16 09:22:58 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 09:07 . 09:22:58 drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 09:22 .. 09:22:58 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 09:07 cost 09:22:58 -rw-r--r-- 1 jenkins jenkins 85 Oct 25 09:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:22:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:23:00 ---> package-listing.sh 09:23:00 ++ facter osfamily 09:23:00 ++ tr '[:upper:]' '[:lower:]' 09:23:00 + OS_FAMILY=debian 09:23:00 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 09:23:00 + START_PACKAGES=/tmp/packages_start.txt 09:23:00 + END_PACKAGES=/tmp/packages_end.txt 09:23:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:23:00 + PACKAGES=/tmp/packages_start.txt 09:23:00 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 09:23:00 + PACKAGES=/tmp/packages_end.txt 09:23:00 + case "${OS_FAMILY}" in 09:23:00 + dpkg -l 09:23:00 + grep '^ii' 09:23:00 + '[' -f /tmp/packages_start.txt ']' 09:23:00 + '[' -f /tmp/packages_end.txt ']' 09:23:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:23:00 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 09:23:00 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 09:23:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 09:23:00 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 09:23:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:23:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:01 prd-ubuntu20.04-docker-8c-8g-23748 does not seem to be running inside a container 09:23:01 $ 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 09:23:01 $ docker top 36ca77aed608afa4b3cf9164853cd9755a16a6985e58c7fd81679586375b5b18 -eo pid,comm [Pipeline] { [Pipeline] sh 09:23:01 + touch /tmp/pre-build-complete [Pipeline] sh 09:23:02 + mkdir -p /var/log/sysstat [Pipeline] sh 09:23:02 + ls /var/log/sa-host 09:23:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:23:02 provisioning config files... 09:23:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9754852963626310607tmp [Pipeline] { [Pipeline] echo 09:23:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:23:02 ---> create-netrc.sh [Pipeline] } 09:23:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:23:03 ---> python-tools-install.sh [Pipeline] echo 09:23:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:23:03 ---> sudo-logs.sh 09:23:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:23:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:23:03 ---> job-cost.sh 09:23:03 lf-activate-venv: SKIPPING 09:23:03 DEBUG: total: 0.2199999988079071 09:23:03 INFO: Retrieving Stack Cost... 09:23:04 INFO: Retrieving Pricing Info for: v3-standard-8 09:23:04 INFO: Archiving Costs [Pipeline] echo 09:23:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:23:05 ---> logs-deploy.sh 09:23:05 lf-activate-venv: SKIPPING 09:23:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/324 09:23:05 INFO: archiving workspace using pattern(s): 09:23:05 Archives upload complete. 09:23:05 INFO: archiving logs to Nexus