Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 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-ssh1552201856771639713.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh1664941335854124886.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7852674847908689109.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh1910608263814232468.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-ssh7503676767535296634.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.18 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4372 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 (main) Commit message: "Merge pull request #1300 from jinlinGuan/issue-1299" > git config core.sparsecheckout # timeout=10 > git checkout -f 55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 # timeout=10 > git rev-list --no-walk 621dc4210e43ae4db66d25eecc8a1c0ac9c49f87 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:50:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:50:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:50:41 ========================================================= 13:50:41 EdgeX Global Pipelines Version Info 13:50:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:50:41 ------------------- 13:50:41 stable info: 13:50:41 ------------------- 13:50:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:50:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 13:50:41 Message: update stable to v1.0.244 13:50:42 ------------------- 13:50:42 experimental info: 13:50:42 ------------------- 13:50:42 Commited By: **** collab-it+edgex@linuxfoundation.org 13:50:42 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 13:50:42 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55d1b05 [Pipeline] echo 13:50:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:50:42 provisioning config files... 13:50:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4006997019233838692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:50:43 ---> docker-login.sh 13:50:43 nexus3.edgexfoundry.org:10001 13:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:50:44 Configure a credential helper to remove this warning. See 13:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:50:44 13:50:44 Login Succeeded 13:50:44 nexus3.edgexfoundry.org:10002 13:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:50:44 Configure a credential helper to remove this warning. See 13:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:50:44 13:50:44 Login Succeeded 13:50:44 nexus3.edgexfoundry.org:10003 13:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:50:44 Configure a credential helper to remove this warning. See 13:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:50:44 13:50:44 Login Succeeded 13:50:44 nexus3.edgexfoundry.org:10004 13:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:50:44 Configure a credential helper to remove this warning. See 13:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:50:44 13:50:44 Login Succeeded 13:50:44 docker.io 13:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:50:44 Configure a credential helper to remove this warning. See 13:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:50:44 13:50:44 Login Succeeded 13:50:44 ---> docker-login.sh ends [Pipeline] } 13:50:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:50:45 + git rev-list -1 --merges 55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3~1..55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 [Pipeline] echo 13:50:45 -----------> git rev-list -1 --merges 55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3~1..55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 13:50:45 55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 [false] [Pipeline] sh 13:50:45 + git log --format=format:%s -1 55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 [Pipeline] echo 13:50:45 ========================================================= 13:50:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:50:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:50:45 + git log --format=format:%s -1 55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 [Pipeline] echo 13:50:45 [semverPrep] GIT_COMMIT: 55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3, Commit Message: Merge pull request #1300 from jinlinGuan/issue-1299 [Pipeline] echo 13:50:45 [semverPrep] This is not a build commit. [Pipeline] sh 13:50:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:50:46 + grep -v github /etc/ssh/ssh_known_hosts 13:50:46 + [ -e /tmp/ssh_known_hosts ] 13:50:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:50:46 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:50:46 sudo tee -a /etc/ssh/ssh_known_hosts 13:50:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:50:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:50:46 13:50:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:50:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:50:46 0.1.4: Pulling from edgex-devops/py-git-semver 13:50:46 b85a868b505f: Pulling fs layer 13:50:46 e2be974225ed: Pulling fs layer 13:50:46 339a4e72a1f5: Pulling fs layer 13:50:46 988bab9f4d93: Pulling fs layer 13:50:46 1469e6f7b9e6: Pulling fs layer 13:50:46 eaf3925da568: Pulling fs layer 13:50:46 bab4dde63d76: Pulling fs layer 13:50:46 bde34c3a00c8: Pulling fs layer 13:50:46 b352a97aabf1: Pulling fs layer 13:50:46 4872d77fe225: Pulling fs layer 13:50:46 5851b861e8e6: Pulling fs layer 13:50:46 988bab9f4d93: Waiting 13:50:46 bde34c3a00c8: Waiting 13:50:46 b352a97aabf1: Waiting 13:50:46 1469e6f7b9e6: Waiting 13:50:46 eaf3925da568: Waiting 13:50:46 bab4dde63d76: Waiting 13:50:46 4872d77fe225: Waiting 13:50:46 e2be974225ed: Verifying Checksum 13:50:46 e2be974225ed: Download complete 13:50:46 988bab9f4d93: Verifying Checksum 13:50:46 988bab9f4d93: Download complete 13:50:47 1469e6f7b9e6: Verifying Checksum 13:50:47 1469e6f7b9e6: Download complete 13:50:47 339a4e72a1f5: Verifying Checksum 13:50:47 339a4e72a1f5: Download complete 13:50:47 eaf3925da568: Verifying Checksum 13:50:47 eaf3925da568: Download complete 13:50:47 bde34c3a00c8: Download complete 13:50:47 b352a97aabf1: Download complete 13:50:47 4872d77fe225: Verifying Checksum 13:50:47 4872d77fe225: Download complete 13:50:47 5851b861e8e6: Verifying Checksum 13:50:47 5851b861e8e6: Download complete 13:50:47 b85a868b505f: Verifying Checksum 13:50:47 b85a868b505f: Download complete 13:50:47 bab4dde63d76: Verifying Checksum 13:50:47 bab4dde63d76: Download complete 13:50:48 b85a868b505f: Pull complete 13:50:48 e2be974225ed: Pull complete 13:50:49 339a4e72a1f5: Pull complete 13:50:49 988bab9f4d93: Pull complete 13:50:49 1469e6f7b9e6: Pull complete 13:50:49 eaf3925da568: Pull complete 13:50:51 bab4dde63d76: Pull complete 13:50:51 bde34c3a00c8: Pull complete 13:50:51 b352a97aabf1: Pull complete 13:50:51 4872d77fe225: Pull complete 13:50:51 5851b861e8e6: Pull complete 13:50:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:50:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:50:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:50:51 prd-ubuntu20.04-docker-8c-8g-4372 does not seem to be running inside a container 13:50:51 $ 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 13:50:55 $ docker top 98c6963a00287cdfb5d1c3bdb7dbed7fb10694e7c5d4f1c8f5e94e8d45447540 -eo pid,comm 13:50:55 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). 13:50:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:50:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:50:55 [ssh-agent] Looking for ssh-agent implementation... 13:50:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:50:55 $ docker exec 98c6963a00287cdfb5d1c3bdb7dbed7fb10694e7c5d4f1c8f5e94e8d45447540 ssh-agent 13:50:55 SSH_AUTH_SOCK=/tmp/ssh-t2j6iuLCA2p5/agent.13 13:50:55 SSH_AGENT_PID=19 13:50:55 Running ssh-add (command line suppressed) 13:50:55 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16731479649702865492.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16731479649702865492.key) 13:50:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:50:56 + git tag --points-at HEAD [Pipeline] } 13:50:56 $ docker exec --env ******** --env ******** 98c6963a00287cdfb5d1c3bdb7dbed7fb10694e7c5d4f1c8f5e94e8d45447540 ssh-agent -k 13:50:56 unset SSH_AUTH_SOCK; 13:50:56 unset SSH_AGENT_PID; 13:50:56 echo Agent pid 19 killed; 13:50:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:50:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:50:56 [ssh-agent] Looking for ssh-agent implementation... 13:50:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:50:56 $ docker exec 98c6963a00287cdfb5d1c3bdb7dbed7fb10694e7c5d4f1c8f5e94e8d45447540 ssh-agent 13:50:56 SSH_AUTH_SOCK=/tmp/ssh-4siMeV0ZrRzK/agent.70 13:50:56 SSH_AGENT_PID=76 13:50:56 Running ssh-add (command line suppressed) 13:50:56 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6071084359205855282.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6071084359205855282.key) 13:50:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:50:56 + git semver init 13:50:57 2023-02-02 13:50:57,140 [run_init] DEBUG init version:0.0.0 force:False 13:50:57 2023-02-02 13:50:57,142 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 13:50:57 2023-02-02 13:50:57,143 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 13:50:57 2023-02-02 13:50:57,143 [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) 13:50:58 2023-02-02 13:50:58,221 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 13:50:58 2023-02-02 13:50:58,222 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 13:50:58 2023-02-02 13:50:58,222 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 13:50:58 2023-02-02 13:50:58,222 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 13:50:58 3.0.0-dev.15 [Pipeline] } 13:50:58 $ docker exec --env ******** --env ******** 98c6963a00287cdfb5d1c3bdb7dbed7fb10694e7c5d4f1c8f5e94e8d45447540 ssh-agent -k 13:50:58 unset SSH_AUTH_SOCK; 13:50:58 unset SSH_AGENT_PID; 13:50:58 echo Agent pid 76 killed; 13:50:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:50:59 + git semver [Pipeline] } 13:50:59 $ docker stop --time=1 98c6963a00287cdfb5d1c3bdb7dbed7fb10694e7c5d4f1c8f5e94e8d45447540 13:51:00 $ docker rm -f --volumes 98c6963a00287cdfb5d1c3bdb7dbed7fb10694e7c5d4f1c8f5e94e8d45447540 [Pipeline] // withDockerContainer [Pipeline] sh 13:51:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:51:01 Stashed 1 file(s) [Pipeline] echo 13:51:01 [edgeXSemver]: initialized semver on version 3.0.0-dev.15 [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 13:51:01 provisioning config files... 13:51:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13956692488491400103tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:51:01 ---> docker-login.sh 13:51:01 nexus3.edgexfoundry.org:10001 13:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:51:01 Configure a credential helper to remove this warning. See 13:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:51:01 13:51:01 Login Succeeded 13:51:01 nexus3.edgexfoundry.org:10002 13:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:51:01 Configure a credential helper to remove this warning. See 13:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:51:01 13:51:01 Login Succeeded 13:51:01 nexus3.edgexfoundry.org:10003 13:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:51:01 Configure a credential helper to remove this warning. See 13:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:51:01 13:51:01 Login Succeeded 13:51:01 nexus3.edgexfoundry.org:10004 13:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:51:01 Configure a credential helper to remove this warning. See 13:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:51:01 13:51:01 Login Succeeded 13:51:01 docker.io 13:51:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:51:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:51:02 Configure a credential helper to remove this warning. See 13:51:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:51:02 13:51:02 Login Succeeded 13:51:02 ---> docker-login.sh ends [Pipeline] } 13:51:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:51:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:51:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:51:02 ========================================================= 13:51:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:51:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:51:02 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 13:51:02 Sending build context to Docker daemon 10.46MB 13:51:02 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 13:51:02 Step 2/10 : FROM ${BASE} AS builder 13:51:02 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:51:02 213ec9aee27d: Pulling fs layer 13:51:02 4583459ba037: Pulling fs layer 13:51:02 93c1e223e6f2: Pulling fs layer 13:51:02 53926ce57604: Pulling fs layer 13:51:02 21b2b0c7a3f4: Pulling fs layer 13:51:02 22ff95d597cd: Pulling fs layer 13:51:02 12d6caf4c0d1: Pulling fs layer 13:51:02 21b2b0c7a3f4: Waiting 13:51:02 22ff95d597cd: Waiting 13:51:02 96b7cbca73a9: Pulling fs layer 13:51:02 a7acece74701: Pulling fs layer 13:51:02 12d6caf4c0d1: Waiting 13:51:02 96b7cbca73a9: Waiting 13:51:02 a7acece74701: Waiting 13:51:02 93c1e223e6f2: Verifying Checksum 13:51:02 93c1e223e6f2: Download complete 13:51:02 4583459ba037: Verifying Checksum 13:51:02 4583459ba037: Download complete 13:51:02 21b2b0c7a3f4: Download complete 13:51:02 22ff95d597cd: Download complete 13:51:02 213ec9aee27d: Verifying Checksum 13:51:02 213ec9aee27d: Download complete 13:51:02 12d6caf4c0d1: Verifying Checksum 13:51:02 12d6caf4c0d1: Download complete 13:51:03 213ec9aee27d: Pull complete 13:51:03 4583459ba037: Pull complete 13:51:03 93c1e223e6f2: Pull complete 13:51:04 a7acece74701: Verifying Checksum 13:51:04 a7acece74701: Download complete 13:51:04 53926ce57604: Verifying Checksum 13:51:04 53926ce57604: Download complete 13:51:04 96b7cbca73a9: Verifying Checksum 13:51:04 96b7cbca73a9: Download complete 13:51:08 53926ce57604: Pull complete 13:51:08 21b2b0c7a3f4: Pull complete 13:51:09 22ff95d597cd: Pull complete 13:51:09 12d6caf4c0d1: Pull complete 13:51:11 96b7cbca73a9: Pull complete 13:51:12 a7acece74701: Pull complete 13:51:12 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 13:51:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:51:12 ---> db6d94c90886 13:51:12 Step 3/10 : ARG MAKE=make build 13:51:16 Still waiting to schedule task 13:51:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:51:19 ---> Running in 1b7d6e918ad9 13:51:19 Removing intermediate container 1b7d6e918ad9 13:51:19 ---> 5fedd9e4b8e3 13:51:19 Step 4/10 : WORKDIR /device-sdk-go 13:51:19 ---> Running in 0e6aadeb2bde 13:51:19 Removing intermediate container 0e6aadeb2bde 13:51:19 ---> f9e436601db2 13:51:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:51:19 ---> Running in 3f2b6eca94f7 13:51:19 Removing intermediate container 3f2b6eca94f7 13:51:19 ---> 7261bf0512d3 13:51:19 Step 6/10 : RUN apk add --update --no-cache make git 13:51:19 ---> Running in 97807cd99551 13:51:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:51:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:51:19 OK: 211 MiB in 51 packages 13:51:20 Removing intermediate container 97807cd99551 13:51:20 ---> 2fbd180ddf6c 13:51:20 Step 7/10 : COPY go.mod vendor* ./ 13:51:20 ---> 31fab7e57cd5 13:51:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:51:20 ---> Running in ce6cbbe8d9e3 13:52:07 Removing intermediate container ce6cbbe8d9e3 13:52:07 ---> 3aca7b4de915 13:52:07 Step 9/10 : COPY . . 13:52:08 ---> 94a63d0eeda8 13:52:08 Step 10/10 : RUN ${MAKE} 13:52:08 ---> Running in c3dd9eee7283 13:52:08 noop 13:52:08 Removing intermediate container c3dd9eee7283 13:52:08 ---> 2970f8d6898c 13:52:08 Successfully built 2970f8d6898c 13:52:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:52:09 + docker inspect -f . ci-base-image-x86_64 13:52:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:52:09 prd-ubuntu20.04-docker-8c-8g-4372 does not seem to be running inside a container 13:52:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:52:09 $ docker top 197581dc54e1b566dc9c7a13ee3f52561b8a2775011edeabae2842e1e6489bf0 -eo pid,comm [Pipeline] { [Pipeline] sh 13:52:09 + go version 13:52:09 go version go1.18.7 linux/amd64 [Pipeline] } 13:52:09 $ docker stop --time=1 197581dc54e1b566dc9c7a13ee3f52561b8a2775011edeabae2842e1e6489bf0 13:52:11 $ docker rm -f --volumes 197581dc54e1b566dc9c7a13ee3f52561b8a2775011edeabae2842e1e6489bf0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:52:11 + docker inspect -f . ci-base-image-x86_64 13:52:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:52:11 prd-ubuntu20.04-docker-8c-8g-4372 does not seem to be running inside a container 13:52:11 $ 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 13:52:12 $ docker top 5bdd8b94bdb011958572dd73e3dfa09e465a523efe1097f77084397670408c5e -eo pid,comm [Pipeline] { [Pipeline] sh 13:52:12 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 13:52:12 + make test 13:52:12 go test -race -coverprofile=coverage.out ./... 13:52:19 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 13:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 13:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 13:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 13:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 13:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 13:52:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.058s coverage: 27.6% of statements 13:52:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.076s coverage: 78.9% of statements 13:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 13:52:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.098s coverage: 73.6% of statements 13:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 13:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 13:52:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.112s coverage: 59.8% of statements 13:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 13:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 13:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 13:52:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.087s coverage: 65.1% of statements 13:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 13:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 13:52:34 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.728s coverage: 89.2% of statements 13:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 13:52:34 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.6% of statements 13:52:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 13:52:49 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 13:52:49 GO111MODULE=on go vet ./... 13:52:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:52:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:52:50 ./bin/test-attribution-txt.sh [Pipeline] echo 13:52:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:52:51 $ docker stop --time=1 5bdd8b94bdb011958572dd73e3dfa09e465a523efe1097f77084397670408c5e 13:52:56 $ docker rm -f --volumes 5bdd8b94bdb011958572dd73e3dfa09e465a523efe1097f77084397670408c5e [Pipeline] // withDockerContainer [Pipeline] sh 13:52:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:52:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:52:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:52:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4373 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 13:52:57 Running in /w/workspace/device-sdk-go/145 [Pipeline] { [Pipeline] checkout 13:52:57 The recommended git tool is: git 13:52:57 + ls -al . 13:52:57 total 272 13:52:57 drwxrwxr-x 11 jenkins jenkins 4096 Feb 2 13:52 . 13:52:57 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 13:50 .. 13:52:57 -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 13:50 .dockerignore 13:52:57 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 13:52 .git 13:52:57 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 13:50 .github 13:52:57 -rw-rw-r-- 1 jenkins jenkins 131 Feb 2 13:50 .gitignore 13:52:57 -rw-rw-r-- 1 jenkins jenkins 42 Feb 2 13:50 .golangci.yml 13:52:57 drwxr-xr-x 3 jenkins jenkins 4096 Feb 2 13:50 .semver 13:52:57 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 2 13:50 CHANGELOG.md 13:52:57 -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 13:50 GOVERNANCE.md 13:52:57 -rw-rw-r-- 1 jenkins jenkins 885 Feb 2 13:50 Jenkinsfile 13:52:57 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 2 13:50 LICENSE 13:52:57 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 2 13:50 Makefile 13:52:57 -rw-rw-r-- 1 jenkins jenkins 619 Feb 2 13:50 OWNERS.md 13:52:57 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 2 13:50 README.md 13:52:57 -rw-rw-r-- 1 jenkins jenkins 12 Feb 2 13:51 VERSION 13:52:57 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 13:50 bin 13:52:57 -rw-r--r-- 1 jenkins jenkins 100730 Feb 2 13:52 coverage.out 13:52:57 drwxrwxr-x 5 jenkins jenkins 4096 Feb 2 13:50 example 13:52:57 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 2 13:50 go.mod 13:52:57 -rw-rw-r-- 1 jenkins jenkins 34396 Feb 2 13:50 go.sum 13:52:57 drwxrwxr-x 13 jenkins jenkins 4096 Feb 2 13:50 internal 13:52:57 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 13:50 openapi 13:52:57 drwxrwxr-x 6 jenkins jenkins 4096 Feb 2 13:50 pkg 13:52:57 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 13:50 snap 13:52:57 -rw-rw-r-- 1 jenkins jenkins 222 Feb 2 13:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:52:57 + 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=55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 --label arch=amd64 --label version=3.0.0-dev.15 . 13:52:57 Sending build context to Docker daemon 10.56MB 13:52:57 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 13:52:57 Step 2/23 : FROM ${BASE} AS builder 13:52:57 ---> 2970f8d6898c 13:52:57 Step 3/23 : ARG MAKE=make build 13:52:58 ---> Running in 89bf1cf00415 13:52:58 Removing intermediate container 89bf1cf00415 13:52:58 ---> e802bdeb7787 13:52:58 Step 4/23 : WORKDIR /device-sdk-go 13:52:58 ---> Running in 7c40c16338a5 13:52:58 Removing intermediate container 7c40c16338a5 13:52:58 ---> 33e159e77c80 13:52:58 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:52:58 ---> Running in 2daf9287a3b2 13:52:58 Removing intermediate container 2daf9287a3b2 13:52:58 ---> 6c654e65ad08 13:52:58 Step 6/23 : RUN apk add --update --no-cache make git 13:52:58 ---> Running in d5926e30d712 13:52:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:52:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:52:59 OK: 211 MiB in 51 packages 13:52:59 Removing intermediate container d5926e30d712 13:52:59 ---> f4e1bac81409 13:52:59 Step 7/23 : COPY go.mod vendor* ./ 13:52:59 ---> 42c3f823c943 13:52:59 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:52:59 ---> Running in 239852d1b22d 13:53:00 Removing intermediate container 239852d1b22d 13:53:00 ---> 2678589b87c4 13:53:00 Step 9/23 : COPY . . 13:53:01 ---> bb6bcd29c919 13:53:01 Step 10/23 : RUN ${MAKE} 13:53:01 ---> Running in b2939396c666 13:53:01 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.15" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 13:53:03 using credential edgex-jenkins-ssh 13:53:03 Cloning the remote Git repository 13:53:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:53:03 > git init /w/workspace/device-sdk-go/145 # timeout=10 13:53:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:53:03 > git --version # timeout=10 13:53:03 > git --version # 'git version 2.25.1' 13:53:03 using GIT_SSH to set credentials SSH Credentials for GitHub 13:53:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:53:06 Avoid second fetch 13:53:06 Checking out Revision 55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 (main) 13:53:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:53:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:53:06 > git config core.sparsecheckout # timeout=10 13:53:06 > git checkout -f 55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 # timeout=10 13:53:06 Commit message: "Merge pull request #1300 from jinlinGuan/issue-1299" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:53:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:53:07 % Total % Received % Xferd Average Speed Time Time Time Current 13:53:07 Dload Upload Total Spent Left Speed 13:53:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75449 0 --:--:-- --:--:-- --:--:-- 75898 [Pipeline] sh 13:53:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:53:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:53:08 + sudo tee /etc/docker/daemon.new 13:53:08 { 13:53:08 "registry-mirrors": [ 13:53:08 "https://nexus3.edgexfoundry.org:10001" 13:53:08 ], 13:53:08 "bip": "10.250.0.254/24", 13:53:08 "hosts": [ 13:53:08 "tcp://0.0.0.0:5555", 13:53:08 "unix:///var/run/docker.sock" 13:53:08 ], 13:53:08 "mtu": 1458, 13:53:08 "selinux-enabled": true, 13:53:08 "seccomp-profile": "/etc/docker/seccomp.json" 13:53:08 } [Pipeline] sh 13:53:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:53:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:53:27 provisioning config files... 13:53:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/145@tmp/config6210099123860849489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:53:27 ---> docker-login.sh 13:53:27 nexus3.edgexfoundry.org:10001 13:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:53:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:53:28 Configure a credential helper to remove this warning. See 13:53:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:53:28 13:53:28 Login Succeeded 13:53:28 nexus3.edgexfoundry.org:10002 13:53:28 Removing intermediate container b2939396c666 13:53:28 ---> e037737ff550 13:53:28 Step 11/23 : FROM alpine:3.16 13:53:28 3.16: Pulling from library/alpine 13:53:28 ca7dd9ec2225: Pulling fs layer 13:53:28 ca7dd9ec2225: Download complete 13:53:28 ca7dd9ec2225: Pull complete 13:53:28 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 13:53:28 Status: Downloaded newer image for alpine:3.16 13:53:28 ---> bfe296a52501 13:53:28 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:53:28 ---> Running in 469942e42c53 13:53:28 Removing intermediate container 469942e42c53 13:53:28 ---> dfd02c3456af 13:53:28 Step 13/23 : RUN apk add --update --no-cache 13:53:28 ---> Running in 0fcffc961c6b 13:53:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:53:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:53:28 OK: 6 MiB in 14 packages 13:53:28 Removing intermediate container 0fcffc961c6b 13:53:28 ---> 84771a0b2b2f 13:53:28 Step 14/23 : WORKDIR / 13:53:28 ---> Running in 0f309abff93d 13:53:28 Removing intermediate container 0f309abff93d 13:53:28 ---> 2a4064ecb46a 13:53:28 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 13:53:28 ---> 373531f60503 13:53:28 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 13:53:28 ---> 8ea555cde62c 13:53:28 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 13:53:28 ---> 53330ba67acf 13:53:28 Step 18/23 : EXPOSE 59999 13:53:28 ---> Running in 787fe58e4257 13:53:28 Removing intermediate container 787fe58e4257 13:53:28 ---> e7a839890f98 13:53:28 Step 19/23 : ENTRYPOINT ["/device-simple"] 13:53:28 ---> Running in 42238cf7dc52 13:53:28 Removing intermediate container 42238cf7dc52 13:53:28 ---> b1484ec60873 13:53:28 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:53:28 ---> Running in 362c8491054b 13:53:28 Removing intermediate container 362c8491054b 13:53:28 ---> 3fbb607f3426 13:53:28 Step 21/23 : LABEL arch=amd64 13:53:28 ---> Running in 00ef6e8e16d7 13:53:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:53:28 Removing intermediate container 00ef6e8e16d7 13:53:28 ---> f6348ccdbfad 13:53:28 Step 22/23 : LABEL git_sha=55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 13:53:28 ---> Running in 9a0fd3d98348 13:53:28 Removing intermediate container 9a0fd3d98348 13:53:28 ---> 3e0d447f20f7 13:53:28 Step 23/23 : LABEL version=3.0.0-dev.15 13:53:28 ---> Running in 2497a1f46b61 13:53:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:53:28 Configure a credential helper to remove this warning. See 13:53:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:53:28 13:53:28 Login Succeeded 13:53:28 nexus3.edgexfoundry.org:10003 13:53:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:53:28 Removing intermediate container 2497a1f46b61 13:53:28 ---> 05917d09fcea 13:53:28 [Warning] One or more build-args [ARCH] were not consumed 13:53:28 Successfully built 05917d09fcea 13:53:28 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 13:53:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:53:28 Configure a credential helper to remove this warning. See 13:53:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:53:28 13:53:28 Login Succeeded 13:53:28 nexus3.edgexfoundry.org:10004 13:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:53:29 Configure a credential helper to remove this warning. See 13:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:53:29 13:53:29 Login Succeeded 13:53:29 docker.io 13:53:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:53:29 13:53:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:53:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:53:29 latest: Pulling from edgex-lftools-log-publisher 13:53:29 5eb5b503b376: Pulling fs layer 13:53:29 5c69ac0246d0: Pulling fs layer 13:53:29 ec43610c2a17: Pulling fs layer 13:53:29 3a2ae6a8a46f: Pulling fs layer 13:53:29 33b1e0a273af: Pulling fs layer 13:53:29 5d3b04190fa2: Pulling fs layer 13:53:29 2f39f015ded8: Pulling fs layer 13:53:29 3a2ae6a8a46f: Waiting 13:53:29 5d3b04190fa2: Waiting 13:53:29 2f39f015ded8: Waiting 13:53:29 33b1e0a273af: Waiting 13:53:29 5c69ac0246d0: Verifying Checksum 13:53:29 5c69ac0246d0: Download complete 13:53:29 3a2ae6a8a46f: Verifying Checksum 13:53:29 3a2ae6a8a46f: Download complete 13:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:53:29 Configure a credential helper to remove this warning. See 13:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:53:29 13:53:29 Login Succeeded 13:53:29 ---> docker-login.sh ends [Pipeline] } 13:53:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 13:53:29 33b1e0a273af: Verifying Checksum 13:53:29 33b1e0a273af: Download complete 13:53:29 5d3b04190fa2: Verifying Checksum 13:53:29 5d3b04190fa2: Download complete 13:53:29 ec43610c2a17: Verifying Checksum 13:53:29 ec43610c2a17: Download complete [Pipeline] echo 13:53:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:53:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:53:29 ========================================================= 13:53:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:53:29 ========================================================= [Pipeline] fileExists 13:53:29 5eb5b503b376: Verifying Checksum 13:53:29 5eb5b503b376: Download complete [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:53:30 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 13:53:30 2f39f015ded8: Verifying Checksum 13:53:30 2f39f015ded8: Download complete 13:53:30 Sending build context to Docker daemon 5.622MB 13:53:30 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 13:53:30 Step 2/10 : FROM ${BASE} AS builder 13:53:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:53:30 9b18e9b68314: Pulling fs layer 13:53:30 35d82f9e3411: Pulling fs layer 13:53:30 e16973657156: Pulling fs layer 13:53:30 fc693d55d65f: Pulling fs layer 13:53:30 7e9fc2657dce: Pulling fs layer 13:53:30 dda99020689f: Pulling fs layer 13:53:30 db1c61fa0a46: Pulling fs layer 13:53:30 891c053d2c06: Pulling fs layer 13:53:30 fc693d55d65f: Waiting 13:53:30 7e9fc2657dce: Waiting 13:53:30 dda99020689f: Waiting 13:53:30 db1c61fa0a46: Waiting 13:53:30 891c053d2c06: Waiting 13:53:30 e16973657156: Download complete 13:53:30 35d82f9e3411: Verifying Checksum 13:53:30 35d82f9e3411: Download complete 13:53:30 7e9fc2657dce: Download complete 13:53:30 dda99020689f: Verifying Checksum 13:53:30 dda99020689f: Download complete 13:53:30 9b18e9b68314: Verifying Checksum 13:53:30 9b18e9b68314: Download complete 13:53:31 5eb5b503b376: Pull complete 13:53:31 5c69ac0246d0: Pull complete 13:53:31 ec43610c2a17: Pull complete 13:53:31 3a2ae6a8a46f: Pull complete 13:53:31 9b18e9b68314: Pull complete 13:53:31 33b1e0a273af: Pull complete 13:53:31 5d3b04190fa2: Pull complete 13:53:32 891c053d2c06: Verifying Checksum 13:53:32 891c053d2c06: Download complete 13:53:32 35d82f9e3411: Pull complete 13:53:32 e16973657156: Pull complete 13:53:33 db1c61fa0a46: Verifying Checksum 13:53:33 db1c61fa0a46: Download complete 13:53:33 fc693d55d65f: Verifying Checksum 13:53:33 fc693d55d65f: Download complete 13:53:36 2f39f015ded8: Pull complete 13:53:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:53:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:53:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:53:36 prd-ubuntu20.04-docker-8c-8g-4372 does not seem to be running inside a container 13:53:36 $ 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 13:53:42 $ docker top aed2e9cacf964cc647528ac5e7560efe84fcd643277f5ed5b6c9c065656396fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:53:42 ---> job-cost.sh 13:53:42 lf-activate-venv: SKIPPING 13:53:42 INFO: No Stack... 13:53:42 INFO: Retrieving Pricing Info for: v3-standard-8 13:53:43 INFO: Archiving Costs [Pipeline] sh 13:53:43 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 13:53:43 + cut -d, -f6 [Pipeline] lock 13:53:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-145-stack-cost] 13:53:43 Resource [jenkins-edgexfoundry-device-sdk-go-main-145-stack-cost] did not exist. Created. 13:53:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-145-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:53:43 + echo total: 0.2199999988079071 [Pipeline] stash 13:53:43 Stashed 1 file(s) [Pipeline] } 13:53:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-145-stack-cost] [Pipeline] // lock [Pipeline] } 13:53:43 $ docker stop --time=1 aed2e9cacf964cc647528ac5e7560efe84fcd643277f5ed5b6c9c065656396fe 13:53:44 $ docker rm -f --volumes aed2e9cacf964cc647528ac5e7560efe84fcd643277f5ed5b6c9c065656396fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:53:46 fc693d55d65f: Pull complete 13:53:46 7e9fc2657dce: Pull complete 13:53:46 dda99020689f: Pull complete 13:53:52 db1c61fa0a46: Pull complete 13:53:54 891c053d2c06: Pull complete 13:53:54 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 13:53:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:53:54 ---> f96f9c87975a 13:53:54 Step 3/10 : ARG MAKE=make build 13:53:56 ---> Running in 8ef61bc970dc 13:53:56 Removing intermediate container 8ef61bc970dc 13:53:56 ---> d0f081abb9e0 13:53:56 Step 4/10 : WORKDIR /device-sdk-go 13:53:56 ---> Running in dc5ed9354dd5 13:53:56 Removing intermediate container dc5ed9354dd5 13:53:56 ---> e9f2d604a2d3 13:53:56 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:53:56 ---> Running in 435c936b8e43 13:53:57 Removing intermediate container 435c936b8e43 13:53:57 ---> 3bf241679ecb 13:53:57 Step 6/10 : RUN apk add --update --no-cache make git 13:53:57 ---> Running in e90690215fa3 13:53:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:53:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:53:59 OK: 221 MiB in 51 packages 13:54:00 Removing intermediate container e90690215fa3 13:54:00 ---> 9f3b37bd5885 13:54:00 Step 7/10 : COPY go.mod vendor* ./ 13:54:00 ---> 712a5a863dd1 13:54:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:54:00 ---> Running in 8653521f348a 13:55:08 Removing intermediate container 8653521f348a 13:55:08 ---> 8b152c77c868 13:55:08 Step 9/10 : COPY . . 13:55:08 ---> 36ceca198fbd 13:55:08 Step 10/10 : RUN ${MAKE} 13:55:08 ---> Running in 191ff11985ae 13:55:08 noop 13:55:08 Removing intermediate container 191ff11985ae 13:55:08 ---> 98ec29844564 13:55:08 Successfully built 98ec29844564 13:55:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:55:08 + docker inspect -f . ci-base-image-arm64 13:55:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:55:09 prd-ubuntu20.04-docker-arm64-4c-16g-4373 does not seem to be running inside a container 13:55:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/145 -v /w/workspace/device-sdk-go/145:/w/workspace/device-sdk-go/145:rw,z -v /w/workspace/device-sdk-go/145@tmp:/w/workspace/device-sdk-go/145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:55:10 $ docker top 224033e121ada78b46abea5d84d01027c7cc6c9a868250df3483814497df7784 -eo pid,comm [Pipeline] { [Pipeline] sh 13:55:11 + go version 13:55:11 go version go1.18.7 linux/arm64 [Pipeline] } 13:55:11 $ docker stop --time=1 224033e121ada78b46abea5d84d01027c7cc6c9a868250df3483814497df7784 13:55:13 $ docker rm -f --volumes 224033e121ada78b46abea5d84d01027c7cc6c9a868250df3483814497df7784 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:55:13 + docker inspect -f . ci-base-image-arm64 13:55:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:55:13 prd-ubuntu20.04-docker-arm64-4c-16g-4373 does not seem to be running inside a container 13:55:13 $ 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/145 -v /w/workspace/device-sdk-go/145:/w/workspace/device-sdk-go/145:rw,z -v /w/workspace/device-sdk-go/145@tmp:/w/workspace/device-sdk-go/145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:55:15 $ docker top b8956cec76eca4dd3bb5c525d9f4342f3f22163d1b2e5fbf8b797b52bdfc7089 -eo pid,comm [Pipeline] { [Pipeline] sh 13:55:15 + git config --global --add safe.directory /w/workspace/device-sdk-go/145 [Pipeline] fileExists [Pipeline] sh 13:55:16 + make test 13:55:16 go test -race -coverprofile=coverage.out ./... 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 13:57:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 13:57:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 13:57:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 13:57:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 13:57:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 13:57:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.411s coverage: 27.6% of statements 13:57:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.343s coverage: 78.9% of statements 13:57:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 13:57:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.331s coverage: 73.6% of statements 13:57:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 13:57:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 13:57:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.755s coverage: 59.8% of statements 13:57:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 13:57:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 13:57:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 13:57:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.541s coverage: 65.1% of statements 13:57:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 13:57:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 13:57:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.666s coverage: 89.2% of statements 13:57:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 13:57:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.263s coverage: 4.6% of statements 13:57:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 13:57:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:57:50 GO111MODULE=on go vet ./... 13:59:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:59:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:59:27 ./bin/test-attribution-txt.sh [Pipeline] echo 13:59:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:59:27 $ docker stop --time=1 b8956cec76eca4dd3bb5c525d9f4342f3f22163d1b2e5fbf8b797b52bdfc7089 13:59:29 $ docker rm -f --volumes b8956cec76eca4dd3bb5c525d9f4342f3f22163d1b2e5fbf8b797b52bdfc7089 [Pipeline] // withDockerContainer [Pipeline] sh 13:59:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:59:30 Warning: overwriting stash ‘coverage-report’ 13:59:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:59:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:59:31 + ls -al . 13:59:31 total 268 13:59:31 drwxrwxr-x 10 jenkins jenkins 4096 Feb 2 13:55 . 13:59:31 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 13:53 .. 13:59:31 -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 13:53 .dockerignore 13:59:31 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 13:53 .git 13:59:31 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 13:53 .github 13:59:31 -rw-rw-r-- 1 jenkins jenkins 131 Feb 2 13:53 .gitignore 13:59:31 -rw-rw-r-- 1 jenkins jenkins 42 Feb 2 13:53 .golangci.yml 13:59:31 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 2 13:53 CHANGELOG.md 13:59:31 -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 13:53 GOVERNANCE.md 13:59:31 -rw-rw-r-- 1 jenkins jenkins 885 Feb 2 13:53 Jenkinsfile 13:59:31 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 2 13:53 LICENSE 13:59:31 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 2 13:53 Makefile 13:59:31 -rw-rw-r-- 1 jenkins jenkins 619 Feb 2 13:53 OWNERS.md 13:59:31 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 2 13:53 README.md 13:59:31 -rw-rw-r-- 1 jenkins jenkins 12 Feb 2 13:51 VERSION 13:59:31 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 13:53 bin 13:59:31 -rw-r--r-- 1 jenkins jenkins 100730 Feb 2 13:57 coverage.out 13:59:31 drwxrwxr-x 5 jenkins jenkins 4096 Feb 2 13:53 example 13:59:31 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 2 13:53 go.mod 13:59:31 -rw-rw-r-- 1 jenkins jenkins 34396 Feb 2 13:53 go.sum 13:59:31 drwxrwxr-x 13 jenkins jenkins 4096 Feb 2 13:53 internal 13:59:31 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 13:53 openapi 13:59:31 drwxrwxr-x 6 jenkins jenkins 4096 Feb 2 13:53 pkg 13:59:31 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 13:53 snap 13:59:31 -rw-rw-r-- 1 jenkins jenkins 222 Feb 2 13:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:59:32 + 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=55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 --label arch=arm64 --label version=3.0.0-dev.15 . 13:59:32 Sending build context to Docker daemon 5.724MB 13:59:32 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 13:59:32 Step 2/23 : FROM ${BASE} AS builder 13:59:32 ---> 98ec29844564 13:59:32 Step 3/23 : ARG MAKE=make build 13:59:32 ---> Running in a4aad4bda036 13:59:33 Removing intermediate container a4aad4bda036 13:59:33 ---> 65a7018bac65 13:59:33 Step 4/23 : WORKDIR /device-sdk-go 13:59:33 ---> Running in ddec00dd813a 13:59:33 Removing intermediate container ddec00dd813a 13:59:33 ---> d45318058194 13:59:33 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:59:33 ---> Running in 7c21a671d3d9 13:59:33 Removing intermediate container 7c21a671d3d9 13:59:33 ---> 45ea0ba99b71 13:59:33 Step 6/23 : RUN apk add --update --no-cache make git 13:59:33 ---> Running in 368b5f7fecd3 13:59:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:59:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:59:36 OK: 221 MiB in 51 packages 13:59:37 Removing intermediate container 368b5f7fecd3 13:59:37 ---> 6618590d1aea 13:59:37 Step 7/23 : COPY go.mod vendor* ./ 13:59:37 ---> 4a6c09cc7058 13:59:37 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:59:37 ---> Running in 27218e2cfdaf 13:59:40 Removing intermediate container 27218e2cfdaf 13:59:40 ---> d8098a4f57a2 13:59:40 Step 9/23 : COPY . . 13:59:41 ---> 39e16bb6a215 13:59:41 Step 10/23 : RUN ${MAKE} 13:59:41 ---> Running in 3bffcde9b17d 13:59:42 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.15" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 14:01:48 Removing intermediate container 3bffcde9b17d 14:01:48 ---> a4abf742036a 14:01:48 Step 11/23 : FROM alpine:3.16 14:01:48 3.16: Pulling from library/alpine 14:01:48 6875df1f5354: Pulling fs layer 14:01:48 6875df1f5354: Verifying Checksum 14:01:48 6875df1f5354: Download complete 14:01:48 6875df1f5354: Pull complete 14:01:48 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 14:01:48 Status: Downloaded newer image for alpine:3.16 14:01:48 ---> 2b4661558fb8 14:01:48 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:01:48 ---> Running in 86ad52214799 14:01:48 Removing intermediate container 86ad52214799 14:01:48 ---> 6d3830eb202c 14:01:48 Step 13/23 : RUN apk add --update --no-cache 14:01:48 ---> Running in b08371e13aa9 14:01:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:01:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:01:48 OK: 5 MiB in 14 packages 14:01:48 Removing intermediate container b08371e13aa9 14:01:48 ---> c60bf2520dcc 14:01:48 Step 14/23 : WORKDIR / 14:01:48 ---> Running in 3171d3d85129 14:01:48 Removing intermediate container 3171d3d85129 14:01:48 ---> 05fcda2fffbe 14:01:48 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 14:01:48 ---> 8f9d4147c1ca 14:01:48 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 14:01:48 ---> eb9d8660b886 14:01:48 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 14:01:48 ---> fa1d2a05566a 14:01:48 Step 18/23 : EXPOSE 59999 14:01:48 ---> Running in 9616156247a4 14:01:48 Removing intermediate container 9616156247a4 14:01:48 ---> ac8f478a98ec 14:01:48 Step 19/23 : ENTRYPOINT ["/device-simple"] 14:01:48 ---> Running in 6a8dbf74a70e 14:01:48 Removing intermediate container 6a8dbf74a70e 14:01:48 ---> a03ef1eea7a7 14:01:48 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 14:01:48 ---> Running in 1c812a8adb5d 14:01:48 Removing intermediate container 1c812a8adb5d 14:01:48 ---> 4d13440542ec 14:01:48 Step 21/23 : LABEL arch=arm64 14:01:48 ---> Running in b32629fde8f0 14:01:48 Removing intermediate container b32629fde8f0 14:01:48 ---> 67a5df881408 14:01:48 Step 22/23 : LABEL git_sha=55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 14:01:48 ---> Running in ff0e13d08435 14:01:48 Removing intermediate container ff0e13d08435 14:01:48 ---> 53e2cf1b4771 14:01:48 Step 23/23 : LABEL version=3.0.0-dev.15 14:01:48 ---> Running in 2058b437598a 14:01:48 Removing intermediate container 2058b437598a 14:01:48 ---> 98f5a0c51f7e 14:01:48 [Warning] One or more build-args [ARCH] were not consumed 14:01:48 Successfully built 98f5a0c51f7e 14:01:48 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:01:49 14:01:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:01:49 arm64: Pulling from edgex-lftools-log-publisher 14:01:49 8998bd30e6a1: Pulling fs layer 14:01:49 04944245beec: Pulling fs layer 14:01:49 699f458cf7ca: Pulling fs layer 14:01:49 765212b225bb: Pulling fs layer 14:01:49 f23df028b6ca: Pulling fs layer 14:01:49 d65c8cfc05b1: Pulling fs layer 14:01:49 2437ff75d9bd: Pulling fs layer 14:01:49 f23df028b6ca: Waiting 14:01:49 d65c8cfc05b1: Waiting 14:01:49 2437ff75d9bd: Waiting 14:01:49 765212b225bb: Waiting 14:01:49 04944245beec: Verifying Checksum 14:01:49 04944245beec: Download complete 14:01:49 765212b225bb: Verifying Checksum 14:01:49 765212b225bb: Download complete 14:01:49 f23df028b6ca: Verifying Checksum 14:01:49 f23df028b6ca: Download complete 14:01:49 d65c8cfc05b1: Verifying Checksum 14:01:49 d65c8cfc05b1: Download complete 14:01:50 699f458cf7ca: Verifying Checksum 14:01:50 699f458cf7ca: Download complete 14:01:50 8998bd30e6a1: Verifying Checksum 14:01:50 8998bd30e6a1: Download complete 14:01:53 2437ff75d9bd: Verifying Checksum 14:01:53 2437ff75d9bd: Download complete 14:01:54 8998bd30e6a1: Pull complete 14:01:54 04944245beec: Pull complete 14:01:58 699f458cf7ca: Pull complete 14:01:58 765212b225bb: Pull complete 14:01:59 f23df028b6ca: Pull complete 14:01:59 d65c8cfc05b1: Pull complete 14:02:14 2437ff75d9bd: Pull complete 14:02:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:02:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:02:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:02:14 prd-ubuntu20.04-docker-arm64-4c-16g-4373 does not seem to be running inside a container 14:02:14 $ 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/145 -v /w/workspace/device-sdk-go/145:/w/workspace/device-sdk-go/145:rw,z -v /w/workspace/device-sdk-go/145@tmp:/w/workspace/device-sdk-go/145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:02:17 $ docker top f2efe552c46fe41dee9d23ef4346279f0f7fa2913479e873f9e98d32a0697914 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:02:18 ---> job-cost.sh 14:02:18 lf-activate-venv: SKIPPING 14:02:18 INFO: No Stack... 14:02:18 INFO: Retrieving Pricing Info for: v3-standard-4 14:02:19 INFO: Archiving Costs [Pipeline] sh 14:02:20 + cat /w/workspace/device-sdk-go/145/archives/cost.csv 14:02:20 + cut -d, -f6 [Pipeline] lock 14:02:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-145-stack-cost] 14:02:20 Resource [jenkins-edgexfoundry-device-sdk-go-main-145-stack-cost] did not exist. Created. 14:02:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-145-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:02:20 /w/workspace/device-sdk-go/145@tmp/durable-1cada124/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:02:21 + echo total: 0.10999999940395355 [Pipeline] stash 14:02:21 Warning: overwriting stash ‘stack-cost’ 14:02:21 Stashed 1 file(s) [Pipeline] } 14:02:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-145-stack-cost] [Pipeline] // lock [Pipeline] } 14:02:21 $ docker stop --time=1 f2efe552c46fe41dee9d23ef4346279f0f7fa2913479e873f9e98d32a0697914 14:02:22 $ docker rm -f --volumes f2efe552c46fe41dee9d23ef4346279f0f7fa2913479e873f9e98d32a0697914 [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 14:02:23 provisioning config files... 14:02:23 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config231141311067608852tmp [Pipeline] { [Pipeline] sh 14:02:23 + set +x 14:02:23 + curl -s https://codecov.io/bash 14:02:23 + bash -s -- 14:02:23 14:02:23 _____ _ 14:02:23 / ____| | | 14:02:23 | | ___ __| | ___ ___ _____ __ 14:02:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:02:23 | |___| (_) | (_| | __/ (_| (_) \ V / 14:02:23 \_____\___/ \__,_|\___|\___\___/ \_/ 14:02:23 Bash-1.0.6 14:02:23 14:02:23 14:02:23 ==> git version 2.25.1 found 14:02:23 ==> 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 14:02:23 Release-Date: 2020-01-08 14:02:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:02:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:02:23 ==> Jenkins CI detected. 14:02:23 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 14:02:23 project root: . 14:02:23 --> token set from env 14:02:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:02:23 ==> Running gcov in . (disable via -X gcov) 14:02:23 ==> Python coveragepy not found 14:02:23 ==> Searching for coverage reports in: 14:02:23 + . 14:02:23 -> Found 1 reports 14:02:23 ==> Detecting git/mercurial file structure 14:02:23 ==> Reading reports 14:02:23 + ./coverage.out bytes=100730 14:02:23 ==> Appending adjustments 14:02:23 https://docs.codecov.io/docs/fixing-reports 14:02:24 + Found adjustments 14:02:24 ==> Gzipping contents 14:02:24 16K /tmp/codecov.pWhyQU.gz 14:02:24 ==> Uploading reports 14:02:24 url: https://codecov.io 14:02:24 query: branch=main&commit=55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3&build=145&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F145%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:02:24 -> Pinging Codecov 14:02:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3&build=145&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F145%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:02:24 -> Uploading to 14:02:24 https://storage.googleapis.com/codecov/v4/raw/2023-02-02/7E55EF52A471D76F132DFD9A03CDDE97/55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3/142d91b4-1a59-4859-93d3-495e80e0ed85.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230202T140224Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f594ab8542d0eedb34f5327549da656edfd6be624c681306fe90e6977834f9f 14:02:24 % Total % Received % Xferd Average Speed Time Time Time Current 14:02:24 Dload Upload Total Spent Left Speed 14:02:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14541 0 0 100 14541 0 50842 --:--:-- --:--:-- --:--:-- 50665 100 14541 0 0 100 14541 0 50842 --:--:-- --:--:-- --:--:-- 50665 14:02:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 [Pipeline] } 14:02:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:02:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:02:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:02:25 14:02:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:02:25 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:02:25 df9b9388f04a: Pulling fs layer 14:02:25 52dc419b0ee2: Pulling fs layer 14:02:25 25bc292e5bac: Pulling fs layer 14:02:25 114826534d7a: Pulling fs layer 14:02:25 4657fd5d0bcf: Pulling fs layer 14:02:25 6ad1cebc031e: Pulling fs layer 14:02:25 8a3aa393b2d8: Pulling fs layer 14:02:25 4657fd5d0bcf: Waiting 14:02:25 6ad1cebc031e: Waiting 14:02:25 8a3aa393b2d8: Waiting 14:02:25 114826534d7a: Waiting 14:02:25 25bc292e5bac: Verifying Checksum 14:02:25 25bc292e5bac: Download complete 14:02:25 52dc419b0ee2: Verifying Checksum 14:02:25 52dc419b0ee2: Download complete 14:02:25 4657fd5d0bcf: Verifying Checksum 14:02:25 4657fd5d0bcf: Download complete 14:02:25 df9b9388f04a: Download complete 14:02:25 df9b9388f04a: Pull complete 14:02:26 52dc419b0ee2: Pull complete 14:02:26 6ad1cebc031e: Verifying Checksum 14:02:26 6ad1cebc031e: Download complete 14:02:26 25bc292e5bac: Pull complete 14:02:27 114826534d7a: Verifying Checksum 14:02:27 114826534d7a: Download complete 14:02:27 8a3aa393b2d8: Verifying Checksum 14:02:27 8a3aa393b2d8: Download complete 14:02:30 114826534d7a: Pull complete 14:02:30 4657fd5d0bcf: Pull complete 14:02:31 6ad1cebc031e: Pull complete 14:02:33 8a3aa393b2d8: Pull complete 14:02:33 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 14:02:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:02:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:02:33 prd-ubuntu20.04-docker-8c-8g-4372 does not seem to be running inside a container 14:02:33 $ 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 14:02:38 $ docker top b560255e113186ce336b5ebb5f4c419d8b44250d208cc9fc324cc1c7d2e08954 -eo pid,comm [Pipeline] { [Pipeline] echo 14:02:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 14:02:39 + set -o pipefail 14:02:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 14:02:43 14:02:43 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 14:02:43 14:02:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/f231c2b4-8905-424b-ad5a-c5988655ad5f 14:02:43 14:02:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:02:43 14:02:43 14:02:43 A medium severity vulnerability was found in the Snyk CLI versions you are using. 14:02:43 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 14:02:43 More details here: https://snyk.co/ue1NS [Pipeline] } 14:02:43 $ docker stop --time=1 b560255e113186ce336b5ebb5f4c419d8b44250d208cc9fc324cc1c7d2e08954 14:02:48 $ docker rm -f --volumes b560255e113186ce336b5ebb5f4c419d8b44250d208cc9fc324cc1c7d2e08954 [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 14:02:48 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:02:48 provisioning config files... 14:02:48 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4829587261802646354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:02:48 --> edgex-publish-swagger.sh 14:02:48 === Publish openapi/v3 API === 14:02:48 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 14:02:48 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 14:02:48 % Total % Received % Xferd Average Speed Time Time Time Current 14:02:48 Dload Upload Total Spent Left Speed 14:02:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47132 100 38 100 47094 101 122k --:--:-- --:--:-- --:--:-- 122k 14:02:49 {"code":403,"message":"Access Denied"} 14:02:49 [Pipeline] } 14:02:49 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 14:02:49 + git log --format=format:%s -1 55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 [Pipeline] sh 14:02:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:02:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:02:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:02:50 prd-ubuntu20.04-docker-8c-8g-4372 does not seem to be running inside a container 14:02:50 $ 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 14:02:50 $ docker top b0ab4eae530a4c917d74ba7683819f883cb0d9352f2439af122d87eb614bfa7b -eo pid,comm 14:02: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). 14:02:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:02:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:02:50 [ssh-agent] Looking for ssh-agent implementation... 14:02:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:02:51 $ docker exec b0ab4eae530a4c917d74ba7683819f883cb0d9352f2439af122d87eb614bfa7b ssh-agent 14:02:51 SSH_AUTH_SOCK=/tmp/ssh-Chn4D82UYgkE/agent.32 14:02:51 SSH_AGENT_PID=38 14:02:51 Running ssh-add (command line suppressed) 14:02:51 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2721949186050700612.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2721949186050700612.key) 14:02:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:02:51 + git semver tag 14:02:51 2023-02-02 14:02:51,737 [run_tag] DEBUG tag force:False 14:02:51 2023-02-02 14:02:51,737 [check_head_tag] DEBUG check head tag 14:02:51 2023-02-02 14:02:51,739 [execute] INFO git cat-file --batch-check 14:02:51 2023-02-02 14:02:51,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 14:02:51 2023-02-02 14:02:51,743 [execute] INFO git cat-file --batch 14:02:51 2023-02-02 14:02:51,743 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 14:02:51 2023-02-02 14:02:51,765 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:02:51 2023-02-02 14:02:51,765 [execute] INFO git tag -a v3.0.0-dev.15 -m v3.0.0-dev.15 14:02:51 2023-02-02 14:02:51,766 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.15', '-m', 'v3.0.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 14:02:51 2023-02-02 14:02:51,770 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:02:51 3.0.0-dev.15 [Pipeline] } 14:02:51 $ docker exec --env ******** --env ******** b0ab4eae530a4c917d74ba7683819f883cb0d9352f2439af122d87eb614bfa7b ssh-agent -k 14:02:51 unset SSH_AUTH_SOCK; 14:02:51 unset SSH_AGENT_PID; 14:02:51 echo Agent pid 38 killed; 14:02:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:02:52 + git semver [Pipeline] } 14:02:52 $ docker stop --time=1 b0ab4eae530a4c917d74ba7683819f883cb0d9352f2439af122d87eb614bfa7b 14:02:53 $ docker rm -f --volumes b0ab4eae530a4c917d74ba7683819f883cb0d9352f2439af122d87eb614bfa7b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:02:54 14:02:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:02:54 0.23.1-centos7: Pulling from edgex-lftools 14:02:54 ab5ef0e58194: Pulling fs layer 14:02:54 9712f1f96733: Pulling fs layer 14:02:54 63f879dbbcfc: Pulling fs layer 14:02:54 0d9ebad4ef96: Pulling fs layer 14:02:54 e9a5061849ea: Pulling fs layer 14:02:54 d747dcd14b5f: Pulling fs layer 14:02:54 2de7ff778b66: Pulling fs layer 14:02:54 0d9ebad4ef96: Waiting 14:02:54 e9a5061849ea: Waiting 14:02:54 d747dcd14b5f: Waiting 14:02:54 2de7ff778b66: Waiting 14:02:54 9712f1f96733: Verifying Checksum 14:02:54 9712f1f96733: Download complete 14:02:55 63f879dbbcfc: Verifying Checksum 14:02:55 63f879dbbcfc: Download complete 14:02:55 e9a5061849ea: Verifying Checksum 14:02:55 e9a5061849ea: Download complete 14:02:55 d747dcd14b5f: Verifying Checksum 14:02:55 d747dcd14b5f: Download complete 14:02:55 0d9ebad4ef96: Verifying Checksum 14:02:55 0d9ebad4ef96: Download complete 14:02:55 ab5ef0e58194: Verifying Checksum 14:02:55 ab5ef0e58194: Download complete 14:02:55 2de7ff778b66: Verifying Checksum 14:02:55 2de7ff778b66: Download complete 14:02:58 ab5ef0e58194: Pull complete 14:02:58 9712f1f96733: Pull complete 14:02:58 63f879dbbcfc: Pull complete 14:03:03 0d9ebad4ef96: Pull complete 14:03:03 e9a5061849ea: Pull complete 14:03:03 d747dcd14b5f: Pull complete 14:03:03 2de7ff778b66: Pull complete 14:03:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:03:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:03:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:03:03 prd-ubuntu20.04-docker-8c-8g-4372 does not seem to be running inside a container 14:03:03 $ 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 14:03:10 $ docker top daf8d2e5e29154bf59387281d561cca0d76f1d8b585a88cf65cbc2839a7df25d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:03:10 provisioning config files... 14:03:10 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15535151447872716430tmp 14:03:10 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3856571179080325830tmp 14:03:10 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16264321565775922074tmp [Pipeline] { [Pipeline] echo 14:03:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:03:11 ---> sigul-configuration.sh 14:03:11 gpg: directory `/root/.gnupg' created 14:03:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:03:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:03:11 gpg: keyring `/root/.gnupg/secring.gpg' created 14:03:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:03:11 gpg: CAST5 encrypted data 14:03:11 gpg: encrypted with 1 passphrase 14:03:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:03:11 + mkdir /home/jenkins 14:03:11 + mkdir /home/jenkins/sigul [Pipeline] sh 14:03:11 + 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 14:03:11 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:03:11 ---> sigul-install.sh 14:03:11 Sigul already installed; skipping installation. [Pipeline] sh 14:03:12 + git tag --list 14:03:12 0.7.1 14:03:12 delhi-tag 14:03:12 v1.0.0 14:03:12 v1.1.0 14:03:12 v1.1.1 14:03:12 v1.1.2 14:03:12 v1.2.0 14:03:12 v1.2.1 14:03:12 v1.2.2 14:03:12 v1.2.3 14:03:12 v1.3.0 14:03:12 v1.4.0 14:03:12 v2.0.0 14:03:12 v2.1.0 14:03:12 v2.1.1 14:03:12 v2.1.1-dev.2 14:03:12 v2.1.1-dev.3 14:03:12 v2.2.0 14:03:12 v2.2.1-dev.1 14:03:12 v2.2.1-dev.10 14:03:12 v2.2.1-dev.11 14:03:12 v2.2.1-dev.12 14:03:12 v2.2.1-dev.13 14:03:12 v2.2.1-dev.14 14:03:12 v2.2.1-dev.2 14:03:12 v2.2.1-dev.3 14:03:12 v2.2.1-dev.4 14:03:12 v2.2.1-dev.5 14:03:12 v2.2.1-dev.6 14:03:12 v2.2.1-dev.7 14:03:12 v2.2.1-dev.8 14:03:12 v2.2.1-dev.9 14:03:12 v2.3.0 14:03:12 v2.3.0-dev.14 14:03:12 v2.3.0-dev.15 14:03:12 v2.3.0-dev.16 14:03:12 v2.3.0-dev.17 14:03:12 v2.3.0-dev.18 14:03:12 v2.3.0-dev.19 14:03:12 v2.3.0-dev.20 14:03:12 v2.3.0-dev.21 14:03:12 v2.3.0-dev.22 14:03:12 v2.3.0-dev.23 14:03:12 v2.3.0-dev.24 14:03:12 v2.3.0-dev.25 14:03:12 v2.3.0-dev.26 14:03:12 v2.3.0-dev.27 14:03:12 v2.3.0-dev.28 14:03:12 v2.3.0-dev.29 14:03:12 v2.3.0-dev.30 14:03:12 v2.3.0-dev.31 14:03:12 v2.3.0-dev.32 14:03:12 v2.3.0-dev.33 14:03:12 v2.3.0-dev.34 14:03:12 v2.3.0-dev.35 14:03:12 v2.3.0-dev.36 14:03:12 v2.3.0-dev.37 14:03:12 v2.3.0-dev.38 14:03:12 v2.3.0-dev.39 14:03:12 v2.3.0-dev.40 14:03:12 v2.3.0-dev.41 14:03:12 v2.3.0-dev.42 14:03:12 v2.3.0-dev.43 14:03:12 v2.3.0-dev.44 14:03:12 v2.3.0-dev.45 14:03:12 v2.3.0-dev.46 14:03:12 v2.3.0-dev.47 14:03:12 v2.3.0-dev.48 14:03:12 v2.3.0-dev.49 14:03:12 v2.3.0-dev.50 14:03:12 v2.3.0-dev.51 14:03:12 v2.3.1-dev.1 14:03:12 v2.3.1-dev.2 14:03:12 v3.0.0-dev.1 14:03:12 v3.0.0-dev.10 14:03:12 v3.0.0-dev.11 14:03:12 v3.0.0-dev.12 14:03:12 v3.0.0-dev.13 14:03:12 v3.0.0-dev.14 14:03:12 v3.0.0-dev.15 14:03:12 v3.0.0-dev.2 14:03:12 v3.0.0-dev.3 14:03:12 v3.0.0-dev.4 14:03:12 v3.0.0-dev.5 14:03:12 v3.0.0-dev.6 14:03:12 v3.0.0-dev.7 14:03:12 v3.0.0-dev.8 14:03:12 v3.0.0-dev.9 [Pipeline] sh 14:03:12 + lftools sign git-tag v3.0.0-dev.15 14:03:13 Signing Git tag with Sigul... 14:03:13 Signing v3.0.0-dev.15 [Pipeline] echo 14:03:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:03:13 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:03:13 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:03:13 $ docker stop --time=1 daf8d2e5e29154bf59387281d561cca0d76f1d8b585a88cf65cbc2839a7df25d 14:03:15 $ docker rm -f --volumes daf8d2e5e29154bf59387281d561cca0d76f1d8b585a88cf65cbc2839a7df25d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:03:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:03:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:03:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:03:16 prd-ubuntu20.04-docker-8c-8g-4372 does not seem to be running inside a container 14:03:16 $ 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 14:03:16 $ docker top 33f6f284b2bc0ac384634486f1583d269689de90140695d6fe9876761ea62564 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:03:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:03:16 [ssh-agent] Looking for ssh-agent implementation... 14:03:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:03:16 $ docker exec 33f6f284b2bc0ac384634486f1583d269689de90140695d6fe9876761ea62564 ssh-agent 14:03:16 SSH_AUTH_SOCK=/tmp/ssh-yCCd3fMVuZNS/agent.32 14:03:16 SSH_AGENT_PID=38 14:03:16 Running ssh-add (command line suppressed) 14:03:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8529110386663331120.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8529110386663331120.key) 14:03:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:03:17 + git semver bump pre 14:03:17 2023-02-02 14:03:17,301 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:03:17 2023-02-02 14:03:17,301 [bump_version] DEBUG bumping version:3.0.0-dev.15 on axis:pre with prefix:dev 14:03:17 2023-02-02 14:03:17,301 [bump_version] DEBUG bumped version:3.0.0-dev.16 14:03:17 2023-02-02 14:03:17,301 [write_version] DEBUG write version:3.0.0-dev.16 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 14:03:17 2023-02-02 14:03:17,301 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:03:17 2023-02-02 14:03:17,302 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:03:17 2023-02-02 14:03:17,304 [execute] INFO git cat-file --batch-check 14:03:17 2023-02-02 14:03:17,304 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:03:17 2023-02-02 14:03:17,310 [execute] INFO git cat-file --batch 14:03:17 2023-02-02 14:03:17,311 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:03:17 2023-02-02 14:03:17,316 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:03:17 3.0.0-dev.16 [Pipeline] } 14:03:17 $ docker exec --env ******** --env ******** 33f6f284b2bc0ac384634486f1583d269689de90140695d6fe9876761ea62564 ssh-agent -k 14:03:17 unset SSH_AUTH_SOCK; 14:03:17 unset SSH_AGENT_PID; 14:03:17 echo Agent pid 38 killed; 14:03:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:03:17 + git semver [Pipeline] } 14:03:18 $ docker stop --time=1 33f6f284b2bc0ac384634486f1583d269689de90140695d6fe9876761ea62564 14:03:19 $ docker rm -f --volumes 33f6f284b2bc0ac384634486f1583d269689de90140695d6fe9876761ea62564 [Pipeline] // withDockerContainer [Pipeline] sh 14:03:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:03:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:03:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:03:20 prd-ubuntu20.04-docker-8c-8g-4372 does not seem to be running inside a container 14:03:20 $ 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 14:03:20 $ docker top e5813ffcde3ee846bee7a3e78b137db0677ebfb0a470b586534d845ff039e0f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:03:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:03:20 [ssh-agent] Looking for ssh-agent implementation... 14:03:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:03:20 $ docker exec e5813ffcde3ee846bee7a3e78b137db0677ebfb0a470b586534d845ff039e0f5 ssh-agent 14:03:20 SSH_AUTH_SOCK=/tmp/ssh-dSNJjswyag0Z/agent.34 14:03:20 SSH_AGENT_PID=40 14:03:20 Running ssh-add (command line suppressed) 14:03:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3420882760950159874.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3420882760950159874.key) 14:03:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:03:21 + git semver push 14:03:21 2023-02-02 14:03:21,296 [run_push] DEBUG push 14:03:21 2023-02-02 14:03:21,297 [execute] INFO git cat-file --batch-check 14:03:21 2023-02-02 14:03:21,298 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:03:21 2023-02-02 14:03:21,302 [execute] INFO git rev-list f6f14040f8ecad776a988cb4c50cc17b3e085437 -- 14:03:21 2023-02-02 14:03:21,302 [execute] DEBUG Popen(['git', 'rev-list', 'f6f14040f8ecad776a988cb4c50cc17b3e085437', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:03:21 2023-02-02 14:03:21,312 [execute] INFO git fetch -v origin 14:03:21 2023-02-02 14:03:21,313 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:03:21 2023-02-02 14:03:21,926 [run_push] DEBUG no remote changes detected 14:03:21 2023-02-02 14:03:21,926 [execute] INFO git push origin semver 14:03:21 2023-02-02 14:03:21,927 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:03:22 2023-02-02 14:03:22,724 [run_push] DEBUG push all version tags 14:03:22 2023-02-02 14:03:22,724 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:03:22 2023-02-02 14:03:22,724 [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) 14:03:23 2023-02-02 14:03:23,553 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:03:23 3.0.0-dev.16 [Pipeline] } 14:03:23 $ docker exec --env ******** --env ******** e5813ffcde3ee846bee7a3e78b137db0677ebfb0a470b586534d845ff039e0f5 ssh-agent -k 14:03:23 unset SSH_AUTH_SOCK; 14:03:23 unset SSH_AGENT_PID; 14:03:23 echo Agent pid 40 killed; 14:03:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:03:24 + git semver [Pipeline] } 14:03:24 $ docker stop --time=1 e5813ffcde3ee846bee7a3e78b137db0677ebfb0a470b586534d845ff039e0f5 14:03:25 $ docker rm -f --volumes e5813ffcde3ee846bee7a3e78b137db0677ebfb0a470b586534d845ff039e0f5 [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 14:03:26 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 14:03:26 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 14:03:26 total 16 14:03:26 drwxr-xr-x 3 root root 4096 Feb 2 13:53 . 14:03:26 drwxrwxr-x 12 jenkins jenkins 4096 Feb 2 14:03 .. 14:03:26 drwxr-xr-x 2 root root 4096 Feb 2 13:53 cost 14:03:26 -rw-r--r-- 1 root root 85 Feb 2 13:53 cost.csv 14:03:26 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 14:03:26 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 14:03:26 total 16 14:03:26 drwxr-xr-x 3 jenkins jenkins 4096 Feb 2 13:53 . 14:03:26 drwxrwxr-x 12 jenkins jenkins 4096 Feb 2 14:03 .. 14:03:26 drwxr-xr-x 2 jenkins jenkins 4096 Feb 2 13:53 cost 14:03:26 -rw-r--r-- 1 jenkins jenkins 85 Feb 2 13:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:03:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:03:27 ---> package-listing.sh 14:03:27 ++ facter osfamily 14:03:27 ++ tr '[:upper:]' '[:lower:]' 14:03:27 + OS_FAMILY=debian 14:03:27 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 14:03:27 + START_PACKAGES=/tmp/packages_start.txt 14:03:27 + END_PACKAGES=/tmp/packages_end.txt 14:03:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:03:27 + PACKAGES=/tmp/packages_start.txt 14:03:27 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 14:03:27 + PACKAGES=/tmp/packages_end.txt 14:03:27 + case "${OS_FAMILY}" in 14:03:27 + dpkg -l 14:03:27 + grep '^ii' 14:03:27 + '[' -f /tmp/packages_start.txt ']' 14:03:27 + '[' -f /tmp/packages_end.txt ']' 14:03:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:03:27 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 14:03:27 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 14:03:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 14:03:27 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 14:03:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:03:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:03:28 prd-ubuntu20.04-docker-8c-8g-4372 does not seem to be running inside a container 14:03:28 $ 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 14:03:28 $ docker top 38a272b8e47974c72f5448f97de22c7a0994ef425cffefde8f3a89f5ac79defa -eo pid,comm [Pipeline] { [Pipeline] sh 14:03:29 + touch /tmp/pre-build-complete [Pipeline] sh 14:03:29 + mkdir -p /var/log/sysstat [Pipeline] sh 14:03:29 + ls /var/log/sa-host 14:03:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:03:29 provisioning config files... 14:03:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config473964322693859981tmp [Pipeline] { [Pipeline] echo 14:03:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:03:30 ---> create-netrc.sh [Pipeline] } 14:03:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:03:30 ---> python-tools-install.sh [Pipeline] echo 14:03:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:03:30 ---> sudo-logs.sh 14:03:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:03:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:03:31 ---> job-cost.sh 14:03:31 lf-activate-venv: SKIPPING 14:03:31 DEBUG: total: 0.2199999988079071 14:03:31 INFO: Retrieving Stack Cost... 14:03:31 INFO: Retrieving Pricing Info for: v3-standard-8 14:03:31 INFO: Archiving Costs [Pipeline] echo 14:03:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:03:32 ---> logs-deploy.sh 14:03:32 lf-activate-venv: SKIPPING 14:03:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/145 14:03:32 INFO: archiving workspace using pattern(s): 14:03:33 Archives upload complete. 14:03:33 INFO: archiving logs to Nexus