Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f5f74a473092f448edb5d022a206764aad0631ef 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-ssh16788913723720770272.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh12287977252158328706.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh3243274442791431207.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh14612833647739589660.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-ssh16740539849893089544.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4310 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 f5f74a473092f448edb5d022a206764aad0631ef (main) Commit message: "Merge pull request #1587 from cloudxxx8/issue-1586" > 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 f5f74a473092f448edb5d022a206764aad0631ef # timeout=10 > git rev-list --no-walk 911624c003e9e773b2d7c94646c77370a636792b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:47:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:47:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:47:36 ========================================================= 03:47:36 EdgeX Global Pipelines Version Info 03:47:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:47:37 ------------------- 03:47:37 stable info: 03:47:37 ------------------- 03:47:37 Commited By: Ginny Guan ginny@iotechsys.com 03:47:37 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 03:47:37 Message: update stable to v1.0.260 03:47:38 ------------------- 03:47:38 experimental info: 03:47:38 ------------------- 03:47:38 Commited By: Ginny Guan ginny@iotechsys.com 03:47:38 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 03:47:38 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:47:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:47:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:47:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5f74a473092f448edb5d022a206764aad0631ef [Pipeline] echo 03:47:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5f74a4 [Pipeline] echo 03:47:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:47:39 provisioning config files... 03:47:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5004648741906771065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:47:39 ---> ****-login.sh 03:47:39 nexus3.edgexfoundry.org:10001 03:47:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:47:39 Configure a credential helper to remove this warning. See 03:47:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:47:39 03:47:39 Login Succeeded 03:47:39 nexus3.edgexfoundry.org:10002 03:47:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:47:40 Configure a credential helper to remove this warning. See 03:47:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:47:40 03:47:40 Login Succeeded 03:47:40 nexus3.edgexfoundry.org:10003 03:47:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:47:40 Configure a credential helper to remove this warning. See 03:47:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:47:40 03:47:40 Login Succeeded 03:47:40 nexus3.edgexfoundry.org:10004 03:47:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:47:40 Configure a credential helper to remove this warning. See 03:47:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:47:40 03:47:40 Login Succeeded 03:47:40 ****.io 03:47:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:47:40 Configure a credential helper to remove this warning. See 03:47:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:47:40 03:47:40 Login Succeeded 03:47:40 ---> ****-login.sh ends [Pipeline] } 03:47:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:47:40 + git rev-list -1 --merges f5f74a473092f448edb5d022a206764aad0631ef~1..f5f74a473092f448edb5d022a206764aad0631ef [Pipeline] echo 03:47:40 -----------> git rev-list -1 --merges f5f74a473092f448edb5d022a206764aad0631ef~1..f5f74a473092f448edb5d022a206764aad0631ef f5f74a473092f448edb5d022a206764aad0631ef 03:47:40 f5f74a473092f448edb5d022a206764aad0631ef [false] [Pipeline] sh 03:47:41 + git log --format=format:%s -1 f5f74a473092f448edb5d022a206764aad0631ef [Pipeline] echo 03:47:41 ========================================================= 03:47:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:47:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:47:41 + git log --format=format:%s -1 f5f74a473092f448edb5d022a206764aad0631ef [Pipeline] echo 03:47:41 [semverPrep] GIT_COMMIT: f5f74a473092f448edb5d022a206764aad0631ef, Commit Message: Merge pull request #1587 from cloudxxx8/issue-1586 [Pipeline] echo 03:47:41 [semverPrep] This is not a build commit. [Pipeline] sh 03:47:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:47:41 + grep -v github /etc/ssh/ssh_known_hosts 03:47:41 + [ -e /tmp/ssh_known_hosts ] 03:47:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:47:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:47:41 + sudo tee -a /etc/ssh/ssh_known_hosts 03:47:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:47:42 03:47:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:47:42 0.1.4: Pulling from edgex-devops/py-git-semver 03:47:42 b85a868b505f: Pulling fs layer 03:47:42 e2be974225ed: Pulling fs layer 03:47:42 339a4e72a1f5: Pulling fs layer 03:47:42 988bab9f4d93: Pulling fs layer 03:47:42 1469e6f7b9e6: Pulling fs layer 03:47:42 eaf3925da568: Pulling fs layer 03:47:42 bab4dde63d76: Pulling fs layer 03:47:42 bde34c3a00c8: Pulling fs layer 03:47:42 b352a97aabf1: Pulling fs layer 03:47:42 4872d77fe225: Pulling fs layer 03:47:42 5851b861e8e6: Pulling fs layer 03:47:42 988bab9f4d93: Waiting 03:47:42 bab4dde63d76: Waiting 03:47:42 bde34c3a00c8: Waiting 03:47:42 b352a97aabf1: Waiting 03:47:42 1469e6f7b9e6: Waiting 03:47:42 eaf3925da568: Waiting 03:47:42 4872d77fe225: Waiting 03:47:42 5851b861e8e6: Waiting 03:47:42 e2be974225ed: Verifying Checksum 03:47:42 e2be974225ed: Download complete 03:47:42 988bab9f4d93: Verifying Checksum 03:47:42 988bab9f4d93: Download complete 03:47:42 1469e6f7b9e6: Verifying Checksum 03:47:42 1469e6f7b9e6: Download complete 03:47:42 339a4e72a1f5: Verifying Checksum 03:47:42 339a4e72a1f5: Download complete 03:47:42 eaf3925da568: Verifying Checksum 03:47:42 eaf3925da568: Download complete 03:47:42 bde34c3a00c8: Download complete 03:47:42 b352a97aabf1: Verifying Checksum 03:47:42 b352a97aabf1: Download complete 03:47:42 4872d77fe225: Verifying Checksum 03:47:42 4872d77fe225: Download complete 03:47:42 5851b861e8e6: Verifying Checksum 03:47:42 5851b861e8e6: Download complete 03:47:42 b85a868b505f: Verifying Checksum 03:47:42 b85a868b505f: Download complete 03:47:43 bab4dde63d76: Verifying Checksum 03:47:43 bab4dde63d76: Download complete 03:47:44 b85a868b505f: Pull complete 03:47:44 e2be974225ed: Pull complete 03:47:44 339a4e72a1f5: Pull complete 03:47:44 988bab9f4d93: Pull complete 03:47:45 1469e6f7b9e6: Pull complete 03:47:45 eaf3925da568: Pull complete 03:47:47 bab4dde63d76: Pull complete 03:47:47 bde34c3a00c8: Pull complete 03:47:47 b352a97aabf1: Pull complete 03:47:47 4872d77fe225: Pull complete 03:47:47 5851b861e8e6: Pull complete 03:47:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:47:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:47:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:47 prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container 03:47:47 $ 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 03:47:49 $ docker top 633d861c386bdf69d65247f2dcf5349acdf28a18028dd9d279134d0e407bcf2f -eo pid,comm 03:47:49 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:47:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:47:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:47:49 [ssh-agent] Looking for ssh-agent implementation... 03:47:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:47:49 $ docker exec 633d861c386bdf69d65247f2dcf5349acdf28a18028dd9d279134d0e407bcf2f ssh-agent 03:47:50 SSH_AUTH_SOCK=/tmp/ssh-9k6DUHhI15xE/agent.33 03:47:50 SSH_AGENT_PID=39 03:47:50 Running ssh-add (command line suppressed) 03:47:50 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16102356623859260065.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16102356623859260065.key) 03:47:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:47:50 + git tag --points-at HEAD [Pipeline] } 03:47:50 $ docker exec --env ******** --env ******** 633d861c386bdf69d65247f2dcf5349acdf28a18028dd9d279134d0e407bcf2f ssh-agent -k 03:47:50 unset SSH_AUTH_SOCK; 03:47:50 unset SSH_AGENT_PID; 03:47:50 echo Agent pid 39 killed; 03:47:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:47:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:47:50 [ssh-agent] Looking for ssh-agent implementation... 03:47:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:47:50 $ docker exec 633d861c386bdf69d65247f2dcf5349acdf28a18028dd9d279134d0e407bcf2f ssh-agent 03:47:50 SSH_AUTH_SOCK=/tmp/ssh-pJWKr1H874fi/agent.72 03:47:50 SSH_AGENT_PID=78 03:47:50 Running ssh-add (command line suppressed) 03:47:51 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11496733588586790111.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11496733588586790111.key) 03:47:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:47:51 + git semver init 03:47:51 2024-06-25 03:47:51,529 [run_init] DEBUG init version:0.0.0 force:False 03:47:51 2024-06-25 03:47:51,530 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 03:47:51 2024-06-25 03:47:51,530 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 03:47:51 2024-06-25 03:47:51,530 [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) 03:47:54 2024-06-25 03:47:53,586 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 03:47:54 2024-06-25 03:47:53,586 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 03:47:54 2024-06-25 03:47:53,586 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:47:54 2024-06-25 03:47:53,587 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:47:54 3.2.0-dev.17 [Pipeline] } 03:47:54 $ docker exec --env ******** --env ******** 633d861c386bdf69d65247f2dcf5349acdf28a18028dd9d279134d0e407bcf2f ssh-agent -k 03:47:54 unset SSH_AUTH_SOCK; 03:47:54 unset SSH_AGENT_PID; 03:47:54 echo Agent pid 78 killed; 03:47:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:47:54 + git semver [Pipeline] } 03:47:54 $ docker stop --time=1 633d861c386bdf69d65247f2dcf5349acdf28a18028dd9d279134d0e407bcf2f 03:47:56 $ docker rm -f --volumes 633d861c386bdf69d65247f2dcf5349acdf28a18028dd9d279134d0e407bcf2f [Pipeline] // withDockerContainer [Pipeline] sh 03:47:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:47:56 Stashed 1 file(s) [Pipeline] echo 03:47:56 [edgeXSemver]: initialized semver on version 3.2.0-dev.17 [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 03:47:56 provisioning config files... 03:47:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12989053193902440459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:47:57 ---> ****-login.sh 03:47:57 nexus3.edgexfoundry.org:10001 03:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:47:57 Configure a credential helper to remove this warning. See 03:47:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:47:57 03:47:57 Login Succeeded 03:47:57 nexus3.edgexfoundry.org:10002 03:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:47:57 Configure a credential helper to remove this warning. See 03:47:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:47:57 03:47:57 Login Succeeded 03:47:57 nexus3.edgexfoundry.org:10003 03:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:47:57 Configure a credential helper to remove this warning. See 03:47:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:47:57 03:47:57 Login Succeeded 03:47:57 nexus3.edgexfoundry.org:10004 03:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:47:57 Configure a credential helper to remove this warning. See 03:47:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:47:57 03:47:57 Login Succeeded 03:47:57 ****.io 03:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:47:57 Configure a credential helper to remove this warning. See 03:47:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:47:57 03:47:57 Login Succeeded 03:47:57 ---> ****-login.sh ends [Pipeline] } 03:47:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:47:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:47:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:47:57 ========================================================= 03:47:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:47:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:58 + 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 . 03:47:58 Sending build context to Docker daemon 24.86MB 03:47:58 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 03:47:58 Step 2/10 : FROM ${BASE} AS builder 03:47:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:47:58 619be1103602: Pulling fs layer 03:47:58 7862e08f4a3e: Pulling fs layer 03:47:58 5df492c9dc93: Pulling fs layer 03:47:58 7629e6793208: Pulling fs layer 03:47:58 4f4fb700ef54: Pulling fs layer 03:47:58 fb5054dd5b73: Pulling fs layer 03:47:58 eeca6798cff9: Pulling fs layer 03:47:58 aa269ceb94a6: Pulling fs layer 03:47:58 ada007ff1a6a: Pulling fs layer 03:47:58 4f4fb700ef54: Waiting 03:47:58 fb5054dd5b73: Waiting 03:47:58 eeca6798cff9: Waiting 03:47:58 aa269ceb94a6: Waiting 03:47:58 ada007ff1a6a: Waiting 03:47:58 7629e6793208: Waiting 03:47:58 7862e08f4a3e: Verifying Checksum 03:47:58 7862e08f4a3e: Download complete 03:47:58 7629e6793208: Download complete 03:47:58 4f4fb700ef54: Download complete 03:47:58 fb5054dd5b73: Verifying Checksum 03:47:58 fb5054dd5b73: Download complete 03:47:58 619be1103602: Download complete 03:47:58 eeca6798cff9: Verifying Checksum 03:47:58 eeca6798cff9: Download complete 03:47:58 619be1103602: Pull complete 03:47:58 7862e08f4a3e: Pull complete 03:47:58 ada007ff1a6a: Verifying Checksum 03:47:58 ada007ff1a6a: Download complete 03:47:59 5df492c9dc93: Verifying Checksum 03:47:59 5df492c9dc93: Download complete 03:47:59 aa269ceb94a6: Verifying Checksum 03:47:59 aa269ceb94a6: Download complete 03:48:02 5df492c9dc93: Pull complete 03:48:02 7629e6793208: Pull complete 03:48:02 4f4fb700ef54: Pull complete 03:48:02 fb5054dd5b73: Pull complete 03:48:02 eeca6798cff9: Pull complete 03:48:05 aa269ceb94a6: Pull complete 03:48:06 ada007ff1a6a: Pull complete 03:48:06 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:48:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:48:06 ---> f489d0715acc 03:48:06 Step 3/10 : ARG MAKE=make build 03:48:08 ---> Running in 96f36aba118b 03:48:08 Removing intermediate container 96f36aba118b 03:48:08 ---> a02c1128e72b 03:48:08 Step 4/10 : WORKDIR /device-sdk-go 03:48:08 ---> Running in 49d68c03032b 03:48:08 Removing intermediate container 49d68c03032b 03:48:08 ---> c5439a020e52 03:48:08 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:48:08 ---> Running in ceb0d98bff4d 03:48:08 Removing intermediate container ceb0d98bff4d 03:48:08 ---> 2f050a4b14e2 03:48:08 Step 6/10 : RUN apk add --update --no-cache make git 03:48:08 ---> Running in 69e093e50e53 03:48:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:48:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:48:09 OK: 264 MiB in 52 packages 03:48:09 Removing intermediate container 69e093e50e53 03:48:09 ---> 3fe5b4542810 03:48:09 Step 7/10 : COPY go.mod vendor* ./ 03:48:10 ---> 843490206f37 03:48:10 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:48:10 ---> Running in 947a992e64af 03:48:11 Still waiting to schedule task 03:48:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:48:56 Removing intermediate container 947a992e64af 03:48:56 ---> df441fb27caf 03:48:56 Step 9/10 : COPY . . 03:48:56 ---> b7094c5e91b4 03:48:56 Step 10/10 : RUN ${MAKE} 03:48:56 ---> Running in 3ff15b2572d4 03:48:56 noop 03:48:56 Removing intermediate container 3ff15b2572d4 03:48:56 ---> cbc1f4d41c7c 03:48:56 Successfully built cbc1f4d41c7c 03:48:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:57 + docker inspect -f . ci-base-image-x86_64 03:48:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:48:57 prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container 03:48:57 $ 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 03:48:57 $ docker top 0c6d4d00238ba113ae6ce023897b8113264220a72c43e85cb5dffe54fce4af05 -eo pid,comm [Pipeline] { [Pipeline] sh 03:48:58 + go version 03:48:58 go version go1.21.9 linux/amd64 [Pipeline] } 03:48:58 $ docker stop --time=1 0c6d4d00238ba113ae6ce023897b8113264220a72c43e85cb5dffe54fce4af05 03:48:59 $ docker rm -f --volumes 0c6d4d00238ba113ae6ce023897b8113264220a72c43e85cb5dffe54fce4af05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:59 + docker inspect -f . ci-base-image-x86_64 03:48:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:48:59 prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container 03:48:59 $ 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 03:49:00 $ docker top 9e80829e1219065180b0e78f311a1758b4c96501d5bbfebcdc2714ff8f0ef526 -eo pid,comm [Pipeline] { [Pipeline] sh 03:49:00 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 03:49:00 + make test 03:49:00 go test -race -coverprofile=coverage.out ./... 03:49:09 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:49:47 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 03:49:47 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:49:47 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:49:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 03:49:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:49:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:49:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:49:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.046s coverage: 27.6% of statements 03:49:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.067s coverage: 80.0% of statements 03:49:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.070s coverage: 86.0% of statements 03:49:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:49:47 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:49:47 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:49:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.097s coverage: 71.8% of statements 03:49:47 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 03:49:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.062s coverage: 14.4% of statements 03:49:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.780s coverage: 44.6% of statements 03:49:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.078s coverage: 68.5% of statements 03:49:50 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.116s coverage: 89.2% of statements 03:49:50 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.063s coverage: 5.5% of statements 03:50:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4311 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 03:50:01 Running in /w/workspace/device-sdk-go/292 [Pipeline] { [Pipeline] checkout 03:50:04 The recommended git tool is: git 03:50:13 using credential edgex-jenkins-ssh 03:50:13 Cloning the remote Git repository 03:50:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:50:13 > git init /w/workspace/device-sdk-go/292 # timeout=10 03:50:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:50:14 > git --version # timeout=10 03:50:14 > git --version # 'git version 2.25.1' 03:50:14 using GIT_SSH to set credentials SSH Credentials for GitHub 03:50:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:50:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:50:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:50:19 Avoid second fetch 03:50:19 Checking out Revision f5f74a473092f448edb5d022a206764aad0631ef (main) 03:50:19 Commit message: "Merge pull request #1587 from cloudxxx8/issue-1586" 03:50:19 > git config core.sparsecheckout # timeout=10 03:50:19 > git checkout -f f5f74a473092f448edb5d022a206764aad0631ef # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:50:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:50:24 % Total % Received % Xferd Average Speed Time Time Time Current 03:50:24 Dload Upload Total Spent Left Speed 03:50:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 03:50:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:50:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:50:25 + sudo tee /etc/docker/daemon.new 03:50:25 { 03:50:25 "registry-mirrors": [ 03:50:25 "https://nexus3.edgexfoundry.org:10001" 03:50:25 ], 03:50:25 "bip": "10.250.0.254/24", 03:50:25 "hosts": [ 03:50:25 "tcp://0.0.0.0:5555", 03:50:25 "unix:///var/run/docker.sock" 03:50:25 ], 03:50:25 "mtu": 1458, 03:50:25 "selinux-enabled": true, 03:50:25 "seccomp-profile": "/etc/docker/seccomp.json" 03:50:25 } [Pipeline] sh 03:50:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:50:25 + sudo service docker restart 03:50:29 GO111MODULE=on go vet ./... 03:50:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:50:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:50:30 ./bin/test-attribution-txt.sh 03:50:30 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:50:30 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:50:30 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:50:30 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:50:30 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:50:30 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:50:30 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:50:30 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:50:30 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:50:30 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:50:30 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:50:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:50:30 $ docker stop --time=1 9e80829e1219065180b0e78f311a1758b4c96501d5bbfebcdc2714ff8f0ef526 03:50:34 $ docker rm -f --volumes 9e80829e1219065180b0e78f311a1758b4c96501d5bbfebcdc2714ff8f0ef526 [Pipeline] // withDockerContainer [Pipeline] sh 03:50:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:50:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:50:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:50:36 + ls -al . 03:50:36 total 376 03:50:36 drwxrwxr-x 11 jenkins jenkins 4096 Jun 25 03:49 . 03:50:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 03:47 .. 03:50:36 -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 03:47 .dockerignore 03:50:36 drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 03:49 .git 03:50:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 03:47 .github 03:50:36 -rw-rw-r-- 1 jenkins jenkins 137 Jun 25 03:47 .gitignore 03:50:36 -rw-rw-r-- 1 jenkins jenkins 42 Jun 25 03:47 .golangci.yml 03:50:36 drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 03:47 .semver 03:50:36 -rw-rw-r-- 1 jenkins jenkins 48109 Jun 25 03:47 CHANGELOG.md 03:50:36 -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 03:47 GOVERNANCE.md 03:50:36 -rw-rw-r-- 1 jenkins jenkins 885 Jun 25 03:47 Jenkinsfile 03:50:36 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 25 03:47 LICENSE 03:50:36 -rw-rw-r-- 1 jenkins jenkins 1842 Jun 25 03:47 Makefile 03:50:36 -rw-rw-r-- 1 jenkins jenkins 619 Jun 25 03:47 OWNERS.md 03:50:36 -rw-rw-r-- 1 jenkins jenkins 4937 Jun 25 03:47 README.md 03:50:36 -rw-rw-r-- 1 jenkins jenkins 12 Jun 25 03:47 VERSION 03:50:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 03:47 bin 03:50:36 -rw-r--r-- 1 jenkins jenkins 122321 Jun 25 03:49 coverage.out 03:50:36 drwxrwxr-x 5 jenkins jenkins 4096 Jun 25 03:47 example 03:50:36 -rw-rw-r-- 1 jenkins jenkins 7064 Jun 25 03:47 go.mod 03:50:36 -rw-rw-r-- 1 jenkins jenkins 101331 Jun 25 03:47 go.sum 03:50:36 drwxrwxr-x 12 jenkins jenkins 4096 Jun 25 03:47 internal 03:50:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 03:47 openapi 03:50:36 drwxrwxr-x 6 jenkins jenkins 4096 Jun 25 03:47 pkg 03:50:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 03:47 snap 03:50:36 -rw-rw-r-- 1 jenkins jenkins 222 Jun 25 03:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:50:36 + 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=f5f74a473092f448edb5d022a206764aad0631ef --label arch=amd64 --label version=3.2.0-dev.17 . 03:50:36 Sending build context to Docker daemon 24.98MB 03:50:36 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 03:50:36 Step 2/24 : FROM ${BASE} AS builder 03:50:36 ---> cbc1f4d41c7c 03:50:36 Step 3/24 : ARG MAKE=make build 03:50:37 ---> Running in e921f52b490a 03:50:37 Removing intermediate container e921f52b490a 03:50:37 ---> 6b06515254cd 03:50:37 Step 4/24 : WORKDIR /device-sdk-go 03:50:37 ---> Running in c75bd0e096dc 03:50:37 Removing intermediate container c75bd0e096dc 03:50:37 ---> ada5e635ce99 03:50:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:50:37 ---> Running in 52a255fda0a0 03:50:37 Removing intermediate container 52a255fda0a0 03:50:37 ---> 2414d52786f9 03:50:37 Step 6/24 : RUN apk add --update --no-cache make git 03:50:37 ---> Running in ba4cbf365f25 03:50:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:50:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:50:38 OK: 264 MiB in 52 packages 03:50:38 Removing intermediate container ba4cbf365f25 03:50:38 ---> 2589f0f75b7e 03:50:38 Step 7/24 : COPY go.mod vendor* ./ 03:50:38 ---> ac23abaca48d 03:50:38 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:50:38 ---> Running in a53b013758d7 03:50:39 Removing intermediate container a53b013758d7 03:50:39 ---> c234b5c1fc0a 03:50:39 Step 9/24 : COPY . . 03:50:40 ---> 5bdac6a1f2e0 03:50:40 Step 10/24 : RUN ${MAKE} 03:50:40 ---> Running in 5359aa9182a3 03:50:40 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.17" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:50:43 provisioning config files... 03:50:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/292@tmp/config16123032183243428187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:50:44 ---> ****-login.sh 03:50:44 nexus3.edgexfoundry.org:10001 03:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:44 Configure a credential helper to remove this warning. See 03:50:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:44 03:50:44 Login Succeeded 03:50:44 nexus3.edgexfoundry.org:10002 03:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:45 Configure a credential helper to remove this warning. See 03:50:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:45 03:50:45 Login Succeeded 03:50:45 nexus3.edgexfoundry.org:10003 03:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:45 Configure a credential helper to remove this warning. See 03:50:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:45 03:50:45 Login Succeeded 03:50:45 nexus3.edgexfoundry.org:10004 03:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:46 Configure a credential helper to remove this warning. See 03:50:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:46 03:50:46 Login Succeeded 03:50:46 ****.io 03:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:46 Configure a credential helper to remove this warning. See 03:50:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:46 03:50:46 Login Succeeded 03:50:46 ---> ****-login.sh ends [Pipeline] } 03:50:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:50:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:50:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:50:47 ========================================================= 03:50:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:50:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:50:47 + 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 . 03:50:48 Sending build context to Docker daemon 12.85MB 03:50:48 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 03:50:48 Step 2/10 : FROM ${BASE} AS builder 03:50:48 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:50:48 c6b39de5b339: Pulling fs layer 03:50:48 a69c41024577: Pulling fs layer 03:50:48 d6de4b400683: Pulling fs layer 03:50:48 35cb2a7552d0: Pulling fs layer 03:50:48 4f4fb700ef54: Pulling fs layer 03:50:48 464afbd9ba4c: Pulling fs layer 03:50:48 00f215d4a9da: Pulling fs layer 03:50:48 d496ad576159: Pulling fs layer 03:50:48 464afbd9ba4c: Waiting 03:50:48 00f215d4a9da: Waiting 03:50:48 35cb2a7552d0: Waiting 03:50:48 4f4fb700ef54: Waiting 03:50:48 d496ad576159: Waiting 03:50:48 a69c41024577: Download complete 03:50:48 35cb2a7552d0: Download complete 03:50:48 4f4fb700ef54: Download complete 03:50:48 464afbd9ba4c: Verifying Checksum 03:50:48 464afbd9ba4c: Download complete 03:50:48 c6b39de5b339: Download complete 03:50:48 d496ad576159: Verifying Checksum 03:50:48 d496ad576159: Download complete 03:50:49 c6b39de5b339: Pull complete 03:50:50 a69c41024577: Pull complete 03:50:50 d6de4b400683: Verifying Checksum 03:50:50 d6de4b400683: Download complete 03:50:51 00f215d4a9da: Verifying Checksum 03:50:51 00f215d4a9da: Download complete 03:51:04 d6de4b400683: Pull complete 03:51:04 35cb2a7552d0: Pull complete 03:51:04 4f4fb700ef54: Pull complete 03:51:04 464afbd9ba4c: Pull complete 03:51:12 00f215d4a9da: Pull complete 03:51:12 Removing intermediate container 5359aa9182a3 03:51:12 ---> 137375486a56 03:51:12 Step 11/24 : FROM alpine:3.18 03:51:12 3.18: Pulling from library/alpine 03:51:12 73baa7ef167e: Pulling fs layer 03:51:12 73baa7ef167e: Download complete 03:51:12 73baa7ef167e: Pull complete 03:51:12 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 03:51:12 Status: Downloaded newer image for alpine:3.18 03:51:12 ---> 8fd7cac70a4a 03:51:12 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:51:12 ---> Running in 5f49a2a0e1d0 03:51:12 Removing intermediate container 5f49a2a0e1d0 03:51:12 ---> c4a76aab009e 03:51:12 Step 13/24 : RUN apk add --update --no-cache dumb-init 03:51:12 ---> Running in 6166cedabd0f 03:51:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:51:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:51:12 (1/1) Installing dumb-init (1.2.5-r2) 03:51:12 Executing busybox-1.36.1-r7.trigger 03:51:12 OK: 7 MiB in 16 packages 03:51:12 Removing intermediate container 6166cedabd0f 03:51:12 ---> 340038a3f473 03:51:12 Step 14/24 : RUN apk --no-cache upgrade 03:51:12 ---> Running in ffbc464980c1 03:51:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:51:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:51:12 OK: 7 MiB in 16 packages 03:51:12 Removing intermediate container ffbc464980c1 03:51:12 ---> c7edbc350b7b 03:51:12 Step 15/24 : WORKDIR / 03:51:12 ---> Running in 4a2d005bbe32 03:51:13 Removing intermediate container 4a2d005bbe32 03:51:13 ---> 702447ab95d8 03:51:13 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:51:13 ---> 79483592be56 03:51:13 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:51:13 d496ad576159: Pull complete 03:51:13 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 03:51:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:51:13 ---> f246e2811388 03:51:13 Step 3/10 : ARG MAKE=make build 03:51:14 ---> 6de8a49a35ca 03:51:14 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:51:14 ---> c8a01adae099 03:51:14 Step 19/24 : EXPOSE 59999 03:51:14 ---> Running in 2a216e1274f1 03:51:14 Removing intermediate container 2a216e1274f1 03:51:14 ---> 71bdc4e2fece 03:51:14 Step 20/24 : ENTRYPOINT ["/device-simple"] 03:51:14 ---> Running in 5c99622973b0 03:51:14 Removing intermediate container 5c99622973b0 03:51:14 ---> bc979558436e 03:51:14 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:51:14 ---> Running in 6f78c82e4acc 03:51:14 Removing intermediate container 6f78c82e4acc 03:51:14 ---> 3409976200ac 03:51:14 Step 22/24 : LABEL arch=amd64 03:51:14 ---> Running in a0999662f745 03:51:14 Removing intermediate container a0999662f745 03:51:14 ---> b10105b274f1 03:51:14 Step 23/24 : LABEL git_sha=f5f74a473092f448edb5d022a206764aad0631ef 03:51:14 ---> Running in 4e81e28bb93c 03:51:15 Removing intermediate container 4e81e28bb93c 03:51:15 ---> d182ebee2e11 03:51:15 Step 24/24 : LABEL version=3.2.0-dev.17 03:51:15 ---> Running in 241d4b4fcbc7 03:51:15 Removing intermediate container 241d4b4fcbc7 03:51:15 ---> 605e2f31d6ad 03:51:15 [Warning] One or more build-args [ARCH] were not consumed 03:51:15 Successfully built 605e2f31d6ad 03:51:15 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:51:15 ---> Running in ef3ad18fe6b8 03:51:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:51:15 03:51:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:51:15 Removing intermediate container ef3ad18fe6b8 03:51:15 ---> 4c3b7db25352 03:51:15 Step 4/10 : WORKDIR /device-sdk-go 03:51:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:51:15 latest: Pulling from edgex-lftools-log-publisher 03:51:15 5eb5b503b376: Pulling fs layer 03:51:15 5c69ac0246d0: Pulling fs layer 03:51:15 ec43610c2a17: Pulling fs layer 03:51:15 3a2ae6a8a46f: Pulling fs layer 03:51:15 33b1e0a273af: Pulling fs layer 03:51:15 5d3b04190fa2: Pulling fs layer 03:51:15 2f39f015ded8: Pulling fs layer 03:51:15 3a2ae6a8a46f: Waiting 03:51:15 5d3b04190fa2: Waiting 03:51:15 2f39f015ded8: Waiting 03:51:15 5c69ac0246d0: Download complete 03:51:15 3a2ae6a8a46f: Verifying Checksum 03:51:15 3a2ae6a8a46f: Download complete 03:51:15 33b1e0a273af: Verifying Checksum 03:51:15 33b1e0a273af: Download complete 03:51:15 5d3b04190fa2: Verifying Checksum 03:51:15 5d3b04190fa2: Download complete 03:51:15 ec43610c2a17: Verifying Checksum 03:51:15 ec43610c2a17: Download complete 03:51:16 ---> Running in 81f26e0aac27 03:51:16 5eb5b503b376: Verifying Checksum 03:51:16 5eb5b503b376: Download complete 03:51:16 Removing intermediate container 81f26e0aac27 03:51:16 ---> ca654465aaab 03:51:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:51:16 ---> Running in 2505eb44f05b 03:51:16 Removing intermediate container 2505eb44f05b 03:51:16 ---> b6ce587c4e92 03:51:16 Step 6/10 : RUN apk add --update --no-cache make git 03:51:16 2f39f015ded8: Download complete 03:51:17 ---> Running in 51115ad2d1ec 03:51:17 5eb5b503b376: Pull complete 03:51:17 5c69ac0246d0: Pull complete 03:51:17 ec43610c2a17: Pull complete 03:51:17 3a2ae6a8a46f: Pull complete 03:51:17 33b1e0a273af: Pull complete 03:51:18 5d3b04190fa2: Pull complete 03:51:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:51:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:51:19 OK: 266 MiB in 52 packages 03:51:20 Removing intermediate container 51115ad2d1ec 03:51:20 ---> 6d042e22b0a7 03:51:20 Step 7/10 : COPY go.mod vendor* ./ 03:51:21 ---> 01cc318a0cb3 03:51:21 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:51:21 ---> Running in ff97073df425 03:51:22 2f39f015ded8: Pull complete 03:51:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:51:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:51:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:51:22 prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container 03:51:22 $ 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 03:51:25 $ docker top 48a47a5094dcf63e519b4546d3cc46148142a74db78f5ef6d7b30c9b4123a9e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:51:26 ---> job-cost.sh 03:51:26 lf-activate-venv: SKIPPING 03:51:26 INFO: No Stack... 03:51:26 INFO: Retrieving Pricing Info for: v3-standard-8 03:51:27 INFO: Archiving Costs [Pipeline] sh 03:51:27 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 03:51:27 + cut -d, -f6 [Pipeline] lock 03:51:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-292-stack-cost] 03:51:27 Resource [jenkins-edgexfoundry-device-sdk-go-main-292-stack-cost] did not exist. Created. 03:51:27 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-292-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:51:27 + echo total: 0.2199999988079071 [Pipeline] stash 03:51:27 Stashed 1 file(s) [Pipeline] } 03:51:27 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-292-stack-cost] [Pipeline] // lock [Pipeline] } 03:51:27 $ docker stop --time=1 48a47a5094dcf63e519b4546d3cc46148142a74db78f5ef6d7b30c9b4123a9e8 03:51:28 $ docker rm -f --volumes 48a47a5094dcf63e519b4546d3cc46148142a74db78f5ef6d7b30c9b4123a9e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:53:12 Removing intermediate container ff97073df425 03:53:12 ---> 5ae663882cc4 03:53:12 Step 9/10 : COPY . . 03:53:12 ---> 3966f1855af4 03:53:12 Step 10/10 : RUN ${MAKE} 03:53:12 ---> Running in f445d28e5f2b 03:53:12 noop 03:53:12 Removing intermediate container f445d28e5f2b 03:53:12 ---> 6ae2ee463c9b 03:53:12 Successfully built 6ae2ee463c9b 03:53:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:13 + docker inspect -f . ci-base-image-arm64 03:53:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:13 prd-ubuntu20.04-docker-arm64-4c-16g-4311 does not seem to be running inside a container 03:53:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/292 -v /w/workspace/device-sdk-go/292:/w/workspace/device-sdk-go/292:rw,z -v /w/workspace/device-sdk-go/292@tmp:/w/workspace/device-sdk-go/292@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:53:14 $ docker top 2116dfdb6eaaaccd279d73345541c3598d2fdc9b87e6d26a418db39c479f3d33 -eo pid,comm [Pipeline] { [Pipeline] sh 03:53:15 + go version 03:53:15 go version go1.21.9 linux/arm64 [Pipeline] } 03:53:15 $ docker stop --time=1 2116dfdb6eaaaccd279d73345541c3598d2fdc9b87e6d26a418db39c479f3d33 03:53:17 $ docker rm -f --volumes 2116dfdb6eaaaccd279d73345541c3598d2fdc9b87e6d26a418db39c479f3d33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:17 + docker inspect -f . ci-base-image-arm64 03:53:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:18 prd-ubuntu20.04-docker-arm64-4c-16g-4311 does not seem to be running inside a container 03:53:18 $ 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/292 -v /w/workspace/device-sdk-go/292:/w/workspace/device-sdk-go/292:rw,z -v /w/workspace/device-sdk-go/292@tmp:/w/workspace/device-sdk-go/292@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:53:19 $ docker top f051b1bddee455f832e69c957fd5634bb1fe5c1cb0a15fc9f47fe220d735fc43 -eo pid,comm [Pipeline] { [Pipeline] sh 03:53:20 + git config --global --add safe.directory /w/workspace/device-sdk-go/292 [Pipeline] fileExists [Pipeline] sh 03:53:20 + make test 03:53:20 go test -race -coverprofile=coverage.out ./... 03:54:07 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:57:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 03:57:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:57:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:57:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 03:57:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:57:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.337s coverage: 27.6% of statements 03:58:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.318s coverage: 80.0% of statements 03:58:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:58:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:58:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.474s coverage: 86.0% of statements 03:58:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:58:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.815s coverage: 71.8% of statements 03:58:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.276s coverage: 14.4% of statements 03:58:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:58:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:58:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.097s coverage: 44.6% of statements 03:58:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.432s coverage: 68.5% of statements 03:58:27 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.524s coverage: 89.2% of statements 03:58:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 03:58:31 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.370s coverage: 5.5% of statements 03:58:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:58:33 GO111MODULE=on go vet ./... 04:02:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:02:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:02:55 ./bin/test-attribution-txt.sh 04:02:55 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:02:55 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:02:55 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:02:55 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:02:55 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:02:55 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:02:55 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:02:55 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:02:55 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:02:55 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:02:55 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:02:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:02:55 $ docker stop --time=1 f051b1bddee455f832e69c957fd5634bb1fe5c1cb0a15fc9f47fe220d735fc43 04:02:57 $ docker rm -f --volumes f051b1bddee455f832e69c957fd5634bb1fe5c1cb0a15fc9f47fe220d735fc43 [Pipeline] // withDockerContainer [Pipeline] sh 04:02:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:02:59 Warning: overwriting stash ‘coverage-report’ 04:03:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:03:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:03:00 + ls -al . 04:03:00 total 372 04:03:00 drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 03:53 . 04:03:00 drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 03:50 .. 04:03:00 -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 03:50 .dockerignore 04:03:00 drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 03:50 .git 04:03:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 03:50 .github 04:03:00 -rw-rw-r-- 1 jenkins jenkins 137 Jun 25 03:50 .gitignore 04:03:00 -rw-rw-r-- 1 jenkins jenkins 42 Jun 25 03:50 .golangci.yml 04:03:00 -rw-rw-r-- 1 jenkins jenkins 48109 Jun 25 03:50 CHANGELOG.md 04:03:00 -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 03:50 GOVERNANCE.md 04:03:00 -rw-rw-r-- 1 jenkins jenkins 885 Jun 25 03:50 Jenkinsfile 04:03:00 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 25 03:50 LICENSE 04:03:00 -rw-rw-r-- 1 jenkins jenkins 1842 Jun 25 03:50 Makefile 04:03:00 -rw-rw-r-- 1 jenkins jenkins 619 Jun 25 03:50 OWNERS.md 04:03:00 -rw-rw-r-- 1 jenkins jenkins 4937 Jun 25 03:50 README.md 04:03:00 -rw-rw-r-- 1 jenkins jenkins 12 Jun 25 03:47 VERSION 04:03:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 03:50 bin 04:03:00 -rw-r--r-- 1 jenkins jenkins 122322 Jun 25 03:58 coverage.out 04:03:00 drwxrwxr-x 5 jenkins jenkins 4096 Jun 25 03:50 example 04:03:00 -rw-rw-r-- 1 jenkins jenkins 7064 Jun 25 03:50 go.mod 04:03:00 -rw-rw-r-- 1 jenkins jenkins 101331 Jun 25 03:50 go.sum 04:03:00 drwxrwxr-x 12 jenkins jenkins 4096 Jun 25 03:50 internal 04:03:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 03:50 openapi 04:03:00 drwxrwxr-x 6 jenkins jenkins 4096 Jun 25 03:50 pkg 04:03:00 drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 03:50 snap 04:03:00 -rw-rw-r-- 1 jenkins jenkins 222 Jun 25 03:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:01 + 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=f5f74a473092f448edb5d022a206764aad0631ef --label arch=arm64 --label version=3.2.0-dev.17 . 04:03:01 Sending build context to Docker daemon 12.97MB 04:03:01 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:03:01 Step 2/24 : FROM ${BASE} AS builder 04:03:01 ---> 6ae2ee463c9b 04:03:01 Step 3/24 : ARG MAKE=make build 04:03:02 ---> Running in 63cdd9c09c54 04:03:02 Removing intermediate container 63cdd9c09c54 04:03:02 ---> de60f4b89296 04:03:02 Step 4/24 : WORKDIR /device-sdk-go 04:03:02 ---> Running in 972836df7105 04:03:02 Removing intermediate container 972836df7105 04:03:02 ---> 6372a4f80656 04:03:02 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:03:02 ---> Running in 4c006cb2af9a 04:03:02 Removing intermediate container 4c006cb2af9a 04:03:02 ---> e6ac34be0761 04:03:02 Step 6/24 : RUN apk add --update --no-cache make git 04:03:03 ---> Running in d468090b60dc 04:03:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:03:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:03:05 OK: 266 MiB in 52 packages 04:03:06 Removing intermediate container d468090b60dc 04:03:06 ---> 8962eea1946a 04:03:06 Step 7/24 : COPY go.mod vendor* ./ 04:03:06 ---> 308a3426205e 04:03:06 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:03:06 ---> Running in cf23ff55ad9c 04:03:09 Removing intermediate container cf23ff55ad9c 04:03:09 ---> 58a297273299 04:03:09 Step 9/24 : COPY . . 04:03:10 ---> f9b20a3ae309 04:03:10 Step 10/24 : RUN ${MAKE} 04:03:10 ---> Running in 07bbf8bcc5e7 04:03:11 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.17" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:07:03 Removing intermediate container 07bbf8bcc5e7 04:07:03 ---> cf907103732c 04:07:03 Step 11/24 : FROM alpine:3.18 04:07:03 3.18: Pulling from library/alpine 04:07:03 5c905c7ebe2f: Pulling fs layer 04:07:03 5c905c7ebe2f: Verifying Checksum 04:07:03 5c905c7ebe2f: Download complete 04:07:03 5c905c7ebe2f: Pull complete 04:07:03 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:07:03 Status: Downloaded newer image for alpine:3.18 04:07:03 ---> dec292d02e07 04:07:03 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:07:03 ---> Running in 9e12b198be86 04:07:03 Removing intermediate container 9e12b198be86 04:07:03 ---> d5d0b9e359b3 04:07:03 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:07:03 ---> Running in aaf36fd33977 04:07:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:07:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:07:03 (1/1) Installing dumb-init (1.2.5-r2) 04:07:03 Executing busybox-1.36.1-r7.trigger 04:07:03 OK: 8 MiB in 16 packages 04:07:03 Removing intermediate container aaf36fd33977 04:07:03 ---> 6f125e0192e4 04:07:03 Step 14/24 : RUN apk --no-cache upgrade 04:07:03 ---> Running in 6b75acdb8601 04:07:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:07:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:07:03 OK: 8 MiB in 16 packages 04:07:03 Removing intermediate container 6b75acdb8601 04:07:03 ---> fab9eed2781b 04:07:03 Step 15/24 : WORKDIR / 04:07:03 ---> Running in 6c88e18f25b4 04:07:03 Removing intermediate container 6c88e18f25b4 04:07:03 ---> 58d79eb2e4a7 04:07:03 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:07:04 ---> b82f4f38cfcc 04:07:04 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:07:06 ---> 65a036b62d2b 04:07:06 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:07:06 ---> c9589746c694 04:07:06 Step 19/24 : EXPOSE 59999 04:07:06 ---> Running in d68e59c316e3 04:07:07 Removing intermediate container d68e59c316e3 04:07:07 ---> 005ebdbbb688 04:07:07 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:07:07 ---> Running in 4029a0241761 04:07:08 Removing intermediate container 4029a0241761 04:07:08 ---> d91161b717bb 04:07:08 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:07:08 ---> Running in a25e8f5edc1a 04:07:08 Removing intermediate container a25e8f5edc1a 04:07:08 ---> 3e409bcd492a 04:07:08 Step 22/24 : LABEL arch=arm64 04:07:08 ---> Running in 71b52d4556e5 04:07:08 Removing intermediate container 71b52d4556e5 04:07:08 ---> fdd7843dd1ce 04:07:08 Step 23/24 : LABEL git_sha=f5f74a473092f448edb5d022a206764aad0631ef 04:07:08 ---> Running in ccf15475c932 04:07:09 Removing intermediate container ccf15475c932 04:07:09 ---> 774ef6fe125a 04:07:09 Step 24/24 : LABEL version=3.2.0-dev.17 04:07:09 ---> Running in 109423e28c33 04:07:09 Removing intermediate container 109423e28c33 04:07:09 ---> c6cfd42c0bdb 04:07:09 [Warning] One or more build-args [ARCH] were not consumed 04:07:09 Successfully built c6cfd42c0bdb 04:07:09 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:07:10 04:07:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:07:10 arm64: Pulling from edgex-lftools-log-publisher 04:07:10 8998bd30e6a1: Pulling fs layer 04:07:10 04944245beec: Pulling fs layer 04:07:10 699f458cf7ca: Pulling fs layer 04:07:10 765212b225bb: Pulling fs layer 04:07:10 f23df028b6ca: Pulling fs layer 04:07:10 d65c8cfc05b1: Pulling fs layer 04:07:10 2437ff75d9bd: Pulling fs layer 04:07:10 765212b225bb: Waiting 04:07:10 f23df028b6ca: Waiting 04:07:10 d65c8cfc05b1: Waiting 04:07:10 04944245beec: Verifying Checksum 04:07:10 04944245beec: Download complete 04:07:10 765212b225bb: Verifying Checksum 04:07:10 f23df028b6ca: Download complete 04:07:10 d65c8cfc05b1: Verifying Checksum 04:07:10 d65c8cfc05b1: Download complete 04:07:11 699f458cf7ca: Download complete 04:07:11 8998bd30e6a1: Verifying Checksum 04:07:11 8998bd30e6a1: Download complete 04:07:14 2437ff75d9bd: Download complete 04:07:16 8998bd30e6a1: Pull complete 04:07:16 04944245beec: Pull complete 04:07:18 699f458cf7ca: Pull complete 04:07:18 765212b225bb: Pull complete 04:07:19 f23df028b6ca: Pull complete 04:07:19 d65c8cfc05b1: Pull complete 04:07:37 2437ff75d9bd: Pull complete 04:07:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:07:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:07:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:38 prd-ubuntu20.04-docker-arm64-4c-16g-4311 does not seem to be running inside a container 04:07:38 $ 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/292 -v /w/workspace/device-sdk-go/292:/w/workspace/device-sdk-go/292:rw,z -v /w/workspace/device-sdk-go/292@tmp:/w/workspace/device-sdk-go/292@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:07:41 $ docker top 7e537ea74ec286031e58dae64b70d3937a8f6854c5f24b732de10aedd05963d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:42 ---> job-cost.sh 04:07:42 lf-activate-venv: SKIPPING 04:07:42 INFO: No Stack... 04:07:43 INFO: Retrieving Pricing Info for: v3-standard-4 04:07:43 INFO: Archiving Costs [Pipeline] sh 04:07:44 + cat /w/workspace/device-sdk-go/292/archives/cost.csv 04:07:44 + cut -d, -f6 [Pipeline] lock 04:07:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-292-stack-cost] 04:07:44 Resource [jenkins-edgexfoundry-device-sdk-go-main-292-stack-cost] did not exist. Created. 04:07:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-292-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:07:45 /w/workspace/device-sdk-go/292@tmp/durable-38ee2577/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:07:45 + echo total: 0.10999999940395355 [Pipeline] stash 04:07:45 Warning: overwriting stash ‘stack-cost’ 04:07:46 Stashed 1 file(s) [Pipeline] } 04:07:46 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-292-stack-cost] [Pipeline] // lock [Pipeline] } 04:07:46 $ docker stop --time=1 7e537ea74ec286031e58dae64b70d3937a8f6854c5f24b732de10aedd05963d8 04:07:47 $ docker rm -f --volumes 7e537ea74ec286031e58dae64b70d3937a8f6854c5f24b732de10aedd05963d8 [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 04:07:48 provisioning config files... 04:07:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8681618594523956604tmp [Pipeline] { [Pipeline] sh 04:07:48 + set +x 04:07:48 + bash -s -- 04:07:48 + curl -s https://codecov.io/bash 04:07:48 04:07:48 _____ _ 04:07:48 / ____| | | 04:07:48 | | ___ __| | ___ ___ _____ __ 04:07:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:07:48 | |___| (_) | (_| | __/ (_| (_) \ V / 04:07:48 \_____\___/ \__,_|\___|\___\___/ \_/ 04:07:48 Bash-1.0.6 04:07:48 04:07:48 04:07:48 ==> git version 2.25.1 found 04:07: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 04:07:48 Release-Date: 2020-01-08 04:07: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 04:07:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:07:48 ==> Jenkins CI detected. 04:07:48 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 04:07:48 project root: . 04:07:48 --> token set from env 04:07:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:07:48 ==> Running gcov in . (disable via -X gcov) 04:07:48 ==> Python coveragepy not found 04:07:48 ==> Searching for coverage reports in: 04:07:48 + . 04:07:48 -> Found 1 reports 04:07:48 ==> Detecting git/mercurial file structure 04:07:48 ==> Reading reports 04:07:48 + ./coverage.out bytes=122322 04:07:48 ==> Appending adjustments 04:07:48 https://docs.codecov.io/docs/fixing-reports 04:07:49 + Found adjustments 04:07:49 ==> Gzipping contents 04:07:49 20K /tmp/codecov.euPYNo.gz 04:07:49 ==> Uploading reports 04:07:49 url: https://codecov.io 04:07:49 query: branch=main&commit=f5f74a473092f448edb5d022a206764aad0631ef&build=292&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F292%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:07:49 -> Pinging Codecov 04:07:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f5f74a473092f448edb5d022a206764aad0631ef&build=292&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F292%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:07:49 -> Uploading to 04:07:49 https://storage.googleapis.com/codecov/v4/raw/2024-06-25/7E55EF52A471D76F132DFD9A03CDDE97/f5f74a473092f448edb5d022a206764aad0631ef/22ae8720-fec2-43d0-8836-cb19e1642d6a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240625%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240625T040748Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8fdb937c5001e49495046265aa1e8e17bc8cca9d65f49ad8c9e5e633b7a0721c 04:07:49 % Total % Received % Xferd Average Speed Time Time Time Current 04:07:49 Dload Upload Total Spent Left Speed 04:07:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16739 0 0 100 16739 0 82458 --:--:-- --:--:-- --:--:-- 82053 100 16739 0 0 100 16739 0 74066 --:--:-- --:--:-- --:--:-- 73740 04:07:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f5f74a473092f448edb5d022a206764aad0631ef [Pipeline] } 04:07:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:07:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:07:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:07:49 04:07:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:07:50 latest: Pulling from edgex-devops/edgex-snyk-go 04:07:50 619be1103602: Already exists 04:07:50 f8ea3408117e: Pulling fs layer 04:07:50 91320369b822: Pulling fs layer 04:07:50 0406650e8295: Pulling fs layer 04:07:50 4f4fb700ef54: Pulling fs layer 04:07:50 96d80e3f36e1: Pulling fs layer 04:07:50 bcf3aedb951c: Pulling fs layer 04:07:50 4f4fb700ef54: Waiting 04:07:50 96d80e3f36e1: Waiting 04:07:50 bcf3aedb951c: Waiting 04:07:50 0406650e8295: Download complete 04:07:50 f8ea3408117e: Download complete 04:07:50 4f4fb700ef54: Verifying Checksum 04:07:50 4f4fb700ef54: Download complete 04:07:50 f8ea3408117e: Pull complete 04:07:50 96d80e3f36e1: Verifying Checksum 04:07:50 96d80e3f36e1: Download complete 04:07:50 91320369b822: Verifying Checksum 04:07:50 91320369b822: Download complete 04:07:51 bcf3aedb951c: Verifying Checksum 04:07:51 bcf3aedb951c: Download complete 04:07:53 91320369b822: Pull complete 04:07:53 0406650e8295: Pull complete 04:07:53 4f4fb700ef54: Pull complete 04:07:53 96d80e3f36e1: Pull complete 04:07:57 bcf3aedb951c: Pull complete 04:07:57 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 04:07:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:07:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:57 prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container 04:07:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 04:08:00 $ docker top 88cfba943dad589b3e15e24a634ec81b259ef5d6246bd86e4914d428ef9dda98 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:00 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 04:08:00 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 04:08:01 + set -o pipefail 04:08:01 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 04:08:07 04:08:07 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 04:08:07 04:08:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/f47e2fd7-2128-4b7e-8898-de28b6e317de 04:08:07 04:08:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:08:07 04:08:07 04:08:07 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 04:08:07 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:08:07 $ docker stop --time=1 88cfba943dad589b3e15e24a634ec81b259ef5d6246bd86e4914d428ef9dda98 04:08:11 $ docker rm -f --volumes 88cfba943dad589b3e15e24a634ec81b259ef5d6246bd86e4914d428ef9dda98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 04:08:11 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:11 provisioning config files... 04:08:11 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17248205304710383893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:12 --> edgex-publish-swagger.sh 04:08:12 === Publish openapi/v3 API === 04:08:12 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 04:08:12 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 04:08:12 % Total % Received % Xferd Average Speed Time Time Time Current 04:08:12 Dload Upload Total Spent Left Speed 04:08:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 312k --:--:-- --:--:-- --:--:-- 308k 100 23830 100 156 100 23674 238 36198 --:--:-- --:--:-- --:--:-- 36381 04:08:12 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 04:08:12 [Pipeline] } 04:08:12 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 04:08:13 + git log --format=format:%s -1 f5f74a473092f448edb5d022a206764aad0631ef [Pipeline] sh 04:08:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:08:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:14 prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container 04:08: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:08:14 $ docker top 2b6655d2b4ac0a46b9bbf34a6be5e60b95b6e633a62f88d4fa542cc01da20510 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:08:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:14 [ssh-agent] Looking for ssh-agent implementation... 04:08:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:14 $ docker exec 2b6655d2b4ac0a46b9bbf34a6be5e60b95b6e633a62f88d4fa542cc01da20510 ssh-agent 04:08:14 SSH_AUTH_SOCK=/tmp/ssh-qCrqBP2ma3F8/agent.31 04:08:14 SSH_AGENT_PID=37 04:08:14 Running ssh-add (command line suppressed) 04:08:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15528199731157484085.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15528199731157484085.key) 04:08:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:15 + git semver tag 04:08:15 2024-06-25 04:08:15,690 [run_tag] DEBUG tag force:False 04:08:15 2024-06-25 04:08:15,691 [check_head_tag] DEBUG check head tag 04:08:15 2024-06-25 04:08:15,692 [execute] INFO git cat-file --batch-check 04:08:15 2024-06-25 04:08:15,692 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:08:15 2024-06-25 04:08:15,697 [execute] INFO git cat-file --batch 04:08:15 2024-06-25 04:08:15,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:08:15 2024-06-25 04:08:15,725 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:08:15 2024-06-25 04:08:15,725 [execute] INFO git tag -a v3.2.0-dev.17 -m v3.2.0-dev.17 04:08:15 2024-06-25 04:08:15,725 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.17', '-m', 'v3.2.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:08:15 2024-06-25 04:08:15,730 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:08:15 3.2.0-dev.17 [Pipeline] } 04:08:16 $ docker exec --env ******** --env ******** 2b6655d2b4ac0a46b9bbf34a6be5e60b95b6e633a62f88d4fa542cc01da20510 ssh-agent -k 04:08:16 unset SSH_AUTH_SOCK; 04:08:16 unset SSH_AGENT_PID; 04:08:16 echo Agent pid 37 killed; 04:08:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:08:16 + git semver [Pipeline] } 04:08:16 $ docker stop --time=1 2b6655d2b4ac0a46b9bbf34a6be5e60b95b6e633a62f88d4fa542cc01da20510 04:08:18 $ docker rm -f --volumes 2b6655d2b4ac0a46b9bbf34a6be5e60b95b6e633a62f88d4fa542cc01da20510 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:08:18 04:08:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:08:18 0.23.1-centos7: Pulling from edgex-lftools 04:08:18 ab5ef0e58194: Pulling fs layer 04:08:18 9712f1f96733: Pulling fs layer 04:08:18 63f879dbbcfc: Pulling fs layer 04:08:18 0d9ebad4ef96: Pulling fs layer 04:08:18 e9a5061849ea: Pulling fs layer 04:08:18 d747dcd14b5f: Pulling fs layer 04:08:18 2de7ff778b66: Pulling fs layer 04:08:18 e9a5061849ea: Waiting 04:08:18 d747dcd14b5f: Waiting 04:08:18 2de7ff778b66: Waiting 04:08:18 0d9ebad4ef96: Waiting 04:08:18 9712f1f96733: Verifying Checksum 04:08:18 9712f1f96733: Download complete 04:08:19 63f879dbbcfc: Verifying Checksum 04:08:19 63f879dbbcfc: Download complete 04:08:19 e9a5061849ea: Verifying Checksum 04:08:19 e9a5061849ea: Download complete 04:08:19 d747dcd14b5f: Verifying Checksum 04:08:19 d747dcd14b5f: Download complete 04:08:19 0d9ebad4ef96: Verifying Checksum 04:08:19 0d9ebad4ef96: Download complete 04:08:19 ab5ef0e58194: Verifying Checksum 04:08:19 ab5ef0e58194: Download complete 04:08:19 2de7ff778b66: Verifying Checksum 04:08:19 2de7ff778b66: Download complete 04:08:22 ab5ef0e58194: Pull complete 04:08:22 9712f1f96733: Pull complete 04:08:23 63f879dbbcfc: Pull complete 04:08:26 0d9ebad4ef96: Pull complete 04:08:26 e9a5061849ea: Pull complete 04:08:26 d747dcd14b5f: Pull complete 04:08:27 2de7ff778b66: Pull complete 04:08:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:08:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:08:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:27 prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container 04:08:27 $ 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 04:08:32 $ docker top c723720e25096155acd6e1b2224d3d065fa48e9500154657907a7923c8c18026 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:08:32 provisioning config files... 04:08:32 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10494370335404651239tmp 04:08:32 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12954779289644138665tmp 04:08:32 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18440125702754769958tmp [Pipeline] { [Pipeline] echo 04:08:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:08:32 ---> sigul-configuration.sh 04:08:32 gpg: directory `/root/.gnupg' created 04:08:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:08:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:08:32 gpg: keyring `/root/.gnupg/secring.gpg' created 04:08:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:08:32 gpg: CAST5 encrypted data 04:08:32 gpg: encrypted with 1 passphrase 04:08:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:08:32 + mkdir /home/jenkins 04:08:32 + mkdir /home/jenkins/sigul [Pipeline] sh 04:08:33 + 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 04:08:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:08:33 ---> sigul-install.sh 04:08:33 Sigul already installed; skipping installation. [Pipeline] sh 04:08:33 + git tag --list 04:08:33 0.7.1 04:08:33 delhi-tag 04:08:33 v1.0.0 04:08:33 v1.1.0 04:08:33 v1.1.1 04:08:33 v1.1.2 04:08:33 v1.2.0 04:08:33 v1.2.1 04:08:33 v1.2.2 04:08:33 v1.2.3 04:08:33 v1.3.0 04:08:33 v1.4.0 04:08:33 v2.0.0 04:08:33 v2.1.0 04:08:33 v2.1.1 04:08:33 v2.2.0 04:08:33 v2.3.0 04:08:33 v2.3.1 04:08:33 v3.0 04:08:33 v3.0.0 04:08:33 v3.0.1-dev.1 04:08:33 v3.1 04:08:33 v3.1.0 04:08:33 v3.1.0-dev.1 04:08:33 v3.1.0-dev.10 04:08:33 v3.1.0-dev.11 04:08:33 v3.1.0-dev.12 04:08:33 v3.1.0-dev.13 04:08:33 v3.1.0-dev.14 04:08:33 v3.1.0-dev.15 04:08:33 v3.1.0-dev.16 04:08:33 v3.1.0-dev.17 04:08:33 v3.1.0-dev.18 04:08:33 v3.1.0-dev.19 04:08:33 v3.1.0-dev.2 04:08:33 v3.1.0-dev.20 04:08:33 v3.1.0-dev.21 04:08:33 v3.1.0-dev.22 04:08:33 v3.1.0-dev.23 04:08:33 v3.1.0-dev.24 04:08:33 v3.1.0-dev.25 04:08:33 v3.1.0-dev.26 04:08:33 v3.1.0-dev.27 04:08:33 v3.1.0-dev.28 04:08:33 v3.1.0-dev.29 04:08:33 v3.1.0-dev.3 04:08:33 v3.1.0-dev.30 04:08:33 v3.1.0-dev.31 04:08:33 v3.1.0-dev.32 04:08:33 v3.1.0-dev.33 04:08:33 v3.1.0-dev.34 04:08:33 v3.1.0-dev.35 04:08:33 v3.1.0-dev.36 04:08:33 v3.1.0-dev.37 04:08:33 v3.1.0-dev.38 04:08:33 v3.1.0-dev.39 04:08:33 v3.1.0-dev.4 04:08:33 v3.1.0-dev.40 04:08:33 v3.1.0-dev.41 04:08:33 v3.1.0-dev.5 04:08:33 v3.1.0-dev.6 04:08:33 v3.1.0-dev.7 04:08:33 v3.1.0-dev.8 04:08:33 v3.1.0-dev.9 04:08:33 v3.1.1 04:08:33 v3.1.1-dev.1 04:08:33 v3.2.0-dev.1 04:08:33 v3.2.0-dev.10 04:08:33 v3.2.0-dev.11 04:08:33 v3.2.0-dev.12 04:08:33 v3.2.0-dev.13 04:08:33 v3.2.0-dev.14 04:08:33 v3.2.0-dev.15 04:08:33 v3.2.0-dev.16 04:08:33 v3.2.0-dev.17 04:08:33 v3.2.0-dev.2 04:08:33 v3.2.0-dev.3 04:08:33 v3.2.0-dev.4 04:08:33 v3.2.0-dev.5 04:08:33 v3.2.0-dev.6 04:08:33 v3.2.0-dev.7 04:08:33 v3.2.0-dev.8 04:08:33 v3.2.0-dev.9 [Pipeline] sh 04:08:34 + lftools sign git-tag v3.2.0-dev.17 04:08:34 Signing Git tag with Sigul... 04:08:34 Signing v3.2.0-dev.17 [Pipeline] echo 04:08:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:08:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:08:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:08:35 $ docker stop --time=1 c723720e25096155acd6e1b2224d3d065fa48e9500154657907a7923c8c18026 04:08:36 $ docker rm -f --volumes c723720e25096155acd6e1b2224d3d065fa48e9500154657907a7923c8c18026 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:08:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:08:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:37 prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container 04:08:37 $ 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 04:08:37 $ docker top b15ec6c4830b95e1a56a50567dfa7ae634498376ce587b4262e5b63d84d60d76 -eo pid,comm 04:08:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:08:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:08:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:37 [ssh-agent] Looking for ssh-agent implementation... 04:08:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:38 $ docker exec b15ec6c4830b95e1a56a50567dfa7ae634498376ce587b4262e5b63d84d60d76 ssh-agent 04:08:38 SSH_AUTH_SOCK=/tmp/ssh-HjGWh9xjeALW/agent.32 04:08:38 SSH_AGENT_PID=38 04:08:38 Running ssh-add (command line suppressed) 04:08:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6150789764210544065.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6150789764210544065.key) 04:08:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:38 + git semver bump pre 04:08:38 2024-06-25 04:08:38,730 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:08:38 2024-06-25 04:08:38,730 [bump_version] DEBUG bumping version:3.2.0-dev.17 on axis:pre with prefix:dev 04:08:38 2024-06-25 04:08:38,730 [bump_version] DEBUG bumped version:3.2.0-dev.18 04:08:38 2024-06-25 04:08:38,730 [write_version] DEBUG write version:3.2.0-dev.18 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 04:08:38 2024-06-25 04:08:38,730 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:08:38 2024-06-25 04:08:38,730 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:08:38 2024-06-25 04:08:38,732 [execute] INFO git cat-file --batch-check 04:08:38 2024-06-25 04:08:38,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:08:38 2024-06-25 04:08:38,737 [execute] INFO git cat-file --batch 04:08:38 2024-06-25 04:08:38,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:08:38 2024-06-25 04:08:38,742 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:08:38 3.2.0-dev.18 [Pipeline] } 04:08:38 $ docker exec --env ******** --env ******** b15ec6c4830b95e1a56a50567dfa7ae634498376ce587b4262e5b63d84d60d76 ssh-agent -k 04:08:38 unset SSH_AUTH_SOCK; 04:08:38 unset SSH_AGENT_PID; 04:08:38 echo Agent pid 38 killed; 04:08:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:08:39 + git semver [Pipeline] } 04:08:39 $ docker stop --time=1 b15ec6c4830b95e1a56a50567dfa7ae634498376ce587b4262e5b63d84d60d76 04:08:40 $ docker rm -f --volumes b15ec6c4830b95e1a56a50567dfa7ae634498376ce587b4262e5b63d84d60d76 [Pipeline] // withDockerContainer [Pipeline] sh 04:08:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:08:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:41 prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container 04:08:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:08:42 $ docker top 8672f2dd23cebb13848682acf03843d0bcac9b267685e65f6a06e2b65ec33fd3 -eo pid,comm 04:08:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:08:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:08:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:42 [ssh-agent] Looking for ssh-agent implementation... 04:08:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:42 $ docker exec 8672f2dd23cebb13848682acf03843d0bcac9b267685e65f6a06e2b65ec33fd3 ssh-agent 04:08:42 SSH_AUTH_SOCK=/tmp/ssh-ORIlGPDJJk2z/agent.32 04:08:42 SSH_AGENT_PID=38 04:08:42 Running ssh-add (command line suppressed) 04:08:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8013605776142218221.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8013605776142218221.key) 04:08:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:42 + git semver push 04:08:43 2024-06-25 04:08:42,940 [run_push] DEBUG push 04:08:43 2024-06-25 04:08:42,940 [execute] INFO git cat-file --batch-check 04:08:43 2024-06-25 04:08:42,940 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:08:43 2024-06-25 04:08:42,944 [execute] INFO git rev-list 4491761efa88458e8387161be010e06b194253c3 -- 04:08:43 2024-06-25 04:08:42,944 [execute] DEBUG Popen(['git', 'rev-list', '4491761efa88458e8387161be010e06b194253c3', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:08:43 2024-06-25 04:08:42,957 [execute] INFO git fetch -v origin 04:08:43 2024-06-25 04:08:42,958 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:08:43 2024-06-25 04:08:43,411 [run_push] DEBUG no remote changes detected 04:08:43 2024-06-25 04:08:43,411 [execute] INFO git push origin semver 04:08:43 2024-06-25 04:08:43,411 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:08:44 2024-06-25 04:08:44,151 [run_push] DEBUG push all version tags 04:08:44 2024-06-25 04:08:44,152 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:08:44 2024-06-25 04:08:44,152 [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) 04:08:45 2024-06-25 04:08:44,792 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:08:45 3.2.0-dev.18 [Pipeline] } 04:08:45 $ docker exec --env ******** --env ******** 8672f2dd23cebb13848682acf03843d0bcac9b267685e65f6a06e2b65ec33fd3 ssh-agent -k 04:08:45 unset SSH_AUTH_SOCK; 04:08:45 unset SSH_AGENT_PID; 04:08:45 echo Agent pid 38 killed; 04:08:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:08:45 + git semver [Pipeline] } 04:08:45 $ docker stop --time=1 8672f2dd23cebb13848682acf03843d0bcac9b267685e65f6a06e2b65ec33fd3 04:08:47 $ docker rm -f --volumes 8672f2dd23cebb13848682acf03843d0bcac9b267685e65f6a06e2b65ec33fd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:08:47 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 04:08:47 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:08:47 total 16 04:08:47 drwxr-xr-x 3 root root 4096 Jun 25 03:51 . 04:08:47 drwxrwxr-x 12 jenkins jenkins 4096 Jun 25 04:08 .. 04:08:47 drwxr-xr-x 2 root root 4096 Jun 25 03:51 cost 04:08:47 -rw-r--r-- 1 root root 85 Jun 25 03:51 cost.csv 04:08:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:08:47 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:08:47 total 16 04:08:47 drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 03:51 . 04:08:47 drwxrwxr-x 12 jenkins jenkins 4096 Jun 25 04:08 .. 04:08:47 drwxr-xr-x 2 jenkins jenkins 4096 Jun 25 03:51 cost 04:08:47 -rw-r--r-- 1 jenkins jenkins 85 Jun 25 03:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:08:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:08:49 ---> package-listing.sh 04:08:49 ++ facter osfamily 04:08:49 ++ tr '[:upper:]' '[:lower:]' 04:08:49 + OS_FAMILY=debian 04:08:49 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 04:08:49 + START_PACKAGES=/tmp/packages_start.txt 04:08:49 + END_PACKAGES=/tmp/packages_end.txt 04:08:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:08:49 + PACKAGES=/tmp/packages_start.txt 04:08:49 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:08:49 + PACKAGES=/tmp/packages_end.txt 04:08:49 + case "${OS_FAMILY}" in 04:08:49 + dpkg -l 04:08:49 + grep '^ii' 04:08:49 + '[' -f /tmp/packages_start.txt ']' 04:08:49 + '[' -f /tmp/packages_end.txt ']' 04:08:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:08:49 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:08:49 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 04:08:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 04:08:49 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 04:08:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:50 prd-ubuntu20.04-docker-8c-8g-4310 does not seem to be running inside a container 04:08:50 $ 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 04:08:50 $ docker top 98d61555710722eeca897ac0e321fe3da4181bf9fb5aadaf082f28f297d822a3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:50 + touch /tmp/pre-build-complete [Pipeline] sh 04:08:51 + mkdir -p /var/log/sysstat [Pipeline] sh 04:08:51 + ls /var/log/sa-host 04:08:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:51 provisioning config files... 04:08:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13678818485404271160tmp [Pipeline] { [Pipeline] echo 04:08:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:08:51 ---> create-netrc.sh [Pipeline] } 04:08:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:08:52 ---> python-tools-install.sh [Pipeline] echo 04:08:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:08:52 ---> sudo-logs.sh 04:08:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:08:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:08:52 ---> job-cost.sh 04:08:52 lf-activate-venv: SKIPPING 04:08:52 DEBUG: total: 0.2199999988079071 04:08:52 INFO: Retrieving Stack Cost... 04:08:53 INFO: Retrieving Pricing Info for: v3-standard-8 04:08:53 INFO: Archiving Costs [Pipeline] echo 04:08:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:08:53 ---> logs-deploy.sh 04:08:53 lf-activate-venv: SKIPPING 04:08:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/292 04:08:53 INFO: archiving workspace using pattern(s): 04:08:54 Archives upload complete. 04:08:54 INFO: archiving logs to Nexus