Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4eb5e29dea1939910f88077e170bd5bcfca266de 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-ssh18438670797122712547.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8986208683150230037.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2692707863507702731.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17142549135326701761.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-ssh6786723781703311382.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 on ‘prd-ubuntu20.04-docker-8c-8g-25023’ Running on prd-ubuntu20.04-docker-8c-8g-25026 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 4eb5e29dea1939910f88077e170bd5bcfca266de (main) Commit message: "Merge pull request #1547 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.7" > 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 4eb5e29dea1939910f88077e170bd5bcfca266de # timeout=10 > git rev-list --no-walk 9538fefa27763f734e76c76e23c9c4865d039fa2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:05:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:05:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:05:35 ========================================================= 05:05:35 EdgeX Global Pipelines Version Info 05:05:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:05:36 ------------------- 05:05:36 stable info: 05:05:36 ------------------- 05:05:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:05:36 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:05:36 Message: update stable to v1.0.258 05:05:37 ------------------- 05:05:37 experimental info: 05:05:37 ------------------- 05:05:37 Commited By: **** collab-it+edgex@linuxfoundation.org 05:05:37 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:05:37 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:05:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:05:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:05:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:05:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:05:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:05:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:05:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:05:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:05:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4eb5e29dea1939910f88077e170bd5bcfca266de [Pipeline] echo 05:05:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4eb5e29 [Pipeline] echo 05:05:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:38 provisioning config files... 05:05:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5537857201144692291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:38 ---> ****-login.sh 05:05:38 nexus3.edgexfoundry.org:10001 05:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:39 Configure a credential helper to remove this warning. See 05:05:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:39 05:05:39 Login Succeeded 05:05:39 nexus3.edgexfoundry.org:10002 05:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:39 Configure a credential helper to remove this warning. See 05:05:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:39 05:05:39 Login Succeeded 05:05:39 nexus3.edgexfoundry.org:10003 05:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:39 Configure a credential helper to remove this warning. See 05:05:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:39 05:05:39 Login Succeeded 05:05:39 nexus3.edgexfoundry.org:10004 05:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:39 Configure a credential helper to remove this warning. See 05:05:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:39 05:05:39 Login Succeeded 05:05:39 ****.io 05:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:39 Configure a credential helper to remove this warning. See 05:05:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:39 05:05:39 Login Succeeded 05:05:39 ---> ****-login.sh ends [Pipeline] } 05:05:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:05:40 + git rev-list -1 --merges 4eb5e29dea1939910f88077e170bd5bcfca266de~1..4eb5e29dea1939910f88077e170bd5bcfca266de [Pipeline] echo 05:05:40 -----------> git rev-list -1 --merges 4eb5e29dea1939910f88077e170bd5bcfca266de~1..4eb5e29dea1939910f88077e170bd5bcfca266de 4eb5e29dea1939910f88077e170bd5bcfca266de 05:05:40 4eb5e29dea1939910f88077e170bd5bcfca266de [false] [Pipeline] sh 05:05:40 + git log --format=format:%s -1 4eb5e29dea1939910f88077e170bd5bcfca266de [Pipeline] echo 05:05:40 ========================================================= 05:05:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:05:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:05:41 + git log --format=format:%s -1 4eb5e29dea1939910f88077e170bd5bcfca266de [Pipeline] echo 05:05:41 [semverPrep] GIT_COMMIT: 4eb5e29dea1939910f88077e170bd5bcfca266de, Commit Message: Merge pull request #1547 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.7 [Pipeline] echo 05:05:41 [semverPrep] This is not a build commit. [Pipeline] sh 05:05:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:05:41 + grep -v github /etc/ssh/ssh_known_hosts 05:05:41 + [ -e /tmp/ssh_known_hosts ] 05:05:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:05:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:05:41 + sudo tee -a /etc/ssh/ssh_known_hosts 05:05:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:05:41 05:05:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:05:42 0.1.4: Pulling from edgex-devops/py-git-semver 05:05:42 b85a868b505f: Pulling fs layer 05:05:42 e2be974225ed: Pulling fs layer 05:05:42 339a4e72a1f5: Pulling fs layer 05:05:42 988bab9f4d93: Pulling fs layer 05:05:42 1469e6f7b9e6: Pulling fs layer 05:05:42 eaf3925da568: Pulling fs layer 05:05:42 bab4dde63d76: Pulling fs layer 05:05:42 bde34c3a00c8: Pulling fs layer 05:05:42 b352a97aabf1: Pulling fs layer 05:05:42 4872d77fe225: Pulling fs layer 05:05:42 5851b861e8e6: Pulling fs layer 05:05:42 bab4dde63d76: Waiting 05:05:42 bde34c3a00c8: Waiting 05:05:42 b352a97aabf1: Waiting 05:05:42 4872d77fe225: Waiting 05:05:42 5851b861e8e6: Waiting 05:05:42 988bab9f4d93: Waiting 05:05:42 1469e6f7b9e6: Waiting 05:05:42 eaf3925da568: Waiting 05:05:42 e2be974225ed: Download complete 05:05:42 988bab9f4d93: Download complete 05:05:42 1469e6f7b9e6: Verifying Checksum 05:05:42 1469e6f7b9e6: Download complete 05:05:42 eaf3925da568: Download complete 05:05:42 339a4e72a1f5: Verifying Checksum 05:05:42 339a4e72a1f5: Download complete 05:05:42 bde34c3a00c8: Download complete 05:05:42 b352a97aabf1: Download complete 05:05:42 4872d77fe225: Verifying Checksum 05:05:42 4872d77fe225: Download complete 05:05:42 5851b861e8e6: Verifying Checksum 05:05:42 5851b861e8e6: Download complete 05:05:42 b85a868b505f: Verifying Checksum 05:05:42 b85a868b505f: Download complete 05:05:42 bab4dde63d76: Verifying Checksum 05:05:42 bab4dde63d76: Download complete 05:05:43 b85a868b505f: Pull complete 05:05:44 e2be974225ed: Pull complete 05:05:44 339a4e72a1f5: Pull complete 05:05:44 988bab9f4d93: Pull complete 05:05:44 1469e6f7b9e6: Pull complete 05:05:44 eaf3925da568: Pull complete 05:05:46 bab4dde63d76: Pull complete 05:05:46 bde34c3a00c8: Pull complete 05:05:47 b352a97aabf1: Pull complete 05:05:47 4872d77fe225: Pull complete 05:05:47 5851b861e8e6: Pull complete 05:05:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:05:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:05:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:47 prd-ubuntu20.04-docker-8c-8g-25026 does not seem to be running inside a container 05:05: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 05:05:50 $ docker top 9ed7d0fdb880ccbcff0780d9e344ef6482f75625f8b81ec5bff81e7b85d2984c -eo pid,comm 05:05:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:05:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:05:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:50 [ssh-agent] Looking for ssh-agent implementation... 05:05:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:50 $ docker exec 9ed7d0fdb880ccbcff0780d9e344ef6482f75625f8b81ec5bff81e7b85d2984c ssh-agent 05:05:51 SSH_AUTH_SOCK=/tmp/ssh-XOVAGtkW9CDu/agent.32 05:05:51 SSH_AGENT_PID=38 05:05:51 Running ssh-add (command line suppressed) 05:05:51 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5715386556494998176.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5715386556494998176.key) 05:05:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:51 + git tag --points-at HEAD [Pipeline] } 05:05:51 $ docker exec --env ******** --env ******** 9ed7d0fdb880ccbcff0780d9e344ef6482f75625f8b81ec5bff81e7b85d2984c ssh-agent -k 05:05:51 unset SSH_AUTH_SOCK; 05:05:51 unset SSH_AGENT_PID; 05:05:51 echo Agent pid 38 killed; 05:05:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:05:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:51 [ssh-agent] Looking for ssh-agent implementation... 05:05:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:51 $ docker exec 9ed7d0fdb880ccbcff0780d9e344ef6482f75625f8b81ec5bff81e7b85d2984c ssh-agent 05:05:51 SSH_AUTH_SOCK=/tmp/ssh-iF2X1jLjKmMd/agent.70 05:05:51 SSH_AGENT_PID=76 05:05:51 Running ssh-add (command line suppressed) 05:05:51 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1030779938407378251.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1030779938407378251.key) 05:05:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:52 + git semver init 05:05:52 2023-12-14 05:05:52,482 [run_init] DEBUG init version:0.0.0 force:False 05:05:52 2023-12-14 05:05:52,482 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:05:52 2023-12-14 05:05:52,483 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:05:52 2023-12-14 05:05:52,483 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:05:53 2023-12-14 05:05:53,679 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:05:53 2023-12-14 05:05:53,679 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:05:53 2023-12-14 05:05:53,680 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:05:53 2023-12-14 05:05:53,680 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:05:53 3.2.0-dev.4 [Pipeline] } 05:05:53 $ docker exec --env ******** --env ******** 9ed7d0fdb880ccbcff0780d9e344ef6482f75625f8b81ec5bff81e7b85d2984c ssh-agent -k 05:05:54 unset SSH_AUTH_SOCK; 05:05:54 unset SSH_AGENT_PID; 05:05:54 echo Agent pid 76 killed; 05:05:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:05:54 + git semver [Pipeline] } 05:05:54 $ docker stop --time=1 9ed7d0fdb880ccbcff0780d9e344ef6482f75625f8b81ec5bff81e7b85d2984c 05:05:56 $ docker rm -f --volumes 9ed7d0fdb880ccbcff0780d9e344ef6482f75625f8b81ec5bff81e7b85d2984c [Pipeline] // withDockerContainer [Pipeline] sh 05:05:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:05:56 Stashed 1 file(s) [Pipeline] echo 05:05:56 [edgeXSemver]: initialized semver on version 3.2.0-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:57 provisioning config files... 05:05:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6873168966838834565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:57 ---> ****-login.sh 05:05:57 nexus3.edgexfoundry.org:10001 05:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:57 Configure a credential helper to remove this warning. See 05:05:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:57 05:05:57 Login Succeeded 05:05:57 nexus3.edgexfoundry.org:10002 05:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:57 Configure a credential helper to remove this warning. See 05:05:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:57 05:05:57 Login Succeeded 05:05:57 nexus3.edgexfoundry.org:10003 05:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:57 Configure a credential helper to remove this warning. See 05:05:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:57 05:05:57 Login Succeeded 05:05:57 nexus3.edgexfoundry.org:10004 05:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:57 Configure a credential helper to remove this warning. See 05:05:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:57 05:05:57 Login Succeeded 05:05:57 ****.io 05:05:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:05:58 Configure a credential helper to remove this warning. See 05:05:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:05:58 05:05:58 Login Succeeded 05:05:58 ---> ****-login.sh ends [Pipeline] } 05:05:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:05:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:05:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:05:58 ========================================================= 05:05:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:05:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05: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 . 05:05:58 Sending build context to Docker daemon 21.89MB 05:05:58 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:05:58 Step 2/10 : FROM ${BASE} AS builder 05:05:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:05:58 7264a8db6415: Pulling fs layer 05:05:58 c4d48a809fc2: Pulling fs layer 05:05:58 4f1c88b9dad5: Pulling fs layer 05:05:58 ad3a456e5733: Pulling fs layer 05:05:58 69c7f0334f64: Pulling fs layer 05:05:58 1f1c1a5573a3: Pulling fs layer 05:05:58 ce7588e14bc9: Pulling fs layer 05:05:58 b5e4710f87ac: Pulling fs layer 05:05:58 ad3a456e5733: Waiting 05:05:58 69c7f0334f64: Waiting 05:05:58 1f1c1a5573a3: Waiting 05:05:58 ce7588e14bc9: Waiting 05:05:58 b5e4710f87ac: Waiting 05:05:58 c4d48a809fc2: Download complete 05:05:58 ad3a456e5733: Verifying Checksum 05:05:58 ad3a456e5733: Download complete 05:05:58 69c7f0334f64: Download complete 05:05:58 7264a8db6415: Verifying Checksum 05:05:58 7264a8db6415: Download complete 05:05:58 1f1c1a5573a3: Verifying Checksum 05:05:58 1f1c1a5573a3: Download complete 05:05:59 b5e4710f87ac: Verifying Checksum 05:05:59 b5e4710f87ac: Download complete 05:05:59 7264a8db6415: Pull complete 05:05:59 c4d48a809fc2: Pull complete 05:05:59 4f1c88b9dad5: Verifying Checksum 05:05:59 4f1c88b9dad5: Download complete 05:05:59 ce7588e14bc9: Verifying Checksum 05:05:59 ce7588e14bc9: Download complete 05:06:03 4f1c88b9dad5: Pull complete 05:06:03 ad3a456e5733: Pull complete 05:06:03 69c7f0334f64: Pull complete 05:06:03 1f1c1a5573a3: Pull complete 05:06:05 ce7588e14bc9: Pull complete 05:06:06 b5e4710f87ac: Pull complete 05:06:06 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 05:06:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:06:06 ---> 88b5674ff536 05:06:06 Step 3/10 : ARG MAKE=make build 05:06:11 ---> Running in 88e06eab5430 05:06:11 Removing intermediate container 88e06eab5430 05:06:11 ---> e40d9acf20bd 05:06:11 Step 4/10 : WORKDIR /device-sdk-go 05:06:11 ---> Running in 11fbdd057cac 05:06:11 Removing intermediate container 11fbdd057cac 05:06:11 ---> b8916ffea1bd 05:06:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:06:11 ---> Running in 81711657f5aa 05:06:11 Removing intermediate container 81711657f5aa 05:06:11 ---> d57a937ec6a8 05:06:11 Step 6/10 : RUN apk add --update --no-cache make git 05:06:11 ---> Running in 3b997aa9f42d 05:06:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:06:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:06:12 Still waiting to schedule task 05:06:12 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-25024’ 05:06:12 OK: 264 MiB in 52 packages 05:06:12 Removing intermediate container 3b997aa9f42d 05:06:12 ---> 468764a09652 05:06:12 Step 7/10 : COPY go.mod vendor* ./ 05:06:12 ---> c1d32479ea51 05:06:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:12 ---> Running in 13b066100a45 05:06:51 Removing intermediate container 13b066100a45 05:06:51 ---> d89ffd290fdb 05:06:51 Step 9/10 : COPY . . 05:06:51 ---> e525cc2052b5 05:06:51 Step 10/10 : RUN ${MAKE} 05:06:51 ---> Running in 11696f47ea4d 05:06:51 noop 05:06:51 Removing intermediate container 11696f47ea4d 05:06:51 ---> db3f6e052aff 05:06:51 Successfully built db3f6e052aff 05:06:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:51 + docker inspect -f . ci-base-image-x86_64 05:06:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:51 prd-ubuntu20.04-docker-8c-8g-25026 does not seem to be running inside a container 05:06:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:06:52 $ docker top 807ffc69f8f820feb30abfd25f4deaac646b2d658d0e2076fd489a2a85232d27 -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:52 + go version 05:06:52 go version go1.21.0 linux/amd64 [Pipeline] } 05:06:52 $ docker stop --time=1 807ffc69f8f820feb30abfd25f4deaac646b2d658d0e2076fd489a2a85232d27 05:06:53 $ docker rm -f --volumes 807ffc69f8f820feb30abfd25f4deaac646b2d658d0e2076fd489a2a85232d27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:54 + docker inspect -f . ci-base-image-x86_64 05:06:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:54 prd-ubuntu20.04-docker-8c-8g-25026 does not seem to be running inside a container 05:06:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:06:55 $ docker top c33eca99e248a0b1b7e7135995465ef19bba3615ebac65281f0b30b68685696a -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:06:55 + make test 05:06:55 go test -race -coverprofile=coverage.out ./... 05:07:02 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:07:17 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:07:17 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:07:17 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:07:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:07:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:07:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:07:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:07:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.037s coverage: 27.6% of statements 05:07:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.054s coverage: 81.5% of statements 05:07:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:07:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.079s coverage: 86.0% of statements 05:07:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.085s coverage: 71.8% of statements 05:07:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:07:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:07:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:07:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.082s coverage: 14.4% of statements 05:07:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.907s coverage: 45.9% of statements 05:07:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.059s coverage: 68.5% of statements 05:07:23 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.096s coverage: 89.2% of statements 05:07:23 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.049s coverage: 5.5% of statements 05:07:44 GO111MODULE=on go vet ./... 05:07:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:07:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:07:46 ./bin/test-attribution-txt.sh [Pipeline] echo 05:07:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:07:46 $ docker stop --time=1 c33eca99e248a0b1b7e7135995465ef19bba3615ebac65281f0b30b68685696a 05:07:50 $ docker rm -f --volumes c33eca99e248a0b1b7e7135995465ef19bba3615ebac65281f0b30b68685696a [Pipeline] // withDockerContainer [Pipeline] sh 05:07:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:07:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:07:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:07:52 + ls -al . 05:07:52 total 308 05:07:52 drwxrwxr-x 11 jenkins jenkins 4096 Dec 14 05:06 . 05:07:52 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 05:05 .. 05:07:52 -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 05:05 .dockerignore 05:07:52 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 05:07 .git 05:07:52 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 05:05 .github 05:07:52 -rw-rw-r-- 1 jenkins jenkins 137 Dec 14 05:05 .gitignore 05:07:52 -rw-rw-r-- 1 jenkins jenkins 42 Dec 14 05:05 .golangci.yml 05:07:52 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 05:05 .semver 05:07:52 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 14 05:05 CHANGELOG.md 05:07:52 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 05:05 GOVERNANCE.md 05:07:52 -rw-rw-r-- 1 jenkins jenkins 885 Dec 14 05:05 Jenkinsfile 05:07:52 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 14 05:05 LICENSE 05:07:52 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 14 05:05 Makefile 05:07:52 -rw-rw-r-- 1 jenkins jenkins 619 Dec 14 05:05 OWNERS.md 05:07:52 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 14 05:05 README.md 05:07:52 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 05:05 VERSION 05:07:52 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 05:05 bin 05:07:52 -rw-r--r-- 1 jenkins jenkins 122151 Dec 14 05:07 coverage.out 05:07:52 drwxrwxr-x 5 jenkins jenkins 4096 Dec 14 05:05 example 05:07:52 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 14 05:05 go.mod 05:07:52 -rw-rw-r-- 1 jenkins jenkins 34269 Dec 14 05:05 go.sum 05:07:52 drwxrwxr-x 12 jenkins jenkins 4096 Dec 14 05:05 internal 05:07:52 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 05:05 openapi 05:07:52 drwxrwxr-x 6 jenkins jenkins 4096 Dec 14 05:05 pkg 05:07:52 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 05:05 snap 05:07:52 -rw-rw-r-- 1 jenkins jenkins 222 Dec 14 05:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:52 + 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=4eb5e29dea1939910f88077e170bd5bcfca266de --label arch=amd64 --label version=3.2.0-dev.4 . 05:07:52 Sending build context to Docker daemon 22.01MB 05:07:52 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:07:52 Step 2/23 : FROM ${BASE} AS builder 05:07:52 ---> db3f6e052aff 05:07:52 Step 3/23 : ARG MAKE=make build 05:07:53 ---> Running in 17a5353ff6c4 05:07:53 Removing intermediate container 17a5353ff6c4 05:07:53 ---> 16238600baa9 05:07:53 Step 4/23 : WORKDIR /device-sdk-go 05:07:53 ---> Running in e89a1b1adc5f 05:07:53 Removing intermediate container e89a1b1adc5f 05:07:53 ---> c8fec19460fd 05:07:53 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:07:53 ---> Running in f9dbd093a572 05:07:53 Removing intermediate container f9dbd093a572 05:07:53 ---> 13328a1f05dd 05:07:53 Step 6/23 : RUN apk add --update --no-cache make git 05:07:53 ---> Running in 3d750d8634c1 05:07:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:07:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:07:54 OK: 264 MiB in 52 packages 05:07:54 Removing intermediate container 3d750d8634c1 05:07:54 ---> ed3fe434e1b8 05:07:54 Step 7/23 : COPY go.mod vendor* ./ 05:07:54 ---> eeb323702a90 05:07:54 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:54 ---> Running in 2450e68f465b 05:07:55 Removing intermediate container 2450e68f465b 05:07:55 ---> 95b091d21f5a 05:07:55 Step 9/23 : COPY . . 05:07:56 ---> 640a5afdafcb 05:07:56 Step 10/23 : RUN ${MAKE} 05:07:56 ---> Running in 309bd151bfce 05:07:56 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.4" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:08:18 Removing intermediate container 309bd151bfce 05:08:18 ---> 57f48ca262ac 05:08:18 Step 11/23 : FROM alpine:3.18 05:08:18 3.18: Pulling from library/alpine 05:08:18 c926b61bad3b: Pulling fs layer 05:08:18 c926b61bad3b: Verifying Checksum 05:08:18 c926b61bad3b: Download complete 05:08:18 c926b61bad3b: Pull complete 05:08:18 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:08:18 Status: Downloaded newer image for alpine:3.18 05:08:18 ---> b541f2080109 05:08:18 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:08:18 ---> Running in 0b94b1d2b596 05:08:18 Removing intermediate container 0b94b1d2b596 05:08:18 ---> 558f90f6475a 05:08:18 Step 13/23 : RUN apk add --update --no-cache 05:08:18 ---> Running in eb42b8c91d67 05:08:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:08:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:08:18 OK: 7 MiB in 15 packages 05:08:19 Removing intermediate container eb42b8c91d67 05:08:19 ---> 3274b52acd16 05:08:19 Step 14/23 : WORKDIR / 05:08:19 ---> Running in 714fdd8425f3 05:08:19 Removing intermediate container 714fdd8425f3 05:08:19 ---> fdf967a8fbfb 05:08:19 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:08:19 ---> 2b59a527cf8e 05:08:19 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:08:20 ---> 58ad32d6253b 05:08:20 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:08:20 ---> 204b97453af4 05:08:20 Step 18/23 : EXPOSE 59999 05:08:20 ---> Running in c54f3a3ecf76 05:08:20 Removing intermediate container c54f3a3ecf76 05:08:20 ---> 7ae098dd9e16 05:08:20 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:08:20 ---> Running in 1eb8f31dbeae 05:08:20 Removing intermediate container 1eb8f31dbeae 05:08:20 ---> cc24edfa7132 05:08:20 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:08:20 ---> Running in 40835b907774 05:08:20 Removing intermediate container 40835b907774 05:08:20 ---> f541e3195517 05:08:20 Step 21/23 : LABEL arch=amd64 05:08:20 ---> Running in 59bf72dacc0d 05:08:20 Removing intermediate container 59bf72dacc0d 05:08:20 ---> 68f3c6b8b262 05:08:20 Step 22/23 : LABEL git_sha=4eb5e29dea1939910f88077e170bd5bcfca266de 05:08:20 ---> Running in 3cc50a0ea0a4 05:08:21 Removing intermediate container 3cc50a0ea0a4 05:08:21 ---> 063bd5d45524 05:08:21 Step 23/23 : LABEL version=3.2.0-dev.4 05:08:21 ---> Running in a35543db9c38 05:08:21 Removing intermediate container a35543db9c38 05:08:21 ---> 159ef55d0684 05:08:21 [Warning] One or more build-args [ARCH] were not consumed 05:08:21 Successfully built 159ef55d0684 05:08:21 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:21 05:08:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:22 latest: Pulling from edgex-lftools-log-publisher 05:08:22 5eb5b503b376: Pulling fs layer 05:08:22 5c69ac0246d0: Pulling fs layer 05:08:22 ec43610c2a17: Pulling fs layer 05:08:22 3a2ae6a8a46f: Pulling fs layer 05:08:22 33b1e0a273af: Pulling fs layer 05:08:22 5d3b04190fa2: Pulling fs layer 05:08:22 2f39f015ded8: Pulling fs layer 05:08:22 33b1e0a273af: Waiting 05:08:22 5d3b04190fa2: Waiting 05:08:22 2f39f015ded8: Waiting 05:08:22 3a2ae6a8a46f: Waiting 05:08:22 5c69ac0246d0: Verifying Checksum 05:08:22 5c69ac0246d0: Download complete 05:08:22 3a2ae6a8a46f: Verifying Checksum 05:08:22 3a2ae6a8a46f: Download complete 05:08:22 33b1e0a273af: Verifying Checksum 05:08:22 33b1e0a273af: Download complete 05:08:22 5d3b04190fa2: Download complete 05:08:22 ec43610c2a17: Verifying Checksum 05:08:22 ec43610c2a17: Download complete 05:08:22 5eb5b503b376: Verifying Checksum 05:08:22 5eb5b503b376: Download complete 05:08:22 2f39f015ded8: Verifying Checksum 05:08:22 2f39f015ded8: Download complete 05:08:23 5eb5b503b376: Pull complete 05:08:23 5c69ac0246d0: Pull complete 05:08:24 ec43610c2a17: Pull complete 05:08:24 3a2ae6a8a46f: Pull complete 05:08:24 33b1e0a273af: Pull complete 05:08:24 5d3b04190fa2: Pull complete 05:08:29 2f39f015ded8: Pull complete 05:08:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:08:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:30 prd-ubuntu20.04-docker-8c-8g-25026 does not seem to be running inside a container 05:08:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:08:35 $ docker top 254656acfdb210bae4fb75370711e1411b3eedad40c603611ac7769b51abf490 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:36 ---> job-cost.sh 05:08:36 lf-activate-venv: SKIPPING 05:08:36 INFO: No Stack... 05:08:36 INFO: Retrieving Pricing Info for: v3-standard-8 05:08:37 INFO: Archiving Costs [Pipeline] sh 05:08:37 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:08:37 + cut -d, -f6 [Pipeline] lock 05:08:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-275-stack-cost] 05:08:37 Resource [jenkins-edgexfoundry-device-sdk-go-main-275-stack-cost] did not exist. Created. 05:08:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-275-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:08:37 + echo total: 0.2199999988079071 [Pipeline] stash 05:08:37 Stashed 1 file(s) [Pipeline] } 05:08:37 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-275-stack-cost] [Pipeline] // lock [Pipeline] } 05:08:37 $ docker stop --time=1 254656acfdb210bae4fb75370711e1411b3eedad40c603611ac7769b51abf490 05:08:39 $ docker rm -f --volumes 254656acfdb210bae4fb75370711e1411b3eedad40c603611ac7769b51abf490 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:09:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25028 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:09:26 Running in /w/workspace/device-sdk-go/275 [Pipeline] { [Pipeline] checkout 05:09:26 The recommended git tool is: git 05:09:32 using credential edgex-jenkins-ssh 05:09:32 Cloning the remote Git repository 05:09:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:09:32 > git init /w/workspace/device-sdk-go/275 # timeout=10 05:09:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:09:32 > git --version # timeout=10 05:09:32 > git --version # 'git version 2.25.1' 05:09:32 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:36 Avoid second fetch 05:09:36 Checking out Revision 4eb5e29dea1939910f88077e170bd5bcfca266de (main) 05:09:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:09:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:36 > git config core.sparsecheckout # timeout=10 05:09:36 > git checkout -f 4eb5e29dea1939910f88077e170bd5bcfca266de # timeout=10 05:09:36 Commit message: "Merge pull request #1547 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.7" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:09:37 % Total % Received % Xferd Average Speed Time Time Time Current 05:09:37 Dload Upload Total Spent Left Speed 05:09:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 93250 0 --:--:-- --:--:-- --:--:-- 93250 [Pipeline] sh 05:09:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:09:38 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 05:09:38 05:09:38 { 05:09:38 "registry-mirrors": [ 05:09:38 "https://nexus3.edgexfoundry.org:10001" 05:09:38 ], 05:09:38 "bip": "10.250.0.254/24", 05:09:38 "hosts": [ 05:09:38 "tcp://0.0.0.0:5555", 05:09:38 "unix:///var/run/docker.sock" 05:09:38 ], 05:09:38 "mtu": 1458, 05:09:38 "selinux-enabled": true, 05:09:38 "seccomp-profile": "/etc/docker/seccomp.json" 05:09:38 } [Pipeline] sh 05:09:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:09:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:57 provisioning config files... 05:09:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/275@tmp/config14848929111771374463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:58 ---> ****-login.sh 05:09:58 nexus3.edgexfoundry.org:10001 05:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:09:58 Configure a credential helper to remove this warning. See 05:09:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:09:58 05:09:58 Login Succeeded 05:09:58 nexus3.edgexfoundry.org:10002 05:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:09:58 Configure a credential helper to remove this warning. See 05:09:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:09:58 05:09:58 Login Succeeded 05:09:58 nexus3.edgexfoundry.org:10003 05:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:09:59 Configure a credential helper to remove this warning. See 05:09:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:09:59 05:09:59 Login Succeeded 05:09:59 nexus3.edgexfoundry.org:10004 05:09:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:09:59 Configure a credential helper to remove this warning. See 05:09:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:09:59 05:09:59 Login Succeeded 05:09:59 ****.io 05:09:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:09:59 Configure a credential helper to remove this warning. See 05:09:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:09:59 05:09:59 Login Succeeded 05:09:59 ---> ****-login.sh ends [Pipeline] } 05:09:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:10:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:10:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:10:00 ========================================================= 05:10:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:10:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:00 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:10:02 #0 building with "default" instance using docker driver 05:10:02 05:10:02 #1 [internal] load build definition from Dockerfile 05:10:02 #1 transferring dockerfile: 1.54kB 0.0s done 05:10:02 #1 DONE 0.1s 05:10:02 05:10:02 #2 [internal] load .dockerignore 05:10:02 #2 transferring context: 182B done 05:10:02 #2 DONE 0.1s 05:10:02 05:10:02 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:10:02 #3 DONE 0.1s 05:10:02 05:10:02 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 05:10:02 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 05:10:02 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 05:10:02 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 05:10:02 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 05:10:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 05:10:02 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 05:10:02 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 05:10:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 4.19MB / 63.99MB 0.3s 05:10:02 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 05:10:02 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 05:10:02 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 05:10:02 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s 05:10:02 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 05:10:02 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 05:10:02 #4 ... 05:10:02 05:10:02 #5 [internal] load build context 05:10:02 #5 transferring context: 11.13MB 0.5s done 05:10:02 #5 DONE 0.6s 05:10:02 05:10:02 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 05:10:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.90MB / 63.99MB 0.5s 05:10:02 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.34MB / 97.63MB 0.5s 05:10:02 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.25MB / 11.40MB 0.5s 05:10:02 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.6s 05:10:02 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.39MB / 11.40MB 0.6s 05:10:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 25.17MB / 63.99MB 0.8s 05:10:03 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 05:10:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 19.92MB / 97.63MB 0.8s 05:10:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s 05:10:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 30.41MB / 63.99MB 0.9s 05:10:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 05:10:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 40.89MB / 63.99MB 1.1s 05:10:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 1.1s 05:10:03 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 05:10:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 45.99MB / 63.99MB 1.2s 05:10:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 38.62MB / 97.63MB 1.2s 05:10:03 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 05:10:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 55.57MB / 63.99MB 1.4s 05:10:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 48.23MB / 97.63MB 1.4s 05:10:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 60.03MB / 63.99MB 1.5s 05:10:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s 05:10:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 57.67MB / 97.63MB 1.6s 05:10:04 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.7s done 05:10:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 67.11MB / 97.63MB 1.8s 05:10:04 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 05:10:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 76.44MB / 97.63MB 2.0s 05:10:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 84.93MB / 97.63MB 2.2s 05:10:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 94.37MB / 97.63MB 2.4s 05:10:05 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.6s done 05:10:10 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.0s 05:10:15 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.0s 05:10:22 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.5s done 05:10:24 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 05:10:24 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 05:10:24 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0.1s 05:10:29 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 05:10:33 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.4s done 05:10:33 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 05:10:35 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 05:10:35 #4 DONE 33.0s 05:10:35 05:10:35 #6 [builder 2/7] WORKDIR /device-sdk-go 05:10:36 #6 DONE 1.6s 05:10:37 05:10:37 #7 [builder 3/7] RUN apk add --update --no-cache make git 05:10:37 #7 0.731 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:10:38 #7 1.101 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:10:39 #7 2.111 OK: 266 MiB in 52 packages 05:10:39 #7 DONE 2.4s 05:10:39 05:10:39 #8 [builder 4/7] COPY go.mod vendor* ./ 05:10:39 #8 DONE 0.2s 05:10:39 05:10:39 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:11 #9 DONE 30.8s 05:11:11 05:11:11 #10 [builder 6/7] COPY . . 05:11:11 #10 DONE 0.3s 05:11:11 05:11:11 #11 [builder 7/7] RUN echo noop 05:11:11 #11 0.597 noop 05:11:11 #11 DONE 0.7s 05:11:11 05:11:11 #12 exporting to image 05:11:11 #12 exporting layers 05:11:38 #12 exporting layers 24.9s done 05:11:38 #12 writing image sha256:db304599130b74f2decb61026b28b7dbaa3b24128959b05c6b67816f16c372d7 done 05:11:38 #12 naming to docker.io/library/ci-base-image-arm64 done 05:11:38 #12 DONE 24.9s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:38 + docker inspect -f . ci-base-image-arm64 05:11:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:38 prd-ubuntu20.04-docker-arm64-4c-16g-25028 does not seem to be running inside a container 05:11:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/275 -v /w/workspace/device-sdk-go/275:/w/workspace/device-sdk-go/275:rw,z -v /w/workspace/device-sdk-go/275@tmp:/w/workspace/device-sdk-go/275@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 05:11:40 $ docker top 1accbded9e46226c7bf9ae820ab0b50022c66703785c666adc5011dc88f42c02 -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:40 + go version 05:11:40 go version go1.21.0 linux/arm64 [Pipeline] } 05:11:40 $ docker stop --time=1 1accbded9e46226c7bf9ae820ab0b50022c66703785c666adc5011dc88f42c02 05:11:42 $ docker rm -f --volumes 1accbded9e46226c7bf9ae820ab0b50022c66703785c666adc5011dc88f42c02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:43 + docker inspect -f . ci-base-image-arm64 05:11:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:43 prd-ubuntu20.04-docker-arm64-4c-16g-25028 does not seem to be running inside a container 05:11:43 $ 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/275 -v /w/workspace/device-sdk-go/275:/w/workspace/device-sdk-go/275:rw,z -v /w/workspace/device-sdk-go/275@tmp:/w/workspace/device-sdk-go/275@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 05:11:44 $ docker top 128b0460f7574be69911745f6a236d5783847c927289cb35b79186dfdc3cf4f5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:44 + git config --global --add safe.directory /w/workspace/device-sdk-go/275 [Pipeline] fileExists [Pipeline] sh 05:11:45 + make test 05:11:45 go test -race -coverprofile=coverage.out ./... 05:12:17 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:13:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:13:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:13:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:13:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:13:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:13:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:13:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:13:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.206s coverage: 27.6% of statements 05:13:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.252s coverage: 81.5% of statements 05:13:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.318s coverage: 86.0% of statements 05:13:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:13:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.388s coverage: 71.8% of statements 05:13:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:13:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:13:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.254s coverage: 14.4% of statements 05:13:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.813s coverage: 45.6% of statements 05:13:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.390s coverage: 68.5% of statements 05:13:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.449s coverage: 89.2% of statements 05:13:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:13:34 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.215s coverage: 5.5% of statements 05:13:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:13:35 GO111MODULE=on go vet ./... 05:14:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:14:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:14:57 ./bin/test-attribution-txt.sh [Pipeline] echo 05:14:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:14:57 $ docker stop --time=1 128b0460f7574be69911745f6a236d5783847c927289cb35b79186dfdc3cf4f5 05:14:59 $ docker rm -f --volumes 128b0460f7574be69911745f6a236d5783847c927289cb35b79186dfdc3cf4f5 [Pipeline] // withDockerContainer [Pipeline] sh 05:15:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:15:00 Warning: overwriting stash ‘coverage-report’ 05:15:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:15:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:15:02 + ls -al . 05:15:02 total 304 05:15:02 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 05:11 . 05:15:02 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 05:09 .. 05:15:02 -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 05:09 .dockerignore 05:15:02 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 05:09 .git 05:15:02 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 05:09 .github 05:15:02 -rw-rw-r-- 1 jenkins jenkins 137 Dec 14 05:09 .gitignore 05:15:02 -rw-rw-r-- 1 jenkins jenkins 42 Dec 14 05:09 .golangci.yml 05:15:02 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 14 05:09 CHANGELOG.md 05:15:02 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 05:09 GOVERNANCE.md 05:15:02 -rw-rw-r-- 1 jenkins jenkins 885 Dec 14 05:09 Jenkinsfile 05:15:02 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 14 05:09 LICENSE 05:15:02 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 14 05:09 Makefile 05:15:02 -rw-rw-r-- 1 jenkins jenkins 619 Dec 14 05:09 OWNERS.md 05:15:02 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 14 05:09 README.md 05:15:02 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 05:05 VERSION 05:15:02 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 05:09 bin 05:15:02 -rw-r--r-- 1 jenkins jenkins 122153 Dec 14 05:13 coverage.out 05:15:02 drwxrwxr-x 5 jenkins jenkins 4096 Dec 14 05:09 example 05:15:02 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 14 05:09 go.mod 05:15:02 -rw-rw-r-- 1 jenkins jenkins 34269 Dec 14 05:09 go.sum 05:15:02 drwxrwxr-x 12 jenkins jenkins 4096 Dec 14 05:09 internal 05:15:02 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 05:09 openapi 05:15:02 drwxrwxr-x 6 jenkins jenkins 4096 Dec 14 05:09 pkg 05:15:02 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 05:09 snap 05:15:02 -rw-rw-r-- 1 jenkins jenkins 222 Dec 14 05:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:02 + 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=4eb5e29dea1939910f88077e170bd5bcfca266de --label arch=arm64 --label version=3.2.0-dev.4 . 05:15:03 #0 building with "default" instance using docker driver 05:15:03 05:15:03 #1 [internal] load build definition from Dockerfile 05:15:03 #1 transferring dockerfile: 1.54kB done 05:15:03 #1 DONE 0.0s 05:15:03 05:15:03 #2 [internal] load .dockerignore 05:15:03 #2 transferring context: 182B done 05:15:03 #2 DONE 0.0s 05:15:03 05:15:03 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 05:15:03 #3 DONE 0.0s 05:15:03 05:15:03 #4 [internal] load metadata for docker.io/library/alpine:3.18 05:15:03 #4 DONE 0.2s 05:15:03 05:15:03 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:15:03 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 05:15:03 #5 ... 05:15:03 05:15:03 #6 [internal] load build context 05:15:03 #6 transferring context: 136.14kB 0.1s done 05:15:03 #6 DONE 0.1s 05:15:03 05:15:03 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:15:03 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 05:15:03 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 05:15:03 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 05:15:03 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 05:15:03 #5 ... 05:15:03 05:15:03 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 05:15:03 #7 DONE 0.2s 05:15:03 05:15:03 #8 [builder 2/7] WORKDIR /device-sdk-go 05:15:03 #8 DONE 0.1s 05:15:03 05:15:03 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 05:15:03 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 05:15:03 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 05:15:04 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 05:15:04 #5 DONE 1.0s 05:15:04 05:15:04 #9 [stage-1 2/6] RUN apk add --update --no-cache 05:15:05 #9 0.648 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:15:05 #9 0.970 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:15:06 #9 ... 05:15:06 05:15:06 #10 [builder 3/7] RUN apk add --update --no-cache make git 05:15:06 #10 0.650 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:15:06 #10 1.069 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:15:06 #10 2.163 OK: 266 MiB in 52 packages 05:15:06 #10 DONE 2.5s 05:15:06 05:15:06 #11 [builder 4/7] COPY go.mod vendor* ./ 05:15:06 #11 DONE 0.1s 05:15:06 05:15:06 #9 [stage-1 2/6] RUN apk add --update --no-cache 05:15:06 #9 2.008 OK: 8 MiB in 15 packages 05:15:07 #9 DONE 2.3s 05:15:07 05:15:07 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:15:07 #12 DONE 1.2s 05:15:07 05:15:07 #13 [builder 6/7] COPY . . 05:15:08 #13 DONE 0.4s 05:15:08 05:15:08 #14 [builder 7/7] RUN make build 05:15:08 #14 0.663 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.4" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:16:16 #14 DONE 65.9s 05:16:16 05:16:16 #15 [stage-1 3/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:16:16 #15 DONE 0.1s 05:16:16 05:16:16 #16 [stage-1 4/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:16:16 #16 DONE 0.3s 05:16:16 05:16:16 #17 [stage-1 5/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:16:16 #17 DONE 0.1s 05:16:16 05:16:16 #18 exporting to image 05:16:16 #18 exporting layers 05:16:16 #18 exporting layers 0.3s done 05:16:16 #18 writing image sha256:e90f289c6fa43f7f2dd658466aa48d91fbd94b26dde1f9c837a07f56191ceac9 done 05:16:16 #18 naming to docker.io/library/device-sdk-simple-arm64 done 05:16:16 #18 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:17 05:16:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:18 arm64: Pulling from edgex-lftools-log-publisher 05:16:18 8998bd30e6a1: Pulling fs layer 05:16:18 04944245beec: Pulling fs layer 05:16:18 699f458cf7ca: Pulling fs layer 05:16:18 765212b225bb: Pulling fs layer 05:16:18 f23df028b6ca: Pulling fs layer 05:16:18 d65c8cfc05b1: Pulling fs layer 05:16:18 2437ff75d9bd: Pulling fs layer 05:16:18 765212b225bb: Waiting 05:16:18 f23df028b6ca: Waiting 05:16:18 d65c8cfc05b1: Waiting 05:16:18 2437ff75d9bd: Waiting 05:16:18 04944245beec: Verifying Checksum 05:16:18 04944245beec: Download complete 05:16:18 765212b225bb: Verifying Checksum 05:16:18 765212b225bb: Download complete 05:16:18 f23df028b6ca: Download complete 05:16:18 d65c8cfc05b1: Verifying Checksum 05:16:18 d65c8cfc05b1: Download complete 05:16:18 699f458cf7ca: Verifying Checksum 05:16:18 699f458cf7ca: Download complete 05:16:18 8998bd30e6a1: Verifying Checksum 05:16:18 8998bd30e6a1: Download complete 05:16:20 2437ff75d9bd: Verifying Checksum 05:16:20 2437ff75d9bd: Download complete 05:16:24 8998bd30e6a1: Pull complete 05:16:24 04944245beec: Pull complete 05:16:28 699f458cf7ca: Pull complete 05:16:28 765212b225bb: Pull complete 05:16:28 f23df028b6ca: Pull complete 05:16:29 d65c8cfc05b1: Pull complete 05:16:51 2437ff75d9bd: Pull complete 05:16:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:16:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:51 prd-ubuntu20.04-docker-arm64-4c-16g-25028 does not seem to be running inside a container 05:16:51 $ 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/275 -v /w/workspace/device-sdk-go/275:/w/workspace/device-sdk-go/275:rw,z -v /w/workspace/device-sdk-go/275@tmp:/w/workspace/device-sdk-go/275@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:16:53 $ docker top b0c0985e4ca5e2b2d0a8356edb1a5459a848c7dd9838e36ddc64f48321b84cd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:16:54 ---> job-cost.sh 05:16:54 lf-activate-venv: SKIPPING 05:16:54 INFO: No Stack... 05:16:54 INFO: Retrieving Pricing Info for: v3-standard-8 05:16:55 INFO: Archiving Costs [Pipeline] sh 05:16:55 + cat /w/workspace/device-sdk-go/275/archives/cost.csv 05:16:55 + cut -d, -f6 [Pipeline] lock 05:16:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-275-stack-cost] 05:16:55 Resource [jenkins-edgexfoundry-device-sdk-go-main-275-stack-cost] did not exist. Created. 05:16:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-275-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:16:56 /w/workspace/device-sdk-go/275@tmp/durable-41418361/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:16:56 + echo total: 0.2199999988079071 [Pipeline] stash 05:16:56 Warning: overwriting stash ‘stack-cost’ 05:16:56 Stashed 1 file(s) [Pipeline] } 05:16:56 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-275-stack-cost] [Pipeline] // lock [Pipeline] } 05:16:56 $ docker stop --time=1 b0c0985e4ca5e2b2d0a8356edb1a5459a848c7dd9838e36ddc64f48321b84cd2 05:16:59 $ docker rm -f --volumes b0c0985e4ca5e2b2d0a8356edb1a5459a848c7dd9838e36ddc64f48321b84cd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:17:00 provisioning config files... 05:17:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2795084064125770445tmp [Pipeline] { [Pipeline] sh 05:17:00 + set +x 05:17:00 + curl -s https://codecov.io/bash 05:17:00 + bash -s -- 05:17:00 05:17:00 _____ _ 05:17:00 / ____| | | 05:17:00 | | ___ __| | ___ ___ _____ __ 05:17:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:17:00 | |___| (_) | (_| | __/ (_| (_) \ V / 05:17:00 \_____\___/ \__,_|\___|\___\___/ \_/ 05:17:00 Bash-1.0.6 05:17:00 05:17:00 05:17:00 ==> git version 2.25.1 found 05:17:00 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:17:00 Release-Date: 2020-01-08 05:17:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:17:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:17:00 ==> Jenkins CI detected. 05:17:00 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:17:00 project root: . 05:17:00 --> token set from env 05:17:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:17:00 ==> Running gcov in . (disable via -X gcov) 05:17:00 ==> Python coveragepy not found 05:17:00 ==> Searching for coverage reports in: 05:17:00 + . 05:17:00 -> Found 1 reports 05:17:00 ==> Detecting git/mercurial file structure 05:17:00 ==> Reading reports 05:17:00 + ./coverage.out bytes=122153 05:17:00 ==> Appending adjustments 05:17:00 https://docs.codecov.io/docs/fixing-reports 05:17:01 + Found adjustments 05:17:01 ==> Gzipping contents 05:17:01 20K /tmp/codecov.s7Sxuu.gz 05:17:01 ==> Uploading reports 05:17:01 url: https://codecov.io 05:17:01 query: branch=main&commit=4eb5e29dea1939910f88077e170bd5bcfca266de&build=275&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F275%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:17:01 -> Pinging Codecov 05:17:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=4eb5e29dea1939910f88077e170bd5bcfca266de&build=275&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F275%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:17:01 -> Uploading to 05:17:01 https://storage.googleapis.com/codecov/v4/raw/2023-12-14/7E55EF52A471D76F132DFD9A03CDDE97/4eb5e29dea1939910f88077e170bd5bcfca266de/fb2dd61c-4647-4ce0-b9b2-a122bbe61531.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231214T051701Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69930ae0d9a27e5b80eb43b69bc962c09b9efa34bc33b7a135859cad6910d06a 05:17:01 % Total % Received % Xferd Average Speed Time Time Time Current 05:17:01 Dload Upload Total Spent Left Speed 05:17:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16749 0 0 100 16749 0 66729 --:--:-- --:--:-- --:--:-- 66729 05:17:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4eb5e29dea1939910f88077e170bd5bcfca266de [Pipeline] } 05:17:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:17:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:17:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:17:02 05:17:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:17:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:17:02 df9b9388f04a: Pulling fs layer 05:17:02 52dc419b0ee2: Pulling fs layer 05:17:02 25bc292e5bac: Pulling fs layer 05:17:02 114826534d7a: Pulling fs layer 05:17:02 4657fd5d0bcf: Pulling fs layer 05:17:02 6ad1cebc031e: Pulling fs layer 05:17:02 8a3aa393b2d8: Pulling fs layer 05:17:02 4657fd5d0bcf: Waiting 05:17:02 114826534d7a: Waiting 05:17:02 6ad1cebc031e: Waiting 05:17:02 8a3aa393b2d8: Waiting 05:17:02 25bc292e5bac: Verifying Checksum 05:17:02 25bc292e5bac: Download complete 05:17:02 52dc419b0ee2: Verifying Checksum 05:17:02 52dc419b0ee2: Download complete 05:17:02 4657fd5d0bcf: Verifying Checksum 05:17:02 4657fd5d0bcf: Download complete 05:17:02 df9b9388f04a: Verifying Checksum 05:17:02 6ad1cebc031e: Verifying Checksum 05:17:02 6ad1cebc031e: Download complete 05:17:02 df9b9388f04a: Pull complete 05:17:02 52dc419b0ee2: Pull complete 05:17:02 25bc292e5bac: Pull complete 05:17:03 114826534d7a: Verifying Checksum 05:17:03 114826534d7a: Download complete 05:17:03 8a3aa393b2d8: Verifying Checksum 05:17:06 114826534d7a: Pull complete 05:17:07 4657fd5d0bcf: Pull complete 05:17:07 6ad1cebc031e: Pull complete 05:17:10 8a3aa393b2d8: Pull complete 05:17:10 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:17:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:17:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:10 prd-ubuntu20.04-docker-8c-8g-25026 does not seem to be running inside a container 05:17:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:17:17 $ docker top 228bf85532b73db4228c7c4395c1213691a7bab20a589f71ea29a85e73e37154 -eo pid,comm [Pipeline] { [Pipeline] echo 05:17:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:17:18 + set -o pipefail 05:17:18 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:17:23 05:17:23 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:17:23 05:17:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/6a178030-8ec4-4b67-b2f6-d11aef4d101f 05:17:23 05:17:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:17:23 05:17:23 05:17:23 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:17:23 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:17:23 More details here: https://snyk.co/ue1NS 05:17:23 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 05:17:23 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:17:23 $ docker stop --time=1 228bf85532b73db4228c7c4395c1213691a7bab20a589f71ea29a85e73e37154 05:17:27 $ docker rm -f --volumes 228bf85532b73db4228c7c4395c1213691a7bab20a589f71ea29a85e73e37154 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 05:17:28 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:17:28 provisioning config files... 05:17:28 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10343590922379214070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:17:29 --> edgex-publish-swagger.sh 05:17:29 === Publish openapi/v3 API === 05:17:29 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:17:29 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:17:29 % Total % Received % Xferd Average Speed Time Time Time Current 05:17:29 Dload Upload Total Spent Left Speed 05:17:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23854 100 180 100 23674 421 55442 --:--:-- --:--:-- --:--:-- 55864 05:17:29 {"code":403,"message":"This public API is blocked because you have exceeded your current plan's limits","messageCode":"PUBLIC_API_BLOCKED_UPGRADE_OR_DELETE","messageProperties":{}} 05:17:29 [Pipeline] } 05:17:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:17:30 + git log --format=format:%s -1 4eb5e29dea1939910f88077e170bd5bcfca266de [Pipeline] sh 05:17:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:17:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:17:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:31 prd-ubuntu20.04-docker-8c-8g-25026 does not seem to be running inside a container 05:17:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:17:31 $ docker top 8d2f8fcd58a18778a36be76593e131cc7d66a30bb1d6d4cf7d72b00751a5873a -eo pid,comm 05:17:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:17:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:17:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:17:31 [ssh-agent] Looking for ssh-agent implementation... 05:17:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:17:31 $ docker exec 8d2f8fcd58a18778a36be76593e131cc7d66a30bb1d6d4cf7d72b00751a5873a ssh-agent 05:17:32 SSH_AUTH_SOCK=/tmp/ssh-AcOgUTeI4WZr/agent.31 05:17:32 SSH_AGENT_PID=37 05:17:32 Running ssh-add (command line suppressed) 05:17:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15161695243422849641.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15161695243422849641.key) 05:17:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:17:32 + git semver tag 05:17:32 2023-12-14 05:17:32,655 [run_tag] DEBUG tag force:False 05:17:32 2023-12-14 05:17:32,656 [check_head_tag] DEBUG check head tag 05:17:32 2023-12-14 05:17:32,657 [execute] INFO git cat-file --batch-check 05:17:32 2023-12-14 05:17:32,657 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:17:32 2023-12-14 05:17:32,661 [execute] INFO git cat-file --batch 05:17:32 2023-12-14 05:17:32,661 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:17:32 2023-12-14 05:17:32,681 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:17:32 2023-12-14 05:17:32,681 [execute] INFO git tag -a v3.2.0-dev.4 -m v3.2.0-dev.4 05:17:32 2023-12-14 05:17:32,681 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.4', '-m', 'v3.2.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:17:32 2023-12-14 05:17:32,687 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:17:32 3.2.0-dev.4 [Pipeline] } 05:17:32 $ docker exec --env ******** --env ******** 8d2f8fcd58a18778a36be76593e131cc7d66a30bb1d6d4cf7d72b00751a5873a ssh-agent -k 05:17:32 unset SSH_AUTH_SOCK; 05:17:32 unset SSH_AGENT_PID; 05:17:32 echo Agent pid 37 killed; 05:17:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:17:33 + git semver [Pipeline] } 05:17:33 $ docker stop --time=1 8d2f8fcd58a18778a36be76593e131cc7d66a30bb1d6d4cf7d72b00751a5873a 05:17:34 $ docker rm -f --volumes 8d2f8fcd58a18778a36be76593e131cc7d66a30bb1d6d4cf7d72b00751a5873a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:17:35 05:17:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:17:35 0.23.1-centos7: Pulling from edgex-lftools 05:17:35 ab5ef0e58194: Pulling fs layer 05:17:35 9712f1f96733: Pulling fs layer 05:17:35 63f879dbbcfc: Pulling fs layer 05:17:35 0d9ebad4ef96: Pulling fs layer 05:17:35 e9a5061849ea: Pulling fs layer 05:17:35 d747dcd14b5f: Pulling fs layer 05:17:35 2de7ff778b66: Pulling fs layer 05:17:35 0d9ebad4ef96: Waiting 05:17:35 e9a5061849ea: Waiting 05:17:35 d747dcd14b5f: Waiting 05:17:35 2de7ff778b66: Waiting 05:17:35 9712f1f96733: Verifying Checksum 05:17:35 9712f1f96733: Download complete 05:17:36 63f879dbbcfc: Verifying Checksum 05:17:36 63f879dbbcfc: Download complete 05:17:36 e9a5061849ea: Verifying Checksum 05:17:36 e9a5061849ea: Download complete 05:17:36 d747dcd14b5f: Verifying Checksum 05:17:36 d747dcd14b5f: Download complete 05:17:36 0d9ebad4ef96: Verifying Checksum 05:17:36 0d9ebad4ef96: Download complete 05:17:36 ab5ef0e58194: Verifying Checksum 05:17:36 ab5ef0e58194: Download complete 05:17:36 2de7ff778b66: Verifying Checksum 05:17:36 2de7ff778b66: Download complete 05:17:39 ab5ef0e58194: Pull complete 05:17:39 9712f1f96733: Pull complete 05:17:40 63f879dbbcfc: Pull complete 05:17:44 0d9ebad4ef96: Pull complete 05:17:44 e9a5061849ea: Pull complete 05:17:44 d747dcd14b5f: Pull complete 05:17:45 2de7ff778b66: Pull complete 05:17:45 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:17:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:17:45 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:45 prd-ubuntu20.04-docker-8c-8g-25026 does not seem to be running inside a container 05:17:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:17:52 $ docker top 24e6e02ee75fe9e1523380a613d9281da7c42128646d1b84abdf2613473a6484 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:17:53 provisioning config files... 05:17:53 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12820289259382573593tmp 05:17:53 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2060988110095892039tmp 05:17:53 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4988843998455804596tmp [Pipeline] { [Pipeline] echo 05:17:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:17:53 ---> sigul-configuration.sh 05:17:53 gpg: directory `/root/.gnupg' created 05:17:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:17:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:17:53 gpg: keyring `/root/.gnupg/secring.gpg' created 05:17:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:17:53 gpg: CAST5 encrypted data 05:17:53 gpg: encrypted with 1 passphrase 05:17:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:17:53 + mkdir /home/jenkins 05:17:53 + mkdir /home/jenkins/sigul [Pipeline] sh 05:17:54 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:17:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:17:54 ---> sigul-install.sh 05:17:54 Sigul already installed; skipping installation. [Pipeline] sh 05:17:54 + git tag --list 05:17:54 0.7.1 05:17:54 delhi-tag 05:17:54 v1.0.0 05:17:54 v1.1.0 05:17:54 v1.1.1 05:17:54 v1.1.2 05:17:54 v1.2.0 05:17:54 v1.2.1 05:17:54 v1.2.2 05:17:54 v1.2.3 05:17:54 v1.3.0 05:17:54 v1.4.0 05:17:54 v2.0.0 05:17:54 v2.1.0 05:17:54 v2.1.1 05:17:54 v2.2.0 05:17:54 v2.3.0 05:17:54 v2.3.1 05:17:54 v3.0 05:17:54 v3.0.0 05:17:54 v3.0.1-dev.1 05:17:54 v3.1 05:17:54 v3.1.0 05:17:54 v3.1.0-dev.1 05:17:54 v3.1.0-dev.10 05:17:54 v3.1.0-dev.11 05:17:54 v3.1.0-dev.12 05:17:54 v3.1.0-dev.13 05:17:54 v3.1.0-dev.14 05:17:54 v3.1.0-dev.15 05:17:54 v3.1.0-dev.16 05:17:54 v3.1.0-dev.17 05:17:54 v3.1.0-dev.18 05:17:54 v3.1.0-dev.19 05:17:54 v3.1.0-dev.2 05:17:54 v3.1.0-dev.20 05:17:54 v3.1.0-dev.21 05:17:54 v3.1.0-dev.22 05:17:54 v3.1.0-dev.23 05:17:54 v3.1.0-dev.24 05:17:54 v3.1.0-dev.25 05:17:54 v3.1.0-dev.26 05:17:54 v3.1.0-dev.27 05:17:54 v3.1.0-dev.28 05:17:54 v3.1.0-dev.29 05:17:54 v3.1.0-dev.3 05:17:54 v3.1.0-dev.30 05:17:54 v3.1.0-dev.31 05:17:54 v3.1.0-dev.32 05:17:54 v3.1.0-dev.33 05:17:54 v3.1.0-dev.34 05:17:54 v3.1.0-dev.35 05:17:54 v3.1.0-dev.36 05:17:54 v3.1.0-dev.37 05:17:54 v3.1.0-dev.38 05:17:54 v3.1.0-dev.39 05:17:54 v3.1.0-dev.4 05:17:54 v3.1.0-dev.40 05:17:54 v3.1.0-dev.41 05:17:54 v3.1.0-dev.5 05:17:54 v3.1.0-dev.6 05:17:54 v3.1.0-dev.7 05:17:54 v3.1.0-dev.8 05:17:54 v3.1.0-dev.9 05:17:54 v3.2.0-dev.1 05:17:54 v3.2.0-dev.2 05:17:54 v3.2.0-dev.3 05:17:54 v3.2.0-dev.4 [Pipeline] sh 05:17:54 + lftools sign git-tag v3.2.0-dev.4 05:17:55 Signing Git tag with Sigul... 05:17:55 Signing v3.2.0-dev.4 [Pipeline] echo 05:17:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:17:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:17:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:17:56 $ docker stop --time=1 24e6e02ee75fe9e1523380a613d9281da7c42128646d1b84abdf2613473a6484 05:17:57 $ docker rm -f --volumes 24e6e02ee75fe9e1523380a613d9281da7c42128646d1b84abdf2613473a6484 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:17:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:17:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:17:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:59 prd-ubuntu20.04-docker-8c-8g-25026 does not seem to be running inside a container 05:17:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:17:59 $ docker top e4bc086fc8b9153fb81ac6115d5ebc445be4abdf71ff68b631bf1debeff44267 -eo pid,comm 05:17:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:17:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:17:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:17:59 [ssh-agent] Looking for ssh-agent implementation... 05:17:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:17:59 $ docker exec e4bc086fc8b9153fb81ac6115d5ebc445be4abdf71ff68b631bf1debeff44267 ssh-agent 05:18:00 SSH_AUTH_SOCK=/tmp/ssh-DGnCB6Lox4Lg/agent.31 05:18:00 SSH_AGENT_PID=36 05:18:00 Running ssh-add (command line suppressed) 05:18:00 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5514050786427066773.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5514050786427066773.key) 05:18:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:18:00 + git semver bump pre 05:18:00 2023-12-14 05:18:00,638 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:18:00 2023-12-14 05:18:00,638 [bump_version] DEBUG bumping version:3.2.0-dev.4 on axis:pre with prefix:dev 05:18:00 2023-12-14 05:18:00,638 [bump_version] DEBUG bumped version:3.2.0-dev.5 05:18:00 2023-12-14 05:18:00,638 [write_version] DEBUG write version:3.2.0-dev.5 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:18:00 2023-12-14 05:18:00,639 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:18:00 2023-12-14 05:18:00,639 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:18:00 2023-12-14 05:18:00,641 [execute] INFO git cat-file --batch-check 05:18:00 2023-12-14 05:18:00,641 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:18:00 2023-12-14 05:18:00,647 [execute] INFO git cat-file --batch 05:18:00 2023-12-14 05:18:00,647 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:18:00 2023-12-14 05:18:00,652 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:18:00 3.2.0-dev.5 [Pipeline] } 05:18:00 $ docker exec --env ******** --env ******** e4bc086fc8b9153fb81ac6115d5ebc445be4abdf71ff68b631bf1debeff44267 ssh-agent -k 05:18:00 unset SSH_AUTH_SOCK; 05:18:00 unset SSH_AGENT_PID; 05:18:00 echo Agent pid 36 killed; 05:18:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:18:01 + git semver [Pipeline] } 05:18:01 $ docker stop --time=1 e4bc086fc8b9153fb81ac6115d5ebc445be4abdf71ff68b631bf1debeff44267 05:18:03 $ docker rm -f --volumes e4bc086fc8b9153fb81ac6115d5ebc445be4abdf71ff68b631bf1debeff44267 [Pipeline] // withDockerContainer [Pipeline] sh 05:18:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:18:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:18:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:04 prd-ubuntu20.04-docker-8c-8g-25026 does not seem to be running inside a container 05:18:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:18:04 $ docker top 5045cfd20644abc99e4b38ffe04d3d477055c6a5696ecdabeba9f2ca6ef697a7 -eo pid,comm 05:18:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:18:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:18:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:18:04 [ssh-agent] Looking for ssh-agent implementation... 05:18:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:18:04 $ docker exec 5045cfd20644abc99e4b38ffe04d3d477055c6a5696ecdabeba9f2ca6ef697a7 ssh-agent 05:18:04 SSH_AUTH_SOCK=/tmp/ssh-n2DzzWrcf5ZK/agent.32 05:18:04 SSH_AGENT_PID=38 05:18:04 Running ssh-add (command line suppressed) 05:18:05 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17403452596286428693.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17403452596286428693.key) 05:18:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:18:05 + git semver push 05:18:05 2023-12-14 05:18:05,534 [run_push] DEBUG push 05:18:05 2023-12-14 05:18:05,535 [execute] INFO git cat-file --batch-check 05:18:05 2023-12-14 05:18:05,535 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:18:05 2023-12-14 05:18:05,539 [execute] INFO git rev-list 80a79ffbd568c6348acbfab55403c83565e4fc24 -- 05:18:05 2023-12-14 05:18:05,540 [execute] DEBUG Popen(['git', 'rev-list', '80a79ffbd568c6348acbfab55403c83565e4fc24', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:18:05 2023-12-14 05:18:05,548 [execute] INFO git fetch -v origin 05:18:05 2023-12-14 05:18:05,548 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:18:06 2023-12-14 05:18:06,087 [run_push] DEBUG no remote changes detected 05:18:06 2023-12-14 05:18:06,087 [execute] INFO git push origin semver 05:18:06 2023-12-14 05:18:06,088 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:18:07 2023-12-14 05:18:06,805 [run_push] DEBUG push all version tags 05:18:07 2023-12-14 05:18:06,806 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:18:07 2023-12-14 05:18:06,806 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:18:07 2023-12-14 05:18:07,544 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:18:07 3.2.0-dev.5 [Pipeline] } 05:18:07 $ docker exec --env ******** --env ******** 5045cfd20644abc99e4b38ffe04d3d477055c6a5696ecdabeba9f2ca6ef697a7 ssh-agent -k 05:18:07 unset SSH_AUTH_SOCK; 05:18:07 unset SSH_AGENT_PID; 05:18:07 echo Agent pid 38 killed; 05:18:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:18:08 + git semver [Pipeline] } 05:18:08 $ docker stop --time=1 5045cfd20644abc99e4b38ffe04d3d477055c6a5696ecdabeba9f2ca6ef697a7 05:18:10 $ docker rm -f --volumes 5045cfd20644abc99e4b38ffe04d3d477055c6a5696ecdabeba9f2ca6ef697a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:18:11 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:18:11 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:18:11 total 16 05:18:11 drwxr-xr-x 3 root root 4096 Dec 14 05:08 . 05:18:11 drwxrwxr-x 12 jenkins jenkins 4096 Dec 14 05:17 .. 05:18:11 drwxr-xr-x 2 root root 4096 Dec 14 05:08 cost 05:18:11 -rw-r--r-- 1 root root 85 Dec 14 05:08 cost.csv 05:18:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:18:11 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:18:11 total 16 05:18:11 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 05:08 . 05:18:11 drwxrwxr-x 12 jenkins jenkins 4096 Dec 14 05:17 .. 05:18:11 drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 05:08 cost 05:18:11 -rw-r--r-- 1 jenkins jenkins 85 Dec 14 05:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:18:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:18:13 ---> package-listing.sh 05:18:13 ++ facter osfamily 05:18:13 ++ tr '[:upper:]' '[:lower:]' 05:18:13 + OS_FAMILY=debian 05:18:13 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:18:13 + START_PACKAGES=/tmp/packages_start.txt 05:18:13 + END_PACKAGES=/tmp/packages_end.txt 05:18:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:18:13 + PACKAGES=/tmp/packages_start.txt 05:18:13 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:18:13 + PACKAGES=/tmp/packages_end.txt 05:18:13 + case "${OS_FAMILY}" in 05:18:13 + dpkg -l 05:18:13 + grep '^ii' 05:18:13 + '[' -f /tmp/packages_start.txt ']' 05:18:13 + '[' -f /tmp/packages_end.txt ']' 05:18:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:18:13 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:18:13 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:18:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:18:13 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:18:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:18:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:14 prd-ubuntu20.04-docker-8c-8g-25026 does not seem to be running inside a container 05:18:14 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:18:14 $ docker top 2abdcc957b14dd921c61ba1a98a05f47647738852e80414db4572326c29c4968 -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:15 + touch /tmp/pre-build-complete [Pipeline] sh 05:18:15 + mkdir -p /var/log/sysstat [Pipeline] sh 05:18:15 + ls /var/log/sa-host 05:18:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:18:15 provisioning config files... 05:18:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7843646410282005644tmp [Pipeline] { [Pipeline] echo 05:18:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:18:16 ---> create-netrc.sh [Pipeline] } 05:18:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:18:16 ---> python-tools-install.sh [Pipeline] echo 05:18:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:18:16 ---> sudo-logs.sh 05:18:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:18:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:18:17 ---> job-cost.sh 05:18:17 lf-activate-venv: SKIPPING 05:18:17 DEBUG: total: 0.2199999988079071 05:18:17 INFO: Retrieving Stack Cost... 05:18:17 INFO: Retrieving Pricing Info for: v3-standard-8 05:18:18 INFO: Archiving Costs [Pipeline] echo 05:18:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:18:18 ---> logs-deploy.sh 05:18:18 lf-activate-venv: SKIPPING 05:18:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/275 05:18:18 INFO: archiving workspace using pattern(s): 05:18:19 Archives upload complete. 05:18:19 INFO: archiving logs to Nexus