Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d1553bc24bec90db76a2b10fa9e928c5afbf1e1c 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-ssh17724321714168595768.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-ssh14509775739689260114.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-ssh413556825268498084.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-ssh13381807457024125143.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-ssh8542146071210307204.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-27865’ is offline Running on prd-ubuntu20.04-docker-8c-8g-27873 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1553bc24bec90db76a2b10fa9e928c5afbf1e1c (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d1553bc24bec90db76a2b10fa9e928c5afbf1e1c # timeout=10 Commit message: "Merge pull request #1557 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.14" > git rev-list --no-walk 8c8ed3e474c227ac5cd794810a07c084c0ea64b2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:42:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:42:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:42:03 ========================================================= 05:42:03 EdgeX Global Pipelines Version Info 05:42:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:42:04 ------------------- 05:42:04 stable info: 05:42:04 ------------------- 05:42:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:42:04 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:42:04 Message: update stable to v1.0.258 05:42:04 ------------------- 05:42:04 experimental info: 05:42:04 ------------------- 05:42:04 Commited By: **** collab-it+edgex@linuxfoundation.org 05:42:04 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:42:04 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:42:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:42:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:42:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:42:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:42:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:42:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:42:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:42:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:42:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:42:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d1553bc24bec90db76a2b10fa9e928c5afbf1e1c [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d1553bc [Pipeline] echo 05:42:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:42:05 provisioning config files... 05:42:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6142783832713861003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:42:06 ---> ****-login.sh 05:42:06 nexus3.edgexfoundry.org:10001 05:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:06 Configure a credential helper to remove this warning. See 05:42:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:06 05:42:06 Login Succeeded 05:42:06 nexus3.edgexfoundry.org:10002 05:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:06 Configure a credential helper to remove this warning. See 05:42:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:06 05:42:06 Login Succeeded 05:42:06 nexus3.edgexfoundry.org:10003 05:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:06 Configure a credential helper to remove this warning. See 05:42:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:06 05:42:06 Login Succeeded 05:42:06 nexus3.edgexfoundry.org:10004 05:42:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:07 Configure a credential helper to remove this warning. See 05:42:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:07 05:42:07 Login Succeeded 05:42:07 ****.io 05:42:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:07 Configure a credential helper to remove this warning. See 05:42:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:07 05:42:07 Login Succeeded 05:42:07 ---> ****-login.sh ends [Pipeline] } 05:42:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:42:07 + git rev-list -1 --merges d1553bc24bec90db76a2b10fa9e928c5afbf1e1c~1..d1553bc24bec90db76a2b10fa9e928c5afbf1e1c [Pipeline] echo 05:42:07 -----------> git rev-list -1 --merges d1553bc24bec90db76a2b10fa9e928c5afbf1e1c~1..d1553bc24bec90db76a2b10fa9e928c5afbf1e1c d1553bc24bec90db76a2b10fa9e928c5afbf1e1c 05:42:07 d1553bc24bec90db76a2b10fa9e928c5afbf1e1c [false] [Pipeline] sh 05:42:08 + git log --format=format:%s -1 d1553bc24bec90db76a2b10fa9e928c5afbf1e1c [Pipeline] echo 05:42:08 ========================================================= 05:42:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:42:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:42:08 + git log --format=format:%s -1 d1553bc24bec90db76a2b10fa9e928c5afbf1e1c [Pipeline] echo 05:42:08 [semverPrep] GIT_COMMIT: d1553bc24bec90db76a2b10fa9e928c5afbf1e1c, Commit Message: Merge pull request #1557 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.14 [Pipeline] echo 05:42:08 [semverPrep] This is not a build commit. [Pipeline] sh 05:42:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:42:08 + grep -v github /etc/ssh/ssh_known_hosts 05:42:08 + [ -e /tmp/ssh_known_hosts ] 05:42:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:42:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:42:08 + sudo tee -a /etc/ssh/ssh_known_hosts 05:42:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:42:09 05:42:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:42:09 0.1.4: Pulling from edgex-devops/py-git-semver 05:42:09 b85a868b505f: Pulling fs layer 05:42:09 e2be974225ed: Pulling fs layer 05:42:09 339a4e72a1f5: Pulling fs layer 05:42:09 988bab9f4d93: Pulling fs layer 05:42:09 1469e6f7b9e6: Pulling fs layer 05:42:09 eaf3925da568: Pulling fs layer 05:42:09 bab4dde63d76: Pulling fs layer 05:42:09 bde34c3a00c8: Pulling fs layer 05:42:09 b352a97aabf1: Pulling fs layer 05:42:09 4872d77fe225: Pulling fs layer 05:42:09 5851b861e8e6: Pulling fs layer 05:42:09 eaf3925da568: Waiting 05:42:09 bab4dde63d76: Waiting 05:42:09 bde34c3a00c8: Waiting 05:42:09 b352a97aabf1: Waiting 05:42:09 4872d77fe225: Waiting 05:42:09 5851b861e8e6: Waiting 05:42:09 988bab9f4d93: Waiting 05:42:09 1469e6f7b9e6: Waiting 05:42:09 e2be974225ed: Download complete 05:42:09 988bab9f4d93: Verifying Checksum 05:42:09 988bab9f4d93: Download complete 05:42:09 1469e6f7b9e6: Verifying Checksum 05:42:09 1469e6f7b9e6: Download complete 05:42:09 eaf3925da568: Verifying Checksum 05:42:09 eaf3925da568: Download complete 05:42:09 339a4e72a1f5: Verifying Checksum 05:42:09 339a4e72a1f5: Download complete 05:42:09 bde34c3a00c8: Download complete 05:42:09 b352a97aabf1: Download complete 05:42:09 4872d77fe225: Verifying Checksum 05:42:09 4872d77fe225: Download complete 05:42:09 5851b861e8e6: Verifying Checksum 05:42:09 5851b861e8e6: Download complete 05:42:09 b85a868b505f: Verifying Checksum 05:42:09 b85a868b505f: Download complete 05:42:10 bab4dde63d76: Verifying Checksum 05:42:10 bab4dde63d76: Download complete 05:42:11 b85a868b505f: Pull complete 05:42:11 e2be974225ed: Pull complete 05:42:11 339a4e72a1f5: Pull complete 05:42:11 988bab9f4d93: Pull complete 05:42:11 1469e6f7b9e6: Pull complete 05:42:11 eaf3925da568: Pull complete 05:42:13 bab4dde63d76: Pull complete 05:42:13 bde34c3a00c8: Pull complete 05:42:13 b352a97aabf1: Pull complete 05:42:13 4872d77fe225: Pull complete 05:42:13 5851b861e8e6: Pull complete 05:42:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:42:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:42:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:42:14 prd-ubuntu20.04-docker-8c-8g-27873 does not seem to be running inside a container 05:42:14 $ 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 05:42:16 $ docker top a542ba4100e05dce49e06e669e737c419b94662b691be2ff14ec8def37d79d55 -eo pid,comm 05:42:16 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:42:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:42:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:42:16 [ssh-agent] Looking for ssh-agent implementation... 05:42:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:42:16 $ docker exec a542ba4100e05dce49e06e669e737c419b94662b691be2ff14ec8def37d79d55 ssh-agent 05:42:16 SSH_AUTH_SOCK=/tmp/ssh-U8C8RwL23ksN/agent.32 05:42:16 SSH_AGENT_PID=38 05:42:16 Running ssh-add (command line suppressed) 05:42:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12881335607811161861.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12881335607811161861.key) 05:42:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:42:17 + git tag --points-at HEAD [Pipeline] } 05:42:17 $ docker exec --env ******** --env ******** a542ba4100e05dce49e06e669e737c419b94662b691be2ff14ec8def37d79d55 ssh-agent -k 05:42:17 unset SSH_AUTH_SOCK; 05:42:17 unset SSH_AGENT_PID; 05:42:17 echo Agent pid 38 killed; 05:42:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:42:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:42:17 [ssh-agent] Looking for ssh-agent implementation... 05:42:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:42:17 $ docker exec a542ba4100e05dce49e06e669e737c419b94662b691be2ff14ec8def37d79d55 ssh-agent 05:42:17 SSH_AUTH_SOCK=/tmp/ssh-b9dLge1VaQXz/agent.70 05:42:17 SSH_AGENT_PID=76 05:42:17 Running ssh-add (command line suppressed) 05:42:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2883555738807703062.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2883555738807703062.key) 05:42:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:42:18 + git semver init 05:42:18 2024-01-25 05:42:18,226 [run_init] DEBUG init version:0.0.0 force:False 05:42:18 2024-01-25 05:42:18,226 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:42:18 2024-01-25 05:42:18,227 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:42:18 2024-01-25 05:42:18,227 [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) 05:42:19 2024-01-25 05:42:19,393 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:42:19 2024-01-25 05:42:19,394 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:42:19 2024-01-25 05:42:19,394 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:42:19 2024-01-25 05:42:19,394 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:42:19 3.2.0-dev.7 [Pipeline] } 05:42:19 $ docker exec --env ******** --env ******** a542ba4100e05dce49e06e669e737c419b94662b691be2ff14ec8def37d79d55 ssh-agent -k 05:42:19 unset SSH_AUTH_SOCK; 05:42:19 unset SSH_AGENT_PID; 05:42:19 echo Agent pid 76 killed; 05:42:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:42:20 + git semver [Pipeline] } 05:42:20 $ docker stop --time=1 a542ba4100e05dce49e06e669e737c419b94662b691be2ff14ec8def37d79d55 05:42:21 $ docker rm -f --volumes a542ba4100e05dce49e06e669e737c419b94662b691be2ff14ec8def37d79d55 [Pipeline] // withDockerContainer [Pipeline] sh 05:42:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:42:22 Stashed 1 file(s) [Pipeline] echo 05:42:22 [edgeXSemver]: initialized semver on version 3.2.0-dev.7 [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 05:42:22 provisioning config files... 05:42:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10084538492788338110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:42:23 ---> ****-login.sh 05:42:23 nexus3.edgexfoundry.org:10001 05:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:23 Configure a credential helper to remove this warning. See 05:42:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:23 05:42:23 Login Succeeded 05:42:23 nexus3.edgexfoundry.org:10002 05:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:23 Configure a credential helper to remove this warning. See 05:42:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:23 05:42:23 Login Succeeded 05:42:23 nexus3.edgexfoundry.org:10003 05:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:23 Configure a credential helper to remove this warning. See 05:42:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:23 05:42:23 Login Succeeded 05:42:23 nexus3.edgexfoundry.org:10004 05:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:23 Configure a credential helper to remove this warning. See 05:42:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:23 05:42:23 Login Succeeded 05:42:23 ****.io 05:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:23 Configure a credential helper to remove this warning. See 05:42:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:23 05:42:23 Login Succeeded 05:42:23 ---> ****-login.sh ends [Pipeline] } 05:42:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:42:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:42:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:42:23 ========================================================= 05:42:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:42:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:24 + 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 . 05:42:24 Sending build context to Docker daemon 21.92MB 05:42:24 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:42:24 Step 2/10 : FROM ${BASE} AS builder 05:42:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:42:24 7264a8db6415: Pulling fs layer 05:42:24 c4d48a809fc2: Pulling fs layer 05:42:24 4f1c88b9dad5: Pulling fs layer 05:42:24 ad3a456e5733: Pulling fs layer 05:42:24 69c7f0334f64: Pulling fs layer 05:42:24 1f1c1a5573a3: Pulling fs layer 05:42:24 ce7588e14bc9: Pulling fs layer 05:42:24 b5e4710f87ac: Pulling fs layer 05:42:24 69c7f0334f64: Waiting 05:42:24 1f1c1a5573a3: Waiting 05:42:24 ce7588e14bc9: Waiting 05:42:24 b5e4710f87ac: Waiting 05:42:24 ad3a456e5733: Waiting 05:42:24 c4d48a809fc2: Download complete 05:42:24 ad3a456e5733: Verifying Checksum 05:42:24 ad3a456e5733: Download complete 05:42:24 69c7f0334f64: Download complete 05:42:24 7264a8db6415: Verifying Checksum 05:42:24 7264a8db6415: Download complete 05:42:24 1f1c1a5573a3: Verifying Checksum 05:42:24 1f1c1a5573a3: Download complete 05:42:24 7264a8db6415: Pull complete 05:42:24 b5e4710f87ac: Verifying Checksum 05:42:24 c4d48a809fc2: Pull complete 05:42:24 4f1c88b9dad5: Verifying Checksum 05:42:24 4f1c88b9dad5: Download complete 05:42:25 ce7588e14bc9: Verifying Checksum 05:42:25 ce7588e14bc9: Download complete 05:42:29 4f1c88b9dad5: Pull complete 05:42:29 ad3a456e5733: Pull complete 05:42:29 69c7f0334f64: Pull complete 05:42:29 1f1c1a5573a3: Pull complete 05:42:32 ce7588e14bc9: Pull complete 05:42:32 b5e4710f87ac: Pull complete 05:42:32 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 05:42:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:42:32 ---> 88b5674ff536 05:42:32 Step 3/10 : ARG MAKE=make build 05:42:36 ---> Running in b8c2fff7cede 05:42:36 Removing intermediate container b8c2fff7cede 05:42:36 ---> 951c062f92bb 05:42:36 Step 4/10 : WORKDIR /device-sdk-go 05:42:36 ---> Running in b54c8173777b 05:42:36 Removing intermediate container b54c8173777b 05:42:36 ---> 078783e1093e 05:42:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:42:36 ---> Running in 45c1d879691b 05:42:36 Removing intermediate container 45c1d879691b 05:42:36 ---> 2fb98e7c9d98 05:42:36 Step 6/10 : RUN apk add --update --no-cache make git 05:42:36 ---> Running in b62f7abf8888 05:42:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:42:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:42:37 OK: 264 MiB in 52 packages 05:42:37 Still waiting to schedule task 05:42:37 ‘prd-ubuntu20.04-docker-arm64-4c-16g-27872’ is offline 05:42:37 Removing intermediate container b62f7abf8888 05:42:37 ---> ed65fe3258cd 05:42:37 Step 7/10 : COPY go.mod vendor* ./ 05:42:37 ---> 70d21c0df05f 05:42:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:42:37 ---> Running in 4cef8bfa2038 05:43:04 Removing intermediate container 4cef8bfa2038 05:43:04 ---> a2dfd19c0df9 05:43:04 Step 9/10 : COPY . . 05:43:04 ---> f3b758ce3188 05:43:04 Step 10/10 : RUN ${MAKE} 05:43:04 ---> Running in a55c8e8d536c 05:43:04 noop 05:43:04 Removing intermediate container a55c8e8d536c 05:43:04 ---> cac5225e4f7a 05:43:04 Successfully built cac5225e4f7a 05:43:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:04 + docker inspect -f . ci-base-image-x86_64 05:43:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:43:04 prd-ubuntu20.04-docker-8c-8g-27873 does not seem to be running inside a container 05:43:04 $ 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 05:43:05 $ docker top 21d055f1feaa7b065eb07115c7a979ed4a9ea32a012d48080e6d642fc6a54f51 -eo pid,comm [Pipeline] { [Pipeline] sh 05:43:05 + go version 05:43:05 go version go1.21.0 linux/amd64 [Pipeline] } 05:43:05 $ docker stop --time=1 21d055f1feaa7b065eb07115c7a979ed4a9ea32a012d48080e6d642fc6a54f51 05:43:06 $ docker rm -f --volumes 21d055f1feaa7b065eb07115c7a979ed4a9ea32a012d48080e6d642fc6a54f51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:07 + docker inspect -f . ci-base-image-x86_64 05:43:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:43:07 prd-ubuntu20.04-docker-8c-8g-27873 does not seem to be running inside a container 05:43:07 $ 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 05:43:07 $ docker top 237024d5a40c67ae3e5a99dcf7f769c567e7ee9c749d5eb9af7a949fb5f44d3d -eo pid,comm [Pipeline] { [Pipeline] sh 05:43:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:43:08 + make test 05:43:08 go test -race -coverprofile=coverage.out ./... 05:43:15 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:43:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:43:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:43:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:43:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:43:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:43:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:43:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:43:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:43:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.051s coverage: 27.6% of statements 05:43:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.066s coverage: 81.5% of statements 05:43:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.082s coverage: 86.0% of statements 05:43:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.081s coverage: 71.8% of statements 05:43:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:43:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:43:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:43:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.052s coverage: 14.4% of statements 05:43:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.750s coverage: 45.9% of statements 05:43:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.073s coverage: 68.5% of statements 05:43:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.109s coverage: 89.2% of statements 05:43:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.042s coverage: 5.5% of statements 05:43:49 GO111MODULE=on go vet ./... 05:43:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:43:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:43:51 ./bin/test-attribution-txt.sh 05:43:51 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 05:43:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:43:51 $ docker stop --time=1 237024d5a40c67ae3e5a99dcf7f769c567e7ee9c749d5eb9af7a949fb5f44d3d 05:43:54 $ docker rm -f --volumes 237024d5a40c67ae3e5a99dcf7f769c567e7ee9c749d5eb9af7a949fb5f44d3d [Pipeline] // withDockerContainer [Pipeline] sh 05:43:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:43:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:43:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:43:55 + ls -al . 05:43:55 total 308 05:43:55 drwxrwxr-x 11 jenkins jenkins 4096 Jan 25 05:43 . 05:43:55 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 05:42 .. 05:43:55 -rw-rw-r-- 1 jenkins jenkins 140 Jan 25 05:42 .dockerignore 05:43:55 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 05:43 .git 05:43:55 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 05:42 .github 05:43:55 -rw-rw-r-- 1 jenkins jenkins 137 Jan 25 05:42 .gitignore 05:43:55 -rw-rw-r-- 1 jenkins jenkins 42 Jan 25 05:42 .golangci.yml 05:43:55 drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 05:42 .semver 05:43:55 -rw-rw-r-- 1 jenkins jenkins 48109 Jan 25 05:42 CHANGELOG.md 05:43:55 -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 05:42 GOVERNANCE.md 05:43:55 -rw-rw-r-- 1 jenkins jenkins 885 Jan 25 05:42 Jenkinsfile 05:43:55 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 25 05:42 LICENSE 05:43:55 -rw-rw-r-- 1 jenkins jenkins 1842 Jan 25 05:42 Makefile 05:43:55 -rw-rw-r-- 1 jenkins jenkins 619 Jan 25 05:42 OWNERS.md 05:43:55 -rw-rw-r-- 1 jenkins jenkins 4933 Jan 25 05:42 README.md 05:43:55 -rw-rw-r-- 1 jenkins jenkins 11 Jan 25 05:42 VERSION 05:43:55 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 05:42 bin 05:43:55 -rw-r--r-- 1 jenkins jenkins 122153 Jan 25 05:43 coverage.out 05:43:55 drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 05:42 example 05:43:55 -rw-rw-r-- 1 jenkins jenkins 3767 Jan 25 05:42 go.mod 05:43:55 -rw-rw-r-- 1 jenkins jenkins 33874 Jan 25 05:42 go.sum 05:43:55 drwxrwxr-x 12 jenkins jenkins 4096 Jan 25 05:42 internal 05:43:55 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 05:42 openapi 05:43:55 drwxrwxr-x 6 jenkins jenkins 4096 Jan 25 05:42 pkg 05:43:55 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 05:42 snap 05:43:55 -rw-rw-r-- 1 jenkins jenkins 222 Jan 25 05:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:56 + 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=d1553bc24bec90db76a2b10fa9e928c5afbf1e1c --label arch=amd64 --label version=3.2.0-dev.7 . 05:43:56 Sending build context to Docker daemon 22.04MB 05:43:56 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:43:56 Step 2/23 : FROM ${BASE} AS builder 05:43:56 ---> cac5225e4f7a 05:43:56 Step 3/23 : ARG MAKE=make build 05:43:56 ---> Running in 29195fb3956a 05:43:56 Removing intermediate container 29195fb3956a 05:43:56 ---> 4e32135fdf17 05:43:56 Step 4/23 : WORKDIR /device-sdk-go 05:43:56 ---> Running in 0762599c539e 05:43:56 Removing intermediate container 0762599c539e 05:43:56 ---> 8b945e0f1e08 05:43:56 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:43:56 ---> Running in f13be7818bdf 05:43:56 Removing intermediate container f13be7818bdf 05:43:56 ---> b8673965aa29 05:43:56 Step 6/23 : RUN apk add --update --no-cache make git 05:43:56 ---> Running in 06f97f50d5ee 05:43:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:43:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:43:57 OK: 264 MiB in 52 packages 05:43:57 Removing intermediate container 06f97f50d5ee 05:43:57 ---> ef33c0823a86 05:43:57 Step 7/23 : COPY go.mod vendor* ./ 05:43:57 ---> 5862e5f526c3 05:43:57 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:43:57 ---> Running in 0490456992a6 05:43:58 Removing intermediate container 0490456992a6 05:43:58 ---> 7b7b54d3b55f 05:43:58 Step 9/23 : COPY . . 05:43:59 ---> e1269bd9eea8 05:43:59 Step 10/23 : RUN ${MAKE} 05:43:59 ---> Running in 55ace3a262e7 05:43:59 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.7" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:44:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-27876 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:44:15 Running in /w/workspace/device-sdk-go/278 [Pipeline] { [Pipeline] checkout 05:44:15 The recommended git tool is: git 05:44:17 Removing intermediate container 55ace3a262e7 05:44:17 ---> 8c5d82524a07 05:44:17 Step 11/23 : FROM alpine:3.18 05:44:17 3.18: Pulling from library/alpine 05:44:17 c926b61bad3b: Pulling fs layer 05:44:17 c926b61bad3b: Verifying Checksum 05:44:17 c926b61bad3b: Download complete 05:44:17 c926b61bad3b: Pull complete 05:44:17 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:44:17 Status: Downloaded newer image for alpine:3.18 05:44:17 ---> b541f2080109 05:44:17 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:44:17 ---> Running in 716b246da295 05:44:17 Removing intermediate container 716b246da295 05:44:17 ---> a5f18f2862cc 05:44:17 Step 13/23 : RUN apk add --update --no-cache 05:44:17 ---> Running in 90833c31f320 05:44:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:44:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:44:17 OK: 7 MiB in 15 packages 05:44:17 Removing intermediate container 90833c31f320 05:44:17 ---> 98adf2fa64f9 05:44:17 Step 14/23 : WORKDIR / 05:44:17 ---> Running in d38bc38d7010 05:44:17 Removing intermediate container d38bc38d7010 05:44:17 ---> 7c2a9aab58b7 05:44:17 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:44:17 ---> 678a0a8edee6 05:44:17 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:44:17 ---> ed19310bfff6 05:44:17 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:44:17 ---> f92db6dd3602 05:44:17 Step 18/23 : EXPOSE 59999 05:44:17 ---> Running in ad885d7386cd 05:44:17 Removing intermediate container ad885d7386cd 05:44:17 ---> a51286b5c607 05:44:17 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:44:17 ---> Running in cf57164de13b 05:44:17 Removing intermediate container cf57164de13b 05:44:17 ---> 64d47be94fa0 05:44:17 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:44:17 ---> Running in 15cff8c1d678 05:44:17 Removing intermediate container 15cff8c1d678 05:44:17 ---> 99434a26fea9 05:44:17 Step 21/23 : LABEL arch=amd64 05:44:17 ---> Running in b31095fdcac6 05:44:17 Removing intermediate container b31095fdcac6 05:44:17 ---> f303bdeb164a 05:44:17 Step 22/23 : LABEL git_sha=d1553bc24bec90db76a2b10fa9e928c5afbf1e1c 05:44:17 ---> Running in 6d46e59c4469 05:44:17 Removing intermediate container 6d46e59c4469 05:44:17 ---> ac36c105d780 05:44:17 Step 23/23 : LABEL version=3.2.0-dev.7 05:44:17 ---> Running in 1ad7c83e68c9 05:44:17 Removing intermediate container 1ad7c83e68c9 05:44:17 ---> e2593bb6753f 05:44:17 [Warning] One or more build-args [ARCH] were not consumed 05:44:17 Successfully built e2593bb6753f 05:44:17 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 05:44:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:44:18 05:44:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:44:18 latest: Pulling from edgex-lftools-log-publisher 05:44:18 5eb5b503b376: Pulling fs layer 05:44:18 5c69ac0246d0: Pulling fs layer 05:44:18 ec43610c2a17: Pulling fs layer 05:44:18 3a2ae6a8a46f: Pulling fs layer 05:44:18 33b1e0a273af: Pulling fs layer 05:44:18 5d3b04190fa2: Pulling fs layer 05:44:18 2f39f015ded8: Pulling fs layer 05:44:18 3a2ae6a8a46f: Waiting 05:44:18 33b1e0a273af: Waiting 05:44:18 5d3b04190fa2: Waiting 05:44:18 2f39f015ded8: Waiting 05:44:18 5c69ac0246d0: Download complete 05:44:18 3a2ae6a8a46f: Verifying Checksum 05:44:18 3a2ae6a8a46f: Download complete 05:44:18 33b1e0a273af: Verifying Checksum 05:44:18 33b1e0a273af: Download complete 05:44:18 5d3b04190fa2: Verifying Checksum 05:44:18 5d3b04190fa2: Download complete 05:44:18 ec43610c2a17: Verifying Checksum 05:44:18 ec43610c2a17: Download complete 05:44:19 5eb5b503b376: Verifying Checksum 05:44:19 5eb5b503b376: Download complete 05:44:19 2f39f015ded8: Download complete 05:44:20 5eb5b503b376: Pull complete 05:44:20 5c69ac0246d0: Pull complete 05:44:20 ec43610c2a17: Pull complete 05:44:20 3a2ae6a8a46f: Pull complete 05:44:20 33b1e0a273af: Pull complete 05:44:21 5d3b04190fa2: Pull complete 05:44:22 using credential edgex-jenkins-ssh 05:44:22 Cloning the remote Git repository 05:44:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:44:22 > git init /w/workspace/device-sdk-go/278 # timeout=10 05:44:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:44:23 > git --version # timeout=10 05:44:23 > git --version # 'git version 2.25.1' 05:44:23 using GIT_SSH to set credentials SSH Credentials for GitHub 05:44:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:44:25 2f39f015ded8: Pull complete 05:44:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:44:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:44:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:25 prd-ubuntu20.04-docker-8c-8g-27873 does not seem to be running inside a container 05:44:25 $ 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 05:44:26 $ docker top 268bc54fc1185b7e54876cae0471cd94864c48554684926554fd86afa26c019b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:27 ---> job-cost.sh 05:44:27 lf-activate-venv: SKIPPING 05:44:27 INFO: No Stack... 05:44:27 INFO: Retrieving Pricing Info for: v3-standard-8 05:44:27 INFO: Archiving Costs [Pipeline] sh 05:44:28 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:44:28 + cut -d, -f6 [Pipeline] lock 05:44:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-278-stack-cost] 05:44:28 Resource [jenkins-edgexfoundry-device-sdk-go-main-278-stack-cost] did not exist. Created. 05:44:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-278-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:44:28 + echo total: 0.2199999988079071 [Pipeline] stash 05:44:28 Stashed 1 file(s) [Pipeline] } 05:44:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-278-stack-cost] [Pipeline] // lock [Pipeline] } 05:44:28 $ docker stop --time=1 268bc54fc1185b7e54876cae0471cd94864c48554684926554fd86afa26c019b 05:44:29 Avoid second fetch 05:44:29 Checking out Revision d1553bc24bec90db76a2b10fa9e928c5afbf1e1c (main) 05:44:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:44:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:44:29 > git config core.sparsecheckout # timeout=10 05:44:29 $ docker rm -f --volumes 268bc54fc1185b7e54876cae0471cd94864c48554684926554fd86afa26c019b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:44:30 Commit message: "Merge pull request #1557 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.14" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:44:29 > git checkout -f d1553bc24bec90db76a2b10fa9e928c5afbf1e1c # timeout=10 05:44:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:44:31 % Total % Received % Xferd Average Speed Time Time Time Current 05:44:31 Dload Upload Total Spent Left Speed 05:44:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 05:44:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:44:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:44:31 + sudo tee /etc/docker/daemon.new 05:44:31 { 05:44:31 "registry-mirrors": [ 05:44:31 "https://nexus3.edgexfoundry.org:10001" 05:44:31 ], 05:44:31 "bip": "10.250.0.254/24", 05:44:31 "hosts": [ 05:44:31 "tcp://0.0.0.0:5555", 05:44:31 "unix:///var/run/docker.sock" 05:44:31 ], 05:44:31 "mtu": 1458, 05:44:31 "selinux-enabled": true, 05:44:31 "seccomp-profile": "/etc/docker/seccomp.json" 05:44:31 } [Pipeline] sh 05:44:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:44:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:44:50 provisioning config files... 05:44:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/278@tmp/config7927023946910888337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:51 ---> ****-login.sh 05:44:51 nexus3.edgexfoundry.org:10001 05:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:51 Configure a credential helper to remove this warning. See 05:44:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:51 05:44:51 Login Succeeded 05:44:51 nexus3.edgexfoundry.org:10002 05:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:52 Configure a credential helper to remove this warning. See 05:44:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:52 05:44:52 Login Succeeded 05:44:52 nexus3.edgexfoundry.org:10003 05:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:52 Configure a credential helper to remove this warning. See 05:44:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:52 05:44:52 Login Succeeded 05:44:52 nexus3.edgexfoundry.org:10004 05:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:52 Configure a credential helper to remove this warning. See 05:44:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:52 05:44:52 Login Succeeded 05:44:52 ****.io 05:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:44:53 Configure a credential helper to remove this warning. See 05:44:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:44:53 05:44:53 Login Succeeded 05:44:53 ---> ****-login.sh ends [Pipeline] } 05:44:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:44:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:44:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:44:53 ========================================================= 05:44:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:44:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:54 + 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 . 05:44:58 #0 building with "default" instance using docker driver 05:44:58 05:44:58 #1 [internal] load build definition from Dockerfile 05:44:58 #1 transferring dockerfile: 1.54kB 0.0s done 05:44:58 #1 DONE 0.1s 05:44:58 05:44:58 #2 [internal] load .dockerignore 05:44:58 #2 transferring context: 182B 0.0s done 05:44:58 #2 DONE 0.1s 05:44:58 05:44:58 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:44:58 #3 DONE 0.1s 05:44:58 05:44:58 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 05:44:58 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 05:44:58 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 05:44:58 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 05:44:58 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s 05:44:58 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 05:44:58 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 05:44:58 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 05:44:58 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 05:44:58 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 05:44:58 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.24MB / 63.99MB 0.3s 05:44:58 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 05:44:58 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s 05:44:58 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 05:44:58 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 05:44:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 9.10MB / 63.99MB 0.4s 05:44:59 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.43MB / 11.40MB 0.4s 05:44:59 #4 ... 05:44:59 05:44:59 #5 [internal] load build context 05:44:59 #5 transferring context: 11.15MB 0.4s done 05:44:59 #5 DONE 0.5s 05:44:59 05:44:59 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 05:44:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.63MB / 63.99MB 0.5s 05:44:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.5s 05:44:59 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 0.5s 05:44:59 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 05:44:59 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.39MB / 11.40MB 0.6s 05:44:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 19.47MB / 63.99MB 0.9s 05:44:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 15.73MB / 97.63MB 0.9s 05:44:59 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.9s 05:44:59 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 05:44:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 25.17MB / 63.99MB 1.0s 05:44:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 20.98MB / 97.63MB 1.0s 05:44:59 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.9s done 05:44:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.76MB / 63.99MB 1.1s 05:44:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 26.21MB / 97.63MB 1.1s 05:44:59 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 05:44:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 40.81MB / 63.99MB 1.3s 05:44:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 34.60MB / 97.63MB 1.3s 05:44:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 46.14MB / 63.99MB 1.4s 05:44:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 40.89MB / 97.63MB 1.4s 05:44:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 52.43MB / 63.99MB 1.5s 05:44:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 47.19MB / 97.63MB 1.5s 05:45:00 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.72MB / 63.99MB 1.6s 05:45:00 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.6s 05:45:00 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.8s done 05:45:00 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 66.06MB / 97.63MB 1.8s 05:45:00 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 71.30MB / 97.63MB 1.9s 05:45:00 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 05:45:00 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 77.42MB / 97.63MB 2.0s 05:45:00 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 88.62MB / 97.63MB 2.2s 05:45:00 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 94.37MB / 97.63MB 2.3s 05:45:00 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.5s done 05:45:06 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.3s 05:45:11 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.5s 05:45:16 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.6s done 05:45:18 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 05:45:18 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 05:45:18 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 05:45:18 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 05:45:24 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 05:45:27 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.1s done 05:45:27 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 05:45:28 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done 05:45:28 #4 DONE 30.3s 05:45:28 05:45:28 #6 [builder 2/7] WORKDIR /device-sdk-go 05:45:30 #6 DONE 1.8s 05:45:30 05:45:30 #7 [builder 3/7] RUN apk add --update --no-cache make git 05:45:31 #7 0.715 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:45:31 #7 1.101 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:45:32 #7 2.089 OK: 266 MiB in 52 packages 05:45:32 #7 DONE 2.3s 05:45:32 05:45:32 #8 [builder 4/7] COPY go.mod vendor* ./ 05:45:32 #8 DONE 0.1s 05:45:32 05:45:32 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:45:51 #9 DONE 17.0s 05:45:51 05:45:51 #10 [builder 6/7] COPY . . 05:45:51 #10 DONE 0.3s 05:45:51 05:45:51 #11 [builder 7/7] RUN echo noop 05:45:51 #11 0.597 noop 05:45:54 #11 DONE 3.8s 05:45:54 05:45:54 #12 exporting to image 05:45:54 #12 exporting layers 05:46:12 #12 exporting layers 16.5s done 05:46:12 #12 writing image sha256:7802d3421fbba63bf389964b438b7af59b9956ba54e74561f5bfcc37f3eab76a done 05:46:12 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 05:46:12 #12 DONE 16.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:13 + docker inspect -f . ci-base-image-arm64 05:46:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:13 prd-ubuntu20.04-docker-arm64-4c-16g-27876 does not seem to be running inside a container 05:46:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/278 -v /w/workspace/device-sdk-go/278:/w/workspace/device-sdk-go/278:rw,z -v /w/workspace/device-sdk-go/278@tmp:/w/workspace/device-sdk-go/278@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 ******** ci-base-image-arm64 cat 05:46:14 $ docker top b91bc134e55748854bfbc475ca00bcb5985fd39ee606b5705026400b60185b1a -eo pid,comm [Pipeline] { [Pipeline] sh 05:46:15 + go version 05:46:15 go version go1.21.0 linux/arm64 [Pipeline] } 05:46:15 $ docker stop --time=1 b91bc134e55748854bfbc475ca00bcb5985fd39ee606b5705026400b60185b1a 05:46:16 $ docker rm -f --volumes b91bc134e55748854bfbc475ca00bcb5985fd39ee606b5705026400b60185b1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:17 + docker inspect -f . ci-base-image-arm64 05:46:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:17 prd-ubuntu20.04-docker-arm64-4c-16g-27876 does not seem to be running inside a container 05:46:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/278 -v /w/workspace/device-sdk-go/278:/w/workspace/device-sdk-go/278:rw,z -v /w/workspace/device-sdk-go/278@tmp:/w/workspace/device-sdk-go/278@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 ******** ci-base-image-arm64 cat 05:46:18 $ docker top e877b0c1a420d4fa63900752bdb87f53d9dc471a614c05e6940dac1808366cc5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:46:19 + git config --global --add safe.directory /w/workspace/device-sdk-go/278 [Pipeline] fileExists [Pipeline] sh 05:46:19 + make test 05:46:19 go test -race -coverprofile=coverage.out ./... 05:46:58 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:48:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:48:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:48:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:48:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:48:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:48:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:48:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:48:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.201s coverage: 27.6% of statements 05:48:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.294s coverage: 81.5% of statements 05:48:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.361s coverage: 86.0% of statements 05:48:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:48:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.426s coverage: 71.8% of statements 05:48:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:48:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:48:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.259s coverage: 14.4% of statements 05:48:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.772s coverage: 45.9% of statements 05:48:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.439s coverage: 68.5% of statements 05:48:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.481s coverage: 89.2% of statements 05:48:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:48:14 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.241s coverage: 5.5% of statements 05:48:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:48:15 GO111MODULE=on go vet ./... 05:49:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:49:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:49:36 ./bin/test-attribution-txt.sh 05:49:36 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 05:49:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:49:37 $ docker stop --time=1 e877b0c1a420d4fa63900752bdb87f53d9dc471a614c05e6940dac1808366cc5 05:49:38 $ docker rm -f --volumes e877b0c1a420d4fa63900752bdb87f53d9dc471a614c05e6940dac1808366cc5 [Pipeline] // withDockerContainer [Pipeline] sh 05:49:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:49:40 Warning: overwriting stash ‘coverage-report’ 05:49:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:49:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:49:42 + ls -al . 05:49:42 total 304 05:49:42 drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 05:46 . 05:49:42 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 05:44 .. 05:49:42 -rw-rw-r-- 1 jenkins jenkins 140 Jan 25 05:44 .dockerignore 05:49:42 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 05:44 .git 05:49:42 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 05:44 .github 05:49:42 -rw-rw-r-- 1 jenkins jenkins 137 Jan 25 05:44 .gitignore 05:49:42 -rw-rw-r-- 1 jenkins jenkins 42 Jan 25 05:44 .golangci.yml 05:49:42 -rw-rw-r-- 1 jenkins jenkins 48109 Jan 25 05:44 CHANGELOG.md 05:49:42 -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 05:44 GOVERNANCE.md 05:49:42 -rw-rw-r-- 1 jenkins jenkins 885 Jan 25 05:44 Jenkinsfile 05:49:42 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 25 05:44 LICENSE 05:49:42 -rw-rw-r-- 1 jenkins jenkins 1842 Jan 25 05:44 Makefile 05:49:42 -rw-rw-r-- 1 jenkins jenkins 619 Jan 25 05:44 OWNERS.md 05:49:42 -rw-rw-r-- 1 jenkins jenkins 4933 Jan 25 05:44 README.md 05:49:42 -rw-rw-r-- 1 jenkins jenkins 11 Jan 25 05:42 VERSION 05:49:42 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 05:44 bin 05:49:42 -rw-r--r-- 1 jenkins jenkins 122156 Jan 25 05:48 coverage.out 05:49:42 drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 05:44 example 05:49:42 -rw-rw-r-- 1 jenkins jenkins 3767 Jan 25 05:44 go.mod 05:49:42 -rw-rw-r-- 1 jenkins jenkins 33874 Jan 25 05:44 go.sum 05:49:42 drwxrwxr-x 12 jenkins jenkins 4096 Jan 25 05:44 internal 05:49:42 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 05:44 openapi 05:49:42 drwxrwxr-x 6 jenkins jenkins 4096 Jan 25 05:44 pkg 05:49:42 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 05:44 snap 05:49:42 -rw-rw-r-- 1 jenkins jenkins 222 Jan 25 05:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:42 + 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=d1553bc24bec90db76a2b10fa9e928c5afbf1e1c --label arch=arm64 --label version=3.2.0-dev.7 . 05:49:43 #0 building with "default" instance using docker driver 05:49:43 05:49:43 #1 [internal] load .dockerignore 05:49:43 #1 transferring context: 182B 0.0s done 05:49:43 #1 DONE 0.0s 05:49:43 05:49:43 #2 [internal] load build definition from Dockerfile 05:49:43 #2 transferring dockerfile: 1.54kB done 05:49:43 #2 DONE 0.0s 05:49:43 05:49:43 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 05:49:43 #3 DONE 0.0s 05:49:43 05:49:43 #4 [internal] load metadata for docker.io/library/alpine:3.18 05:49:43 #4 DONE 0.2s 05:49:44 05:49:44 #5 [internal] load build context 05:49:44 #5 transferring context: 136.28kB 0.1s done 05:49:44 #5 DONE 0.1s 05:49:44 05:49:44 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:49:44 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 05:49:44 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 05:49:44 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 05:49:44 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 05:49:44 #6 ... 05:49:44 05:49:44 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 05:49:44 #7 DONE 0.2s 05:49:44 05:49:44 #8 [builder 2/7] WORKDIR /device-sdk-go 05:49:44 #8 DONE 0.1s 05:49:44 05:49:44 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:49:44 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 05:49:44 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 05:49:44 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 05:49:44 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 05:49:45 #6 DONE 1.0s 05:49:45 05:49:45 #9 [stage-1 2/6] RUN apk add --update --no-cache 05:49:45 #9 0.673 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:49:46 #9 1.062 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:49:47 #9 ... 05:49:47 05:49:47 #10 [builder 3/7] RUN apk add --update --no-cache make git 05:49:47 #10 0.745 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:49:47 #10 1.268 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:49:47 #10 2.572 OK: 266 MiB in 52 packages 05:49:47 #10 DONE 2.9s 05:49:47 05:49:47 #9 [stage-1 2/6] RUN apk add --update --no-cache 05:49:47 #9 2.337 OK: 8 MiB in 15 packages 05:49:47 #9 ... 05:49:47 05:49:47 #11 [builder 4/7] COPY go.mod vendor* ./ 05:49:47 #11 DONE 0.2s 05:49:47 05:49:47 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:49:47 #12 ... 05:49:47 05:49:47 #9 [stage-1 2/6] RUN apk add --update --no-cache 05:49:47 #9 DONE 2.7s 05:49:47 05:49:47 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:49:48 #12 DONE 1.1s 05:49:48 05:49:48 #13 [builder 6/7] COPY . . 05:49:49 #13 DONE 0.5s 05:49:49 05:49:49 #14 [builder 7/7] RUN make build 05:49:49 #14 0.690 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.7" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:50:59 #14 DONE 66.5s 05:50:59 05:50:59 #15 [stage-1 3/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:50:59 #15 DONE 0.1s 05:50:59 05:50:59 #16 [stage-1 4/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:50:59 #16 DONE 0.4s 05:50:59 05:50:59 #17 [stage-1 5/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:50:59 #17 DONE 0.1s 05:50:59 05:50:59 #18 exporting to image 05:50:59 #18 exporting layers 05:50:59 #18 exporting layers 0.3s done 05:50:59 #18 writing image sha256:3b42995f72a614a6ae3846c9db45a0f4f685e9a299c2c91d6dbb494e13425e61 done 05:50:59 #18 naming to docker.io/library/device-sdk-simple-arm64 done 05:50:59 #18 DONE 0.3s [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:51:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:51:00 05:51:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:51:01 arm64: Pulling from edgex-lftools-log-publisher 05:51:01 8998bd30e6a1: Pulling fs layer 05:51:01 04944245beec: Pulling fs layer 05:51:01 699f458cf7ca: Pulling fs layer 05:51:01 765212b225bb: Pulling fs layer 05:51:01 f23df028b6ca: Pulling fs layer 05:51:01 d65c8cfc05b1: Pulling fs layer 05:51:01 2437ff75d9bd: Pulling fs layer 05:51:01 f23df028b6ca: Waiting 05:51:01 d65c8cfc05b1: Waiting 05:51:01 2437ff75d9bd: Waiting 05:51:01 765212b225bb: Waiting 05:51:01 04944245beec: Verifying Checksum 05:51:01 04944245beec: Download complete 05:51:01 765212b225bb: Download complete 05:51:01 f23df028b6ca: Verifying Checksum 05:51:01 f23df028b6ca: Download complete 05:51:01 d65c8cfc05b1: Verifying Checksum 05:51:01 d65c8cfc05b1: Download complete 05:51:01 699f458cf7ca: Verifying Checksum 05:51:01 699f458cf7ca: Download complete 05:51:02 8998bd30e6a1: Verifying Checksum 05:51:02 8998bd30e6a1: Download complete 05:51:04 2437ff75d9bd: Verifying Checksum 05:51:04 2437ff75d9bd: Download complete 05:51:08 8998bd30e6a1: Pull complete 05:51:08 04944245beec: Pull complete 05:51:10 699f458cf7ca: Pull complete 05:51:10 765212b225bb: Pull complete 05:51:11 f23df028b6ca: Pull complete 05:51:11 d65c8cfc05b1: Pull complete 05:51:38 2437ff75d9bd: Pull complete 05:51:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:51:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:51:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:38 prd-ubuntu20.04-docker-arm64-4c-16g-27876 does not seem to be running inside a container 05:51:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/278 -v /w/workspace/device-sdk-go/278:/w/workspace/device-sdk-go/278:rw,z -v /w/workspace/device-sdk-go/278@tmp:/w/workspace/device-sdk-go/278@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:arm64 cat 05:51:41 $ docker top 2d8c7bd239126a42c3958d318651f8616514b2060af2594c6078542a4b64f3f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:41 ---> job-cost.sh 05:51:42 lf-activate-venv: SKIPPING 05:51:42 INFO: No Stack... 05:51:42 INFO: Retrieving Pricing Info for: v3-standard-8 05:51:43 INFO: Archiving Costs [Pipeline] sh 05:51:43 + cat /w/workspace/device-sdk-go/278/archives/cost.csv 05:51:43 + cut -d, -f6 [Pipeline] lock 05:51:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-278-stack-cost] 05:51:43 Resource [jenkins-edgexfoundry-device-sdk-go-main-278-stack-cost] did not exist. Created. 05:51:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-278-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:51:44 /w/workspace/device-sdk-go/278@tmp/durable-06f98af2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:51:44 + echo total: 0.2199999988079071 [Pipeline] stash 05:51:44 Warning: overwriting stash ‘stack-cost’ 05:51:44 Stashed 1 file(s) [Pipeline] } 05:51:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-278-stack-cost] [Pipeline] // lock [Pipeline] } 05:51:44 $ docker stop --time=1 2d8c7bd239126a42c3958d318651f8616514b2060af2594c6078542a4b64f3f1 05:51:47 $ docker rm -f --volumes 2d8c7bd239126a42c3958d318651f8616514b2060af2594c6078542a4b64f3f1 [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:51:48 provisioning config files... 05:51:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10938433358176401517tmp [Pipeline] { [Pipeline] sh 05:51:48 + set +x 05:51:48 + curl -s https://codecov.io/bash 05:51:48 + bash -s -- 05:51:48 05:51:48 _____ _ 05:51:48 / ____| | | 05:51:48 | | ___ __| | ___ ___ _____ __ 05:51:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:51:48 | |___| (_) | (_| | __/ (_| (_) \ V / 05:51:48 \_____\___/ \__,_|\___|\___\___/ \_/ 05:51:48 Bash-1.0.6 05:51:48 05:51:48 05:51:48 ==> git version 2.25.1 found 05:51:48 ==> 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:51:48 Release-Date: 2020-01-08 05:51:48 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:51:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:51:48 ==> Jenkins CI detected. 05:51:48 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:51:48 project root: . 05:51:48 --> token set from env 05:51:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:51:48 ==> Running gcov in . (disable via -X gcov) 05:51:49 ==> Python coveragepy not found 05:51:49 ==> Searching for coverage reports in: 05:51:49 + . 05:51:49 -> Found 1 reports 05:51:49 ==> Detecting git/mercurial file structure 05:51:49 ==> Reading reports 05:51:49 + ./coverage.out bytes=122156 05:51:49 ==> Appending adjustments 05:51:49 https://docs.codecov.io/docs/fixing-reports 05:51:49 + Found adjustments 05:51:49 ==> Gzipping contents 05:51:49 20K /tmp/codecov.1wjm3Z.gz 05:51:49 ==> Uploading reports 05:51:49 url: https://codecov.io 05:51:49 query: branch=main&commit=d1553bc24bec90db76a2b10fa9e928c5afbf1e1c&build=278&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F278%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:51:49 -> Pinging Codecov 05:51:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=d1553bc24bec90db76a2b10fa9e928c5afbf1e1c&build=278&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F278%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:51:49 -> Uploading to 05:51:49 https://storage.googleapis.com/codecov/v4/raw/2024-01-25/7E55EF52A471D76F132DFD9A03CDDE97/d1553bc24bec90db76a2b10fa9e928c5afbf1e1c/f105f59f-38b2-4bb9-bf91-d73bd5a06782.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240125T055149Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=39e34a597403afdf5f2ae8249b4e96802ae05ba3e8222b912c385367e55a0e86 05:51:49 % Total % Received % Xferd Average Speed Time Time Time Current 05:51:49 Dload Upload Total Spent Left Speed 05:51:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16786 0 0 100 16786 0 59524 --:--:-- --:--:-- --:--:-- 59524 05:51:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d1553bc24bec90db76a2b10fa9e928c5afbf1e1c [Pipeline] } 05:51:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:51:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:51:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:51:50 05:51:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:51:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:51:50 df9b9388f04a: Pulling fs layer 05:51:50 52dc419b0ee2: Pulling fs layer 05:51:50 25bc292e5bac: Pulling fs layer 05:51:50 114826534d7a: Pulling fs layer 05:51:50 4657fd5d0bcf: Pulling fs layer 05:51:50 6ad1cebc031e: Pulling fs layer 05:51:50 8a3aa393b2d8: Pulling fs layer 05:51:50 4657fd5d0bcf: Waiting 05:51:50 114826534d7a: Waiting 05:51:50 6ad1cebc031e: Waiting 05:51:50 8a3aa393b2d8: Waiting 05:51:50 25bc292e5bac: Verifying Checksum 05:51:50 25bc292e5bac: Download complete 05:51:50 52dc419b0ee2: Verifying Checksum 05:51:50 52dc419b0ee2: Download complete 05:51:50 4657fd5d0bcf: Download complete 05:51:50 df9b9388f04a: Verifying Checksum 05:51:50 df9b9388f04a: Download complete 05:51:51 df9b9388f04a: Pull complete 05:51:51 6ad1cebc031e: Verifying Checksum 05:51:51 6ad1cebc031e: Download complete 05:51:51 52dc419b0ee2: Pull complete 05:51:51 25bc292e5bac: Pull complete 05:51:51 114826534d7a: Download complete 05:51:52 8a3aa393b2d8: Verifying Checksum 05:51:52 8a3aa393b2d8: Download complete 05:51:55 114826534d7a: Pull complete 05:51:55 4657fd5d0bcf: Pull complete 05:51:55 6ad1cebc031e: Pull complete 05:51:57 8a3aa393b2d8: Pull complete 05:51:57 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:51:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:51:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:58 prd-ubuntu20.04-docker-8c-8g-27873 does not seem to be running inside a container 05:51:58 $ 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:51:59 $ docker top 54b3582d323abae608b10fae5df75ef8ee4ed616e697803e55f3a9670b703f63 -eo pid,comm [Pipeline] { [Pipeline] echo 05:51:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:52:00 + set -o pipefail 05:52:00 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:52:06 05:52:06 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:52:06 05:52:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/4b1770ea-c3f7-4b59-aef3-57f5450ea4b2 05:52:06 05:52:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:52:06 05:52:06 05:52:06 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:52:06 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:52:06 More details here: https://snyk.co/ue1NS 05:52:06 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 05:52:06 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:52:06 $ docker stop --time=1 54b3582d323abae608b10fae5df75ef8ee4ed616e697803e55f3a9670b703f63 05:52:08 $ docker rm -f --volumes 54b3582d323abae608b10fae5df75ef8ee4ed616e697803e55f3a9670b703f63 [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:52:09 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:52:09 provisioning config files... 05:52:09 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config196599417707787661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:09 --> edgex-publish-swagger.sh 05:52:09 === Publish openapi/v3 API === 05:52:09 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:52:09 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:52:09 % Total % Received % Xferd Average Speed Time Time Time Current 05:52:09 Dload Upload Total Spent Left Speed 05:52:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23854 100 180 100 23674 400 52608 --:--:-- --:--:-- --:--:-- 53008 05:52:09 {"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:52:09 [Pipeline] } 05:52:09 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:52:10 + git log --format=format:%s -1 d1553bc24bec90db76a2b10fa9e928c5afbf1e1c [Pipeline] sh 05:52:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:52:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:52:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:52:11 prd-ubuntu20.04-docker-8c-8g-27873 does not seem to be running inside a container 05:52:11 $ 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:52:11 $ docker top f4f85dc33bbcee3530801a818c7f15fbebc4cc0cd55e8e4774c563befe1bad50 -eo pid,comm 05:52:11 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:52:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:52:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:52:12 [ssh-agent] Looking for ssh-agent implementation... 05:52:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:52:12 $ docker exec f4f85dc33bbcee3530801a818c7f15fbebc4cc0cd55e8e4774c563befe1bad50 ssh-agent 05:52:12 SSH_AUTH_SOCK=/tmp/ssh-sfWnZZ3f01W5/agent.32 05:52:12 SSH_AGENT_PID=38 05:52:12 Running ssh-add (command line suppressed) 05:52:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12043397740042172884.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12043397740042172884.key) 05:52:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:52:12 + git semver tag 05:52:13 2024-01-25 05:52:12,932 [run_tag] DEBUG tag force:False 05:52:13 2024-01-25 05:52:12,933 [check_head_tag] DEBUG check head tag 05:52:13 2024-01-25 05:52:12,934 [execute] INFO git cat-file --batch-check 05:52:13 2024-01-25 05:52:12,934 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:52:13 2024-01-25 05:52:12,938 [execute] INFO git cat-file --batch 05:52:13 2024-01-25 05:52:12,938 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:52:13 2024-01-25 05:52:12,960 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:52:13 2024-01-25 05:52:12,961 [execute] INFO git tag -a v3.2.0-dev.7 -m v3.2.0-dev.7 05:52:13 2024-01-25 05:52:12,961 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.7', '-m', 'v3.2.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:52:13 2024-01-25 05:52:12,965 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:52:13 3.2.0-dev.7 [Pipeline] } 05:52:13 $ docker exec --env ******** --env ******** f4f85dc33bbcee3530801a818c7f15fbebc4cc0cd55e8e4774c563befe1bad50 ssh-agent -k 05:52:13 unset SSH_AUTH_SOCK; 05:52:13 unset SSH_AGENT_PID; 05:52:13 echo Agent pid 38 killed; 05:52:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:52:13 + git semver [Pipeline] } 05:52:13 $ docker stop --time=1 f4f85dc33bbcee3530801a818c7f15fbebc4cc0cd55e8e4774c563befe1bad50 05:52:15 $ docker rm -f --volumes f4f85dc33bbcee3530801a818c7f15fbebc4cc0cd55e8e4774c563befe1bad50 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:52:15 05:52:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:52:16 0.23.1-centos7: Pulling from edgex-lftools 05:52:16 ab5ef0e58194: Pulling fs layer 05:52:16 9712f1f96733: Pulling fs layer 05:52:16 63f879dbbcfc: Pulling fs layer 05:52:16 0d9ebad4ef96: Pulling fs layer 05:52:16 e9a5061849ea: Pulling fs layer 05:52:16 d747dcd14b5f: Pulling fs layer 05:52:16 0d9ebad4ef96: Waiting 05:52:16 2de7ff778b66: Pulling fs layer 05:52:16 d747dcd14b5f: Waiting 05:52:16 2de7ff778b66: Waiting 05:52:16 9712f1f96733: Verifying Checksum 05:52:16 9712f1f96733: Download complete 05:52:16 63f879dbbcfc: Verifying Checksum 05:52:16 63f879dbbcfc: Download complete 05:52:16 0d9ebad4ef96: Verifying Checksum 05:52:16 0d9ebad4ef96: Download complete 05:52:16 d747dcd14b5f: Verifying Checksum 05:52:16 d747dcd14b5f: Download complete 05:52:16 e9a5061849ea: Verifying Checksum 05:52:16 e9a5061849ea: Download complete 05:52:16 ab5ef0e58194: Verifying Checksum 05:52:16 ab5ef0e58194: Download complete 05:52:16 2de7ff778b66: Verifying Checksum 05:52:16 2de7ff778b66: Download complete 05:52:19 ab5ef0e58194: Pull complete 05:52:19 9712f1f96733: Pull complete 05:52:19 63f879dbbcfc: Pull complete 05:52:24 0d9ebad4ef96: Pull complete 05:52:24 e9a5061849ea: Pull complete 05:52:24 d747dcd14b5f: Pull complete 05:52:24 2de7ff778b66: Pull complete 05:52:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:52:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:52:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:52:24 prd-ubuntu20.04-docker-8c-8g-27873 does not seem to be running inside a container 05:52: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:52:27 $ docker top ae040fa1297e4c7a2f947f9de588db47efd2c3dbc92bbd01b17307435371f275 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:52:27 provisioning config files... 05:52:27 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5494035577318532895tmp 05:52:27 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7963165103902326186tmp 05:52:27 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7799877078810151794tmp [Pipeline] { [Pipeline] echo 05:52:27 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:52:28 ---> sigul-configuration.sh 05:52:28 gpg: directory `/root/.gnupg' created 05:52:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:52:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:52:28 gpg: keyring `/root/.gnupg/secring.gpg' created 05:52:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:52:28 gpg: CAST5 encrypted data 05:52:28 gpg: encrypted with 1 passphrase 05:52:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:52:28 + mkdir /home/jenkins 05:52:28 + mkdir /home/jenkins/sigul [Pipeline] sh 05:52:28 + 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:52:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:52:29 ---> sigul-install.sh 05:52:29 Sigul already installed; skipping installation. [Pipeline] sh 05:52:29 + git tag --list 05:52:29 0.7.1 05:52:29 delhi-tag 05:52:29 v1.0.0 05:52:29 v1.1.0 05:52:29 v1.1.1 05:52:29 v1.1.2 05:52:29 v1.2.0 05:52:29 v1.2.1 05:52:29 v1.2.2 05:52:29 v1.2.3 05:52:29 v1.3.0 05:52:29 v1.4.0 05:52:29 v2.0.0 05:52:29 v2.1.0 05:52:29 v2.1.1 05:52:29 v2.2.0 05:52:29 v2.3.0 05:52:29 v2.3.1 05:52:29 v3.0 05:52:29 v3.0.0 05:52:29 v3.0.1-dev.1 05:52:29 v3.1 05:52:29 v3.1.0 05:52:29 v3.1.0-dev.1 05:52:29 v3.1.0-dev.10 05:52:29 v3.1.0-dev.11 05:52:29 v3.1.0-dev.12 05:52:29 v3.1.0-dev.13 05:52:29 v3.1.0-dev.14 05:52:29 v3.1.0-dev.15 05:52:29 v3.1.0-dev.16 05:52:29 v3.1.0-dev.17 05:52:29 v3.1.0-dev.18 05:52:29 v3.1.0-dev.19 05:52:29 v3.1.0-dev.2 05:52:29 v3.1.0-dev.20 05:52:29 v3.1.0-dev.21 05:52:29 v3.1.0-dev.22 05:52:29 v3.1.0-dev.23 05:52:29 v3.1.0-dev.24 05:52:29 v3.1.0-dev.25 05:52:29 v3.1.0-dev.26 05:52:29 v3.1.0-dev.27 05:52:29 v3.1.0-dev.28 05:52:29 v3.1.0-dev.29 05:52:29 v3.1.0-dev.3 05:52:29 v3.1.0-dev.30 05:52:29 v3.1.0-dev.31 05:52:29 v3.1.0-dev.32 05:52:29 v3.1.0-dev.33 05:52:29 v3.1.0-dev.34 05:52:29 v3.1.0-dev.35 05:52:29 v3.1.0-dev.36 05:52:29 v3.1.0-dev.37 05:52:29 v3.1.0-dev.38 05:52:29 v3.1.0-dev.39 05:52:29 v3.1.0-dev.4 05:52:29 v3.1.0-dev.40 05:52:29 v3.1.0-dev.41 05:52:29 v3.1.0-dev.5 05:52:29 v3.1.0-dev.6 05:52:29 v3.1.0-dev.7 05:52:29 v3.1.0-dev.8 05:52:29 v3.1.0-dev.9 05:52:29 v3.2.0-dev.1 05:52:29 v3.2.0-dev.2 05:52:29 v3.2.0-dev.3 05:52:29 v3.2.0-dev.4 05:52:29 v3.2.0-dev.5 05:52:29 v3.2.0-dev.6 05:52:29 v3.2.0-dev.7 [Pipeline] sh 05:52:29 + lftools sign git-tag v3.2.0-dev.7 05:52:30 Signing Git tag with Sigul... 05:52:30 Signing v3.2.0-dev.7 [Pipeline] echo 05:52:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:52:30 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:52:30 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:52:30 $ docker stop --time=1 ae040fa1297e4c7a2f947f9de588db47efd2c3dbc92bbd01b17307435371f275 05:52:32 $ docker rm -f --volumes ae040fa1297e4c7a2f947f9de588db47efd2c3dbc92bbd01b17307435371f275 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:52:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:52:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:52:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:52:33 prd-ubuntu20.04-docker-8c-8g-27873 does not seem to be running inside a container 05:52:33 $ 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:52:34 $ docker top 5d1870da9c56ac8e9198cee94602d690e8d25748df88c2b0682ce65c9ec43da6 -eo pid,comm 05:52:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:52:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:52:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:52:34 [ssh-agent] Looking for ssh-agent implementation... 05:52:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:52:34 $ docker exec 5d1870da9c56ac8e9198cee94602d690e8d25748df88c2b0682ce65c9ec43da6 ssh-agent 05:52:34 SSH_AUTH_SOCK=/tmp/ssh-cHyvtYsrPKSo/agent.32 05:52:34 SSH_AGENT_PID=39 05:52:34 Running ssh-add (command line suppressed) 05:52:34 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16268967601431610583.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16268967601431610583.key) 05:52:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:52:35 + git semver bump pre 05:52:35 2024-01-25 05:52:35,402 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:52:35 2024-01-25 05:52:35,403 [bump_version] DEBUG bumping version:3.2.0-dev.7 on axis:pre with prefix:dev 05:52:35 2024-01-25 05:52:35,403 [bump_version] DEBUG bumped version:3.2.0-dev.8 05:52:35 2024-01-25 05:52:35,403 [write_version] DEBUG write version:3.2.0-dev.8 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:52:35 2024-01-25 05:52:35,403 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:52:35 2024-01-25 05:52:35,403 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:52:35 2024-01-25 05:52:35,404 [execute] INFO git cat-file --batch-check 05:52:35 2024-01-25 05:52:35,405 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:52:35 2024-01-25 05:52:35,409 [execute] INFO git cat-file --batch 05:52:35 2024-01-25 05:52:35,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:52:35 2024-01-25 05:52:35,413 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:52:35 3.2.0-dev.8 [Pipeline] } 05:52:35 $ docker exec --env ******** --env ******** 5d1870da9c56ac8e9198cee94602d690e8d25748df88c2b0682ce65c9ec43da6 ssh-agent -k 05:52:35 unset SSH_AUTH_SOCK; 05:52:35 unset SSH_AGENT_PID; 05:52:35 echo Agent pid 39 killed; 05:52:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:52:36 + git semver [Pipeline] } 05:52:36 $ docker stop --time=1 5d1870da9c56ac8e9198cee94602d690e8d25748df88c2b0682ce65c9ec43da6 05:52:37 $ docker rm -f --volumes 5d1870da9c56ac8e9198cee94602d690e8d25748df88c2b0682ce65c9ec43da6 [Pipeline] // withDockerContainer [Pipeline] sh 05:52:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:52:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:52:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:52:38 prd-ubuntu20.04-docker-8c-8g-27873 does not seem to be running inside a container 05:52:38 $ 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:52:39 $ docker top ac3885a51e2ae7c1f54d76a7fc720b324c12e6168666247099f93b645dac7900 -eo pid,comm 05:52:39 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:52:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:52:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:52:39 [ssh-agent] Looking for ssh-agent implementation... 05:52:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:52:39 $ docker exec ac3885a51e2ae7c1f54d76a7fc720b324c12e6168666247099f93b645dac7900 ssh-agent 05:52:39 SSH_AUTH_SOCK=/tmp/ssh-I3vCpNzksrKP/agent.31 05:52:39 SSH_AGENT_PID=37 05:52:39 Running ssh-add (command line suppressed) 05:52:39 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10706337303323267892.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10706337303323267892.key) 05:52:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:52:39 + git semver push 05:52:40 2024-01-25 05:52:40,171 [run_push] DEBUG push 05:52:40 2024-01-25 05:52:40,172 [execute] INFO git cat-file --batch-check 05:52:40 2024-01-25 05:52:40,172 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:52:40 2024-01-25 05:52:40,175 [execute] INFO git rev-list 3cea24853f10eb203c7f2f5ee71668ee22a76adb -- 05:52:40 2024-01-25 05:52:40,175 [execute] DEBUG Popen(['git', 'rev-list', '3cea24853f10eb203c7f2f5ee71668ee22a76adb', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:52:40 2024-01-25 05:52:40,188 [execute] INFO git fetch -v origin 05:52:40 2024-01-25 05:52:40,188 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:52:40 2024-01-25 05:52:40,719 [run_push] DEBUG no remote changes detected 05:52:40 2024-01-25 05:52:40,719 [execute] INFO git push origin semver 05:52:40 2024-01-25 05:52:40,720 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:52:41 2024-01-25 05:52:41,526 [run_push] DEBUG push all version tags 05:52:41 2024-01-25 05:52:41,527 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:52:41 2024-01-25 05:52:41,527 [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:52:42 2024-01-25 05:52:42,306 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:52:42 3.2.0-dev.8 [Pipeline] } 05:52:42 $ docker exec --env ******** --env ******** ac3885a51e2ae7c1f54d76a7fc720b324c12e6168666247099f93b645dac7900 ssh-agent -k 05:52:42 unset SSH_AUTH_SOCK; 05:52:42 unset SSH_AGENT_PID; 05:52:42 echo Agent pid 37 killed; 05:52:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:52:43 + git semver [Pipeline] } 05:52:43 $ docker stop --time=1 ac3885a51e2ae7c1f54d76a7fc720b324c12e6168666247099f93b645dac7900 05:52:44 $ docker rm -f --volumes ac3885a51e2ae7c1f54d76a7fc720b324c12e6168666247099f93b645dac7900 [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:52:46 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:52:46 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:52:46 total 16 05:52:46 drwxr-xr-x 3 root root 4096 Jan 25 05:44 . 05:52:46 drwxrwxr-x 12 jenkins jenkins 4096 Jan 25 05:52 .. 05:52:46 drwxr-xr-x 2 root root 4096 Jan 25 05:44 cost 05:52:46 -rw-r--r-- 1 root root 85 Jan 25 05:44 cost.csv 05:52:46 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:52:46 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:52:46 total 16 05:52:46 drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 05:44 . 05:52:46 drwxrwxr-x 12 jenkins jenkins 4096 Jan 25 05:52 .. 05:52:46 drwxr-xr-x 2 jenkins jenkins 4096 Jan 25 05:44 cost 05:52:46 -rw-r--r-- 1 jenkins jenkins 85 Jan 25 05:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:52:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:52:47 ---> package-listing.sh 05:52:47 ++ facter osfamily 05:52:47 ++ tr '[:upper:]' '[:lower:]' 05:52:47 + OS_FAMILY=debian 05:52:47 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:52:47 + START_PACKAGES=/tmp/packages_start.txt 05:52:47 + END_PACKAGES=/tmp/packages_end.txt 05:52:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:52:47 + PACKAGES=/tmp/packages_start.txt 05:52:47 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:52:47 + PACKAGES=/tmp/packages_end.txt 05:52:47 + case "${OS_FAMILY}" in 05:52:47 + dpkg -l 05:52:47 + grep '^ii' 05:52:47 + '[' -f /tmp/packages_start.txt ']' 05:52:47 + '[' -f /tmp/packages_end.txt ']' 05:52:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:52:47 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:52:47 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:52:47 + 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:52:47 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:52:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:52:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:52:48 prd-ubuntu20.04-docker-8c-8g-27873 does not seem to be running inside a container 05:52:48 $ 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:52:48 $ docker top c6400e2efd6c987f4fbdff76ac27079db01b68d7d026dd0639fe5d05dd00d3ba -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:49 + touch /tmp/pre-build-complete [Pipeline] sh 05:52:49 + mkdir -p /var/log/sysstat [Pipeline] sh 05:52:49 + ls /var/log/sa-host 05:52:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:52:49 provisioning config files... 05:52:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8765162764954089968tmp [Pipeline] { [Pipeline] echo 05:52:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:52:50 ---> create-netrc.sh [Pipeline] } 05:52:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:52:50 ---> python-tools-install.sh [Pipeline] echo 05:52:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:52:50 ---> sudo-logs.sh 05:52:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:52:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:52:51 ---> job-cost.sh 05:52:51 lf-activate-venv: SKIPPING 05:52:51 DEBUG: total: 0.2199999988079071 05:52:51 INFO: Retrieving Stack Cost... 05:52:51 INFO: Retrieving Pricing Info for: v3-standard-8 05:52:51 INFO: Archiving Costs [Pipeline] echo 05:52:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:52:52 ---> logs-deploy.sh 05:52:52 lf-activate-venv: SKIPPING 05:52:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/278 05:52:52 INFO: archiving workspace using pattern(s): 05:52:53 Archives upload complete. 05:52:53 INFO: archiving logs to Nexus