Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 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-ssh15209243378330182872.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh4074997398716798442.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh9188031324021845683.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh13980786146166812180.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-ssh233445104708795590.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-26362’ is offline Running on prd-ubuntu20.04-docker-8c-8g-26364 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 (main) Commit message: "Merge pull request #1552 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.10" > git config core.sparsecheckout # timeout=10 > git checkout -f 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 # timeout=10 > git rev-list --no-walk 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:51:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:51:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:51:51 ========================================================= 04:51:51 EdgeX Global Pipelines Version Info 04:51:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:51:52 ------------------- 04:51:52 stable info: 04:51:52 ------------------- 04:51:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:51:52 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:51:52 Message: update stable to v1.0.258 04:51:53 ------------------- 04:51:53 experimental info: 04:51:53 ------------------- 04:51:53 Commited By: **** collab-it+edgex@linuxfoundation.org 04:51:53 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:51:53 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:51:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:51:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:51:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:51:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:51:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:51:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:51:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:51:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 [Pipeline] echo 04:51:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c8ed3e [Pipeline] echo 04:51:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:51:54 provisioning config files... 04:51:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15520171073064242944tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:51:54 ---> ****-login.sh 04:51:54 nexus3.edgexfoundry.org:10001 04:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:51:55 Configure a credential helper to remove this warning. See 04:51:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:51:55 04:51:55 Login Succeeded 04:51:55 nexus3.edgexfoundry.org:10002 04:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:51:55 Configure a credential helper to remove this warning. See 04:51:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:51:55 04:51:55 Login Succeeded 04:51:55 nexus3.edgexfoundry.org:10003 04:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:51:55 Configure a credential helper to remove this warning. See 04:51:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:51:55 04:51:55 Login Succeeded 04:51:55 nexus3.edgexfoundry.org:10004 04:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:51:55 Configure a credential helper to remove this warning. See 04:51:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:51:55 04:51:55 Login Succeeded 04:51:55 ****.io 04:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:51:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:51:56 Configure a credential helper to remove this warning. See 04:51:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:51:56 04:51:56 Login Succeeded 04:51:56 ---> ****-login.sh ends [Pipeline] } 04:51:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:51:57 + git rev-list -1 --merges 8c8ed3e474c227ac5cd794810a07c084c0ea64b2~1..8c8ed3e474c227ac5cd794810a07c084c0ea64b2 [Pipeline] echo 04:51:57 -----------> git rev-list -1 --merges 8c8ed3e474c227ac5cd794810a07c084c0ea64b2~1..8c8ed3e474c227ac5cd794810a07c084c0ea64b2 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 04:51:57 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 [false] [Pipeline] sh 04:51:57 + git log --format=format:%s -1 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 [Pipeline] echo 04:51:57 ========================================================= 04:51:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:51:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:51:57 + git log --format=format:%s -1 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 [Pipeline] echo 04:51:57 [semverPrep] GIT_COMMIT: 8c8ed3e474c227ac5cd794810a07c084c0ea64b2, Commit Message: Merge pull request #1552 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.10 [Pipeline] echo 04:51:57 [semverPrep] This is not a build commit. [Pipeline] sh 04:51:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:51:58 + grep -v github /etc/ssh/ssh_known_hosts 04:51:58 + [ -e /tmp/ssh_known_hosts ] 04:51:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:51:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:51:58 + sudo tee -a /etc/ssh/ssh_known_hosts 04:51:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:51:58 04:51:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:51:58 0.1.4: Pulling from edgex-devops/py-git-semver 04:51:58 b85a868b505f: Pulling fs layer 04:51:58 e2be974225ed: Pulling fs layer 04:51:58 339a4e72a1f5: Pulling fs layer 04:51:58 988bab9f4d93: Pulling fs layer 04:51:58 1469e6f7b9e6: Pulling fs layer 04:51:58 eaf3925da568: Pulling fs layer 04:51:58 bab4dde63d76: Pulling fs layer 04:51:58 bde34c3a00c8: Pulling fs layer 04:51:58 b352a97aabf1: Pulling fs layer 04:51:58 4872d77fe225: Pulling fs layer 04:51:58 5851b861e8e6: Pulling fs layer 04:51:58 988bab9f4d93: Waiting 04:51:58 1469e6f7b9e6: Waiting 04:51:58 b352a97aabf1: Waiting 04:51:58 bde34c3a00c8: Waiting 04:51:58 4872d77fe225: Waiting 04:51:58 bab4dde63d76: Waiting 04:51:58 5851b861e8e6: Waiting 04:51:58 eaf3925da568: Waiting 04:51:58 e2be974225ed: Verifying Checksum 04:51:58 e2be974225ed: Download complete 04:51:58 988bab9f4d93: Verifying Checksum 04:51:58 988bab9f4d93: Download complete 04:51:58 1469e6f7b9e6: Verifying Checksum 04:51:58 1469e6f7b9e6: Download complete 04:51:59 eaf3925da568: Download complete 04:51:59 339a4e72a1f5: Verifying Checksum 04:51:59 339a4e72a1f5: Download complete 04:51:59 bde34c3a00c8: Download complete 04:51:59 b352a97aabf1: Verifying Checksum 04:51:59 b352a97aabf1: Download complete 04:51:59 4872d77fe225: Verifying Checksum 04:51:59 4872d77fe225: Download complete 04:51:59 5851b861e8e6: Verifying Checksum 04:51:59 5851b861e8e6: Download complete 04:51:59 b85a868b505f: Verifying Checksum 04:51:59 b85a868b505f: Download complete 04:51:59 bab4dde63d76: Verifying Checksum 04:51:59 bab4dde63d76: Download complete 04:52:00 b85a868b505f: Pull complete 04:52:00 e2be974225ed: Pull complete 04:52:01 339a4e72a1f5: Pull complete 04:52:01 988bab9f4d93: Pull complete 04:52:01 1469e6f7b9e6: Pull complete 04:52:01 eaf3925da568: Pull complete 04:52:03 bab4dde63d76: Pull complete 04:52:03 bde34c3a00c8: Pull complete 04:52:03 b352a97aabf1: Pull complete 04:52:03 4872d77fe225: Pull complete 04:52:04 5851b861e8e6: Pull complete 04:52:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:52:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:04 prd-ubuntu20.04-docker-8c-8g-26364 does not seem to be running inside a container 04:52:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:52:08 $ docker top 8007f5546e32bbbfd8e62775cf00085bbb21b2f67fa2ce99216ab0f4764039d0 -eo pid,comm 04:52:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:52:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:52:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:08 [ssh-agent] Looking for ssh-agent implementation... 04:52:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:08 $ docker exec 8007f5546e32bbbfd8e62775cf00085bbb21b2f67fa2ce99216ab0f4764039d0 ssh-agent 04:52:08 SSH_AUTH_SOCK=/tmp/ssh-NQWqfgBY3vnM/agent.32 04:52:08 SSH_AGENT_PID=38 04:52:08 Running ssh-add (command line suppressed) 04:52:08 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13240417540987795271.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13240417540987795271.key) 04:52:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:09 + git tag --points-at HEAD [Pipeline] } 04:52:09 $ docker exec --env ******** --env ******** 8007f5546e32bbbfd8e62775cf00085bbb21b2f67fa2ce99216ab0f4764039d0 ssh-agent -k 04:52:09 unset SSH_AUTH_SOCK; 04:52:09 unset SSH_AGENT_PID; 04:52:09 echo Agent pid 38 killed; 04:52:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:52:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:09 [ssh-agent] Looking for ssh-agent implementation... 04:52:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:09 $ docker exec 8007f5546e32bbbfd8e62775cf00085bbb21b2f67fa2ce99216ab0f4764039d0 ssh-agent 04:52:09 SSH_AUTH_SOCK=/tmp/ssh-AIibNw9VrbTY/agent.70 04:52:09 SSH_AGENT_PID=76 04:52:09 Running ssh-add (command line suppressed) 04:52:09 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1261673609522202836.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1261673609522202836.key) 04:52:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:09 + git semver init 04:52:10 2023-12-29 04:52:10,174 [run_init] DEBUG init version:0.0.0 force:False 04:52:10 2023-12-29 04:52:10,174 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:52:10 2023-12-29 04:52:10,175 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:52:10 2023-12-29 04:52:10,175 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:52:11 2023-12-29 04:52:11,482 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:52:11 2023-12-29 04:52:11,482 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:52:11 2023-12-29 04:52:11,482 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:52:11 2023-12-29 04:52:11,483 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:52:11 3.2.0-dev.6 [Pipeline] } 04:52:11 $ docker exec --env ******** --env ******** 8007f5546e32bbbfd8e62775cf00085bbb21b2f67fa2ce99216ab0f4764039d0 ssh-agent -k 04:52:11 unset SSH_AUTH_SOCK; 04:52:11 unset SSH_AGENT_PID; 04:52:11 echo Agent pid 76 killed; 04:52:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:52:12 + git semver [Pipeline] } 04:52:12 $ docker stop --time=1 8007f5546e32bbbfd8e62775cf00085bbb21b2f67fa2ce99216ab0f4764039d0 04:52:13 $ docker rm -f --volumes 8007f5546e32bbbfd8e62775cf00085bbb21b2f67fa2ce99216ab0f4764039d0 [Pipeline] // withDockerContainer [Pipeline] sh 04:52:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:52:14 Stashed 1 file(s) [Pipeline] echo 04:52:14 [edgeXSemver]: initialized semver on version 3.2.0-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:14 provisioning config files... 04:52:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4579506603972255368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:15 ---> ****-login.sh 04:52:15 nexus3.edgexfoundry.org:10001 04:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:52:15 Configure a credential helper to remove this warning. See 04:52:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:52:15 04:52:15 Login Succeeded 04:52:15 nexus3.edgexfoundry.org:10002 04:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:52:15 Configure a credential helper to remove this warning. See 04:52:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:52:15 04:52:15 Login Succeeded 04:52:15 nexus3.edgexfoundry.org:10003 04:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:52:15 Configure a credential helper to remove this warning. See 04:52:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:52:15 04:52:15 Login Succeeded 04:52:15 nexus3.edgexfoundry.org:10004 04:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:52:15 Configure a credential helper to remove this warning. See 04:52:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:52:15 04:52:15 Login Succeeded 04:52:15 ****.io 04:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:52:15 Configure a credential helper to remove this warning. See 04:52:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:52:15 04:52:15 Login Succeeded 04:52:15 ---> ****-login.sh ends [Pipeline] } 04:52:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:52:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:52:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:52:16 ========================================================= 04:52:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:52:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:16 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:52:16 Sending build context to Docker daemon 21.9MB 04:52:16 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:52:16 Step 2/10 : FROM ${BASE} AS builder 04:52:16 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:52:16 7264a8db6415: Pulling fs layer 04:52:16 c4d48a809fc2: Pulling fs layer 04:52:16 4f1c88b9dad5: Pulling fs layer 04:52:16 ad3a456e5733: Pulling fs layer 04:52:16 69c7f0334f64: Pulling fs layer 04:52:16 1f1c1a5573a3: Pulling fs layer 04:52:16 ce7588e14bc9: Pulling fs layer 04:52:16 b5e4710f87ac: Pulling fs layer 04:52:16 ad3a456e5733: Waiting 04:52:16 ce7588e14bc9: Waiting 04:52:16 b5e4710f87ac: Waiting 04:52:16 c4d48a809fc2: Download complete 04:52:16 ad3a456e5733: Verifying Checksum 04:52:16 ad3a456e5733: Download complete 04:52:16 69c7f0334f64: Verifying Checksum 04:52:16 69c7f0334f64: Download complete 04:52:16 7264a8db6415: Download complete 04:52:16 1f1c1a5573a3: Verifying Checksum 04:52:16 1f1c1a5573a3: Download complete 04:52:16 7264a8db6415: Pull complete 04:52:16 b5e4710f87ac: Verifying Checksum 04:52:16 b5e4710f87ac: Download complete 04:52:16 c4d48a809fc2: Pull complete 04:52:17 4f1c88b9dad5: Verifying Checksum 04:52:17 4f1c88b9dad5: Download complete 04:52:17 ce7588e14bc9: Verifying Checksum 04:52:17 ce7588e14bc9: Download complete 04:52:20 4f1c88b9dad5: Pull complete 04:52:20 ad3a456e5733: Pull complete 04:52:20 69c7f0334f64: Pull complete 04:52:20 1f1c1a5573a3: Pull complete 04:52:22 ce7588e14bc9: Pull complete 04:52:22 b5e4710f87ac: Pull complete 04:52:22 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 04:52:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:52:22 ---> 88b5674ff536 04:52:22 Step 3/10 : ARG MAKE=make build 04:52:29 ---> Running in c06b44154830 04:52:29 Removing intermediate container c06b44154830 04:52:29 ---> 5a58293aec3b 04:52:29 Step 4/10 : WORKDIR /device-sdk-go 04:52:29 ---> Running in 231e6d72f3ff 04:52:29 Removing intermediate container 231e6d72f3ff 04:52:29 ---> c88d34c64769 04:52:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:52:29 ---> Running in fe09213eb175 04:52:29 Removing intermediate container fe09213eb175 04:52:29 ---> bedf5a373fce 04:52:29 Step 6/10 : RUN apk add --update --no-cache make git 04:52:29 ---> Running in b69e669c3d11 04:52:29 Still waiting to schedule task 04:52:29 ‘prd-ubuntu20.04-docker-arm64-4c-16g-26363’ is offline 04:52:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:52:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:52:30 OK: 264 MiB in 52 packages 04:52:30 Removing intermediate container b69e669c3d11 04:52:30 ---> c14606243fe5 04:52:30 Step 7/10 : COPY go.mod vendor* ./ 04:52:30 ---> 8360b15849e8 04:52:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:52:30 ---> Running in 5d4e382453cc 04:53:09 Removing intermediate container 5d4e382453cc 04:53:09 ---> 14d73a69707e 04:53:09 Step 9/10 : COPY . . 04:53:09 ---> 430cc115d053 04:53:09 Step 10/10 : RUN ${MAKE} 04:53:09 ---> Running in 6f62dc3e141a 04:53:09 noop 04:53:09 Removing intermediate container 6f62dc3e141a 04:53:09 ---> b4f9bb0df4bc 04:53:09 Successfully built b4f9bb0df4bc 04:53:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:09 + docker inspect -f . ci-base-image-x86_64 04:53:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:09 prd-ubuntu20.04-docker-8c-8g-26364 does not seem to be running inside a container 04:53:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:53:10 $ docker top 6e1bde1edb9e152292eacf9694795d04c57de9fc942847d3d2e2d72b18e24ac6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:10 + go version 04:53:10 go version go1.21.0 linux/amd64 [Pipeline] } 04:53:10 $ docker stop --time=1 6e1bde1edb9e152292eacf9694795d04c57de9fc942847d3d2e2d72b18e24ac6 04:53:11 $ docker rm -f --volumes 6e1bde1edb9e152292eacf9694795d04c57de9fc942847d3d2e2d72b18e24ac6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:12 + docker inspect -f . ci-base-image-x86_64 04:53:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:12 prd-ubuntu20.04-docker-8c-8g-26364 does not seem to be running inside a container 04:53:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:53:12 $ docker top 448c66fa8998cb4218fb7de2385aaa984b948c79995bfa83d0e6f41ccbfa65bc -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:13 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:53:13 + make test 04:53:13 go test -race -coverprofile=coverage.out ./... 04:53:20 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:53:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:53:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:53:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:53:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:53:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:53:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:53:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:53:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.042s coverage: 27.6% of statements 04:53:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:53:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.049s coverage: 81.5% of statements 04:53:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.062s coverage: 86.0% of statements 04:53:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:53:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:53:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.081s coverage: 71.8% of statements 04:53:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:53:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.049s coverage: 14.4% of statements 04:53:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.073s coverage: 45.9% of statements 04:53:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.075s coverage: 68.5% of statements 04:53:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.105s coverage: 89.2% of statements 04:53:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.043s coverage: 5.5% of statements 04:54:01 GO111MODULE=on go vet ./... 04:54:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:54:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:54:01 ./bin/test-attribution-txt.sh [Pipeline] echo 04:54:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:54:01 $ docker stop --time=1 448c66fa8998cb4218fb7de2385aaa984b948c79995bfa83d0e6f41ccbfa65bc 04:54:06 $ docker rm -f --volumes 448c66fa8998cb4218fb7de2385aaa984b948c79995bfa83d0e6f41ccbfa65bc [Pipeline] // withDockerContainer [Pipeline] sh 04:54:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:54:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:54:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:54:07 + ls -al . 04:54:07 total 308 04:54:07 drwxrwxr-x 11 jenkins jenkins 4096 Dec 29 04:53 . 04:54:07 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 04:51 .. 04:54:07 -rw-rw-r-- 1 jenkins jenkins 140 Dec 29 04:51 .dockerignore 04:54:07 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 04:53 .git 04:54:07 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 04:51 .github 04:54:07 -rw-rw-r-- 1 jenkins jenkins 137 Dec 29 04:51 .gitignore 04:54:07 -rw-rw-r-- 1 jenkins jenkins 42 Dec 29 04:51 .golangci.yml 04:54:07 drwxr-xr-x 3 jenkins jenkins 4096 Dec 29 04:52 .semver 04:54:07 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 29 04:51 CHANGELOG.md 04:54:07 -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 04:51 GOVERNANCE.md 04:54:07 -rw-rw-r-- 1 jenkins jenkins 885 Dec 29 04:51 Jenkinsfile 04:54:07 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 29 04:51 LICENSE 04:54:07 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 29 04:51 Makefile 04:54:07 -rw-rw-r-- 1 jenkins jenkins 619 Dec 29 04:51 OWNERS.md 04:54:07 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 29 04:51 README.md 04:54:07 -rw-rw-r-- 1 jenkins jenkins 11 Dec 29 04:52 VERSION 04:54:07 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 04:51 bin 04:54:07 -rw-r--r-- 1 jenkins jenkins 122153 Dec 29 04:53 coverage.out 04:54:07 drwxrwxr-x 5 jenkins jenkins 4096 Dec 29 04:51 example 04:54:07 -rw-rw-r-- 1 jenkins jenkins 3720 Dec 29 04:51 go.mod 04:54:07 -rw-rw-r-- 1 jenkins jenkins 33780 Dec 29 04:51 go.sum 04:54:07 drwxrwxr-x 12 jenkins jenkins 4096 Dec 29 04:51 internal 04:54:07 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 04:51 openapi 04:54:07 drwxrwxr-x 6 jenkins jenkins 4096 Dec 29 04:51 pkg 04:54:07 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 04:51 snap 04:54:07 -rw-rw-r-- 1 jenkins jenkins 222 Dec 29 04:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:08 + 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=8c8ed3e474c227ac5cd794810a07c084c0ea64b2 --label arch=amd64 --label version=3.2.0-dev.6 . 04:54:08 Sending build context to Docker daemon 22.02MB 04:54:08 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 04:54:08 Step 2/23 : FROM ${BASE} AS builder 04:54:08 ---> b4f9bb0df4bc 04:54:08 Step 3/23 : ARG MAKE=make build 04:54:09 ---> Running in 262f1d6bc9a5 04:54:09 Removing intermediate container 262f1d6bc9a5 04:54:09 ---> 44a46c8c1feb 04:54:09 Step 4/23 : WORKDIR /device-sdk-go 04:54:09 ---> Running in 1ae6e1f4d822 04:54:09 Removing intermediate container 1ae6e1f4d822 04:54:09 ---> 9d545cd0b982 04:54:09 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:54:09 ---> Running in 9ae5a1470be6 04:54:09 Removing intermediate container 9ae5a1470be6 04:54:09 ---> c058aaa83719 04:54:09 Step 6/23 : RUN apk add --update --no-cache make git 04:54:09 ---> Running in d22deb6fc8e7 04:54:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:54:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:54:09 OK: 264 MiB in 52 packages 04:54:10 Removing intermediate container d22deb6fc8e7 04:54:10 ---> 14e659d4e310 04:54:10 Step 7/23 : COPY go.mod vendor* ./ 04:54:10 ---> a9bddb9b7353 04:54:10 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:10 ---> Running in 8ee900af711e 04:54:10 Removing intermediate container 8ee900af711e 04:54:10 ---> d2a571934d31 04:54:10 Step 9/23 : COPY . . 04:54:11 ---> 56a114fb846e 04:54:11 Step 10/23 : RUN ${MAKE} 04:54:11 ---> Running in 60cdf6a3283c 04:54:11 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.6" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:54:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26366 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:54:18 Running in /w/workspace/device-sdk-go/277 [Pipeline] { [Pipeline] checkout 04:54:21 The recommended git tool is: git 04:54:29 using credential edgex-jenkins-ssh 04:54:29 Cloning the remote Git repository 04:54:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:54:29 > git init /w/workspace/device-sdk-go/277 # timeout=10 04:54:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:54:29 > git --version # timeout=10 04:54:29 > git --version # 'git version 2.25.1' 04:54:29 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:54:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:33 Avoid second fetch 04:54:33 Checking out Revision 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 (main) 04:54:33 Removing intermediate container 60cdf6a3283c 04:54:33 ---> 248121bb9181 04:54:33 Step 11/23 : FROM alpine:3.18 04:54:33 3.18: Pulling from library/alpine 04:54:33 c926b61bad3b: Pulling fs layer 04:54:33 c926b61bad3b: Verifying Checksum 04:54:33 c926b61bad3b: Download complete 04:54:33 c926b61bad3b: Pull complete 04:54:33 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:54:33 Status: Downloaded newer image for alpine:3.18 04:54:33 ---> b541f2080109 04:54:33 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:54:33 ---> Running in 241d0ded794a 04:54:33 Removing intermediate container 241d0ded794a 04:54:33 ---> cd440e0a3832 04:54:33 Step 13/23 : RUN apk add --update --no-cache 04:54:33 ---> Running in 8165befdf7dc 04:54:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:54:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:54:33 OK: 7 MiB in 15 packages 04:54:33 Removing intermediate container 8165befdf7dc 04:54:33 ---> 98a9c9ab50b5 04:54:33 Step 14/23 : WORKDIR / 04:54:33 Commit message: "Merge pull request #1552 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.10" 04:54:33 > git config core.sparsecheckout # timeout=10 04:54:33 > git checkout -f 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 # timeout=10 04:54:33 ---> Running in e20059abc090 04:54:33 Removing intermediate container e20059abc090 04:54:33 ---> 70818c77fd23 04:54:33 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:54:33 ---> 9bf96f8a264a 04:54:33 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:54:34 % Total % Received % Xferd Average Speed Time Time Time Current 04:54:34 Dload Upload Total Spent Left Speed 04:54:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 04:54:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:54:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:54:35 + sudo tee /etc/docker/daemon.new 04:54:35 { 04:54:35 "registry-mirrors": [ 04:54:35 "https://nexus3.edgexfoundry.org:10001" 04:54:35 ], 04:54:35 "bip": "10.250.0.254/24", 04:54:35 "hosts": [ 04:54:35 "tcp://0.0.0.0:5555", 04:54:35 "unix:///var/run/docker.sock" 04:54:35 ], 04:54:35 "mtu": 1458, 04:54:35 "selinux-enabled": true, 04:54:35 "seccomp-profile": "/etc/docker/seccomp.json" 04:54:35 } 04:54:35 ---> 5644beb53ef0 04:54:35 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [Pipeline] sh 04:54:35 ---> fa52f5a99b55 04:54:35 Step 18/23 : EXPOSE 59999 04:54:35 ---> Running in ca62aa9fc50b 04:54:35 Removing intermediate container ca62aa9fc50b 04:54:35 ---> 3266b27c3113 04:54:35 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:54:35 ---> Running in cfd953b560b6 04:54:35 Removing intermediate container cfd953b560b6 04:54:35 ---> dbd7d6b47b77 04:54:35 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:54:35 ---> Running in d0c967d26b2b 04:54:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:54:36 Removing intermediate container d0c967d26b2b 04:54:36 ---> 5b9bd114696e 04:54:36 Step 21/23 : LABEL arch=amd64 04:54:36 ---> Running in 6a75f581dc76 04:54:36 Removing intermediate container 6a75f581dc76 04:54:36 ---> d1693aefa4dc 04:54:36 Step 22/23 : LABEL git_sha=8c8ed3e474c227ac5cd794810a07c084c0ea64b2 04:54:36 ---> Running in d13acbf48774 04:54:36 Removing intermediate container d13acbf48774 04:54:36 ---> 2c90a42b2e4a 04:54:36 Step 23/23 : LABEL version=3.2.0-dev.6 04:54:36 ---> Running in a4ace270296a 04:54:36 + sudo service docker restart 04:54:36 Removing intermediate container a4ace270296a 04:54:36 ---> 38d077b1418e 04:54:36 [Warning] One or more build-args [ARCH] were not consumed 04:54:36 Successfully built 38d077b1418e 04:54:36 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:37 04:54:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:37 latest: Pulling from edgex-lftools-log-publisher 04:54:37 5eb5b503b376: Pulling fs layer 04:54:37 5c69ac0246d0: Pulling fs layer 04:54:37 ec43610c2a17: Pulling fs layer 04:54:37 3a2ae6a8a46f: Pulling fs layer 04:54:37 33b1e0a273af: Pulling fs layer 04:54:37 5d3b04190fa2: Pulling fs layer 04:54:37 2f39f015ded8: Pulling fs layer 04:54:37 3a2ae6a8a46f: Waiting 04:54:37 33b1e0a273af: Waiting 04:54:37 5d3b04190fa2: Waiting 04:54:37 2f39f015ded8: Waiting 04:54:37 5c69ac0246d0: Verifying Checksum 04:54:37 5c69ac0246d0: Download complete 04:54:37 3a2ae6a8a46f: Download complete 04:54:37 33b1e0a273af: Verifying Checksum 04:54:37 33b1e0a273af: Download complete 04:54:37 ec43610c2a17: Verifying Checksum 04:54:37 ec43610c2a17: Download complete 04:54:37 5d3b04190fa2: Verifying Checksum 04:54:37 5eb5b503b376: Verifying Checksum 04:54:37 5eb5b503b376: Download complete 04:54:38 2f39f015ded8: Download complete 04:54:39 5eb5b503b376: Pull complete 04:54:39 5c69ac0246d0: Pull complete 04:54:39 ec43610c2a17: Pull complete 04:54:39 3a2ae6a8a46f: Pull complete 04:54:40 33b1e0a273af: Pull complete 04:54:40 5d3b04190fa2: Pull complete 04:54:44 2f39f015ded8: Pull complete 04:54:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:54:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:44 prd-ubuntu20.04-docker-8c-8g-26364 does not seem to be running inside a container 04:54:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:54:50 $ docker top 06542d3e0c5be72638c8c47ad2bcdad7b709e90bae05d95b6758a9fdf6e5e57a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:50 ---> job-cost.sh 04:54:50 lf-activate-venv: SKIPPING 04:54:50 INFO: No Stack... 04:54:51 INFO: Retrieving Pricing Info for: v3-standard-8 04:54:51 INFO: Archiving Costs [Pipeline] sh 04:54:51 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:54:51 + cut -d, -f6 [Pipeline] lock 04:54:51 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-277-stack-cost] 04:54:51 Resource [jenkins-edgexfoundry-device-sdk-go-main-277-stack-cost] did not exist. Created. 04:54:51 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-277-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:54:52 + echo total: 0.2199999988079071 [Pipeline] stash 04:54:52 Stashed 1 file(s) [Pipeline] } 04:54:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-277-stack-cost] [Pipeline] // lock [Pipeline] } 04:54:52 $ docker stop --time=1 06542d3e0c5be72638c8c47ad2bcdad7b709e90bae05d95b6758a9fdf6e5e57a 04:54:53 $ docker rm -f --volumes 06542d3e0c5be72638c8c47ad2bcdad7b709e90bae05d95b6758a9fdf6e5e57a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:54:58 provisioning config files... 04:54:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/277@tmp/config12267241618612485546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:58 ---> ****-login.sh 04:54:58 nexus3.edgexfoundry.org:10001 04:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:54:59 Configure a credential helper to remove this warning. See 04:54:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:54:59 04:54:59 Login Succeeded 04:54:59 nexus3.edgexfoundry.org:10002 04:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:54:59 Configure a credential helper to remove this warning. See 04:54:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:54:59 04:54:59 Login Succeeded 04:54:59 nexus3.edgexfoundry.org:10003 04:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:54:59 Configure a credential helper to remove this warning. See 04:54:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:54:59 04:54:59 Login Succeeded 04:54:59 nexus3.edgexfoundry.org:10004 04:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:55:00 Configure a credential helper to remove this warning. See 04:55:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:55:00 04:55:00 Login Succeeded 04:55:00 ****.io 04:55:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:55:00 Configure a credential helper to remove this warning. See 04:55:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:55:00 04:55:00 Login Succeeded 04:55:00 ---> ****-login.sh ends [Pipeline] } 04:55:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:55:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:55:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:55:01 ========================================================= 04:55:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:55:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:01 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:55:02 #0 building with "default" instance using docker driver 04:55:02 04:55:02 #1 [internal] load build definition from Dockerfile 04:55:02 #1 transferring dockerfile: 1.54kB 0.0s done 04:55:02 #1 DONE 0.1s 04:55:02 04:55:02 #2 [internal] load .dockerignore 04:55:02 #2 transferring context: 182B done 04:55:02 #2 DONE 0.1s 04:55:02 04:55:02 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:55:02 #3 DONE 0.1s 04:55:02 04:55:02 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:55:02 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 04:55:03 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 04:55:03 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 04:55:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 04:55:03 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 04:55:03 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 2.10MB / 3.33MB 0.1s 04:55:03 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 04:55:03 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 04:55:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.29MB / 63.99MB 0.3s 04:55:03 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 04:55:03 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 04:55:03 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 04:55:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s 04:55:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 04:55:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.49MB / 63.99MB 0.4s 04:55:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.30MB / 11.40MB 0.4s 04:55:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 14.31MB / 63.99MB 0.5s 04:55:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 6.29MB / 97.63MB 0.5s 04:55:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.86MB / 11.40MB 0.5s 04:55:03 #4 ... 04:55:03 04:55:03 #5 [internal] load build context 04:55:03 #5 transferring context: 11.15MB 0.5s done 04:55:03 #5 DONE 0.6s 04:55:03 04:55:03 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:55:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 19.64MB / 63.99MB 0.6s 04:55:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.17MB / 11.40MB 0.6s 04:55:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.17MB / 63.99MB 0.8s 04:55:03 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 04:55:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18.26MB / 97.63MB 0.8s 04:55:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 04:55:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.70MB / 63.99MB 0.9s 04:55:04 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 42.86MB / 63.99MB 1.0s 04:55:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.31MB / 97.63MB 1.0s 04:55:04 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 04:55:04 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 47.19MB / 63.99MB 1.1s 04:55:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 1.1s 04:55:04 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 04:55:04 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 56.62MB / 63.99MB 1.3s 04:55:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 42.00MB / 97.63MB 1.3s 04:55:04 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s 04:55:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.5s 04:55:04 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 04:55:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.6s 04:55:04 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 04:55:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 63.96MB / 97.63MB 1.7s 04:55:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 69.21MB / 97.63MB 1.8s 04:55:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 74.45MB / 97.63MB 1.9s 04:55:05 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 84.42MB / 97.63MB 2.1s 04:55:05 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 90.18MB / 97.63MB 2.2s 04:55:05 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 96.35MB / 97.63MB 2.3s 04:55:05 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.5s done 04:55:10 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.7s 04:55:16 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.8s 04:55:22 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.5s done 04:55:23 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 04:55:23 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 04:55:23 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 04:55:24 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0.1s 04:55:29 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 04:55:33 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.9s done 04:55:33 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 04:55:35 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 04:55:35 #4 DONE 32.2s 04:55:35 04:55:35 #6 [builder 2/7] WORKDIR /device-sdk-go 04:55:37 #6 DONE 1.7s 04:55:37 04:55:37 #7 [builder 3/7] RUN apk add --update --no-cache make git 04:55:37 #7 0.722 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:55:37 #7 1.102 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:55:39 #7 2.218 OK: 266 MiB in 52 packages 04:55:39 #7 DONE 2.5s 04:55:39 04:55:39 #8 [builder 4/7] COPY go.mod vendor* ./ 04:55:39 #8 DONE 0.2s 04:55:39 04:55:39 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:56:06 #9 DONE 22.6s 04:56:06 04:56:06 #10 [builder 6/7] COPY . . 04:56:06 #10 DONE 0.5s 04:56:06 04:56:06 #11 [builder 7/7] RUN echo noop 04:56:06 #11 0.726 noop 04:56:07 #11 DONE 4.8s 04:56:07 04:56:07 #12 exporting to image 04:56:07 #12 exporting layers 04:56:34 #12 exporting layers 22.7s done 04:56:34 #12 writing image sha256:5a30bd35563760d796a95af8a787ae8519135f6a49567b07b1f9d89a6752e81e done 04:56:34 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 04:56:34 #12 DONE 22.8s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:34 + docker inspect -f . ci-base-image-arm64 04:56:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:34 prd-ubuntu20.04-docker-arm64-4c-16g-26366 does not seem to be running inside a container 04:56:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/277 -v /w/workspace/device-sdk-go/277:/w/workspace/device-sdk-go/277:rw,z -v /w/workspace/device-sdk-go/277@tmp:/w/workspace/device-sdk-go/277@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:56:37 $ docker top 27fe0edb07b9095b7cb83784731914ce6850adf57ce1cad83d1a23dbb9a3ffef -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:37 + go version 04:56:38 go version go1.21.0 linux/arm64 [Pipeline] } 04:56:38 $ docker stop --time=1 27fe0edb07b9095b7cb83784731914ce6850adf57ce1cad83d1a23dbb9a3ffef 04:56:39 $ docker rm -f --volumes 27fe0edb07b9095b7cb83784731914ce6850adf57ce1cad83d1a23dbb9a3ffef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:40 + docker inspect -f . ci-base-image-arm64 04:56:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:40 prd-ubuntu20.04-docker-arm64-4c-16g-26366 does not seem to be running inside a container 04:56: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/277 -v /w/workspace/device-sdk-go/277:/w/workspace/device-sdk-go/277:rw,z -v /w/workspace/device-sdk-go/277@tmp:/w/workspace/device-sdk-go/277@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:56:41 $ docker top 0e47249828494590f2d8d406af0335d57b7560f389bf875d8c26bde24ef13967 -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:42 + git config --global --add safe.directory /w/workspace/device-sdk-go/277 [Pipeline] fileExists [Pipeline] sh 04:56:42 + make test 04:56:42 go test -race -coverprofile=coverage.out ./... 04:57:14 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:58:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:58:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:58:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:58:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:58:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:58:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:58:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:58:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.322s coverage: 27.6% of statements 04:58:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:58:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.335s coverage: 81.5% of statements 04:58:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.424s coverage: 86.0% of statements 04:58:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.426s coverage: 71.8% of statements 04:58:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:58:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:58:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:58:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.391s coverage: 14.4% of statements 04:58:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.973s coverage: 45.9% of statements 04:58:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.440s coverage: 68.5% of statements 04:58:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.477s coverage: 89.2% of statements 04:58:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.246s coverage: 5.5% of statements 04:58:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:58:33 GO111MODULE=on go vet ./... 05:00:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:00:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:00:10 ./bin/test-attribution-txt.sh [Pipeline] echo 05:00:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:00:10 $ docker stop --time=1 0e47249828494590f2d8d406af0335d57b7560f389bf875d8c26bde24ef13967 05:00:13 $ docker rm -f --volumes 0e47249828494590f2d8d406af0335d57b7560f389bf875d8c26bde24ef13967 [Pipeline] // withDockerContainer [Pipeline] sh 05:00:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:00:15 Warning: overwriting stash ‘coverage-report’ 05:00:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:00:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:00:17 + ls -al . 05:00:17 total 304 05:00:17 drwxrwxr-x 10 jenkins jenkins 4096 Dec 29 04:56 . 05:00:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 04:54 .. 05:00:17 -rw-rw-r-- 1 jenkins jenkins 140 Dec 29 04:54 .dockerignore 05:00:17 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 04:54 .git 05:00:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 04:54 .github 05:00:17 -rw-rw-r-- 1 jenkins jenkins 137 Dec 29 04:54 .gitignore 05:00:17 -rw-rw-r-- 1 jenkins jenkins 42 Dec 29 04:54 .golangci.yml 05:00:17 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 29 04:54 CHANGELOG.md 05:00:17 -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 04:54 GOVERNANCE.md 05:00:17 -rw-rw-r-- 1 jenkins jenkins 885 Dec 29 04:54 Jenkinsfile 05:00:17 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 29 04:54 LICENSE 05:00:17 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 29 04:54 Makefile 05:00:17 -rw-rw-r-- 1 jenkins jenkins 619 Dec 29 04:54 OWNERS.md 05:00:17 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 29 04:54 README.md 05:00:17 -rw-rw-r-- 1 jenkins jenkins 11 Dec 29 04:52 VERSION 05:00:17 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 04:54 bin 05:00:17 -rw-r--r-- 1 jenkins jenkins 122155 Dec 29 04:58 coverage.out 05:00:17 drwxrwxr-x 5 jenkins jenkins 4096 Dec 29 04:54 example 05:00:17 -rw-rw-r-- 1 jenkins jenkins 3720 Dec 29 04:54 go.mod 05:00:17 -rw-rw-r-- 1 jenkins jenkins 33780 Dec 29 04:54 go.sum 05:00:17 drwxrwxr-x 12 jenkins jenkins 4096 Dec 29 04:54 internal 05:00:17 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 04:54 openapi 05:00:17 drwxrwxr-x 6 jenkins jenkins 4096 Dec 29 04:54 pkg 05:00:17 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 04:54 snap 05:00:17 -rw-rw-r-- 1 jenkins jenkins 222 Dec 29 04:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:17 + 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=8c8ed3e474c227ac5cd794810a07c084c0ea64b2 --label arch=arm64 --label version=3.2.0-dev.6 . 05:00:18 #0 building with "default" instance using docker driver 05:00:18 05:00:18 #1 [internal] load build definition from Dockerfile 05:00:18 #1 transferring dockerfile: 1.54kB 0.0s done 05:00:18 #1 DONE 0.0s 05:00:18 05:00:18 #2 [internal] load .dockerignore 05:00:18 #2 transferring context: 182B done 05:00:18 #2 DONE 0.0s 05:00:18 05:00:18 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 05:00:18 #3 DONE 0.0s 05:00:18 05:00:18 #4 [internal] load metadata for docker.io/library/alpine:3.18 05:00:18 #4 DONE 0.2s 05:00:18 05:00:18 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:00:18 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 05:00:18 #5 DONE 0.1s 05:00:18 05:00:18 #6 [internal] load build context 05:00:18 #6 transferring context: 136.23kB 0.1s done 05:00:18 #6 DONE 0.1s 05:00:18 05:00:18 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:00:18 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 05:00:18 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 05:00:18 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 05:00:18 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 05:00:18 #5 ... 05:00:18 05:00:18 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 05:00:18 #7 DONE 0.2s 05:00:18 05:00:18 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:00:18 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 05:00:18 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 05:00:19 #5 ... 05:00:19 05:00:19 #8 [builder 2/7] WORKDIR /device-sdk-go 05:00:19 #8 DONE 0.1s 05:00:19 05:00:19 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:00:19 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 05:00:19 #5 DONE 1.1s 05:00:19 05:00:19 #9 [builder 3/7] RUN apk add --update --no-cache make git 05:00:19 #9 0.804 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:00:20 #9 1.274 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:00:21 #9 2.503 OK: 266 MiB in 52 packages 05:00:22 #9 DONE 2.8s 05:00:22 05:00:22 #10 [builder 4/7] COPY go.mod vendor* ./ 05:00:22 #10 DONE 0.2s 05:00:22 05:00:22 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:00:22 #11 ... 05:00:22 05:00:22 #12 [stage-1 2/6] RUN apk add --update --no-cache 05:00:22 #12 0.732 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:00:22 #12 1.080 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:00:22 #12 2.296 OK: 8 MiB in 15 packages 05:00:22 #12 DONE 2.7s 05:00:22 05:00:22 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:00:23 #11 DONE 1.3s 05:00:23 05:00:23 #13 [builder 6/7] COPY . . 05:00:24 #13 DONE 0.5s 05:00:24 05:00:24 #14 [builder 7/7] RUN make build 05:00:24 #14 0.655 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.6" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:01:46 #14 DONE 78.9s 05:01:46 05:01:46 #15 [stage-1 3/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:01:46 #15 DONE 0.1s 05:01:46 05:01:46 #16 [stage-1 4/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:01:46 #16 DONE 0.4s 05:01:46 05:01:46 #17 [stage-1 5/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:01:46 #17 DONE 0.1s 05:01:46 05:01:46 #18 exporting to image 05:01:46 #18 exporting layers 05:01:46 #18 exporting layers 0.4s done 05:01:46 #18 writing image sha256:cc8f449619e6a1409a663ad675ee6405627fe5332552bb9ad241c9f1c6b58f30 done 05:01:46 #18 naming to docker.io/library/device-sdk-simple-arm64 0.0s done 05:01:46 #18 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:01:47 05:01:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:01:48 arm64: Pulling from edgex-lftools-log-publisher 05:01:48 8998bd30e6a1: Pulling fs layer 05:01:48 04944245beec: Pulling fs layer 05:01:48 699f458cf7ca: Pulling fs layer 05:01:48 765212b225bb: Pulling fs layer 05:01:48 f23df028b6ca: Pulling fs layer 05:01:48 d65c8cfc05b1: Pulling fs layer 05:01:48 2437ff75d9bd: Pulling fs layer 05:01:48 765212b225bb: Waiting 05:01:48 f23df028b6ca: Waiting 05:01:48 d65c8cfc05b1: Waiting 05:01:48 2437ff75d9bd: Waiting 05:01:48 04944245beec: Verifying Checksum 05:01:48 04944245beec: Download complete 05:01:48 765212b225bb: Download complete 05:01:48 f23df028b6ca: Verifying Checksum 05:01:48 f23df028b6ca: Download complete 05:01:48 d65c8cfc05b1: Verifying Checksum 05:01:48 d65c8cfc05b1: Download complete 05:01:48 699f458cf7ca: Verifying Checksum 05:01:48 699f458cf7ca: Download complete 05:01:48 8998bd30e6a1: Download complete 05:01:51 2437ff75d9bd: Verifying Checksum 05:01:51 2437ff75d9bd: Download complete 05:01:57 8998bd30e6a1: Pull complete 05:01:58 04944245beec: Pull complete 05:02:00 699f458cf7ca: Pull complete 05:02:00 765212b225bb: Pull complete 05:02:01 f23df028b6ca: Pull complete 05:02:01 d65c8cfc05b1: Pull complete 05:02:33 2437ff75d9bd: Pull complete 05:02:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:02:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:02:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:02:34 prd-ubuntu20.04-docker-arm64-4c-16g-26366 does not seem to be running inside a container 05:02:34 $ 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/277 -v /w/workspace/device-sdk-go/277:/w/workspace/device-sdk-go/277:rw,z -v /w/workspace/device-sdk-go/277@tmp:/w/workspace/device-sdk-go/277@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 05:02:35 $ docker top a08e9bf9d378bc65f14ffd47d2c013b428c6ea0649518baf8d443e47651cd671 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:02:36 ---> job-cost.sh 05:02:36 lf-activate-venv: SKIPPING 05:02:36 INFO: No Stack... 05:02:37 INFO: Retrieving Pricing Info for: v3-standard-8 05:02:37 INFO: Archiving Costs [Pipeline] sh 05:02:38 + cat /w/workspace/device-sdk-go/277/archives/cost.csv 05:02:38 + cut -d, -f6 [Pipeline] lock 05:02:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-277-stack-cost] 05:02:38 Resource [jenkins-edgexfoundry-device-sdk-go-main-277-stack-cost] did not exist. Created. 05:02:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-277-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:02:38 /w/workspace/device-sdk-go/277@tmp/durable-b537f94d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:02:38 + echo total: 0.2199999988079071 [Pipeline] stash 05:02:38 Warning: overwriting stash ‘stack-cost’ 05:02:39 Stashed 1 file(s) [Pipeline] } 05:02:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-277-stack-cost] [Pipeline] // lock [Pipeline] } 05:02:39 $ docker stop --time=1 a08e9bf9d378bc65f14ffd47d2c013b428c6ea0649518baf8d443e47651cd671 05:02:40 $ docker rm -f --volumes a08e9bf9d378bc65f14ffd47d2c013b428c6ea0649518baf8d443e47651cd671 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:02:41 provisioning config files... 05:02:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6219993037074655577tmp [Pipeline] { [Pipeline] sh 05:02:42 + set +x 05:02:42 + bash -s -- 05:02:42 + curl -s https://codecov.io/bash 05:02:42 05:02:42 _____ _ 05:02:42 / ____| | | 05:02:42 | | ___ __| | ___ ___ _____ __ 05:02:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:02:42 | |___| (_) | (_| | __/ (_| (_) \ V / 05:02:42 \_____\___/ \__,_|\___|\___\___/ \_/ 05:02:42 Bash-1.0.6 05:02:42 05:02:42 05:02:42 ==> git version 2.25.1 found 05:02:42 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:02:42 Release-Date: 2020-01-08 05:02:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:02:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:02:42 ==> Jenkins CI detected. 05:02:42 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:02:42 project root: . 05:02:42 --> token set from env 05:02:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:02:42 ==> Running gcov in . (disable via -X gcov) 05:02:42 ==> Python coveragepy not found 05:02:42 ==> Searching for coverage reports in: 05:02:42 + . 05:02:42 -> Found 1 reports 05:02:42 ==> Detecting git/mercurial file structure 05:02:42 ==> Reading reports 05:02:42 + ./coverage.out bytes=122155 05:02:42 ==> Appending adjustments 05:02:42 https://docs.codecov.io/docs/fixing-reports 05:02:42 + Found adjustments 05:02:42 ==> Gzipping contents 05:02:42 20K /tmp/codecov.YvOrzt.gz 05:02:42 ==> Uploading reports 05:02:42 url: https://codecov.io 05:02:42 query: branch=main&commit=8c8ed3e474c227ac5cd794810a07c084c0ea64b2&build=277&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F277%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:02:42 -> Pinging Codecov 05:02:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=8c8ed3e474c227ac5cd794810a07c084c0ea64b2&build=277&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F277%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:02:42 -> Uploading to 05:02:42 https://storage.googleapis.com/codecov/v4/raw/2023-12-29/7E55EF52A471D76F132DFD9A03CDDE97/8c8ed3e474c227ac5cd794810a07c084c0ea64b2/c71e05d8-e8c1-4b45-8422-6f18ff39e79c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231229%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231229T050242Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=095c0125697c0822279fd3ba2bb725235739eba1e4e7d7ae63ca0b0b3b277db6 05:02:42 % Total % Received % Xferd Average Speed Time Time Time Current 05:02:42 Dload Upload Total Spent Left Speed 05:02:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16750 0 0 100 16750 0 65429 --:--:-- --:--:-- --:--:-- 65429 05:02:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8c8ed3e474c227ac5cd794810a07c084c0ea64b2 [Pipeline] } 05:02:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:02:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:02:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:02:43 05:02:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:02:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:02:44 df9b9388f04a: Pulling fs layer 05:02:44 52dc419b0ee2: Pulling fs layer 05:02:44 25bc292e5bac: Pulling fs layer 05:02:44 114826534d7a: Pulling fs layer 05:02:44 4657fd5d0bcf: Pulling fs layer 05:02:44 6ad1cebc031e: Pulling fs layer 05:02:44 8a3aa393b2d8: Pulling fs layer 05:02:44 114826534d7a: Waiting 05:02:44 6ad1cebc031e: Waiting 05:02:44 4657fd5d0bcf: Waiting 05:02:44 8a3aa393b2d8: Waiting 05:02:44 25bc292e5bac: Download complete 05:02:44 52dc419b0ee2: Verifying Checksum 05:02:44 52dc419b0ee2: Download complete 05:02:44 4657fd5d0bcf: Verifying Checksum 05:02:44 4657fd5d0bcf: Download complete 05:02:44 df9b9388f04a: Verifying Checksum 05:02:44 df9b9388f04a: Download complete 05:02:44 6ad1cebc031e: Verifying Checksum 05:02:44 6ad1cebc031e: Download complete 05:02:44 df9b9388f04a: Pull complete 05:02:44 52dc419b0ee2: Pull complete 05:02:44 25bc292e5bac: Pull complete 05:02:44 114826534d7a: Verifying Checksum 05:02:44 114826534d7a: Download complete 05:02:44 8a3aa393b2d8: Verifying Checksum 05:02:44 8a3aa393b2d8: Download complete 05:02:48 114826534d7a: Pull complete 05:02:48 4657fd5d0bcf: Pull complete 05:02:48 6ad1cebc031e: Pull complete 05:02:50 8a3aa393b2d8: Pull complete 05:02:50 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:02:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:02:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:02:51 prd-ubuntu20.04-docker-8c-8g-26364 does not seem to be running inside a container 05:02:51 $ 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:1.410.4 cat 05:02:58 $ docker top 941d36caae686743f5640e012b8785c269a894db7f8747fa6d977dd40eb50946 -eo pid,comm [Pipeline] { [Pipeline] echo 05:02:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:02:59 + set -o pipefail 05:02:59 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:03:04 05:03:04 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:03:04 05:03:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/b2c369a3-e8bc-4d97-bafe-77f9c3153934 05:03:04 05:03:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:03:04 05:03:04 05:03:04 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:03:04 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:03:04 More details here: https://snyk.co/ue1NS 05:03:04 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 05:03:04 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:03:04 $ docker stop --time=1 941d36caae686743f5640e012b8785c269a894db7f8747fa6d977dd40eb50946 05:03:09 $ docker rm -f --volumes 941d36caae686743f5640e012b8785c269a894db7f8747fa6d977dd40eb50946 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 05:03:10 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:10 provisioning config files... 05:03:10 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13007586991976295557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:10 --> edgex-publish-swagger.sh 05:03:10 === Publish openapi/v3 API === 05:03:10 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:03:10 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:03:10 % Total % Received % Xferd Average Speed Time Time Time Current 05:03:10 Dload Upload Total Spent Left Speed 05:03:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23854 100 180 100 23674 384 50585 --:--:-- --:--:-- --:--:-- 50970 05:03:11 {"code":403,"message":"This public API is blocked because you have exceeded your current plan's limits","messageCode":"PUBLIC_API_BLOCKED_UPGRADE_OR_DELETE","messageProperties":{}} 05:03:11 [Pipeline] } 05:03:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:03:11 + git log --format=format:%s -1 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 [Pipeline] sh 05:03:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:03:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:12 prd-ubuntu20.04-docker-8c-8g-26364 does not seem to be running inside a container 05:03:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:03:13 $ docker top a16c68444cc2b5112556e09d8765a85bee5124a2c478ca0b8c2df5a545aef6b1 -eo pid,comm 05:03:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:03:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:03:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:13 [ssh-agent] Looking for ssh-agent implementation... 05:03:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:13 $ docker exec a16c68444cc2b5112556e09d8765a85bee5124a2c478ca0b8c2df5a545aef6b1 ssh-agent 05:03:13 SSH_AUTH_SOCK=/tmp/ssh-hSAb4gDOAEUc/agent.32 05:03:13 SSH_AGENT_PID=38 05:03:13 Running ssh-add (command line suppressed) 05:03:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7177185280526193257.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7177185280526193257.key) 05:03:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:13 + git semver tag 05:03:14 2023-12-29 05:03:14,061 [run_tag] DEBUG tag force:False 05:03:14 2023-12-29 05:03:14,061 [check_head_tag] DEBUG check head tag 05:03:14 2023-12-29 05:03:14,062 [execute] INFO git cat-file --batch-check 05:03:14 2023-12-29 05:03:14,062 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:03:14 2023-12-29 05:03:14,066 [execute] INFO git cat-file --batch 05:03:14 2023-12-29 05:03:14,066 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:03:14 2023-12-29 05:03:14,084 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:03:14 2023-12-29 05:03:14,084 [execute] INFO git tag -a v3.2.0-dev.6 -m v3.2.0-dev.6 05:03:14 2023-12-29 05:03:14,084 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.6', '-m', 'v3.2.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:03:14 2023-12-29 05:03:14,088 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:03:14 3.2.0-dev.6 [Pipeline] } 05:03:14 $ docker exec --env ******** --env ******** a16c68444cc2b5112556e09d8765a85bee5124a2c478ca0b8c2df5a545aef6b1 ssh-agent -k 05:03:14 unset SSH_AUTH_SOCK; 05:03:14 unset SSH_AGENT_PID; 05:03:14 echo Agent pid 38 killed; 05:03:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:03:14 + git semver [Pipeline] } 05:03:15 $ docker stop --time=1 a16c68444cc2b5112556e09d8765a85bee5124a2c478ca0b8c2df5a545aef6b1 05:03:16 $ docker rm -f --volumes a16c68444cc2b5112556e09d8765a85bee5124a2c478ca0b8c2df5a545aef6b1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:03:16 05:03:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:03:17 0.23.1-centos7: Pulling from edgex-lftools 05:03:17 ab5ef0e58194: Pulling fs layer 05:03:17 9712f1f96733: Pulling fs layer 05:03:17 63f879dbbcfc: Pulling fs layer 05:03:17 0d9ebad4ef96: Pulling fs layer 05:03:17 e9a5061849ea: Pulling fs layer 05:03:17 d747dcd14b5f: Pulling fs layer 05:03:17 2de7ff778b66: Pulling fs layer 05:03:17 0d9ebad4ef96: Waiting 05:03:17 e9a5061849ea: Waiting 05:03:17 d747dcd14b5f: Waiting 05:03:17 2de7ff778b66: Waiting 05:03:17 9712f1f96733: Verifying Checksum 05:03:17 9712f1f96733: Download complete 05:03:17 63f879dbbcfc: Verifying Checksum 05:03:17 63f879dbbcfc: Download complete 05:03:17 0d9ebad4ef96: Verifying Checksum 05:03:17 0d9ebad4ef96: Download complete 05:03:17 e9a5061849ea: Verifying Checksum 05:03:17 e9a5061849ea: Download complete 05:03:17 d747dcd14b5f: Download complete 05:03:17 ab5ef0e58194: Download complete 05:03:17 2de7ff778b66: Verifying Checksum 05:03:17 2de7ff778b66: Download complete 05:03:20 ab5ef0e58194: Pull complete 05:03:20 9712f1f96733: Pull complete 05:03:21 63f879dbbcfc: Pull complete 05:03:24 0d9ebad4ef96: Pull complete 05:03:24 e9a5061849ea: Pull complete 05:03:24 d747dcd14b5f: Pull complete 05:03:25 2de7ff778b66: Pull complete 05:03:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:03:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:03:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:25 prd-ubuntu20.04-docker-8c-8g-26364 does not seem to be running inside a container 05:03:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:03:34 $ docker top 8a046b71d19c0d7901f7115257d14ac832895334fe7802e3bb34113000ba71cc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:03:34 provisioning config files... 05:03:34 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10538755902888122319tmp 05:03:34 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11222792379403276986tmp 05:03:34 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3659717373790221860tmp [Pipeline] { [Pipeline] echo 05:03:35 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:03:35 ---> sigul-configuration.sh 05:03:35 gpg: directory `/root/.gnupg' created 05:03:35 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:03:35 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:03:35 gpg: keyring `/root/.gnupg/secring.gpg' created 05:03:35 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:03:35 gpg: CAST5 encrypted data 05:03:35 gpg: encrypted with 1 passphrase 05:03:35 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:03:35 + mkdir /home/jenkins 05:03:35 + mkdir /home/jenkins/sigul [Pipeline] sh 05:03:35 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:03:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:03:36 ---> sigul-install.sh 05:03:36 Sigul already installed; skipping installation. [Pipeline] sh 05:03:36 + git tag --list 05:03:36 0.7.1 05:03:36 delhi-tag 05:03:36 v1.0.0 05:03:36 v1.1.0 05:03:36 v1.1.1 05:03:36 v1.1.2 05:03:36 v1.2.0 05:03:36 v1.2.1 05:03:36 v1.2.2 05:03:36 v1.2.3 05:03:36 v1.3.0 05:03:36 v1.4.0 05:03:36 v2.0.0 05:03:36 v2.1.0 05:03:36 v2.1.1 05:03:36 v2.2.0 05:03:36 v2.3.0 05:03:36 v2.3.1 05:03:36 v3.0 05:03:36 v3.0.0 05:03:36 v3.0.1-dev.1 05:03:36 v3.1 05:03:36 v3.1.0 05:03:36 v3.1.0-dev.1 05:03:36 v3.1.0-dev.10 05:03:36 v3.1.0-dev.11 05:03:36 v3.1.0-dev.12 05:03:36 v3.1.0-dev.13 05:03:36 v3.1.0-dev.14 05:03:36 v3.1.0-dev.15 05:03:36 v3.1.0-dev.16 05:03:36 v3.1.0-dev.17 05:03:36 v3.1.0-dev.18 05:03:36 v3.1.0-dev.19 05:03:36 v3.1.0-dev.2 05:03:36 v3.1.0-dev.20 05:03:36 v3.1.0-dev.21 05:03:36 v3.1.0-dev.22 05:03:36 v3.1.0-dev.23 05:03:36 v3.1.0-dev.24 05:03:36 v3.1.0-dev.25 05:03:36 v3.1.0-dev.26 05:03:36 v3.1.0-dev.27 05:03:36 v3.1.0-dev.28 05:03:36 v3.1.0-dev.29 05:03:36 v3.1.0-dev.3 05:03:36 v3.1.0-dev.30 05:03:36 v3.1.0-dev.31 05:03:36 v3.1.0-dev.32 05:03:36 v3.1.0-dev.33 05:03:36 v3.1.0-dev.34 05:03:36 v3.1.0-dev.35 05:03:36 v3.1.0-dev.36 05:03:36 v3.1.0-dev.37 05:03:36 v3.1.0-dev.38 05:03:36 v3.1.0-dev.39 05:03:36 v3.1.0-dev.4 05:03:36 v3.1.0-dev.40 05:03:36 v3.1.0-dev.41 05:03:36 v3.1.0-dev.5 05:03:36 v3.1.0-dev.6 05:03:36 v3.1.0-dev.7 05:03:36 v3.1.0-dev.8 05:03:36 v3.1.0-dev.9 05:03:36 v3.2.0-dev.1 05:03:36 v3.2.0-dev.2 05:03:36 v3.2.0-dev.3 05:03:36 v3.2.0-dev.4 05:03:36 v3.2.0-dev.5 05:03:36 v3.2.0-dev.6 [Pipeline] sh 05:03:36 + lftools sign git-tag v3.2.0-dev.6 05:03:37 Signing Git tag with Sigul... 05:03:37 Signing v3.2.0-dev.6 [Pipeline] echo 05:03:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:03:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:03:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:03:38 $ docker stop --time=1 8a046b71d19c0d7901f7115257d14ac832895334fe7802e3bb34113000ba71cc 05:03:39 $ docker rm -f --volumes 8a046b71d19c0d7901f7115257d14ac832895334fe7802e3bb34113000ba71cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:03:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:03:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:41 prd-ubuntu20.04-docker-8c-8g-26364 does not seem to be running inside a container 05:03:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:03:41 $ docker top de0978b8435d6ba1057af91c2eb719771b7a97dc316481f982446982a4daaf80 -eo pid,comm 05:03:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:03:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:03:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:41 [ssh-agent] Looking for ssh-agent implementation... 05:03:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:41 $ docker exec de0978b8435d6ba1057af91c2eb719771b7a97dc316481f982446982a4daaf80 ssh-agent 05:03:41 SSH_AUTH_SOCK=/tmp/ssh-oVOnPK3etvdk/agent.31 05:03:41 SSH_AGENT_PID=37 05:03:41 Running ssh-add (command line suppressed) 05:03:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1171011778509504634.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1171011778509504634.key) 05:03:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:42 + git semver bump pre 05:03:42 2023-12-29 05:03:42,534 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:03:42 2023-12-29 05:03:42,535 [bump_version] DEBUG bumping version:3.2.0-dev.6 on axis:pre with prefix:dev 05:03:42 2023-12-29 05:03:42,535 [bump_version] DEBUG bumped version:3.2.0-dev.7 05:03:42 2023-12-29 05:03:42,535 [write_version] DEBUG write version:3.2.0-dev.7 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:03:42 2023-12-29 05:03:42,535 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:03:42 2023-12-29 05:03:42,535 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:03:42 2023-12-29 05:03:42,537 [execute] INFO git cat-file --batch-check 05:03:42 2023-12-29 05:03:42,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:03:42 2023-12-29 05:03:42,542 [execute] INFO git cat-file --batch 05:03:42 2023-12-29 05:03:42,542 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:03:42 2023-12-29 05:03:42,547 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:03:42 3.2.0-dev.7 [Pipeline] } 05:03:42 $ docker exec --env ******** --env ******** de0978b8435d6ba1057af91c2eb719771b7a97dc316481f982446982a4daaf80 ssh-agent -k 05:03:42 unset SSH_AUTH_SOCK; 05:03:42 unset SSH_AGENT_PID; 05:03:42 echo Agent pid 37 killed; 05:03:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:03:43 + git semver [Pipeline] } 05:03:43 $ docker stop --time=1 de0978b8435d6ba1057af91c2eb719771b7a97dc316481f982446982a4daaf80 05:03:44 $ docker rm -f --volumes de0978b8435d6ba1057af91c2eb719771b7a97dc316481f982446982a4daaf80 [Pipeline] // withDockerContainer [Pipeline] sh 05:03:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:03:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:45 prd-ubuntu20.04-docker-8c-8g-26364 does not seem to be running inside a container 05:03:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:03:46 $ docker top c363b00c78b1a66e6ba701d9e760064da6c4b350aad1726d33fe7f0a836f46d0 -eo pid,comm 05:03:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:03:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:03:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:46 [ssh-agent] Looking for ssh-agent implementation... 05:03:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:46 $ docker exec c363b00c78b1a66e6ba701d9e760064da6c4b350aad1726d33fe7f0a836f46d0 ssh-agent 05:03:46 SSH_AUTH_SOCK=/tmp/ssh-mupRHZCiwvjB/agent.33 05:03:46 SSH_AGENT_PID=39 05:03:46 Running ssh-add (command line suppressed) 05:03:46 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7042631609977323815.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7042631609977323815.key) 05:03:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:47 + git semver push 05:03:47 2023-12-29 05:03:47,201 [run_push] DEBUG push 05:03:47 2023-12-29 05:03:47,202 [execute] INFO git cat-file --batch-check 05:03:47 2023-12-29 05:03:47,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:03:47 2023-12-29 05:03:47,207 [execute] INFO git rev-list 7775b6c4f033c087075e9bb04980b4ac5c3beb7f -- 05:03:47 2023-12-29 05:03:47,207 [execute] DEBUG Popen(['git', 'rev-list', '7775b6c4f033c087075e9bb04980b4ac5c3beb7f', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:03:47 2023-12-29 05:03:47,220 [execute] INFO git fetch -v origin 05:03:47 2023-12-29 05:03:47,220 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:03:47 2023-12-29 05:03:47,747 [run_push] DEBUG no remote changes detected 05:03:47 2023-12-29 05:03:47,747 [execute] INFO git push origin semver 05:03:47 2023-12-29 05:03:47,748 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:03:48 2023-12-29 05:03:48,521 [run_push] DEBUG push all version tags 05:03:48 2023-12-29 05:03:48,521 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:03:48 2023-12-29 05:03:48,521 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:03:49 2023-12-29 05:03:49,202 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:03:49 3.2.0-dev.7 [Pipeline] } 05:03:49 $ docker exec --env ******** --env ******** c363b00c78b1a66e6ba701d9e760064da6c4b350aad1726d33fe7f0a836f46d0 ssh-agent -k 05:03:49 unset SSH_AUTH_SOCK; 05:03:49 unset SSH_AGENT_PID; 05:03:49 echo Agent pid 39 killed; 05:03:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:03:49 + git semver [Pipeline] } 05:03:50 $ docker stop --time=1 c363b00c78b1a66e6ba701d9e760064da6c4b350aad1726d33fe7f0a836f46d0 05:03:51 $ docker rm -f --volumes c363b00c78b1a66e6ba701d9e760064da6c4b350aad1726d33fe7f0a836f46d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:03:52 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:03:52 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:03:52 total 16 05:03:52 drwxr-xr-x 3 root root 4096 Dec 29 04:54 . 05:03:52 drwxrwxr-x 12 jenkins jenkins 4096 Dec 29 05:03 .. 05:03:52 drwxr-xr-x 2 root root 4096 Dec 29 04:54 cost 05:03:52 -rw-r--r-- 1 root root 85 Dec 29 04:54 cost.csv 05:03:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:03:52 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:03:52 total 16 05:03:52 drwxr-xr-x 3 jenkins jenkins 4096 Dec 29 04:54 . 05:03:52 drwxrwxr-x 12 jenkins jenkins 4096 Dec 29 05:03 .. 05:03:52 drwxr-xr-x 2 jenkins jenkins 4096 Dec 29 04:54 cost 05:03:52 -rw-r--r-- 1 jenkins jenkins 85 Dec 29 04:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:03:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:03:54 ---> package-listing.sh 05:03:54 ++ facter osfamily 05:03:54 ++ tr '[:upper:]' '[:lower:]' 05:03:54 + OS_FAMILY=debian 05:03:54 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:03:54 + START_PACKAGES=/tmp/packages_start.txt 05:03:54 + END_PACKAGES=/tmp/packages_end.txt 05:03:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:03:54 + PACKAGES=/tmp/packages_start.txt 05:03:54 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:03:54 + PACKAGES=/tmp/packages_end.txt 05:03:54 + case "${OS_FAMILY}" in 05:03:54 + dpkg -l 05:03:54 + grep '^ii' 05:03:54 + '[' -f /tmp/packages_start.txt ']' 05:03:54 + '[' -f /tmp/packages_end.txt ']' 05:03:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:03:54 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:03:54 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:03:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:03:54 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:03:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:03:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:55 prd-ubuntu20.04-docker-8c-8g-26364 does not seem to be running inside a container 05:03:55 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:03:55 $ docker top 381d4416649b08ac3eaa3010c84e67efec5db7d4c14ef2becd454bea20ca813d -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:56 + touch /tmp/pre-build-complete [Pipeline] sh 05:03:56 + mkdir -p /var/log/sysstat [Pipeline] sh 05:03:57 + ls /var/log/sa-host 05:03:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:57 provisioning config files... 05:03:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2847395212169638598tmp [Pipeline] { [Pipeline] echo 05:03:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:03:57 ---> create-netrc.sh [Pipeline] } 05:03:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:03:58 ---> python-tools-install.sh [Pipeline] echo 05:03:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:03:58 ---> sudo-logs.sh 05:03:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:03:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:03:58 ---> job-cost.sh 05:03:58 lf-activate-venv: SKIPPING 05:03:58 DEBUG: total: 0.2199999988079071 05:03:58 INFO: Retrieving Stack Cost... 05:03:59 INFO: Retrieving Pricing Info for: v3-standard-8 05:03:59 INFO: Archiving Costs [Pipeline] echo 05:03:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:03:59 ---> logs-deploy.sh 05:03:59 lf-activate-venv: SKIPPING 05:03:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/277 05:03:59 INFO: archiving workspace using pattern(s): 05:04:00 Archives upload complete. 05:04:00 INFO: archiving logs to Nexus