Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 13fe592f963dcee6db02b0e3862e327a5844c24b 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-ssh4067493682929262770.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-ssh8172139489601315749.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-ssh2241170265098496860.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-ssh2205400869099537726.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-ssh9003692688718634663.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/v2]] ========================================================= [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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2831 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 13fe592f963dcee6db02b0e3862e327a5844c24b (main) Commit message: "Merge pull request #1284 from lenny-intel/secret-store" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 13fe592f963dcee6db02b0e3862e327a5844c24b # timeout=10 > git rev-list --no-walk 7610f6dc338b87754f939bb9ede04e880837a002 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:25:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:25:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:25:01 ========================================================= 22:25:01 EdgeX Global Pipelines Version Info 22:25:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:25:01 ------------------- 22:25:01 stable info: 22:25:01 ------------------- 22:25:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:25:01 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:25:01 Message: update stable to v1.0.244 22:25:02 ------------------- 22:25:02 experimental info: 22:25:02 ------------------- 22:25:02 Commited By: **** collab-it+edgex@linuxfoundation.org 22:25:02 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:25:02 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 13fe592f963dcee6db02b0e3862e327a5844c24b [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 13fe592 [Pipeline] echo 22:25:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:02 provisioning config files... 22:25:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12952758389622976645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:03 ---> docker-login.sh 22:25:03 nexus3.edgexfoundry.org:10001 22:25:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:03 Configure a credential helper to remove this warning. See 22:25:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:03 22:25:03 Login Succeeded 22:25:03 nexus3.edgexfoundry.org:10002 22:25:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:03 Configure a credential helper to remove this warning. See 22:25:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:03 22:25:03 Login Succeeded 22:25:03 nexus3.edgexfoundry.org:10003 22:25:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:03 Configure a credential helper to remove this warning. See 22:25:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:03 22:25:03 Login Succeeded 22:25:03 nexus3.edgexfoundry.org:10004 22:25:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:03 Configure a credential helper to remove this warning. See 22:25:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:03 22:25:03 Login Succeeded 22:25:03 docker.io 22:25:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:04 Configure a credential helper to remove this warning. See 22:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:04 22:25:04 Login Succeeded 22:25:04 ---> docker-login.sh ends [Pipeline] } 22:25:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:25:04 + git rev-list -1 --merges 13fe592f963dcee6db02b0e3862e327a5844c24b~1..13fe592f963dcee6db02b0e3862e327a5844c24b [Pipeline] echo 22:25:04 -----------> git rev-list -1 --merges 13fe592f963dcee6db02b0e3862e327a5844c24b~1..13fe592f963dcee6db02b0e3862e327a5844c24b 13fe592f963dcee6db02b0e3862e327a5844c24b 22:25:04 13fe592f963dcee6db02b0e3862e327a5844c24b [false] [Pipeline] sh 22:25:04 + git log --format=format:%s -1 13fe592f963dcee6db02b0e3862e327a5844c24b [Pipeline] echo 22:25:04 ========================================================= 22:25:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:25:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:25:05 + git log --format=format:%s -1 13fe592f963dcee6db02b0e3862e327a5844c24b [Pipeline] echo 22:25:05 [semverPrep] GIT_COMMIT: 13fe592f963dcee6db02b0e3862e327a5844c24b, Commit Message: Merge pull request #1284 from lenny-intel/secret-store [Pipeline] echo 22:25:05 [semverPrep] This is not a build commit. [Pipeline] sh 22:25:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:25:05 + grep -v github /etc/ssh/ssh_known_hosts 22:25:05 + [ -e /tmp/ssh_known_hosts ] 22:25:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:25:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:25:05 + sudo tee -a /etc/ssh/ssh_known_hosts 22:25:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:25:05 22:25:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:25:06 0.1.4: Pulling from edgex-devops/py-git-semver 22:25:06 b85a868b505f: Pulling fs layer 22:25:06 e2be974225ed: Pulling fs layer 22:25:06 339a4e72a1f5: Pulling fs layer 22:25:06 988bab9f4d93: Pulling fs layer 22:25:06 1469e6f7b9e6: Pulling fs layer 22:25:06 988bab9f4d93: Waiting 22:25:06 eaf3925da568: Pulling fs layer 22:25:06 1469e6f7b9e6: Waiting 22:25:06 bab4dde63d76: Pulling fs layer 22:25:06 bde34c3a00c8: Pulling fs layer 22:25:06 b352a97aabf1: Pulling fs layer 22:25:06 eaf3925da568: Waiting 22:25:06 bde34c3a00c8: Waiting 22:25:06 bab4dde63d76: Waiting 22:25:06 4872d77fe225: Pulling fs layer 22:25:06 5851b861e8e6: Pulling fs layer 22:25:06 b352a97aabf1: Waiting 22:25:06 4872d77fe225: Waiting 22:25:06 e2be974225ed: Verifying Checksum 22:25:06 e2be974225ed: Download complete 22:25:06 988bab9f4d93: Verifying Checksum 22:25:06 988bab9f4d93: Download complete 22:25:06 1469e6f7b9e6: Verifying Checksum 22:25:06 1469e6f7b9e6: Download complete 22:25:06 339a4e72a1f5: Verifying Checksum 22:25:06 339a4e72a1f5: Download complete 22:25:06 eaf3925da568: Verifying Checksum 22:25:06 eaf3925da568: Download complete 22:25:06 bde34c3a00c8: Verifying Checksum 22:25:06 bde34c3a00c8: Download complete 22:25:06 b352a97aabf1: Download complete 22:25:06 b85a868b505f: Verifying Checksum 22:25:06 b85a868b505f: Download complete 22:25:06 4872d77fe225: Download complete 22:25:06 5851b861e8e6: Download complete 22:25:07 bab4dde63d76: Verifying Checksum 22:25:07 bab4dde63d76: Download complete 22:25:08 b85a868b505f: Pull complete 22:25:08 e2be974225ed: Pull complete 22:25:08 339a4e72a1f5: Pull complete 22:25:08 988bab9f4d93: Pull complete 22:25:09 1469e6f7b9e6: Pull complete 22:25:09 eaf3925da568: Pull complete 22:25:11 bab4dde63d76: Pull complete 22:25:11 bde34c3a00c8: Pull complete 22:25:11 b352a97aabf1: Pull complete 22:25:11 4872d77fe225: Pull complete 22:25:11 5851b861e8e6: Pull complete 22:25:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:25:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:25:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:11 prd-ubuntu20.04-docker-8c-8g-2831 does not seem to be running inside a container 22:25:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:25:15 $ docker top 75fbfa479a14476bce942bda32d338c175b4c0a4dbacf11136b3cd9c30f4571c -eo pid,comm 22:25:15 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). 22:25:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:25:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:25:15 [ssh-agent] Looking for ssh-agent implementation... 22:25:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:25:15 $ docker exec 75fbfa479a14476bce942bda32d338c175b4c0a4dbacf11136b3cd9c30f4571c ssh-agent 22:25:15 SSH_AUTH_SOCK=/tmp/ssh-aDZm6ntAT63S/agent.31 22:25:15 SSH_AGENT_PID=37 22:25:15 Running ssh-add (command line suppressed) 22:25:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6136968881966596785.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6136968881966596785.key) 22:25:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:25:16 + git tag --points-at HEAD [Pipeline] } 22:25:16 $ docker exec --env ******** --env ******** 75fbfa479a14476bce942bda32d338c175b4c0a4dbacf11136b3cd9c30f4571c ssh-agent -k 22:25:16 unset SSH_AUTH_SOCK; 22:25:16 unset SSH_AGENT_PID; 22:25:16 echo Agent pid 37 killed; 22:25:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:25:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:25:16 [ssh-agent] Looking for ssh-agent implementation... 22:25:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:25:16 $ docker exec 75fbfa479a14476bce942bda32d338c175b4c0a4dbacf11136b3cd9c30f4571c ssh-agent 22:25:16 SSH_AUTH_SOCK=/tmp/ssh-Q2cDislr9y84/agent.70 22:25:16 SSH_AGENT_PID=76 22:25:16 Running ssh-add (command line suppressed) 22:25:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11725376778180804041.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11725376778180804041.key) 22:25:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:25:17 + git semver init 22:25:17 2023-01-17 22:25:17,348 [run_init] DEBUG init version:0.0.0 force:False 22:25:17 2023-01-17 22:25:17,348 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 22:25:17 2023-01-17 22:25:17,349 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 22:25:17 2023-01-17 22:25:17,349 [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) 22:25:18 2023-01-17 22:25:18,278 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 22:25:18 2023-01-17 22:25:18,279 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 22:25:18 2023-01-17 22:25:18,279 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:25:18 2023-01-17 22:25:18,279 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:25:18 3.0.0-dev.10 [Pipeline] } 22:25:18 $ docker exec --env ******** --env ******** 75fbfa479a14476bce942bda32d338c175b4c0a4dbacf11136b3cd9c30f4571c ssh-agent -k 22:25:18 unset SSH_AUTH_SOCK; 22:25:18 unset SSH_AGENT_PID; 22:25:18 echo Agent pid 76 killed; 22:25:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:25:18 + git semver [Pipeline] } 22:25:19 $ docker stop --time=1 75fbfa479a14476bce942bda32d338c175b4c0a4dbacf11136b3cd9c30f4571c 22:25:21 $ docker rm -f --volumes 75fbfa479a14476bce942bda32d338c175b4c0a4dbacf11136b3cd9c30f4571c [Pipeline] // withDockerContainer [Pipeline] sh 22:25:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:25:22 Stashed 1 file(s) [Pipeline] echo 22:25:22 [edgeXSemver]: initialized semver on version 3.0.0-dev.10 [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 22:25:22 provisioning config files... 22:25:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11722460190218484932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:22 ---> docker-login.sh 22:25:22 nexus3.edgexfoundry.org:10001 22:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:22 Configure a credential helper to remove this warning. See 22:25:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:22 22:25:22 Login Succeeded 22:25:22 nexus3.edgexfoundry.org:10002 22:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:22 Configure a credential helper to remove this warning. See 22:25:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:22 22:25:22 Login Succeeded 22:25:22 nexus3.edgexfoundry.org:10003 22:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:22 Configure a credential helper to remove this warning. See 22:25:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:22 22:25:22 Login Succeeded 22:25:22 nexus3.edgexfoundry.org:10004 22:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:23 Configure a credential helper to remove this warning. See 22:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:23 22:25:23 Login Succeeded 22:25:23 docker.io 22:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:23 Configure a credential helper to remove this warning. See 22:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:23 22:25:23 Login Succeeded 22:25:23 ---> docker-login.sh ends [Pipeline] } 22:25:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:25:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:25:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:25:23 ========================================================= 22:25:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:25:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:23 + 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 . 22:25:23 Sending build context to Docker daemon 10.44MB 22:25:23 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 22:25:23 Step 2/10 : FROM ${BASE} AS builder 22:25:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:25:24 213ec9aee27d: Pulling fs layer 22:25:24 4583459ba037: Pulling fs layer 22:25:24 93c1e223e6f2: Pulling fs layer 22:25:24 53926ce57604: Pulling fs layer 22:25:24 21b2b0c7a3f4: Pulling fs layer 22:25:24 22ff95d597cd: Pulling fs layer 22:25:24 12d6caf4c0d1: Pulling fs layer 22:25:24 96b7cbca73a9: Pulling fs layer 22:25:24 a7acece74701: Pulling fs layer 22:25:24 21b2b0c7a3f4: Waiting 22:25:24 53926ce57604: Waiting 22:25:24 22ff95d597cd: Waiting 22:25:24 12d6caf4c0d1: Waiting 22:25:24 96b7cbca73a9: Waiting 22:25:24 a7acece74701: Waiting 22:25:24 93c1e223e6f2: Verifying Checksum 22:25:24 93c1e223e6f2: Download complete 22:25:24 4583459ba037: Verifying Checksum 22:25:24 4583459ba037: Download complete 22:25:24 21b2b0c7a3f4: Verifying Checksum 22:25:24 21b2b0c7a3f4: Download complete 22:25:24 22ff95d597cd: Download complete 22:25:24 213ec9aee27d: Verifying Checksum 22:25:24 12d6caf4c0d1: Download complete 22:25:24 213ec9aee27d: Pull complete 22:25:24 4583459ba037: Pull complete 22:25:25 93c1e223e6f2: Pull complete 22:25:25 a7acece74701: Verifying Checksum 22:25:25 a7acece74701: Download complete 22:25:25 53926ce57604: Verifying Checksum 22:25:25 53926ce57604: Download complete 22:25:26 96b7cbca73a9: Verifying Checksum 22:25:26 96b7cbca73a9: Download complete 22:25:30 53926ce57604: Pull complete 22:25:30 21b2b0c7a3f4: Pull complete 22:25:30 22ff95d597cd: Pull complete 22:25:30 12d6caf4c0d1: Pull complete 22:25:32 96b7cbca73a9: Pull complete 22:25:33 a7acece74701: Pull complete 22:25:33 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:25:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:25:33 ---> db6d94c90886 22:25:33 Step 3/10 : ARG MAKE=make build 22:25:37 Still waiting to schedule task 22:25:37 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:25:39 ---> Running in 57ece4ae8109 22:25:39 Removing intermediate container 57ece4ae8109 22:25:39 ---> 75302072ff2e 22:25:39 Step 4/10 : WORKDIR /device-sdk-go 22:25:39 ---> Running in a5ad5214a6fc 22:25:39 Removing intermediate container a5ad5214a6fc 22:25:39 ---> 715a884a7451 22:25:39 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:25:39 ---> Running in e0ff73cf100e 22:25:39 Removing intermediate container e0ff73cf100e 22:25:39 ---> b4749942ab98 22:25:39 Step 6/10 : RUN apk add --update --no-cache make git 22:25:39 ---> Running in 3aa7bec667a7 22:25:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:25:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:25:40 OK: 211 MiB in 51 packages 22:25:40 Removing intermediate container 3aa7bec667a7 22:25:40 ---> 5b05e60232b6 22:25:40 Step 7/10 : COPY go.mod vendor* ./ 22:25:40 ---> f7a78b1fce39 22:25:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:25:40 ---> Running in af9bab015801 22:26:19 Removing intermediate container af9bab015801 22:26:19 ---> d8287bfd63fb 22:26:19 Step 9/10 : COPY . . 22:26:19 ---> d1bff7ad5e4c 22:26:19 Step 10/10 : RUN ${MAKE} 22:26:19 ---> Running in db4831283dd9 22:26:19 noop 22:26:19 Removing intermediate container db4831283dd9 22:26:19 ---> 72c6ee41bafa 22:26:19 Successfully built 72c6ee41bafa 22:26:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:19 + docker inspect -f . ci-base-image-x86_64 22:26:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:19 prd-ubuntu20.04-docker-8c-8g-2831 does not seem to be running inside a container 22:26:19 $ 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 22:26:20 $ docker top fbc4f817ee37d34d2d36a7cc5bc87faf3a9ec9df089737e759e4360aaebca062 -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:20 + go version 22:26:20 go version go1.18.7 linux/amd64 [Pipeline] } 22:26:20 $ docker stop --time=1 fbc4f817ee37d34d2d36a7cc5bc87faf3a9ec9df089737e759e4360aaebca062 22:26:21 $ docker rm -f --volumes fbc4f817ee37d34d2d36a7cc5bc87faf3a9ec9df089737e759e4360aaebca062 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:22 + docker inspect -f . ci-base-image-x86_64 22:26:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:22 prd-ubuntu20.04-docker-8c-8g-2831 does not seem to be running inside a container 22:26:22 $ 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 22:26:22 $ docker top 4847ef7eae14a7e8a9d56dc094d4b0f48114769dc5fee931a102d0386e295410 -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:23 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 22:26:23 + make test 22:26:23 go test -race -coverprofile=coverage.out ./... 22:26:29 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 22:26:42 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 22:26:42 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 22:26:42 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 22:26:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 22:26:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 22:26:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements 22:26:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.069s coverage: 78.9% of statements 22:26:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 22:26:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.123s coverage: 73.6% of statements 22:26:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 22:26:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 22:26:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.181s coverage: 54.4% of statements 22:26:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 22:26:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 22:26:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 22:26:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 22:26:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.087s coverage: 65.1% of statements 22:26:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 22:26:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 22:26:42 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.737s coverage: 89.2% of statements 22:26:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 22:26:42 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.066s coverage: 4.6% of statements 22:26:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 22:26:57 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." 22:26:57 GO111MODULE=on go vet ./... 22:27:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:27:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:27:00 ./bin/test-attribution-txt.sh [Pipeline] echo 22:27:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:27:00 $ docker stop --time=1 4847ef7eae14a7e8a9d56dc094d4b0f48114769dc5fee931a102d0386e295410 22:27:10 $ docker rm -f --volumes 4847ef7eae14a7e8a9d56dc094d4b0f48114769dc5fee931a102d0386e295410 [Pipeline] // withDockerContainer [Pipeline] sh 22:27:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:27:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:27:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:27:12 + ls -al . 22:27:12 total 272 22:27:12 drwxrwxr-x 11 jenkins jenkins 4096 Jan 17 22:26 . 22:27:12 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 22:24 .. 22:27:12 -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 22:25 .dockerignore 22:27:12 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 22:26 .git 22:27:12 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 22:25 .github 22:27:12 -rw-rw-r-- 1 jenkins jenkins 131 Jan 17 22:25 .gitignore 22:27:12 -rw-rw-r-- 1 jenkins jenkins 42 Jan 17 22:25 .golangci.yml 22:27:12 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 22:25 .semver 22:27:12 -rw-rw-r-- 1 jenkins jenkins 31677 Jan 17 22:25 CHANGELOG.md 22:27:12 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 22:25 GOVERNANCE.md 22:27:12 -rw-rw-r-- 1 jenkins jenkins 880 Jan 17 22:25 Jenkinsfile 22:27:12 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 17 22:25 LICENSE 22:27:12 -rw-rw-r-- 1 jenkins jenkins 1679 Jan 17 22:25 Makefile 22:27:12 -rw-rw-r-- 1 jenkins jenkins 619 Jan 17 22:25 OWNERS.md 22:27:12 -rw-rw-r-- 1 jenkins jenkins 4891 Jan 17 22:25 README.md 22:27:12 -rw-rw-r-- 1 jenkins jenkins 12 Jan 17 22:25 VERSION 22:27:12 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 22:25 bin 22:27:12 -rw-r--r-- 1 jenkins jenkins 101913 Jan 17 22:26 coverage.out 22:27:12 drwxrwxr-x 5 jenkins jenkins 4096 Jan 17 22:25 example 22:27:12 -rw-rw-r-- 1 jenkins jenkins 3307 Jan 17 22:25 go.mod 22:27:12 -rw-rw-r-- 1 jenkins jenkins 34396 Jan 17 22:25 go.sum 22:27:12 drwxrwxr-x 14 jenkins jenkins 4096 Jan 17 22:25 internal 22:27:12 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 22:25 openapi 22:27:12 drwxrwxr-x 6 jenkins jenkins 4096 Jan 17 22:25 pkg 22:27:12 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 22:25 snap 22:27:12 -rw-rw-r-- 1 jenkins jenkins 222 Jan 17 22:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:13 + 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=13fe592f963dcee6db02b0e3862e327a5844c24b --label arch=amd64 --label version=3.0.0-dev.10 . 22:27:13 Sending build context to Docker daemon 10.54MB 22:27:13 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 22:27:13 Step 2/23 : FROM ${BASE} AS builder 22:27:13 ---> 72c6ee41bafa 22:27:13 Step 3/23 : ARG MAKE=make build 22:27:14 ---> Running in 878e77330c82 22:27:14 Removing intermediate container 878e77330c82 22:27:14 ---> 836e7657c2de 22:27:14 Step 4/23 : WORKDIR /device-sdk-go 22:27:14 ---> Running in b01fa5717d55 22:27:15 Removing intermediate container b01fa5717d55 22:27:15 ---> 22f4840e420a 22:27:15 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:27:15 ---> Running in a834a0430ce1 22:27:15 Removing intermediate container a834a0430ce1 22:27:15 ---> c5f201e19790 22:27:15 Step 6/23 : RUN apk add --update --no-cache make git 22:27:15 ---> Running in d9e0dc7ada98 22:27:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:27:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:27:16 OK: 211 MiB in 51 packages 22:27:16 Removing intermediate container d9e0dc7ada98 22:27:16 ---> 76683f991dd1 22:27:16 Step 7/23 : COPY go.mod vendor* ./ 22:27:16 ---> 2869e9c16cd9 22:27:16 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:27:16 ---> Running in b3e64043019a 22:27:17 Removing intermediate container b3e64043019a 22:27:17 ---> a5a468ab81cb 22:27:17 Step 9/23 : COPY . . 22:27:18 ---> a35eddf5ce60 22:27:18 Step 10/23 : RUN ${MAKE} 22:27:18 ---> Running in 1ac9206443ab 22:27:18 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.10" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:27:40 Removing intermediate container 1ac9206443ab 22:27:40 ---> de06f61e5b7f 22:27:40 Step 11/23 : FROM alpine:3.16 22:27:40 3.16: Pulling from library/alpine 22:27:40 ca7dd9ec2225: Pulling fs layer 22:27:40 ca7dd9ec2225: Verifying Checksum 22:27:40 ca7dd9ec2225: Download complete 22:27:40 ca7dd9ec2225: Pull complete 22:27:40 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 22:27:40 Status: Downloaded newer image for alpine:3.16 22:27:40 ---> bfe296a52501 22:27:40 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:27:40 ---> Running in 7934148895a0 22:27:40 Removing intermediate container 7934148895a0 22:27:40 ---> 608f6671dbe0 22:27:40 Step 13/23 : RUN apk add --update --no-cache 22:27:40 ---> Running in 2c9aa8d72f6b 22:27:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:27:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:27:41 OK: 6 MiB in 14 packages 22:27:41 Removing intermediate container 2c9aa8d72f6b 22:27:41 ---> 9e48de79e27b 22:27:41 Step 14/23 : WORKDIR / 22:27:41 ---> Running in bbe60ff7cb57 22:27:41 Removing intermediate container bbe60ff7cb57 22:27:41 ---> f523b6ab5c5f 22:27:41 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:27:41 ---> faa96c1fa1d4 22:27:41 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:27:42 ---> 7430458d179c 22:27:42 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:27:42 ---> bf68bef57b46 22:27:42 Step 18/23 : EXPOSE 59999 22:27:42 ---> Running in 79a214d8f7c5 22:27:42 Removing intermediate container 79a214d8f7c5 22:27:42 ---> 310bbd05ef7b 22:27:42 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:27:42 ---> Running in 2197885c8f0a 22:27:42 Removing intermediate container 2197885c8f0a 22:27:42 ---> 7ca7375bc3b4 22:27:42 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:27:42 ---> Running in 34e9b175f469 22:27:42 Removing intermediate container 34e9b175f469 22:27:42 ---> 5282b067ef7f 22:27:42 Step 21/23 : LABEL arch=amd64 22:27:42 ---> Running in 4294e698a1d8 22:27:43 Removing intermediate container 4294e698a1d8 22:27:43 ---> 35edb996bc9e 22:27:43 Step 22/23 : LABEL git_sha=13fe592f963dcee6db02b0e3862e327a5844c24b 22:27:43 ---> Running in 0e242f7dbddb 22:27:43 Removing intermediate container 0e242f7dbddb 22:27:43 ---> 50bc4f9fc2bc 22:27:43 Step 23/23 : LABEL version=3.0.0-dev.10 22:27:43 ---> Running in 2a5d926e8bbf 22:27:43 Removing intermediate container 2a5d926e8bbf 22:27:43 ---> cfad88d81038 22:27:43 [Warning] One or more build-args [ARCH] were not consumed 22:27:43 Successfully built cfad88d81038 22:27:43 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 22:27:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:27:43 22:27:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:27:43 latest: Pulling from edgex-lftools-log-publisher 22:27:43 5eb5b503b376: Pulling fs layer 22:27:43 5c69ac0246d0: Pulling fs layer 22:27:43 ec43610c2a17: Pulling fs layer 22:27:43 3a2ae6a8a46f: Pulling fs layer 22:27:43 33b1e0a273af: Pulling fs layer 22:27:43 5d3b04190fa2: Pulling fs layer 22:27:43 2f39f015ded8: Pulling fs layer 22:27:43 3a2ae6a8a46f: Waiting 22:27:43 33b1e0a273af: Waiting 22:27:43 5d3b04190fa2: Waiting 22:27:43 2f39f015ded8: Waiting 22:27:43 5c69ac0246d0: Download complete 22:27:43 3a2ae6a8a46f: Verifying Checksum 22:27:43 3a2ae6a8a46f: Download complete 22:27:44 33b1e0a273af: Download complete 22:27:44 5d3b04190fa2: Verifying Checksum 22:27:44 5d3b04190fa2: Download complete 22:27:44 ec43610c2a17: Verifying Checksum 22:27:44 ec43610c2a17: Download complete 22:27:44 5eb5b503b376: Verifying Checksum 22:27:44 5eb5b503b376: Download complete 22:27:45 2f39f015ded8: Download complete 22:27:45 5eb5b503b376: Pull complete 22:27:45 5c69ac0246d0: Pull complete 22:27:46 ec43610c2a17: Pull complete 22:27:46 3a2ae6a8a46f: Pull complete 22:27:46 33b1e0a273af: Pull complete 22:27:46 5d3b04190fa2: Pull complete 22:27:50 2f39f015ded8: Pull complete 22:27:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:27:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:27:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:27:50 prd-ubuntu20.04-docker-8c-8g-2831 does not seem to be running inside a container 22:27:50 $ 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 22:27:58 $ docker top c178b82f6485d9b19a301b6700c42e26fa1a741962c287f577f0782e0dc594e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:27:59 ---> job-cost.sh 22:27:59 lf-activate-venv: SKIPPING 22:27:59 INFO: No Stack... 22:27:59 INFO: Retrieving Pricing Info for: v3-standard-8 22:27:59 INFO: Archiving Costs [Pipeline] sh 22:27:59 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 22:27:59 + cut -d, -f6 [Pipeline] lock 22:27:59 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-140-stack-cost] 22:27:59 Resource [jenkins-edgexfoundry-device-sdk-go-main-140-stack-cost] did not exist. Created. 22:27:59 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-140-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:28:00 + echo total: 0.2199999988079071 [Pipeline] stash 22:28:00 Stashed 1 file(s) [Pipeline] } 22:28:00 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-140-stack-cost] [Pipeline] // lock [Pipeline] } 22:28:00 $ docker stop --time=1 c178b82f6485d9b19a301b6700c42e26fa1a741962c287f577f0782e0dc594e8 22:28:01 $ docker rm -f --volumes c178b82f6485d9b19a301b6700c42e26fa1a741962c287f577f0782e0dc594e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:28:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2834 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 22:28:47 Running in /w/workspace/device-sdk-go/140 [Pipeline] { [Pipeline] checkout 22:28:47 The recommended git tool is: git 22:28:53 using credential edgex-jenkins-ssh 22:28:53 Cloning the remote Git repository 22:28:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:28:53 > git init /w/workspace/device-sdk-go/140 # timeout=10 22:28:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:28:54 > git --version # timeout=10 22:28:54 > git --version # 'git version 2.25.1' 22:28:54 using GIT_SSH to set credentials SSH Credentials for GitHub 22:28:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:28:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:28:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:28:56 Avoid second fetch 22:28:56 Checking out Revision 13fe592f963dcee6db02b0e3862e327a5844c24b (main) 22:28:57 Commit message: "Merge pull request #1284 from lenny-intel/secret-store" 22:28:56 > git config core.sparsecheckout # timeout=10 22:28:56 > git checkout -f 13fe592f963dcee6db02b0e3862e327a5844c24b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:28:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:28:58 % Total % Received % Xferd Average Speed Time Time Time Current 22:28:58 Dload Upload Total Spent Left Speed 22:28:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 22:28:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:28:59 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 22:28:59 /etc/docker/daemon.json 22:28:59 { 22:28:59 "registry-mirrors": [ 22:28:59 "https://nexus3.edgexfoundry.org:10001" 22:28:59 ], 22:28:59 "bip": "10.250.0.254/24", 22:28:59 "hosts": [ 22:28:59 "tcp://0.0.0.0:5555", 22:28:59 "unix:///var/run/docker.sock" 22:28:59 ], 22:28:59 "mtu": 1458, 22:28:59 "selinux-enabled": true, 22:28:59 "seccomp-profile": "/etc/docker/seccomp.json" 22:28:59 } [Pipeline] sh 22:28:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:29:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:29:18 provisioning config files... 22:29:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/140@tmp/config9853618988974674713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:29:18 ---> docker-login.sh 22:29:18 nexus3.edgexfoundry.org:10001 22:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:19 Configure a credential helper to remove this warning. See 22:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:19 22:29:19 Login Succeeded 22:29:19 nexus3.edgexfoundry.org:10002 22:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:19 Configure a credential helper to remove this warning. See 22:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:19 22:29:19 Login Succeeded 22:29:19 nexus3.edgexfoundry.org:10003 22:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:20 Configure a credential helper to remove this warning. See 22:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:20 22:29:20 Login Succeeded 22:29:20 nexus3.edgexfoundry.org:10004 22:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:20 Configure a credential helper to remove this warning. See 22:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:20 22:29:20 Login Succeeded 22:29:20 docker.io 22:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:21 Configure a credential helper to remove this warning. See 22:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:21 22:29:21 Login Succeeded 22:29:21 ---> docker-login.sh ends [Pipeline] } 22:29:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:29:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:29:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:29:21 ========================================================= 22:29:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:29:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:21 + 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 . 22:29:22 Sending build context to Docker daemon 5.597MB 22:29:22 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 22:29:22 Step 2/10 : FROM ${BASE} AS builder 22:29:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:29:22 9b18e9b68314: Pulling fs layer 22:29:22 35d82f9e3411: Pulling fs layer 22:29:22 e16973657156: Pulling fs layer 22:29:22 fc693d55d65f: Pulling fs layer 22:29:22 7e9fc2657dce: Pulling fs layer 22:29:22 dda99020689f: Pulling fs layer 22:29:22 db1c61fa0a46: Pulling fs layer 22:29:22 891c053d2c06: Pulling fs layer 22:29:22 fc693d55d65f: Waiting 22:29:22 7e9fc2657dce: Waiting 22:29:22 dda99020689f: Waiting 22:29:22 db1c61fa0a46: Waiting 22:29:22 891c053d2c06: Waiting 22:29:22 e16973657156: Verifying Checksum 22:29:22 e16973657156: Download complete 22:29:22 35d82f9e3411: Verifying Checksum 22:29:22 35d82f9e3411: Download complete 22:29:22 7e9fc2657dce: Verifying Checksum 22:29:22 7e9fc2657dce: Download complete 22:29:22 dda99020689f: Verifying Checksum 22:29:22 dda99020689f: Download complete 22:29:22 9b18e9b68314: Verifying Checksum 22:29:22 9b18e9b68314: Download complete 22:29:23 9b18e9b68314: Pull complete 22:29:23 891c053d2c06: Verifying Checksum 22:29:23 891c053d2c06: Download complete 22:29:24 35d82f9e3411: Pull complete 22:29:24 e16973657156: Pull complete 22:29:25 db1c61fa0a46: Verifying Checksum 22:29:25 db1c61fa0a46: Download complete 22:29:25 fc693d55d65f: Download complete 22:29:38 fc693d55d65f: Pull complete 22:29:38 7e9fc2657dce: Pull complete 22:29:38 dda99020689f: Pull complete 22:29:44 db1c61fa0a46: Pull complete 22:29:46 891c053d2c06: Pull complete 22:29:46 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:29:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:29:46 ---> f96f9c87975a 22:29:46 Step 3/10 : ARG MAKE=make build 22:29:48 ---> Running in 860ee64e16e9 22:29:48 Removing intermediate container 860ee64e16e9 22:29:48 ---> 4449926b7840 22:29:48 Step 4/10 : WORKDIR /device-sdk-go 22:29:48 ---> Running in 991926133aa1 22:29:49 Removing intermediate container 991926133aa1 22:29:49 ---> 3a58e42f2fac 22:29:49 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:29:49 ---> Running in ff8b0d7dc4fd 22:29:49 Removing intermediate container ff8b0d7dc4fd 22:29:49 ---> 152021d27335 22:29:49 Step 6/10 : RUN apk add --update --no-cache make git 22:29:49 ---> Running in 9fae4323dee0 22:29:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:29:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:29:52 OK: 221 MiB in 51 packages 22:29:53 Removing intermediate container 9fae4323dee0 22:29:53 ---> 2ae7606712e1 22:29:53 Step 7/10 : COPY go.mod vendor* ./ 22:29:53 ---> f2ac7a57c367 22:29:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:29:53 ---> Running in 8e863c9f60db 22:31:01 Removing intermediate container 8e863c9f60db 22:31:01 ---> ec711a103f3a 22:31:01 Step 9/10 : COPY . . 22:31:01 ---> b6d0289350c1 22:31:01 Step 10/10 : RUN ${MAKE} 22:31:01 ---> Running in 01cfa9dc4843 22:31:01 noop 22:31:02 Removing intermediate container 01cfa9dc4843 22:31:02 ---> cb079b8dec4e 22:31:02 Successfully built cb079b8dec4e 22:31:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:02 + docker inspect -f . ci-base-image-arm64 22:31:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:02 prd-ubuntu20.04-docker-arm64-4c-16g-2834 does not seem to be running inside a container 22:31:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/140 -v /w/workspace/device-sdk-go/140:/w/workspace/device-sdk-go/140:rw,z -v /w/workspace/device-sdk-go/140@tmp:/w/workspace/device-sdk-go/140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:31:03 $ docker top 1ec94d2fecbf853839c96b451922ac83b7dac1bf4e34ee656a6ae59d6ae9f332 -eo pid,comm [Pipeline] { [Pipeline] sh 22:31:04 + go version 22:31:04 go version go1.18.7 linux/arm64 [Pipeline] } 22:31:04 $ docker stop --time=1 1ec94d2fecbf853839c96b451922ac83b7dac1bf4e34ee656a6ae59d6ae9f332 22:31:06 $ docker rm -f --volumes 1ec94d2fecbf853839c96b451922ac83b7dac1bf4e34ee656a6ae59d6ae9f332 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:06 + docker inspect -f . ci-base-image-arm64 22:31:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:07 prd-ubuntu20.04-docker-arm64-4c-16g-2834 does not seem to be running inside a container 22:31:07 $ 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/140 -v /w/workspace/device-sdk-go/140:/w/workspace/device-sdk-go/140:rw,z -v /w/workspace/device-sdk-go/140@tmp:/w/workspace/device-sdk-go/140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:31:08 $ docker top 89ac24e9766ffc53e11fb1d6117a0279bb1a8257e43021718beb1f893dc9fc76 -eo pid,comm [Pipeline] { [Pipeline] sh 22:31:09 + git config --global --add safe.directory /w/workspace/device-sdk-go/140 [Pipeline] fileExists [Pipeline] sh 22:31:09 + make test 22:31:09 go test -race -coverprofile=coverage.out ./... 22:31:48 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 22:33:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 22:33:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 22:33:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 22:33:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 22:33:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 22:33:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.438s coverage: 27.6% of statements 22:33:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.345s coverage: 78.9% of statements 22:33:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 22:34:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.974s coverage: 73.6% of statements 22:34:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 22:34:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 22:34:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.010s coverage: 54.4% of statements 22:34:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 22:34:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 22:34:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 22:34:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 22:34:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.499s coverage: 65.1% of statements 22:34:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 22:34:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 22:34:05 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 5.380s coverage: 89.2% of statements 22:34:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 22:34:05 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.573s coverage: 4.6% of statements 22:34:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 22:34:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:34:06 GO111MODULE=on go vet ./... 22:35:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:35:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:35:43 ./bin/test-attribution-txt.sh [Pipeline] echo 22:35:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:35:43 $ docker stop --time=1 89ac24e9766ffc53e11fb1d6117a0279bb1a8257e43021718beb1f893dc9fc76 22:35:45 $ docker rm -f --volumes 89ac24e9766ffc53e11fb1d6117a0279bb1a8257e43021718beb1f893dc9fc76 [Pipeline] // withDockerContainer [Pipeline] sh 22:35:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:35:46 Warning: overwriting stash ‘coverage-report’ 22:35:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:35:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:35:48 + ls -al . 22:35:48 total 268 22:35:48 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 22:31 . 22:35:48 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 22:28 .. 22:35:48 -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 22:28 .dockerignore 22:35:48 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 22:28 .git 22:35:48 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 22:28 .github 22:35:48 -rw-rw-r-- 1 jenkins jenkins 131 Jan 17 22:28 .gitignore 22:35:48 -rw-rw-r-- 1 jenkins jenkins 42 Jan 17 22:28 .golangci.yml 22:35:48 -rw-rw-r-- 1 jenkins jenkins 31677 Jan 17 22:28 CHANGELOG.md 22:35:48 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 22:28 GOVERNANCE.md 22:35:48 -rw-rw-r-- 1 jenkins jenkins 880 Jan 17 22:28 Jenkinsfile 22:35:48 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 17 22:28 LICENSE 22:35:48 -rw-rw-r-- 1 jenkins jenkins 1679 Jan 17 22:28 Makefile 22:35:48 -rw-rw-r-- 1 jenkins jenkins 619 Jan 17 22:28 OWNERS.md 22:35:48 -rw-rw-r-- 1 jenkins jenkins 4891 Jan 17 22:28 README.md 22:35:48 -rw-rw-r-- 1 jenkins jenkins 12 Jan 17 22:25 VERSION 22:35:48 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 22:28 bin 22:35:48 -rw-r--r-- 1 jenkins jenkins 101914 Jan 17 22:34 coverage.out 22:35:48 drwxrwxr-x 5 jenkins jenkins 4096 Jan 17 22:28 example 22:35:48 -rw-rw-r-- 1 jenkins jenkins 3307 Jan 17 22:28 go.mod 22:35:48 -rw-rw-r-- 1 jenkins jenkins 34396 Jan 17 22:28 go.sum 22:35:48 drwxrwxr-x 14 jenkins jenkins 4096 Jan 17 22:28 internal 22:35:48 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 22:28 openapi 22:35:48 drwxrwxr-x 6 jenkins jenkins 4096 Jan 17 22:28 pkg 22:35:48 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 22:28 snap 22:35:48 -rw-rw-r-- 1 jenkins jenkins 222 Jan 17 22:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:48 + 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=13fe592f963dcee6db02b0e3862e327a5844c24b --label arch=arm64 --label version=3.0.0-dev.10 . 22:35:49 Sending build context to Docker daemon 5.7MB 22:35:49 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 22:35:49 Step 2/23 : FROM ${BASE} AS builder 22:35:49 ---> cb079b8dec4e 22:35:49 Step 3/23 : ARG MAKE=make build 22:35:49 ---> Running in 098c1e3325ad 22:35:51 Removing intermediate container 098c1e3325ad 22:35:51 ---> 833694168f37 22:35:51 Step 4/23 : WORKDIR /device-sdk-go 22:35:51 ---> Running in 11e32a718a83 22:35:51 Removing intermediate container 11e32a718a83 22:35:51 ---> 63244ba0d5d6 22:35:51 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:35:51 ---> Running in a5a9d0f6fee7 22:35:51 Removing intermediate container a5a9d0f6fee7 22:35:51 ---> b2fc730f377b 22:35:51 Step 6/23 : RUN apk add --update --no-cache make git 22:35:51 ---> Running in 4840010c4c71 22:35:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:35:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:35:54 OK: 221 MiB in 51 packages 22:35:55 Removing intermediate container 4840010c4c71 22:35:55 ---> 82733c4b391c 22:35:55 Step 7/23 : COPY go.mod vendor* ./ 22:35:55 ---> 5f445547d33f 22:35:55 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:35:55 ---> Running in f5b0cef50c81 22:35:58 Removing intermediate container f5b0cef50c81 22:35:58 ---> eb10269f7a83 22:35:58 Step 9/23 : COPY . . 22:35:59 ---> 94ff4c43bbc3 22:35:59 Step 10/23 : RUN ${MAKE} 22:35:59 ---> Running in f388037551cd 22:36:00 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.10" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:38:06 Removing intermediate container f388037551cd 22:38:06 ---> 028b0a7a5fd2 22:38:06 Step 11/23 : FROM alpine:3.16 22:38:06 3.16: Pulling from library/alpine 22:38:06 6875df1f5354: Pulling fs layer 22:38:06 6875df1f5354: Verifying Checksum 22:38:06 6875df1f5354: Download complete 22:38:07 6875df1f5354: Pull complete 22:38:07 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 22:38:07 Status: Downloaded newer image for alpine:3.16 22:38:07 ---> 2b4661558fb8 22:38:07 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:38:07 ---> Running in 152cbd051146 22:38:07 Removing intermediate container 152cbd051146 22:38:07 ---> 5b64a46f6f1e 22:38:07 Step 13/23 : RUN apk add --update --no-cache 22:38:07 ---> Running in 5c4509906604 22:38:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:38:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:38:09 OK: 5 MiB in 14 packages 22:38:11 Removing intermediate container 5c4509906604 22:38:11 ---> 560681913ba4 22:38:11 Step 14/23 : WORKDIR / 22:38:11 ---> Running in b027d286face 22:38:11 Removing intermediate container b027d286face 22:38:11 ---> e8919ff84c27 22:38:11 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:38:12 ---> b92dd5da1be8 22:38:12 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:38:13 ---> 3edf53409204 22:38:13 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:38:13 ---> 7e41c66d12f2 22:38:13 Step 18/23 : EXPOSE 59999 22:38:13 ---> Running in e0f7caa4c05c 22:38:14 Removing intermediate container e0f7caa4c05c 22:38:14 ---> b189bb46fdad 22:38:14 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:38:14 ---> Running in 8972cf19d11e 22:38:14 Removing intermediate container 8972cf19d11e 22:38:14 ---> 64c4967275aa 22:38:14 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:38:14 ---> Running in b8c16884d006 22:38:15 Removing intermediate container b8c16884d006 22:38:15 ---> d3deaaedd984 22:38:15 Step 21/23 : LABEL arch=arm64 22:38:15 ---> Running in d0e2dcd455c8 22:38:15 Removing intermediate container d0e2dcd455c8 22:38:15 ---> 0a76ee09d625 22:38:15 Step 22/23 : LABEL git_sha=13fe592f963dcee6db02b0e3862e327a5844c24b 22:38:15 ---> Running in 058d541c7766 22:38:15 Removing intermediate container 058d541c7766 22:38:15 ---> 93a526c41ceb 22:38:15 Step 23/23 : LABEL version=3.0.0-dev.10 22:38:15 ---> Running in ff957819d2ab 22:38:16 Removing intermediate container ff957819d2ab 22:38:16 ---> 78a4d301101c 22:38:16 [Warning] One or more build-args [ARCH] were not consumed 22:38:16 Successfully built 78a4d301101c 22:38:16 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 22:38:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:38:16 22:38:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:38:16 arm64: Pulling from edgex-lftools-log-publisher 22:38:16 8998bd30e6a1: Pulling fs layer 22:38:16 04944245beec: Pulling fs layer 22:38:16 699f458cf7ca: Pulling fs layer 22:38:16 765212b225bb: Pulling fs layer 22:38:16 f23df028b6ca: Pulling fs layer 22:38:16 d65c8cfc05b1: Pulling fs layer 22:38:16 2437ff75d9bd: Pulling fs layer 22:38:16 f23df028b6ca: Waiting 22:38:16 765212b225bb: Waiting 22:38:16 2437ff75d9bd: Waiting 22:38:17 04944245beec: Verifying Checksum 22:38:17 04944245beec: Download complete 22:38:17 765212b225bb: Download complete 22:38:17 f23df028b6ca: Verifying Checksum 22:38:17 f23df028b6ca: Download complete 22:38:17 d65c8cfc05b1: Download complete 22:38:17 699f458cf7ca: Verifying Checksum 22:38:17 699f458cf7ca: Download complete 22:38:17 8998bd30e6a1: Download complete 22:38:19 2437ff75d9bd: Verifying Checksum 22:38:19 2437ff75d9bd: Download complete 22:38:21 8998bd30e6a1: Pull complete 22:38:21 04944245beec: Pull complete 22:38:23 699f458cf7ca: Pull complete 22:38:23 765212b225bb: Pull complete 22:38:23 f23df028b6ca: Pull complete 22:38:24 d65c8cfc05b1: Pull complete 22:38:39 2437ff75d9bd: Pull complete 22:38:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:38:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:38:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:39 prd-ubuntu20.04-docker-arm64-4c-16g-2834 does not seem to be running inside a container 22:38:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/140 -v /w/workspace/device-sdk-go/140:/w/workspace/device-sdk-go/140:rw,z -v /w/workspace/device-sdk-go/140@tmp:/w/workspace/device-sdk-go/140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:38:42 $ docker top 43b01062d54fa8a6753e2103ae08189bf85b480b6babd584da062033f4ad3722 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:38:42 ---> job-cost.sh 22:38:42 lf-activate-venv: SKIPPING 22:38:42 INFO: No Stack... 22:38:43 INFO: Retrieving Pricing Info for: v3-standard-4 22:38:44 INFO: Archiving Costs [Pipeline] sh 22:38:44 + cat /w/workspace/device-sdk-go/140/archives/cost.csv 22:38:44 + cut -d, -f6 [Pipeline] lock 22:38:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-140-stack-cost] 22:38:44 Resource [jenkins-edgexfoundry-device-sdk-go-main-140-stack-cost] did not exist. Created. 22:38:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-140-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:38:45 /w/workspace/device-sdk-go/140@tmp/durable-938d2fef/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:38:46 + echo total: 0.10999999940395355 [Pipeline] stash 22:38:46 Warning: overwriting stash ‘stack-cost’ 22:38:46 Stashed 1 file(s) [Pipeline] } 22:38:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-140-stack-cost] [Pipeline] // lock [Pipeline] } 22:38:46 $ docker stop --time=1 43b01062d54fa8a6753e2103ae08189bf85b480b6babd584da062033f4ad3722 22:38:47 $ docker rm -f --volumes 43b01062d54fa8a6753e2103ae08189bf85b480b6babd584da062033f4ad3722 [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 22:38:48 provisioning config files... 22:38:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1181036460659488659tmp [Pipeline] { [Pipeline] sh 22:38:48 + set +x 22:38:48 + curl -s https://codecov.io/bash 22:38:48 + bash -s -- 22:38:48 22:38:48 _____ _ 22:38:48 / ____| | | 22:38:48 | | ___ __| | ___ ___ _____ __ 22:38:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:38:48 | |___| (_) | (_| | __/ (_| (_) \ V / 22:38:48 \_____\___/ \__,_|\___|\___\___/ \_/ 22:38:48 Bash-1.0.6 22:38:48 22:38:48 22:38:48 ==> git version 2.25.1 found 22:38:48 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:38:48 Release-Date: 2020-01-08 22:38:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:38:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:38:48 ==> Jenkins CI detected. 22:38:48 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 22:38:48 project root: . 22:38:48 --> token set from env 22:38:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:38:48 ==> Running gcov in . (disable via -X gcov) 22:38:48 ==> Python coveragepy not found 22:38:48 ==> Searching for coverage reports in: 22:38:48 + . 22:38:48 -> Found 1 reports 22:38:48 ==> Detecting git/mercurial file structure 22:38:48 ==> Reading reports 22:38:48 + ./coverage.out bytes=101914 22:38:48 ==> Appending adjustments 22:38:48 https://docs.codecov.io/docs/fixing-reports 22:38:49 + Found adjustments 22:38:49 ==> Gzipping contents 22:38:49 16K /tmp/codecov.n5mgJe.gz 22:38:49 ==> Uploading reports 22:38:49 url: https://codecov.io 22:38:49 query: branch=main&commit=13fe592f963dcee6db02b0e3862e327a5844c24b&build=140&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F140%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:38:49 -> Pinging Codecov 22:38:49 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=13fe592f963dcee6db02b0e3862e327a5844c24b&build=140&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F140%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:38:49 -> Uploading to 22:38:49 https://storage.googleapis.com/codecov/v4/raw/2023-01-17/7E55EF52A471D76F132DFD9A03CDDE97/13fe592f963dcee6db02b0e3862e327a5844c24b/91593cdd-3ec0-4c0e-9fe2-33d34fa8f752.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230117T223849Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=630b0563155256e696a88847f8f0177a1d2b4cdfcee06fed08fe843b354c93f9 22:38:49 % Total % Received % Xferd Average Speed Time Time Time Current 22:38:49 Dload Upload Total Spent Left Speed 22:38:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14748 0 0 100 14748 0 72650 --:--:-- --:--:-- --:--:-- 72294 100 14748 0 0 100 14748 0 56505 --:--:-- --:--:-- --:--:-- 56290 22:38:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/13fe592f963dcee6db02b0e3862e327a5844c24b [Pipeline] } 22:38:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:38:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:38:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:38:50 22:38:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:38:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:38:50 df9b9388f04a: Pulling fs layer 22:38:50 52dc419b0ee2: Pulling fs layer 22:38:50 25bc292e5bac: Pulling fs layer 22:38:50 114826534d7a: Pulling fs layer 22:38:50 4657fd5d0bcf: Pulling fs layer 22:38:50 6ad1cebc031e: Pulling fs layer 22:38:50 8a3aa393b2d8: Pulling fs layer 22:38:50 4657fd5d0bcf: Waiting 22:38:50 6ad1cebc031e: Waiting 22:38:50 8a3aa393b2d8: Waiting 22:38:50 114826534d7a: Waiting 22:38:50 25bc292e5bac: Verifying Checksum 22:38:50 25bc292e5bac: Download complete 22:38:50 52dc419b0ee2: Verifying Checksum 22:38:50 52dc419b0ee2: Download complete 22:38:50 4657fd5d0bcf: Verifying Checksum 22:38:50 4657fd5d0bcf: Download complete 22:38:50 df9b9388f04a: Download complete 22:38:50 df9b9388f04a: Pull complete 22:38:50 52dc419b0ee2: Pull complete 22:38:50 25bc292e5bac: Pull complete 22:38:50 6ad1cebc031e: Verifying Checksum 22:38:50 6ad1cebc031e: Download complete 22:38:51 114826534d7a: Download complete 22:38:51 8a3aa393b2d8: Verifying Checksum 22:38:51 8a3aa393b2d8: Download complete 22:38:54 114826534d7a: Pull complete 22:38:54 4657fd5d0bcf: Pull complete 22:38:54 6ad1cebc031e: Pull complete 22:38:58 8a3aa393b2d8: Pull complete 22:38:58 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:38:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:38:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:58 prd-ubuntu20.04-docker-8c-8g-2831 does not seem to be running inside a container 22:38:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:39:03 $ docker top 1f1237b8f8d8613204712271c41f99ff55d948fa3fea5e0f058bd83049ba78b2 -eo pid,comm [Pipeline] { [Pipeline] echo 22:39:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 22:39:03 + set -o pipefail 22:39:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 22:39:08 22:39:08 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 22:39:08 22:39:08 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/039d35f1-c48e-4ad3-abc2-e473559fa02a 22:39:08 22:39:08 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:39:08 22:39:08 22:39:08 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:39:08 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:39:08 More details here: https://snyk.co/ue1NS [Pipeline] } 22:39:08 $ docker stop --time=1 1f1237b8f8d8613204712271c41f99ff55d948fa3fea5e0f058bd83049ba78b2 22:39:11 $ docker rm -f --volumes 1f1237b8f8d8613204712271c41f99ff55d948fa3fea5e0f058bd83049ba78b2 [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 22:39:12 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:39:12 provisioning config files... 22:39:12 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14971892501537796295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:39:12 --> edgex-publish-swagger.sh 22:39:12 === Publish openapi/v2 API === 22:39:12 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 22:39:12 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 22:39:12 % Total % Received % Xferd Average Speed Time Time Time Current 22:39:12 Dload Upload Total Spent Left Speed 22:39:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53590 100 38 100 53552 74 102k --:--:-- --:--:-- --:--:-- 102k 22:39:13 {"code":403,"message":"Access Denied"} 22:39:13 [Pipeline] } 22:39:13 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 22:39:13 + git log --format=format:%s -1 13fe592f963dcee6db02b0e3862e327a5844c24b [Pipeline] sh 22:39:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:39:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:39:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:14 prd-ubuntu20.04-docker-8c-8g-2831 does not seem to be running inside a container 22:39:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:39:14 $ docker top 6985f1f35726e723dfe83b23e87b5722625f0f5626465c68a67a3b686b60b346 -eo pid,comm 22:39:14 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). 22:39:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:39:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:39:14 [ssh-agent] Looking for ssh-agent implementation... 22:39:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:39:15 $ docker exec 6985f1f35726e723dfe83b23e87b5722625f0f5626465c68a67a3b686b60b346 ssh-agent 22:39:15 SSH_AUTH_SOCK=/tmp/ssh-UtjJCUoMEPR9/agent.33 22:39:15 SSH_AGENT_PID=39 22:39:15 Running ssh-add (command line suppressed) 22:39:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17971675770811024468.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17971675770811024468.key) 22:39:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:39:15 + git semver tag 22:39:15 2023-01-17 22:39:15,828 [run_tag] DEBUG tag force:False 22:39:15 2023-01-17 22:39:15,828 [check_head_tag] DEBUG check head tag 22:39:15 2023-01-17 22:39:15,829 [execute] INFO git cat-file --batch-check 22:39:15 2023-01-17 22:39:15,830 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 22:39:15 2023-01-17 22:39:15,834 [execute] INFO git cat-file --batch 22:39:15 2023-01-17 22:39:15,834 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 22:39:15 2023-01-17 22:39:15,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:39:15 2023-01-17 22:39:15,861 [execute] INFO git tag -a v3.0.0-dev.10 -m v3.0.0-dev.10 22:39:15 2023-01-17 22:39:15,861 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.10', '-m', 'v3.0.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 22:39:15 2023-01-17 22:39:15,865 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:39:15 3.0.0-dev.10 [Pipeline] } 22:39:15 $ docker exec --env ******** --env ******** 6985f1f35726e723dfe83b23e87b5722625f0f5626465c68a67a3b686b60b346 ssh-agent -k 22:39:16 unset SSH_AUTH_SOCK; 22:39:16 unset SSH_AGENT_PID; 22:39:16 echo Agent pid 39 killed; 22:39:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:39:16 + git semver [Pipeline] } 22:39:16 $ docker stop --time=1 6985f1f35726e723dfe83b23e87b5722625f0f5626465c68a67a3b686b60b346 22:39:17 $ docker rm -f --volumes 6985f1f35726e723dfe83b23e87b5722625f0f5626465c68a67a3b686b60b346 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:39:18 22:39:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:39:18 0.23.1-centos7: Pulling from edgex-lftools 22:39:18 ab5ef0e58194: Pulling fs layer 22:39:18 9712f1f96733: Pulling fs layer 22:39:18 63f879dbbcfc: Pulling fs layer 22:39:18 0d9ebad4ef96: Pulling fs layer 22:39:18 e9a5061849ea: Pulling fs layer 22:39:18 d747dcd14b5f: Pulling fs layer 22:39:18 2de7ff778b66: Pulling fs layer 22:39:18 d747dcd14b5f: Waiting 22:39:18 2de7ff778b66: Waiting 22:39:18 0d9ebad4ef96: Waiting 22:39:18 e9a5061849ea: Waiting 22:39:18 9712f1f96733: Verifying Checksum 22:39:18 9712f1f96733: Download complete 22:39:19 63f879dbbcfc: Verifying Checksum 22:39:19 e9a5061849ea: Verifying Checksum 22:39:19 e9a5061849ea: Download complete 22:39:19 d747dcd14b5f: Verifying Checksum 22:39:19 d747dcd14b5f: Download complete 22:39:19 ab5ef0e58194: Verifying Checksum 22:39:19 ab5ef0e58194: Download complete 22:39:19 0d9ebad4ef96: Verifying Checksum 22:39:19 0d9ebad4ef96: Download complete 22:39:19 2de7ff778b66: Download complete 22:39:22 ab5ef0e58194: Pull complete 22:39:22 9712f1f96733: Pull complete 22:39:22 63f879dbbcfc: Pull complete 22:39:26 0d9ebad4ef96: Pull complete 22:39:26 e9a5061849ea: Pull complete 22:39:26 d747dcd14b5f: Pull complete 22:39:27 2de7ff778b66: Pull complete 22:39:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:39:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:39:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:28 prd-ubuntu20.04-docker-8c-8g-2831 does not seem to be running inside a container 22:39:28 $ 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 22:39:33 $ docker top 492014adfee08c4039fd95cf9036a365839c83912bf37146ce86d91fc674f423 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:39:33 provisioning config files... 22:39:33 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5629507378924934087tmp 22:39:33 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11458537881791409617tmp 22:39:33 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10184169585286803664tmp [Pipeline] { [Pipeline] echo 22:39:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:39:33 ---> sigul-configuration.sh 22:39:33 gpg: directory `/root/.gnupg' created 22:39:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:39:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:39:33 gpg: keyring `/root/.gnupg/secring.gpg' created 22:39:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:39:33 gpg: CAST5 encrypted data 22:39:33 gpg: encrypted with 1 passphrase 22:39:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:39:33 + mkdir /home/jenkins 22:39:33 + mkdir /home/jenkins/sigul [Pipeline] sh 22:39:34 + 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 22:39:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:39:34 ---> sigul-install.sh 22:39:34 Sigul already installed; skipping installation. [Pipeline] sh 22:39:34 + git tag --list 22:39:34 0.7.1 22:39:34 delhi-tag 22:39:34 v1.0.0 22:39:34 v1.1.0 22:39:34 v1.1.1 22:39:34 v1.1.2 22:39:34 v1.2.0 22:39:34 v1.2.1 22:39:34 v1.2.2 22:39:34 v1.2.3 22:39:34 v1.3.0 22:39:34 v1.4.0 22:39:34 v2.0.0 22:39:34 v2.1.0 22:39:34 v2.1.1 22:39:34 v2.1.1-dev.2 22:39:34 v2.1.1-dev.3 22:39:34 v2.2.0 22:39:34 v2.2.1-dev.1 22:39:34 v2.2.1-dev.10 22:39:34 v2.2.1-dev.11 22:39:34 v2.2.1-dev.12 22:39:34 v2.2.1-dev.13 22:39:34 v2.2.1-dev.14 22:39:34 v2.2.1-dev.2 22:39:34 v2.2.1-dev.3 22:39:34 v2.2.1-dev.4 22:39:34 v2.2.1-dev.5 22:39:34 v2.2.1-dev.6 22:39:34 v2.2.1-dev.7 22:39:34 v2.2.1-dev.8 22:39:34 v2.2.1-dev.9 22:39:34 v2.3.0 22:39:34 v2.3.0-dev.14 22:39:34 v2.3.0-dev.15 22:39:34 v2.3.0-dev.16 22:39:34 v2.3.0-dev.17 22:39:34 v2.3.0-dev.18 22:39:34 v2.3.0-dev.19 22:39:34 v2.3.0-dev.20 22:39:34 v2.3.0-dev.21 22:39:34 v2.3.0-dev.22 22:39:34 v2.3.0-dev.23 22:39:34 v2.3.0-dev.24 22:39:34 v2.3.0-dev.25 22:39:34 v2.3.0-dev.26 22:39:34 v2.3.0-dev.27 22:39:34 v2.3.0-dev.28 22:39:34 v2.3.0-dev.29 22:39:34 v2.3.0-dev.30 22:39:34 v2.3.0-dev.31 22:39:34 v2.3.0-dev.32 22:39:34 v2.3.0-dev.33 22:39:34 v2.3.0-dev.34 22:39:34 v2.3.0-dev.35 22:39:34 v2.3.0-dev.36 22:39:34 v2.3.0-dev.37 22:39:34 v2.3.0-dev.38 22:39:34 v2.3.0-dev.39 22:39:34 v2.3.0-dev.40 22:39:34 v2.3.0-dev.41 22:39:34 v2.3.0-dev.42 22:39:34 v2.3.0-dev.43 22:39:34 v2.3.0-dev.44 22:39:34 v2.3.0-dev.45 22:39:34 v2.3.0-dev.46 22:39:34 v2.3.0-dev.47 22:39:34 v2.3.0-dev.48 22:39:34 v2.3.0-dev.49 22:39:34 v2.3.0-dev.50 22:39:34 v2.3.0-dev.51 22:39:34 v2.3.1-dev.1 22:39:34 v2.3.1-dev.2 22:39:34 v3.0.0-dev.1 22:39:34 v3.0.0-dev.10 22:39:34 v3.0.0-dev.2 22:39:34 v3.0.0-dev.3 22:39:34 v3.0.0-dev.4 22:39:34 v3.0.0-dev.5 22:39:34 v3.0.0-dev.6 22:39:34 v3.0.0-dev.7 22:39:34 v3.0.0-dev.8 22:39:34 v3.0.0-dev.9 [Pipeline] sh 22:39:34 + lftools sign git-tag v3.0.0-dev.10 22:39:35 Signing Git tag with Sigul... 22:39:35 Signing v3.0.0-dev.10 [Pipeline] echo 22:39:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:39:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:39:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:39:36 $ docker stop --time=1 492014adfee08c4039fd95cf9036a365839c83912bf37146ce86d91fc674f423 22:39:37 $ docker rm -f --volumes 492014adfee08c4039fd95cf9036a365839c83912bf37146ce86d91fc674f423 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:39:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:39:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:39:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:38 prd-ubuntu20.04-docker-8c-8g-2831 does not seem to be running inside a container 22:39:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:39:38 $ docker top 0715e746004b4fea6d4544af21ac56784961a91a8ebfa9bd9e34c78d9ea9be9d -eo pid,comm 22:39:38 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). 22:39:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:39:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:39:38 [ssh-agent] Looking for ssh-agent implementation... 22:39:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:39:38 $ docker exec 0715e746004b4fea6d4544af21ac56784961a91a8ebfa9bd9e34c78d9ea9be9d ssh-agent 22:39:38 SSH_AUTH_SOCK=/tmp/ssh-rJH7GNbaJGmn/agent.33 22:39:38 SSH_AGENT_PID=39 22:39:38 Running ssh-add (command line suppressed) 22:39:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8555621501822571651.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8555621501822571651.key) 22:39:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:39:39 + git semver bump pre 22:39:39 2023-01-17 22:39:39,441 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:39:39 2023-01-17 22:39:39,441 [bump_version] DEBUG bumping version:3.0.0-dev.10 on axis:pre with prefix:dev 22:39:39 2023-01-17 22:39:39,441 [bump_version] DEBUG bumped version:3.0.0-dev.11 22:39:39 2023-01-17 22:39:39,441 [write_version] DEBUG write version:3.0.0-dev.11 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 22:39:39 2023-01-17 22:39:39,441 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:39:39 2023-01-17 22:39:39,441 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:39:39 2023-01-17 22:39:39,443 [execute] INFO git cat-file --batch-check 22:39:39 2023-01-17 22:39:39,443 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:39:39 2023-01-17 22:39:39,450 [execute] INFO git cat-file --batch 22:39:39 2023-01-17 22:39:39,450 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:39:39 2023-01-17 22:39:39,457 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:39:39 3.0.0-dev.11 [Pipeline] } 22:39:39 $ docker exec --env ******** --env ******** 0715e746004b4fea6d4544af21ac56784961a91a8ebfa9bd9e34c78d9ea9be9d ssh-agent -k 22:39:39 unset SSH_AUTH_SOCK; 22:39:39 unset SSH_AGENT_PID; 22:39:39 echo Agent pid 39 killed; 22:39:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:39:39 + git semver [Pipeline] } 22:39:40 $ docker stop --time=1 0715e746004b4fea6d4544af21ac56784961a91a8ebfa9bd9e34c78d9ea9be9d 22:39:41 $ docker rm -f --volumes 0715e746004b4fea6d4544af21ac56784961a91a8ebfa9bd9e34c78d9ea9be9d [Pipeline] // withDockerContainer [Pipeline] sh 22:39:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:39:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:39:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:42 prd-ubuntu20.04-docker-8c-8g-2831 does not seem to be running inside a container 22:39:42 $ 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 22:39:42 $ docker top 59678f958b2b2ef5346e5ade7f9b70d1f99b7c136863405731e4c9c26bf6a32b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:39:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:39:42 [ssh-agent] Looking for ssh-agent implementation... 22:39:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:39:42 $ docker exec 59678f958b2b2ef5346e5ade7f9b70d1f99b7c136863405731e4c9c26bf6a32b ssh-agent 22:39:42 SSH_AUTH_SOCK=/tmp/ssh-24APoPolbXpO/agent.32 22:39:42 SSH_AGENT_PID=38 22:39:42 Running ssh-add (command line suppressed) 22:39:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11530491414000548295.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11530491414000548295.key) 22:39:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:39:43 + git semver push 22:39:43 2023-01-17 22:39:43,463 [run_push] DEBUG push 22:39:43 2023-01-17 22:39:43,463 [execute] INFO git cat-file --batch-check 22:39:43 2023-01-17 22:39:43,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:39:43 2023-01-17 22:39:43,467 [execute] INFO git rev-list 81d9a9f5abd520d90b84186057c3e40e11c53f7b -- 22:39:43 2023-01-17 22:39:43,467 [execute] DEBUG Popen(['git', 'rev-list', '81d9a9f5abd520d90b84186057c3e40e11c53f7b', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:39:43 2023-01-17 22:39:43,478 [execute] INFO git fetch -v origin 22:39:43 2023-01-17 22:39:43,479 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:39:44 2023-01-17 22:39:43,979 [run_push] DEBUG no remote changes detected 22:39:44 2023-01-17 22:39:43,979 [execute] INFO git push origin semver 22:39:44 2023-01-17 22:39:43,980 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:39:45 2023-01-17 22:39:44,853 [run_push] DEBUG push all version tags 22:39:45 2023-01-17 22:39:44,853 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:39:45 2023-01-17 22:39:44,854 [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) 22:39:45 2023-01-17 22:39:45,713 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:39:45 3.0.0-dev.11 [Pipeline] } 22:39:46 $ docker exec --env ******** --env ******** 59678f958b2b2ef5346e5ade7f9b70d1f99b7c136863405731e4c9c26bf6a32b ssh-agent -k 22:39:46 unset SSH_AUTH_SOCK; 22:39:46 unset SSH_AGENT_PID; 22:39:46 echo Agent pid 38 killed; 22:39:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:39:46 + git semver [Pipeline] } 22:39:46 $ docker stop --time=1 59678f958b2b2ef5346e5ade7f9b70d1f99b7c136863405731e4c9c26bf6a32b 22:39:47 $ docker rm -f --volumes 59678f958b2b2ef5346e5ade7f9b70d1f99b7c136863405731e4c9c26bf6a32b [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 22:39:48 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 22:39:48 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:39:48 total 16 22:39:48 drwxr-xr-x 3 root root 4096 Jan 17 22:27 . 22:39:48 drwxrwxr-x 12 jenkins jenkins 4096 Jan 17 22:39 .. 22:39:48 drwxr-xr-x 2 root root 4096 Jan 17 22:27 cost 22:39:48 -rw-r--r-- 1 root root 85 Jan 17 22:27 cost.csv 22:39:48 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:39:48 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:39:48 total 16 22:39:48 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 22:27 . 22:39:48 drwxrwxr-x 12 jenkins jenkins 4096 Jan 17 22:39 .. 22:39:48 drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 22:27 cost 22:39:48 -rw-r--r-- 1 jenkins jenkins 85 Jan 17 22:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:39:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:39:49 ---> package-listing.sh 22:39:49 ++ facter osfamily 22:39:49 ++ tr '[:upper:]' '[:lower:]' 22:39:49 + OS_FAMILY=debian 22:39:49 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 22:39:49 + START_PACKAGES=/tmp/packages_start.txt 22:39:49 + END_PACKAGES=/tmp/packages_end.txt 22:39:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:39:49 + PACKAGES=/tmp/packages_start.txt 22:39:49 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 22:39:49 + PACKAGES=/tmp/packages_end.txt 22:39:49 + case "${OS_FAMILY}" in 22:39:49 + dpkg -l 22:39:49 + grep '^ii' 22:39:49 + '[' -f /tmp/packages_start.txt ']' 22:39:49 + '[' -f /tmp/packages_end.txt ']' 22:39:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:39:49 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 22:39:49 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 22:39:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 22:39:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:39:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:39:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:50 prd-ubuntu20.04-docker-8c-8g-2831 does not seem to be running inside a container 22:39:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:39:51 $ docker top 73986a736ecc33562e09326077f5aa7f16c279b4b335bce6d8fadbe7c026d79e -eo pid,comm [Pipeline] { [Pipeline] sh 22:39:51 + touch /tmp/pre-build-complete [Pipeline] sh 22:39:51 + mkdir -p /var/log/sysstat [Pipeline] sh 22:39:51 + ls /var/log/sa-host 22:39:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:39:52 provisioning config files... 22:39:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16534511502769066682tmp [Pipeline] { [Pipeline] echo 22:39:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:39:52 ---> create-netrc.sh [Pipeline] } 22:39:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:39:52 ---> python-tools-install.sh [Pipeline] echo 22:39:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:39:53 ---> sudo-logs.sh 22:39:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:39:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:39:53 ---> job-cost.sh 22:39:53 lf-activate-venv: SKIPPING 22:39:53 DEBUG: total: 0.2199999988079071 22:39:53 INFO: Retrieving Stack Cost... 22:39:53 INFO: Retrieving Pricing Info for: v3-standard-8 22:39:54 INFO: Archiving Costs [Pipeline] echo 22:39:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:39:54 ---> logs-deploy.sh 22:39:54 lf-activate-venv: SKIPPING 22:39:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/140 22:39:54 INFO: archiving workspace using pattern(s): 22:39:55 Archives upload complete. 22:39:55 INFO: archiving logs to Nexus