Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8b9fd5bc22bc5ff949621087fe72c38333f95112 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-ssh11843679138573606133.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-ssh1158574898547240412.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-ssh4345506097958155706.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-ssh16305876926881151424.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-ssh15310977690253847097.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5888’ Running on prd-ubuntu20.04-docker-8c-8g-5894 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8b9fd5bc22bc5ff949621087fe72c38333f95112 (main) Commit message: "Merge pull request #1320 from ejlee3/refactor-private-config" > git config core.sparsecheckout # timeout=10 > git checkout -f 8b9fd5bc22bc5ff949621087fe72c38333f95112 # timeout=10 > git rev-list --no-walk e412a44eb13141e6797f53827a761c4e91ea34f8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:55:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:55:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:55:48 ========================================================= 20:55:48 EdgeX Global Pipelines Version Info 20:55:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:55:48 ------------------- 20:55:48 stable info: 20:55:48 ------------------- 20:55:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:55:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:55:48 Message: update stable to v1.0.244 20:55:49 ------------------- 20:55:49 experimental info: 20:55:49 ------------------- 20:55:49 Commited By: **** collab-it+edgex@linuxfoundation.org 20:55:49 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:55:49 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:55:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b9fd5bc22bc5ff949621087fe72c38333f95112 [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b9fd5b [Pipeline] echo 20:55:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:55:50 provisioning config files... 20:55:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13681252216623002340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:55:50 ---> docker-login.sh 20:55:50 nexus3.edgexfoundry.org:10001 20:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:50 Configure a credential helper to remove this warning. See 20:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:50 20:55:50 Login Succeeded 20:55:50 nexus3.edgexfoundry.org:10002 20:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:50 Configure a credential helper to remove this warning. See 20:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:50 20:55:50 Login Succeeded 20:55:50 nexus3.edgexfoundry.org:10003 20:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:50 Configure a credential helper to remove this warning. See 20:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:50 20:55:50 Login Succeeded 20:55:50 nexus3.edgexfoundry.org:10004 20:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:51 Configure a credential helper to remove this warning. See 20:55:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:51 20:55:51 Login Succeeded 20:55:51 docker.io 20:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:51 Configure a credential helper to remove this warning. See 20:55:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:51 20:55:51 Login Succeeded 20:55:51 ---> docker-login.sh ends [Pipeline] } 20:55:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:55:51 + git rev-list -1 --merges 8b9fd5bc22bc5ff949621087fe72c38333f95112~1..8b9fd5bc22bc5ff949621087fe72c38333f95112 [Pipeline] echo 20:55:51 -----------> git rev-list -1 --merges 8b9fd5bc22bc5ff949621087fe72c38333f95112~1..8b9fd5bc22bc5ff949621087fe72c38333f95112 8b9fd5bc22bc5ff949621087fe72c38333f95112 20:55:51 8b9fd5bc22bc5ff949621087fe72c38333f95112 [false] [Pipeline] sh 20:55:52 + git log --format=format:%s -1 8b9fd5bc22bc5ff949621087fe72c38333f95112 [Pipeline] echo 20:55:52 ========================================================= 20:55:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:55:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:55:52 + git log --format=format:%s -1 8b9fd5bc22bc5ff949621087fe72c38333f95112 [Pipeline] echo 20:55:52 [semverPrep] GIT_COMMIT: 8b9fd5bc22bc5ff949621087fe72c38333f95112, Commit Message: Merge pull request #1320 from ejlee3/refactor-private-config [Pipeline] echo 20:55:52 [semverPrep] This is not a build commit. [Pipeline] sh 20:55:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:55:52 + grep -v github /etc/ssh/ssh_known_hosts 20:55:52 + [ -e /tmp/ssh_known_hosts ] 20:55:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:55:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:55:52 + sudo tee -a /etc/ssh/ssh_known_hosts 20:55:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:53 20:55:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:53 0.1.4: Pulling from edgex-devops/py-git-semver 20:55:53 b85a868b505f: Pulling fs layer 20:55:53 e2be974225ed: Pulling fs layer 20:55:53 339a4e72a1f5: Pulling fs layer 20:55:53 988bab9f4d93: Pulling fs layer 20:55:53 1469e6f7b9e6: Pulling fs layer 20:55:53 eaf3925da568: Pulling fs layer 20:55:53 bab4dde63d76: Pulling fs layer 20:55:53 bde34c3a00c8: Pulling fs layer 20:55:53 b352a97aabf1: Pulling fs layer 20:55:53 4872d77fe225: Pulling fs layer 20:55:53 5851b861e8e6: Pulling fs layer 20:55:53 bab4dde63d76: Waiting 20:55:53 b352a97aabf1: Waiting 20:55:53 4872d77fe225: Waiting 20:55:53 5851b861e8e6: Waiting 20:55:53 1469e6f7b9e6: Waiting 20:55:53 eaf3925da568: Waiting 20:55:53 988bab9f4d93: Waiting 20:55:53 bde34c3a00c8: Waiting 20:55:53 e2be974225ed: Download complete 20:55:53 988bab9f4d93: Verifying Checksum 20:55:53 988bab9f4d93: Download complete 20:55:54 1469e6f7b9e6: Verifying Checksum 20:55:54 1469e6f7b9e6: Download complete 20:55:54 339a4e72a1f5: Verifying Checksum 20:55:54 339a4e72a1f5: Download complete 20:55:54 eaf3925da568: Verifying Checksum 20:55:54 eaf3925da568: Download complete 20:55:54 bde34c3a00c8: Download complete 20:55:54 b352a97aabf1: Download complete 20:55:54 4872d77fe225: Verifying Checksum 20:55:54 4872d77fe225: Download complete 20:55:54 5851b861e8e6: Download complete 20:55:54 b85a868b505f: Verifying Checksum 20:55:54 b85a868b505f: Download complete 20:55:54 bab4dde63d76: Verifying Checksum 20:55:54 bab4dde63d76: Download complete 20:55:55 b85a868b505f: Pull complete 20:55:55 e2be974225ed: Pull complete 20:55:56 339a4e72a1f5: Pull complete 20:55:56 988bab9f4d93: Pull complete 20:55:56 1469e6f7b9e6: Pull complete 20:55:56 eaf3925da568: Pull complete 20:55:58 bab4dde63d76: Pull complete 20:55:58 bde34c3a00c8: Pull complete 20:55:58 b352a97aabf1: Pull complete 20:55:58 4872d77fe225: Pull complete 20:55:58 5851b861e8e6: Pull complete 20:55:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:55:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:58 prd-ubuntu20.04-docker-8c-8g-5894 does not seem to be running inside a container 20:55:58 $ 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 20:56:00 $ docker top 10e48d667393abfcd7982eaf2214223d857d0d14239343c5f6563312596fc9f7 -eo pid,comm 20:56:00 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). 20:56:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:56:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:00 [ssh-agent] Looking for ssh-agent implementation... 20:56:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:00 $ docker exec 10e48d667393abfcd7982eaf2214223d857d0d14239343c5f6563312596fc9f7 ssh-agent 20:56:00 SSH_AUTH_SOCK=/tmp/ssh-HeOUTOworPzl/agent.32 20:56:00 SSH_AGENT_PID=38 20:56:00 Running ssh-add (command line suppressed) 20:56:00 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7556708268524243249.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7556708268524243249.key) 20:56:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:01 + git tag --points-at HEAD [Pipeline] } 20:56:01 $ docker exec --env ******** --env ******** 10e48d667393abfcd7982eaf2214223d857d0d14239343c5f6563312596fc9f7 ssh-agent -k 20:56:01 unset SSH_AUTH_SOCK; 20:56:01 unset SSH_AGENT_PID; 20:56:01 echo Agent pid 38 killed; 20:56:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:56:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:01 [ssh-agent] Looking for ssh-agent implementation... 20:56:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:01 $ docker exec 10e48d667393abfcd7982eaf2214223d857d0d14239343c5f6563312596fc9f7 ssh-agent 20:56:01 SSH_AUTH_SOCK=/tmp/ssh-W9QaXO2nVgxA/agent.70 20:56:01 SSH_AGENT_PID=77 20:56:01 Running ssh-add (command line suppressed) 20:56:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6078980463690158944.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6078980463690158944.key) 20:56:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:01 + git semver init 20:56:02 2023-02-14 20:56:02,084 [run_init] DEBUG init version:0.0.0 force:False 20:56:02 2023-02-14 20:56:02,085 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 20:56:02 2023-02-14 20:56:02,086 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 20:56:02 2023-02-14 20:56:02,086 [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) 20:56:03 2023-02-14 20:56:03,200 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 20:56:03 2023-02-14 20:56:03,201 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 20:56:03 2023-02-14 20:56:03,201 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:56:03 2023-02-14 20:56:03,201 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:56:03 3.0.0-dev.27 [Pipeline] } 20:56:03 $ docker exec --env ******** --env ******** 10e48d667393abfcd7982eaf2214223d857d0d14239343c5f6563312596fc9f7 ssh-agent -k 20:56:03 unset SSH_AUTH_SOCK; 20:56:03 unset SSH_AGENT_PID; 20:56:03 echo Agent pid 77 killed; 20:56:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:56:03 + git semver [Pipeline] } 20:56:04 $ docker stop --time=1 10e48d667393abfcd7982eaf2214223d857d0d14239343c5f6563312596fc9f7 20:56:05 $ docker rm -f --volumes 10e48d667393abfcd7982eaf2214223d857d0d14239343c5f6563312596fc9f7 [Pipeline] // withDockerContainer [Pipeline] sh 20:56:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:56:06 Stashed 1 file(s) [Pipeline] echo 20:56:06 [edgeXSemver]: initialized semver on version 3.0.0-dev.27 [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 20:56:06 provisioning config files... 20:56:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8765622249417224089tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:06 ---> docker-login.sh 20:56:06 nexus3.edgexfoundry.org:10001 20:56:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:06 Configure a credential helper to remove this warning. See 20:56:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:06 20:56:06 Login Succeeded 20:56:06 nexus3.edgexfoundry.org:10002 20:56:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:06 Configure a credential helper to remove this warning. See 20:56:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:06 20:56:06 Login Succeeded 20:56:06 nexus3.edgexfoundry.org:10003 20:56:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:06 Configure a credential helper to remove this warning. See 20:56:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:06 20:56:06 Login Succeeded 20:56:06 nexus3.edgexfoundry.org:10004 20:56:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:06 Configure a credential helper to remove this warning. See 20:56:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:06 20:56:06 Login Succeeded 20:56:06 docker.io 20:56:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:07 Configure a credential helper to remove this warning. See 20:56:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:07 20:56:07 Login Succeeded 20:56:07 ---> docker-login.sh ends [Pipeline] } 20:56:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:56:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:07 ========================================================= 20:56:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:56:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:07 + 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 . 20:56:07 Sending build context to Docker daemon 10.42MB 20:56:07 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:56:07 Step 2/10 : FROM ${BASE} AS builder 20:56:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:56:07 213ec9aee27d: Pulling fs layer 20:56:07 4583459ba037: Pulling fs layer 20:56:07 93c1e223e6f2: Pulling fs layer 20:56:07 53926ce57604: Pulling fs layer 20:56:07 21b2b0c7a3f4: Pulling fs layer 20:56:07 22ff95d597cd: Pulling fs layer 20:56:07 12d6caf4c0d1: Pulling fs layer 20:56:07 96b7cbca73a9: Pulling fs layer 20:56:07 a7acece74701: Pulling fs layer 20:56:07 53926ce57604: Waiting 20:56:07 21b2b0c7a3f4: Waiting 20:56:07 22ff95d597cd: Waiting 20:56:07 12d6caf4c0d1: Waiting 20:56:07 96b7cbca73a9: Waiting 20:56:07 a7acece74701: Waiting 20:56:08 93c1e223e6f2: Verifying Checksum 20:56:08 93c1e223e6f2: Download complete 20:56:08 4583459ba037: Download complete 20:56:08 21b2b0c7a3f4: Verifying Checksum 20:56:08 21b2b0c7a3f4: Download complete 20:56:08 22ff95d597cd: Verifying Checksum 20:56:08 22ff95d597cd: Download complete 20:56:08 213ec9aee27d: Verifying Checksum 20:56:08 213ec9aee27d: Download complete 20:56:08 12d6caf4c0d1: Verifying Checksum 20:56:08 12d6caf4c0d1: Download complete 20:56:08 213ec9aee27d: Pull complete 20:56:08 4583459ba037: Pull complete 20:56:08 93c1e223e6f2: Pull complete 20:56:09 a7acece74701: Verifying Checksum 20:56:09 a7acece74701: Download complete 20:56:10 53926ce57604: Verifying Checksum 20:56:10 53926ce57604: Download complete 20:56:10 96b7cbca73a9: Verifying Checksum 20:56:10 96b7cbca73a9: Download complete 20:56:14 53926ce57604: Pull complete 20:56:14 21b2b0c7a3f4: Pull complete 20:56:14 22ff95d597cd: Pull complete 20:56:14 12d6caf4c0d1: Pull complete 20:56:16 96b7cbca73a9: Pull complete 20:56:17 a7acece74701: Pull complete 20:56:17 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:56:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:56:17 ---> db6d94c90886 20:56:17 Step 3/10 : ARG MAKE=make build 20:56:19 ---> Running in 5c9a37b93e0c 20:56:19 Removing intermediate container 5c9a37b93e0c 20:56:19 ---> 80ffcd597937 20:56:19 Step 4/10 : WORKDIR /device-sdk-go 20:56:19 ---> Running in 44d85fe43c8d 20:56:19 Removing intermediate container 44d85fe43c8d 20:56:19 ---> 455dbbc9ba6b 20:56:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:56:19 ---> Running in 48206a5b8f01 20:56:19 Removing intermediate container 48206a5b8f01 20:56:19 ---> 3e46e28d4a0c 20:56:19 Step 6/10 : RUN apk add --update --no-cache make git 20:56:19 ---> Running in 406311db26cd 20:56:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:56:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:56:20 OK: 211 MiB in 51 packages 20:56:20 Removing intermediate container 406311db26cd 20:56:20 ---> 615f79f298a9 20:56:20 Step 7/10 : COPY go.mod vendor* ./ 20:56:20 ---> ce0f8d5e1ebd 20:56:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:20 ---> Running in de3452f26f9a 20:56:21 Still waiting to schedule task 20:56:21 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5889’ 20:56:53 Removing intermediate container de3452f26f9a 20:56:53 ---> add32166214f 20:56:53 Step 9/10 : COPY . . 20:56:53 ---> ac480bbc2918 20:56:53 Step 10/10 : RUN ${MAKE} 20:56:53 ---> Running in a33f9b399d9a 20:56:53 noop 20:56:53 Removing intermediate container a33f9b399d9a 20:56:53 ---> f4fe699e3a23 20:56:53 Successfully built f4fe699e3a23 20:56:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:54 + docker inspect -f . ci-base-image-x86_64 20:56:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:54 prd-ubuntu20.04-docker-8c-8g-5894 does not seem to be running inside a container 20:56:54 $ 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 20:56:54 $ docker top 4f6b4a239be734f8306ee4d8da72c9d82732fdebe0147586ba167105727e999f -eo pid,comm [Pipeline] { [Pipeline] sh 20:56:55 + go version 20:56:55 go version go1.18.7 linux/amd64 [Pipeline] } 20:56:55 $ docker stop --time=1 4f6b4a239be734f8306ee4d8da72c9d82732fdebe0147586ba167105727e999f 20:56:56 $ docker rm -f --volumes 4f6b4a239be734f8306ee4d8da72c9d82732fdebe0147586ba167105727e999f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:56 + docker inspect -f . ci-base-image-x86_64 20:56:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:56 prd-ubuntu20.04-docker-8c-8g-5894 does not seem to be running inside a container 20:56:56 $ 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 20:56:57 $ docker top db745f0631f435d23218225ac5fa9b37d76fe618ca6c347988408bca6ec621da -eo pid,comm [Pipeline] { [Pipeline] sh 20:56:57 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 20:56:57 + make test 20:56:57 go test -race -coverprofile=coverage.out ./... 20:57:04 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 20:57:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 20:57:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 20:57:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 20:57:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 20:57:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 20:57:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.071s coverage: 27.6% of statements 20:57:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.097s coverage: 78.9% of statements 20:57:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 20:57:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.119s coverage: 78.1% of statements 20:57:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 20:57:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 20:57:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.121s coverage: 77.0% of statements 20:57:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 20:57:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 20:57:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 20:57:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.087s coverage: 65.2% of statements 20:57:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 20:57:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 20:57:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.764s coverage: 89.2% of statements 20:57:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 20:57:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.057s coverage: 4.7% of statements 20:57:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 20:57:35 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." 20:57:35 GO111MODULE=on go vet ./... 20:57:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:57:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:57:36 ./bin/test-attribution-txt.sh [Pipeline] echo 20:57:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:57:36 $ docker stop --time=1 db745f0631f435d23218225ac5fa9b37d76fe618ca6c347988408bca6ec621da 20:57:39 $ docker rm -f --volumes db745f0631f435d23218225ac5fa9b37d76fe618ca6c347988408bca6ec621da [Pipeline] // withDockerContainer [Pipeline] sh 20:57:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:57:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:57:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:57:40 + ls -al . 20:57:40 total 272 20:57:40 drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 20:56 . 20:57:40 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 20:55 .. 20:57:40 -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 20:55 .dockerignore 20:57:40 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 20:57 .git 20:57:40 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 20:55 .github 20:57:40 -rw-rw-r-- 1 jenkins jenkins 131 Feb 14 20:55 .gitignore 20:57:40 -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 20:55 .golangci.yml 20:57:40 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 20:56 .semver 20:57:40 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 14 20:55 CHANGELOG.md 20:57:40 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 20:55 GOVERNANCE.md 20:57:40 -rw-rw-r-- 1 jenkins jenkins 885 Feb 14 20:55 Jenkinsfile 20:57:40 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 14 20:55 LICENSE 20:57:40 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 14 20:55 Makefile 20:57:40 -rw-rw-r-- 1 jenkins jenkins 619 Feb 14 20:55 OWNERS.md 20:57:40 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 14 20:55 README.md 20:57:40 -rw-rw-r-- 1 jenkins jenkins 12 Feb 14 20:56 VERSION 20:57:40 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 20:55 bin 20:57:40 -rw-r--r-- 1 jenkins jenkins 98700 Feb 14 20:57 coverage.out 20:57:40 drwxrwxr-x 5 jenkins jenkins 4096 Feb 14 20:55 example 20:57:40 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 14 20:55 go.mod 20:57:40 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 14 20:55 go.sum 20:57:40 drwxrwxr-x 13 jenkins jenkins 4096 Feb 14 20:55 internal 20:57:40 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 20:55 openapi 20:57:40 drwxrwxr-x 6 jenkins jenkins 4096 Feb 14 20:55 pkg 20:57:40 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 20:55 snap 20:57:40 -rw-rw-r-- 1 jenkins jenkins 222 Feb 14 20:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:40 + 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=8b9fd5bc22bc5ff949621087fe72c38333f95112 --label arch=amd64 --label version=3.0.0-dev.27 . 20:57:40 Sending build context to Docker daemon 10.52MB 20:57:40 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 20:57:40 Step 2/23 : FROM ${BASE} AS builder 20:57:40 ---> f4fe699e3a23 20:57:40 Step 3/23 : ARG MAKE=make build 20:57:41 ---> Running in 64badb1c8a10 20:57:41 Removing intermediate container 64badb1c8a10 20:57:41 ---> 2e326af0d806 20:57:41 Step 4/23 : WORKDIR /device-sdk-go 20:57:41 ---> Running in c0f9960cf77c 20:57:41 Removing intermediate container c0f9960cf77c 20:57:41 ---> 249cfdc461ff 20:57:41 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:57:41 ---> Running in 6d6b3481a052 20:57:41 Removing intermediate container 6d6b3481a052 20:57:41 ---> c9ab22b0739e 20:57:41 Step 6/23 : RUN apk add --update --no-cache make git 20:57:41 ---> Running in fdc74d47f85a 20:57:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:57:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:57:42 OK: 211 MiB in 51 packages 20:57:42 Removing intermediate container fdc74d47f85a 20:57:42 ---> b13fca29a102 20:57:42 Step 7/23 : COPY go.mod vendor* ./ 20:57:42 ---> 1ea48c6e5b4c 20:57:42 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:57:42 ---> Running in a4a3f68f124f 20:57:43 Removing intermediate container a4a3f68f124f 20:57:43 ---> 73ea4e697c13 20:57:43 Step 9/23 : COPY . . 20:57:43 ---> e03fadd2fe4c 20:57:43 Step 10/23 : RUN ${MAKE} 20:57:43 ---> Running in 88d4fff10f98 20:57:44 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.27" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:58:02 Removing intermediate container 88d4fff10f98 20:58:02 ---> 49d755e212ba 20:58:02 Step 11/23 : FROM alpine:3.16 20:58:02 3.16: Pulling from library/alpine 20:58:02 ef5531b6e74e: Pulling fs layer 20:58:02 ef5531b6e74e: Verifying Checksum 20:58:02 ef5531b6e74e: Download complete 20:58:02 ef5531b6e74e: Pull complete 20:58:03 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 20:58:03 Status: Downloaded newer image for alpine:3.16 20:58:03 ---> dfd21b5a31f5 20:58:03 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:58:03 ---> Running in 5551cd0280cc 20:58:03 Removing intermediate container 5551cd0280cc 20:58:03 ---> 519472271a39 20:58:03 Step 13/23 : RUN apk add --update --no-cache 20:58:03 ---> Running in 9e15a74ad75d 20:58:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:58:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:58:03 OK: 6 MiB in 14 packages 20:58:04 Removing intermediate container 9e15a74ad75d 20:58:04 ---> c50f1447c78f 20:58:04 Step 14/23 : WORKDIR / 20:58:04 ---> Running in aa9d27d2a129 20:58:04 Removing intermediate container aa9d27d2a129 20:58:04 ---> dd3d387dd5b8 20:58:04 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:58:04 ---> 5d370bba1fe0 20:58:04 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:58:05 ---> 1dab2bd6adb4 20:58:05 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:58:05 ---> 6207127ada3f 20:58:05 Step 18/23 : EXPOSE 59999 20:58:05 ---> Running in ac59bdb68e65 20:58:05 Removing intermediate container ac59bdb68e65 20:58:05 ---> e9b9e675fd6d 20:58:05 Step 19/23 : ENTRYPOINT ["/device-simple"] 20:58:05 ---> Running in 0c429c8d47f2 20:58:05 Removing intermediate container 0c429c8d47f2 20:58:05 ---> c304f93e3855 20:58:05 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:58:05 ---> Running in 2d7a25a545c5 20:58:05 Removing intermediate container 2d7a25a545c5 20:58:05 ---> 6ad6287b461a 20:58:05 Step 21/23 : LABEL arch=amd64 20:58:05 ---> Running in d4e7d93502d0 20:58:05 Removing intermediate container d4e7d93502d0 20:58:05 ---> 329bc2ed0cef 20:58:05 Step 22/23 : LABEL git_sha=8b9fd5bc22bc5ff949621087fe72c38333f95112 20:58:05 ---> Running in f2df1dfe7d9d 20:58:05 Removing intermediate container f2df1dfe7d9d 20:58:05 ---> 7f2d4c6bbf44 20:58:05 Step 23/23 : LABEL version=3.0.0-dev.27 20:58:05 ---> Running in 0e6009e66864 20:58:05 Removing intermediate container 0e6009e66864 20:58:05 ---> 64ae8eecae32 20:58:05 [Warning] One or more build-args [ARCH] were not consumed 20:58:05 Successfully built 64ae8eecae32 20:58:05 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 20:58:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:06 20:58:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:06 latest: Pulling from edgex-lftools-log-publisher 20:58:06 5eb5b503b376: Pulling fs layer 20:58:06 5c69ac0246d0: Pulling fs layer 20:58:06 ec43610c2a17: Pulling fs layer 20:58:06 3a2ae6a8a46f: Pulling fs layer 20:58:06 33b1e0a273af: Pulling fs layer 20:58:06 5d3b04190fa2: Pulling fs layer 20:58:06 2f39f015ded8: Pulling fs layer 20:58:06 33b1e0a273af: Waiting 20:58:06 5d3b04190fa2: Waiting 20:58:06 2f39f015ded8: Waiting 20:58:06 3a2ae6a8a46f: Waiting 20:58:06 5c69ac0246d0: Download complete 20:58:06 3a2ae6a8a46f: Verifying Checksum 20:58:06 3a2ae6a8a46f: Download complete 20:58:06 33b1e0a273af: Download complete 20:58:06 5d3b04190fa2: Verifying Checksum 20:58:06 5d3b04190fa2: Download complete 20:58:06 ec43610c2a17: Verifying Checksum 20:58:06 ec43610c2a17: Download complete 20:58:07 5eb5b503b376: Verifying Checksum 20:58:07 5eb5b503b376: Download complete 20:58:07 2f39f015ded8: Download complete 20:58:08 5eb5b503b376: Pull complete 20:58:08 5c69ac0246d0: Pull complete 20:58:08 ec43610c2a17: Pull complete 20:58:08 3a2ae6a8a46f: Pull complete 20:58:08 33b1e0a273af: Pull complete 20:58:08 5d3b04190fa2: Pull complete 20:58:13 2f39f015ded8: Pull complete 20:58:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:58:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:13 prd-ubuntu20.04-docker-8c-8g-5894 does not seem to be running inside a container 20:58:13 $ 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 20:58:15 $ docker top 8d95da9d79c6cbbc797cbb803b7297294b669db653f60417a1d7bc4682c95d94 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:15 ---> job-cost.sh 20:58:15 lf-activate-venv: SKIPPING 20:58:15 INFO: No Stack... 20:58:15 INFO: Retrieving Pricing Info for: v3-standard-8 20:58:16 INFO: Archiving Costs [Pipeline] sh 20:58:16 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 20:58:16 + cut -d, -f6 [Pipeline] lock 20:58:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-157-stack-cost] 20:58:16 Resource [jenkins-edgexfoundry-device-sdk-go-main-157-stack-cost] did not exist. Created. 20:58:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-157-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:58:16 + echo total: 0.2199999988079071 [Pipeline] stash 20:58:16 Stashed 1 file(s) [Pipeline] } 20:58:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-157-stack-cost] [Pipeline] // lock [Pipeline] } 20:58:16 $ docker stop --time=1 8d95da9d79c6cbbc797cbb803b7297294b669db653f60417a1d7bc4682c95d94 20:58:18 $ docker rm -f --volumes 8d95da9d79c6cbbc797cbb803b7297294b669db653f60417a1d7bc4682c95d94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:59:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5896 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 20:59:05 Running in /w/workspace/device-sdk-go/157 [Pipeline] { [Pipeline] checkout 20:59:05 The recommended git tool is: git 20:59:11 using credential edgex-jenkins-ssh 20:59:11 Cloning the remote Git repository 20:59:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:59:11 > git init /w/workspace/device-sdk-go/157 # timeout=10 20:59:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:59:12 > git --version # timeout=10 20:59:12 > git --version # 'git version 2.25.1' 20:59:12 using GIT_SSH to set credentials SSH Credentials for GitHub 20:59:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:59:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:59:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:59:17 Avoid second fetch 20:59:17 Checking out Revision 8b9fd5bc22bc5ff949621087fe72c38333f95112 (main) 20:59:18 Commit message: "Merge pull request #1320 from ejlee3/refactor-private-config" 20:59:17 > git config core.sparsecheckout # timeout=10 20:59:17 > git checkout -f 8b9fd5bc22bc5ff949621087fe72c38333f95112 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:59:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:59:19 % Total % Received % Xferd Average Speed Time Time Time Current 20:59:19 Dload Upload Total Spent Left Speed 20:59:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 81737 [Pipeline] sh 20:59:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:59:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 20:59:20 sudo tee /etc/docker/daemon.new 20:59:20 { 20:59:20 "registry-mirrors": [ 20:59:20 "https://nexus3.edgexfoundry.org:10001" 20:59:20 ], 20:59:20 "bip": "10.250.0.254/24", 20:59:20 "hosts": [ 20:59:20 "tcp://0.0.0.0:5555", 20:59:20 "unix:///var/run/docker.sock" 20:59:20 ], 20:59:20 "mtu": 1458, 20:59:20 "selinux-enabled": true, 20:59:20 "seccomp-profile": "/etc/docker/seccomp.json" 20:59:20 } [Pipeline] sh 20:59:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:59:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:39 provisioning config files... 20:59:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/157@tmp/config5076000599475191786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:39 ---> docker-login.sh 20:59:39 nexus3.edgexfoundry.org:10001 20:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:40 Configure a credential helper to remove this warning. See 20:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:40 20:59:40 Login Succeeded 20:59:40 nexus3.edgexfoundry.org:10002 20:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:40 Configure a credential helper to remove this warning. See 20:59:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:40 20:59:40 Login Succeeded 20:59:40 nexus3.edgexfoundry.org:10003 20:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:41 Configure a credential helper to remove this warning. See 20:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:41 20:59:41 Login Succeeded 20:59:41 nexus3.edgexfoundry.org:10004 20:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:41 Configure a credential helper to remove this warning. See 20:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:41 20:59:41 Login Succeeded 20:59:41 docker.io 20:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:41 Configure a credential helper to remove this warning. See 20:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:41 20:59:41 Login Succeeded 20:59:41 ---> docker-login.sh ends [Pipeline] } 20:59:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:59:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:42 ========================================================= 20:59:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:59:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:42 + 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 . 20:59:42 Sending build context to Docker daemon 5.589MB 20:59:42 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:59:42 Step 2/10 : FROM ${BASE} AS builder 20:59:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:59:43 9b18e9b68314: Pulling fs layer 20:59:43 35d82f9e3411: Pulling fs layer 20:59:43 e16973657156: Pulling fs layer 20:59:43 fc693d55d65f: Pulling fs layer 20:59:43 7e9fc2657dce: Pulling fs layer 20:59:43 dda99020689f: Pulling fs layer 20:59:43 db1c61fa0a46: Pulling fs layer 20:59:43 891c053d2c06: Pulling fs layer 20:59:43 fc693d55d65f: Waiting 20:59:43 7e9fc2657dce: Waiting 20:59:43 dda99020689f: Waiting 20:59:43 db1c61fa0a46: Waiting 20:59:43 891c053d2c06: Waiting 20:59:43 e16973657156: Verifying Checksum 20:59:43 e16973657156: Download complete 20:59:43 35d82f9e3411: Verifying Checksum 20:59:43 35d82f9e3411: Download complete 20:59:43 7e9fc2657dce: Verifying Checksum 20:59:43 7e9fc2657dce: Download complete 20:59:43 dda99020689f: Verifying Checksum 20:59:43 dda99020689f: Download complete 20:59:43 9b18e9b68314: Verifying Checksum 20:59:43 9b18e9b68314: Download complete 20:59:44 9b18e9b68314: Pull complete 20:59:44 891c053d2c06: Verifying Checksum 20:59:44 891c053d2c06: Download complete 20:59:44 35d82f9e3411: Pull complete 20:59:45 e16973657156: Pull complete 20:59:45 db1c61fa0a46: Verifying Checksum 20:59:45 db1c61fa0a46: Download complete 20:59:46 fc693d55d65f: Verifying Checksum 20:59:46 fc693d55d65f: Download complete 20:59:58 fc693d55d65f: Pull complete 20:59:58 7e9fc2657dce: Pull complete 20:59:58 dda99020689f: Pull complete 21:00:03 db1c61fa0a46: Pull complete 21:00:06 891c053d2c06: Pull complete 21:00:06 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:00:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:00:06 ---> f96f9c87975a 21:00:06 Step 3/10 : ARG MAKE=make build 21:00:08 ---> Running in 1726ae47d681 21:00:08 Removing intermediate container 1726ae47d681 21:00:08 ---> 962f3e3ae523 21:00:08 Step 4/10 : WORKDIR /device-sdk-go 21:00:08 ---> Running in 76b2c0094bdc 21:00:09 Removing intermediate container 76b2c0094bdc 21:00:09 ---> d0979fadfec3 21:00:09 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:00:09 ---> Running in e134bfc5f295 21:00:09 Removing intermediate container e134bfc5f295 21:00:09 ---> 56f0da7313c8 21:00:09 Step 6/10 : RUN apk add --update --no-cache make git 21:00:09 ---> Running in af9ac7a1ffbd 21:00:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:00:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:00:12 OK: 221 MiB in 51 packages 21:00:13 Removing intermediate container af9ac7a1ffbd 21:00:13 ---> 64574438255b 21:00:13 Step 7/10 : COPY go.mod vendor* ./ 21:00:13 ---> 835dfcd458a7 21:00:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:13 ---> Running in a4368e31f63e 21:01:35 Removing intermediate container a4368e31f63e 21:01:35 ---> a3105570f2af 21:01:35 Step 9/10 : COPY . . 21:01:35 ---> 7a34e97e5f23 21:01:35 Step 10/10 : RUN ${MAKE} 21:01:35 ---> Running in d1bb5856972d 21:01:35 noop 21:01:35 Removing intermediate container d1bb5856972d 21:01:35 ---> ce8254541d90 21:01:35 Successfully built ce8254541d90 21:01:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:36 + docker inspect -f . ci-base-image-arm64 21:01:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:36 prd-ubuntu20.04-docker-arm64-4c-16g-5896 does not seem to be running inside a container 21:01:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/157 -v /w/workspace/device-sdk-go/157:/w/workspace/device-sdk-go/157:rw,z -v /w/workspace/device-sdk-go/157@tmp:/w/workspace/device-sdk-go/157@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 21:01:37 $ docker top d9dc874b6284692c137ccaa5781122d6bd925e0ee1ad8d8eeb1eb374433db6da -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:38 + go version 21:01:38 go version go1.18.7 linux/arm64 [Pipeline] } 21:01:38 $ docker stop --time=1 d9dc874b6284692c137ccaa5781122d6bd925e0ee1ad8d8eeb1eb374433db6da 21:01:40 $ docker rm -f --volumes d9dc874b6284692c137ccaa5781122d6bd925e0ee1ad8d8eeb1eb374433db6da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:40 + docker inspect -f . ci-base-image-arm64 21:01:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:40 prd-ubuntu20.04-docker-arm64-4c-16g-5896 does not seem to be running inside a container 21:01:40 $ 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/157 -v /w/workspace/device-sdk-go/157:/w/workspace/device-sdk-go/157:rw,z -v /w/workspace/device-sdk-go/157@tmp:/w/workspace/device-sdk-go/157@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 21:01:42 $ docker top 0f622222aa4d83e56a27a8b908e1b9cf663cdebc68ab5bdfc11818ae40e4ffb5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:43 + git config --global --add safe.directory /w/workspace/device-sdk-go/157 [Pipeline] fileExists [Pipeline] sh 21:01:43 + make test 21:01:43 go test -race -coverprofile=coverage.out ./... 21:02:22 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 21:04:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 21:04:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 21:04:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 21:04:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 21:04:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 21:04:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.357s coverage: 27.6% of statements 21:04:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.289s coverage: 78.9% of statements 21:04:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 21:04:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.470s coverage: 78.1% of statements 21:04:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 21:04:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 21:04:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.630s coverage: 77.0% of statements 21:04:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 21:04:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 21:04:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 21:04:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.474s coverage: 65.2% of statements 21:04:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 21:04:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 21:04:34 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.322s coverage: 89.2% of statements 21:04:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 21:04:34 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.340s coverage: 4.7% of statements 21:04:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 21:04:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:04:35 GO111MODULE=on go vet ./... 21:06:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:06:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:06:11 ./bin/test-attribution-txt.sh [Pipeline] echo 21:06:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:06:11 $ docker stop --time=1 0f622222aa4d83e56a27a8b908e1b9cf663cdebc68ab5bdfc11818ae40e4ffb5 21:06:13 $ docker rm -f --volumes 0f622222aa4d83e56a27a8b908e1b9cf663cdebc68ab5bdfc11818ae40e4ffb5 [Pipeline] // withDockerContainer [Pipeline] sh 21:06:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:06:15 Warning: overwriting stash ‘coverage-report’ 21:06:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:06:16 + ls -al . 21:06:16 total 268 21:06:16 drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 21:01 . 21:06:16 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 20:59 .. 21:06:16 -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 20:59 .dockerignore 21:06:16 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 20:59 .git 21:06:16 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 20:59 .github 21:06:16 -rw-rw-r-- 1 jenkins jenkins 131 Feb 14 20:59 .gitignore 21:06:16 -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 20:59 .golangci.yml 21:06:16 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 14 20:59 CHANGELOG.md 21:06:16 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 20:59 GOVERNANCE.md 21:06:16 -rw-rw-r-- 1 jenkins jenkins 885 Feb 14 20:59 Jenkinsfile 21:06:16 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 14 20:59 LICENSE 21:06:16 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 14 20:59 Makefile 21:06:16 -rw-rw-r-- 1 jenkins jenkins 619 Feb 14 20:59 OWNERS.md 21:06:16 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 14 20:59 README.md 21:06:16 -rw-rw-r-- 1 jenkins jenkins 12 Feb 14 20:56 VERSION 21:06:16 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 20:59 bin 21:06:16 -rw-r--r-- 1 jenkins jenkins 98700 Feb 14 21:04 coverage.out 21:06:16 drwxrwxr-x 5 jenkins jenkins 4096 Feb 14 20:59 example 21:06:16 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 14 20:59 go.mod 21:06:16 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 14 20:59 go.sum 21:06:16 drwxrwxr-x 13 jenkins jenkins 4096 Feb 14 20:59 internal 21:06:16 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 20:59 openapi 21:06:16 drwxrwxr-x 6 jenkins jenkins 4096 Feb 14 20:59 pkg 21:06:16 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 20:59 snap 21:06:16 -rw-rw-r-- 1 jenkins jenkins 222 Feb 14 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:16 + 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=8b9fd5bc22bc5ff949621087fe72c38333f95112 --label arch=arm64 --label version=3.0.0-dev.27 . 21:06:17 Sending build context to Docker daemon 5.688MB 21:06:17 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 21:06:17 Step 2/23 : FROM ${BASE} AS builder 21:06:17 ---> ce8254541d90 21:06:17 Step 3/23 : ARG MAKE=make build 21:06:17 ---> Running in e5a25337c7b7 21:06:17 Removing intermediate container e5a25337c7b7 21:06:17 ---> 87b9a57c2712 21:06:17 Step 4/23 : WORKDIR /device-sdk-go 21:06:17 ---> Running in 4511b5f5a6b0 21:06:18 Removing intermediate container 4511b5f5a6b0 21:06:18 ---> c827a644c671 21:06:18 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:06:18 ---> Running in 84178b076c18 21:06:18 Removing intermediate container 84178b076c18 21:06:18 ---> ebe2d37667d8 21:06:18 Step 6/23 : RUN apk add --update --no-cache make git 21:06:18 ---> Running in 219a6783f1a3 21:06:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:06:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:06:20 OK: 221 MiB in 51 packages 21:06:21 Removing intermediate container 219a6783f1a3 21:06:21 ---> e13bdb465894 21:06:21 Step 7/23 : COPY go.mod vendor* ./ 21:06:22 ---> db520a945843 21:06:22 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:22 ---> Running in e1fdf0f75417 21:06:25 Removing intermediate container e1fdf0f75417 21:06:25 ---> 6d6927f509af 21:06:25 Step 9/23 : COPY . . 21:06:26 ---> 0ce3ac454c81 21:06:26 Step 10/23 : RUN ${MAKE} 21:06:26 ---> Running in baf617ce1a2e 21:06:27 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.27" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:08:34 Removing intermediate container baf617ce1a2e 21:08:34 ---> 3dc4e971251f 21:08:34 Step 11/23 : FROM alpine:3.16 21:08:34 3.16: Pulling from library/alpine 21:08:34 3760b48202b3: Pulling fs layer 21:08:34 3760b48202b3: Download complete 21:08:34 3760b48202b3: Pull complete 21:08:34 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 21:08:34 Status: Downloaded newer image for alpine:3.16 21:08:34 ---> 4c81e5bf8899 21:08:34 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:08:34 ---> Running in 3385c8bbc268 21:08:34 Removing intermediate container 3385c8bbc268 21:08:34 ---> 0f424e3f328d 21:08:34 Step 13/23 : RUN apk add --update --no-cache 21:08:34 ---> Running in f6d7fa339741 21:08:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:08:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:08:34 OK: 5 MiB in 14 packages 21:08:34 Removing intermediate container f6d7fa339741 21:08:34 ---> 86c8b8a7cd1e 21:08:34 Step 14/23 : WORKDIR / 21:08:34 ---> Running in da9a88a96a8e 21:08:34 Removing intermediate container da9a88a96a8e 21:08:34 ---> 164f9d37ae09 21:08:34 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:08:34 ---> 0698bf31cf0e 21:08:34 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:08:36 ---> 1ff7e9737204 21:08:36 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:08:36 ---> ee513f373e30 21:08:36 Step 18/23 : EXPOSE 59999 21:08:36 ---> Running in 5c0d2ac700a3 21:08:36 Removing intermediate container 5c0d2ac700a3 21:08:36 ---> a34fc832f5e1 21:08:36 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:08:36 ---> Running in 83b8527cfacc 21:08:36 Removing intermediate container 83b8527cfacc 21:08:36 ---> 3ce650f93e2e 21:08:36 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:08:37 ---> Running in 13904a782cef 21:08:37 Removing intermediate container 13904a782cef 21:08:37 ---> a6fb6423d83b 21:08:37 Step 21/23 : LABEL arch=arm64 21:08:37 ---> Running in 604761d4f3c4 21:08:37 Removing intermediate container 604761d4f3c4 21:08:37 ---> c91c659cb4cb 21:08:37 Step 22/23 : LABEL git_sha=8b9fd5bc22bc5ff949621087fe72c38333f95112 21:08:37 ---> Running in 6ac54978b11d 21:08:38 Removing intermediate container 6ac54978b11d 21:08:38 ---> f3f9f5db9803 21:08:38 Step 23/23 : LABEL version=3.0.0-dev.27 21:08:38 ---> Running in 14eb1a6a5b83 21:08:38 Removing intermediate container 14eb1a6a5b83 21:08:38 ---> b58a15c2bbc7 21:08:38 [Warning] One or more build-args [ARCH] were not consumed 21:08:38 Successfully built b58a15c2bbc7 21:08:38 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 21:08:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:38 21:08:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:39 arm64: Pulling from edgex-lftools-log-publisher 21:08:39 8998bd30e6a1: Pulling fs layer 21:08:39 04944245beec: Pulling fs layer 21:08:39 699f458cf7ca: Pulling fs layer 21:08:39 765212b225bb: Pulling fs layer 21:08:39 f23df028b6ca: Pulling fs layer 21:08:39 d65c8cfc05b1: Pulling fs layer 21:08:39 2437ff75d9bd: Pulling fs layer 21:08:39 f23df028b6ca: Waiting 21:08:39 765212b225bb: Waiting 21:08:39 2437ff75d9bd: Waiting 21:08:39 d65c8cfc05b1: Waiting 21:08:39 04944245beec: Verifying Checksum 21:08:39 04944245beec: Download complete 21:08:39 765212b225bb: Verifying Checksum 21:08:39 765212b225bb: Download complete 21:08:39 f23df028b6ca: Verifying Checksum 21:08:39 f23df028b6ca: Download complete 21:08:39 d65c8cfc05b1: Verifying Checksum 21:08:39 d65c8cfc05b1: Download complete 21:08:39 699f458cf7ca: Verifying Checksum 21:08:39 699f458cf7ca: Download complete 21:08:39 8998bd30e6a1: Verifying Checksum 21:08:39 8998bd30e6a1: Download complete 21:08:41 2437ff75d9bd: Verifying Checksum 21:08:41 2437ff75d9bd: Download complete 21:08:43 8998bd30e6a1: Pull complete 21:08:44 04944245beec: Pull complete 21:08:45 699f458cf7ca: Pull complete 21:08:45 765212b225bb: Pull complete 21:08:46 f23df028b6ca: Pull complete 21:08:46 d65c8cfc05b1: Pull complete 21:09:01 2437ff75d9bd: Pull complete 21:09:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:09:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:01 prd-ubuntu20.04-docker-arm64-4c-16g-5896 does not seem to be running inside a container 21:09:02 $ 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/157 -v /w/workspace/device-sdk-go/157:/w/workspace/device-sdk-go/157:rw,z -v /w/workspace/device-sdk-go/157@tmp:/w/workspace/device-sdk-go/157@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 21:09:04 $ docker top 86092580447e8165fa49a1a7df3c962857ef2661310b8a1c243d26ed8ebf5f63 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:05 ---> job-cost.sh 21:09:05 lf-activate-venv: SKIPPING 21:09:05 INFO: No Stack... 21:09:09 INFO: Retrieving Pricing Info for: v3-standard-4 21:09:10 INFO: Archiving Costs [Pipeline] sh 21:09:11 + + cat /w/workspace/device-sdk-go/157/archives/cost.csvcut -d, 21:09:11 -f6 [Pipeline] lock 21:09:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-157-stack-cost] 21:09:11 Resource [jenkins-edgexfoundry-device-sdk-go-main-157-stack-cost] did not exist. Created. 21:09:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-157-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:11 /w/workspace/device-sdk-go/157@tmp/durable-ae2077bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:09:11 + echo total: 0.10999999940395355 [Pipeline] stash 21:09:12 Warning: overwriting stash ‘stack-cost’ 21:09:12 Stashed 1 file(s) [Pipeline] } 21:09:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-157-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:12 $ docker stop --time=1 86092580447e8165fa49a1a7df3c962857ef2661310b8a1c243d26ed8ebf5f63 21:09:13 $ docker rm -f --volumes 86092580447e8165fa49a1a7df3c962857ef2661310b8a1c243d26ed8ebf5f63 [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 21:09:14 provisioning config files... 21:09:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6623389959981118473tmp [Pipeline] { [Pipeline] sh 21:09:14 + set +x 21:09:14 + curl -s https://codecov.io/bash 21:09:14 + bash -s -- 21:09:14 21:09:14 _____ _ 21:09:14 / ____| | | 21:09:14 | | ___ __| | ___ ___ _____ __ 21:09:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:09:14 | |___| (_) | (_| | __/ (_| (_) \ V / 21:09:14 \_____\___/ \__,_|\___|\___\___/ \_/ 21:09:14 Bash-1.0.6 21:09:14 21:09:14 21:09:14 ==> git version 2.25.1 found 21:09:14 ==> 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 21:09:14 Release-Date: 2020-01-08 21:09:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:09:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:09:14 ==> Jenkins CI detected. 21:09:14 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 21:09:14 project root: . 21:09:14 --> token set from env 21:09:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:09:14 ==> Running gcov in . (disable via -X gcov) 21:09:14 ==> Python coveragepy not found 21:09:14 ==> Searching for coverage reports in: 21:09:14 + . 21:09:14 -> Found 1 reports 21:09:14 ==> Detecting git/mercurial file structure 21:09:14 ==> Reading reports 21:09:14 + ./coverage.out bytes=98700 21:09:14 ==> Appending adjustments 21:09:14 https://docs.codecov.io/docs/fixing-reports 21:09:14 + Found adjustments 21:09:14 ==> Gzipping contents 21:09:14 16K /tmp/codecov.ebpKPC.gz 21:09:14 ==> Uploading reports 21:09:14 url: https://codecov.io 21:09:14 query: branch=main&commit=8b9fd5bc22bc5ff949621087fe72c38333f95112&build=157&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F157%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:09:14 -> Pinging Codecov 21:09:14 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=8b9fd5bc22bc5ff949621087fe72c38333f95112&build=157&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F157%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:09:15 -> Uploading to 21:09:15 https://storage.googleapis.com/codecov/v4/raw/2023-02-14/7E55EF52A471D76F132DFD9A03CDDE97/8b9fd5bc22bc5ff949621087fe72c38333f95112/5017f914-bc60-4e17-8965-45e90bfad1f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230214T210914Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c0a1f1c364bd2b96da0a970b992507452e753b2f48666fb3c09fabc77c647c9c 21:09:15 % Total % Received % Xferd Average Speed Time Time Time Current 21:09:15 Dload Upload Total Spent Left Speed 21:09:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14320 0 0 100 14320 0 52647 --:--:-- --:--:-- --:--:-- 52647 21:09:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8b9fd5bc22bc5ff949621087fe72c38333f95112 [Pipeline] } 21:09:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:09:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:09:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:09:16 21:09:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:09:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:09:16 df9b9388f04a: Pulling fs layer 21:09:16 52dc419b0ee2: Pulling fs layer 21:09:16 25bc292e5bac: Pulling fs layer 21:09:16 114826534d7a: Pulling fs layer 21:09:16 4657fd5d0bcf: Pulling fs layer 21:09:16 6ad1cebc031e: Pulling fs layer 21:09:16 8a3aa393b2d8: Pulling fs layer 21:09:16 4657fd5d0bcf: Waiting 21:09:16 8a3aa393b2d8: Waiting 21:09:16 114826534d7a: Waiting 21:09:16 6ad1cebc031e: Waiting 21:09:16 25bc292e5bac: Verifying Checksum 21:09:16 25bc292e5bac: Download complete 21:09:16 52dc419b0ee2: Verifying Checksum 21:09:16 52dc419b0ee2: Download complete 21:09:16 4657fd5d0bcf: Verifying Checksum 21:09:16 4657fd5d0bcf: Download complete 21:09:16 df9b9388f04a: Verifying Checksum 21:09:16 df9b9388f04a: Download complete 21:09:16 df9b9388f04a: Pull complete 21:09:16 52dc419b0ee2: Pull complete 21:09:16 25bc292e5bac: Pull complete 21:09:16 6ad1cebc031e: Verifying Checksum 21:09:16 6ad1cebc031e: Download complete 21:09:17 114826534d7a: Verifying Checksum 21:09:17 114826534d7a: Download complete 21:09:18 8a3aa393b2d8: Verifying Checksum 21:09:18 8a3aa393b2d8: Download complete 21:09:21 114826534d7a: Pull complete 21:09:21 4657fd5d0bcf: Pull complete 21:09:21 6ad1cebc031e: Pull complete 21:09:24 8a3aa393b2d8: Pull complete 21:09:24 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:09:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:09:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:24 prd-ubuntu20.04-docker-8c-8g-5894 does not seem to be running inside a container 21:09:24 $ 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 21:09:26 $ docker top cf87ce6de511d9fd01cb73c22f62ffdc77d878f674bef99340d096afa45e8f13 -eo pid,comm [Pipeline] { [Pipeline] echo 21:09:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 21:09:26 + set -o pipefail 21:09:26 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 21:09:32 21:09:32 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 21:09:32 21:09:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/eb04df61-380c-4612-9f66-509a398a9495 21:09:32 21:09:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:09:32 21:09:32 21:09:32 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:09:32 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:09:32 More details here: https://snyk.co/ue1NS [Pipeline] } 21:09:32 $ docker stop --time=1 cf87ce6de511d9fd01cb73c22f62ffdc77d878f674bef99340d096afa45e8f13 21:09:34 $ docker rm -f --volumes cf87ce6de511d9fd01cb73c22f62ffdc77d878f674bef99340d096afa45e8f13 [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 21:09:34 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:34 provisioning config files... 21:09:34 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2566598193107099119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:34 --> edgex-publish-swagger.sh 21:09:34 === Publish openapi/v3 API === 21:09:34 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 21:09:34 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 21:09:34 % Total % Received % Xferd Average Speed Time Time Time Current 21:09:34 Dload Upload Total Spent Left Speed 21:09:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 25278 0 0 100 25278 0 53897 --:--:-- --:--:-- --:--:-- 53897 21:09:35 21:09:35 [Pipeline] } 21:09:35 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 21:09:35 + git log --format=format:%s -1 8b9fd5bc22bc5ff949621087fe72c38333f95112 [Pipeline] sh 21:09:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:09:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:36 prd-ubuntu20.04-docker-8c-8g-5894 does not seem to be running inside a container 21:09:36 $ 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 21:09:36 $ docker top 4e6fac51e787de65839df571fc7ac894f812b1f77627ced43f6d43a4d884443f -eo pid,comm 21:09:36 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). 21:09:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:09:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:09:36 [ssh-agent] Looking for ssh-agent implementation... 21:09:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:09:36 $ docker exec 4e6fac51e787de65839df571fc7ac894f812b1f77627ced43f6d43a4d884443f ssh-agent 21:09:37 SSH_AUTH_SOCK=/tmp/ssh-dMvN16IjY91G/agent.33 21:09:37 SSH_AGENT_PID=39 21:09:37 Running ssh-add (command line suppressed) 21:09:37 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6621933171526855138.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6621933171526855138.key) 21:09:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:09:37 + git semver tag 21:09:37 2023-02-14 21:09:37,695 [run_tag] DEBUG tag force:False 21:09:37 2023-02-14 21:09:37,695 [check_head_tag] DEBUG check head tag 21:09:37 2023-02-14 21:09:37,696 [execute] INFO git cat-file --batch-check 21:09:37 2023-02-14 21:09:37,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:09:37 2023-02-14 21:09:37,700 [execute] INFO git cat-file --batch 21:09:37 2023-02-14 21:09:37,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:09:37 2023-02-14 21:09:37,730 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:09:37 2023-02-14 21:09:37,730 [execute] INFO git tag -a v3.0.0-dev.27 -m v3.0.0-dev.27 21:09:37 2023-02-14 21:09:37,730 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.27', '-m', 'v3.0.0-dev.27'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:09:37 2023-02-14 21:09:37,735 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:09:37 3.0.0-dev.27 [Pipeline] } 21:09:38 $ docker exec --env ******** --env ******** 4e6fac51e787de65839df571fc7ac894f812b1f77627ced43f6d43a4d884443f ssh-agent -k 21:09:38 unset SSH_AUTH_SOCK; 21:09:38 unset SSH_AGENT_PID; 21:09:38 echo Agent pid 39 killed; 21:09:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:09:38 + git semver [Pipeline] } 21:09:39 $ docker stop --time=1 4e6fac51e787de65839df571fc7ac894f812b1f77627ced43f6d43a4d884443f 21:09:40 $ docker rm -f --volumes 4e6fac51e787de65839df571fc7ac894f812b1f77627ced43f6d43a4d884443f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:09:40 21:09:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:09:41 0.23.1-centos7: Pulling from edgex-lftools 21:09:41 ab5ef0e58194: Pulling fs layer 21:09:41 9712f1f96733: Pulling fs layer 21:09:41 63f879dbbcfc: Pulling fs layer 21:09:41 0d9ebad4ef96: Pulling fs layer 21:09:41 e9a5061849ea: Pulling fs layer 21:09:41 d747dcd14b5f: Pulling fs layer 21:09:41 2de7ff778b66: Pulling fs layer 21:09:41 0d9ebad4ef96: Waiting 21:09:41 e9a5061849ea: Waiting 21:09:41 d747dcd14b5f: Waiting 21:09:41 2de7ff778b66: Waiting 21:09:41 9712f1f96733: Verifying Checksum 21:09:41 9712f1f96733: Download complete 21:09:42 63f879dbbcfc: Verifying Checksum 21:09:42 63f879dbbcfc: Download complete 21:09:42 ab5ef0e58194: Verifying Checksum 21:09:42 ab5ef0e58194: Download complete 21:09:42 e9a5061849ea: Verifying Checksum 21:09:42 e9a5061849ea: Download complete 21:09:42 d747dcd14b5f: Download complete 21:09:42 0d9ebad4ef96: Verifying Checksum 21:09:42 0d9ebad4ef96: Download complete 21:09:42 2de7ff778b66: Verifying Checksum 21:09:42 2de7ff778b66: Download complete 21:09:45 ab5ef0e58194: Pull complete 21:09:45 9712f1f96733: Pull complete 21:09:45 63f879dbbcfc: Pull complete 21:09:48 0d9ebad4ef96: Pull complete 21:09:48 e9a5061849ea: Pull complete 21:09:48 d747dcd14b5f: Pull complete 21:09:49 2de7ff778b66: Pull complete 21:09:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:09:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:09:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:49 prd-ubuntu20.04-docker-8c-8g-5894 does not seem to be running inside a container 21:09:49 $ 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 21:09:52 $ docker top 90245115b0134dd109e66b4573f4bd0461213859e9418f9d5fab3a849926e80f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:09:52 provisioning config files... 21:09:52 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4422001639342751303tmp 21:09:52 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14625180332586061408tmp 21:09:52 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17093518372520946876tmp [Pipeline] { [Pipeline] echo 21:09:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:09:52 ---> sigul-configuration.sh 21:09:52 gpg: directory `/root/.gnupg' created 21:09:52 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:09:52 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:09:52 gpg: keyring `/root/.gnupg/secring.gpg' created 21:09:52 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:09:52 gpg: CAST5 encrypted data 21:09:52 gpg: encrypted with 1 passphrase 21:09:52 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:09:53 + mkdir /home/jenkins 21:09:53 + mkdir /home/jenkins/sigul [Pipeline] sh 21:09:53 + 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 21:09:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:09:53 ---> sigul-install.sh 21:09:53 Sigul already installed; skipping installation. [Pipeline] sh 21:09:54 + git tag --list 21:09:54 0.7.1 21:09:54 delhi-tag 21:09:54 v1.0.0 21:09:54 v1.1.0 21:09:54 v1.1.1 21:09:54 v1.1.2 21:09:54 v1.2.0 21:09:54 v1.2.1 21:09:54 v1.2.2 21:09:54 v1.2.3 21:09:54 v1.3.0 21:09:54 v1.4.0 21:09:54 v2.0.0 21:09:54 v2.1.0 21:09:54 v2.1.1 21:09:54 v2.1.1-dev.2 21:09:54 v2.1.1-dev.3 21:09:54 v2.2.0 21:09:54 v2.2.1-dev.1 21:09:54 v2.2.1-dev.10 21:09:54 v2.2.1-dev.11 21:09:54 v2.2.1-dev.12 21:09:54 v2.2.1-dev.13 21:09:54 v2.2.1-dev.14 21:09:54 v2.2.1-dev.2 21:09:54 v2.2.1-dev.3 21:09:54 v2.2.1-dev.4 21:09:54 v2.2.1-dev.5 21:09:54 v2.2.1-dev.6 21:09:54 v2.2.1-dev.7 21:09:54 v2.2.1-dev.8 21:09:54 v2.2.1-dev.9 21:09:54 v2.3.0 21:09:54 v2.3.0-dev.14 21:09:54 v2.3.0-dev.15 21:09:54 v2.3.0-dev.16 21:09:54 v2.3.0-dev.17 21:09:54 v2.3.0-dev.18 21:09:54 v2.3.0-dev.19 21:09:54 v2.3.0-dev.20 21:09:54 v2.3.0-dev.21 21:09:54 v2.3.0-dev.22 21:09:54 v2.3.0-dev.23 21:09:54 v2.3.0-dev.24 21:09:54 v2.3.0-dev.25 21:09:54 v2.3.0-dev.26 21:09:54 v2.3.0-dev.27 21:09:54 v2.3.0-dev.28 21:09:54 v2.3.0-dev.29 21:09:54 v2.3.0-dev.30 21:09:54 v2.3.0-dev.31 21:09:54 v2.3.0-dev.32 21:09:54 v2.3.0-dev.33 21:09:54 v2.3.0-dev.34 21:09:54 v2.3.0-dev.35 21:09:54 v2.3.0-dev.36 21:09:54 v2.3.0-dev.37 21:09:54 v2.3.0-dev.38 21:09:54 v2.3.0-dev.39 21:09:54 v2.3.0-dev.40 21:09:54 v2.3.0-dev.41 21:09:54 v2.3.0-dev.42 21:09:54 v2.3.0-dev.43 21:09:54 v2.3.0-dev.44 21:09:54 v2.3.0-dev.45 21:09:54 v2.3.0-dev.46 21:09:54 v2.3.0-dev.47 21:09:54 v2.3.0-dev.48 21:09:54 v2.3.0-dev.49 21:09:54 v2.3.0-dev.50 21:09:54 v2.3.0-dev.51 21:09:54 v2.3.1-dev.1 21:09:54 v2.3.1-dev.2 21:09:54 v3.0.0-dev.1 21:09:54 v3.0.0-dev.10 21:09:54 v3.0.0-dev.11 21:09:54 v3.0.0-dev.12 21:09:54 v3.0.0-dev.13 21:09:54 v3.0.0-dev.14 21:09:54 v3.0.0-dev.15 21:09:54 v3.0.0-dev.16 21:09:54 v3.0.0-dev.17 21:09:54 v3.0.0-dev.18 21:09:54 v3.0.0-dev.19 21:09:54 v3.0.0-dev.2 21:09:54 v3.0.0-dev.20 21:09:54 v3.0.0-dev.21 21:09:54 v3.0.0-dev.22 21:09:54 v3.0.0-dev.23 21:09:54 v3.0.0-dev.24 21:09:54 v3.0.0-dev.25 21:09:54 v3.0.0-dev.26 21:09:54 v3.0.0-dev.27 21:09:54 v3.0.0-dev.3 21:09:54 v3.0.0-dev.4 21:09:54 v3.0.0-dev.5 21:09:54 v3.0.0-dev.6 21:09:54 v3.0.0-dev.7 21:09:54 v3.0.0-dev.8 21:09:54 v3.0.0-dev.9 [Pipeline] sh 21:09:54 + lftools sign git-tag v3.0.0-dev.27 21:09:54 Signing Git tag with Sigul... 21:09:54 Signing v3.0.0-dev.27 [Pipeline] echo 21:09:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:09:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:09:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:09:55 $ docker stop --time=1 90245115b0134dd109e66b4573f4bd0461213859e9418f9d5fab3a849926e80f 21:09:56 $ docker rm -f --volumes 90245115b0134dd109e66b4573f4bd0461213859e9418f9d5fab3a849926e80f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:09:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:09:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:57 prd-ubuntu20.04-docker-8c-8g-5894 does not seem to be running inside a container 21:09:57 $ 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 21:09:57 $ docker top b58511ebc78e80bad34158fed062479894bd1c5c6ea854bee5e6fc211b936ca9 -eo pid,comm 21:09:58 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). 21:09:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:09:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:09:58 [ssh-agent] Looking for ssh-agent implementation... 21:09:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:09:58 $ docker exec b58511ebc78e80bad34158fed062479894bd1c5c6ea854bee5e6fc211b936ca9 ssh-agent 21:09:58 SSH_AUTH_SOCK=/tmp/ssh-yAePXAbutSts/agent.32 21:09:58 SSH_AGENT_PID=38 21:09:58 Running ssh-add (command line suppressed) 21:09:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14661922111793126605.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14661922111793126605.key) 21:09:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:09:58 + git semver bump pre 21:09:58 2023-02-14 21:09:58,858 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:09:58 2023-02-14 21:09:58,859 [bump_version] DEBUG bumping version:3.0.0-dev.27 on axis:pre with prefix:dev 21:09:58 2023-02-14 21:09:58,859 [bump_version] DEBUG bumped version:3.0.0-dev.28 21:09:58 2023-02-14 21:09:58,859 [write_version] DEBUG write version:3.0.0-dev.28 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 21:09:58 2023-02-14 21:09:58,859 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:09:58 2023-02-14 21:09:58,859 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:09:58 2023-02-14 21:09:58,861 [execute] INFO git cat-file --batch-check 21:09:58 2023-02-14 21:09:58,861 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:09:58 2023-02-14 21:09:58,865 [execute] INFO git cat-file --batch 21:09:58 2023-02-14 21:09:58,865 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:09:58 2023-02-14 21:09:58,870 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:09:58 3.0.0-dev.28 [Pipeline] } 21:09:58 $ docker exec --env ******** --env ******** b58511ebc78e80bad34158fed062479894bd1c5c6ea854bee5e6fc211b936ca9 ssh-agent -k 21:09:59 unset SSH_AUTH_SOCK; 21:09:59 unset SSH_AGENT_PID; 21:09:59 echo Agent pid 38 killed; 21:09:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:09:59 + git semver [Pipeline] } 21:09:59 $ docker stop --time=1 b58511ebc78e80bad34158fed062479894bd1c5c6ea854bee5e6fc211b936ca9 21:10:00 $ docker rm -f --volumes b58511ebc78e80bad34158fed062479894bd1c5c6ea854bee5e6fc211b936ca9 [Pipeline] // withDockerContainer [Pipeline] sh 21:10:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:10:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:10:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:01 prd-ubuntu20.04-docker-8c-8g-5894 does not seem to be running inside a container 21:10:01 $ 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 21:10:02 $ docker top 17bcd2d603553c72f676e603825a3d30c5ca072c7df5ba8a8d6eb17852f27619 -eo pid,comm 21:10:02 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). 21:10:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:10:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:10:02 [ssh-agent] Looking for ssh-agent implementation... 21:10:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:10:02 $ docker exec 17bcd2d603553c72f676e603825a3d30c5ca072c7df5ba8a8d6eb17852f27619 ssh-agent 21:10:02 SSH_AUTH_SOCK=/tmp/ssh-9mi3c3kV7M7g/agent.32 21:10:02 SSH_AGENT_PID=38 21:10:02 Running ssh-add (command line suppressed) 21:10:02 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13075085013986567777.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13075085013986567777.key) 21:10:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:10:02 + git semver push 21:10:03 2023-02-14 21:10:02,936 [run_push] DEBUG push 21:10:03 2023-02-14 21:10:02,937 [execute] INFO git cat-file --batch-check 21:10:03 2023-02-14 21:10:02,937 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:10:03 2023-02-14 21:10:02,940 [execute] INFO git rev-list 72bf40ced169cddbb337cc83e3c41e41f514c338 -- 21:10:03 2023-02-14 21:10:02,941 [execute] DEBUG Popen(['git', 'rev-list', '72bf40ced169cddbb337cc83e3c41e41f514c338', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:10:03 2023-02-14 21:10:02,952 [execute] INFO git fetch -v origin 21:10:03 2023-02-14 21:10:02,952 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:10:03 2023-02-14 21:10:03,812 [run_push] DEBUG no remote changes detected 21:10:03 2023-02-14 21:10:03,812 [execute] INFO git push origin semver 21:10:03 2023-02-14 21:10:03,813 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:10:04 2023-02-14 21:10:04,728 [run_push] DEBUG push all version tags 21:10:04 2023-02-14 21:10:04,728 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:10:04 2023-02-14 21:10:04,729 [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) 21:10:06 2023-02-14 21:10:06,125 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:10:06 3.0.0-dev.28 [Pipeline] } 21:10:06 $ docker exec --env ******** --env ******** 17bcd2d603553c72f676e603825a3d30c5ca072c7df5ba8a8d6eb17852f27619 ssh-agent -k 21:10:06 unset SSH_AUTH_SOCK; 21:10:06 unset SSH_AGENT_PID; 21:10:06 echo Agent pid 38 killed; 21:10:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:10:06 + git semver [Pipeline] } 21:10:06 $ docker stop --time=1 17bcd2d603553c72f676e603825a3d30c5ca072c7df5ba8a8d6eb17852f27619 21:10:08 $ docker rm -f --volumes 17bcd2d603553c72f676e603825a3d30c5ca072c7df5ba8a8d6eb17852f27619 [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 21:10:08 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 21:10:08 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:10:08 total 16 21:10:08 drwxr-xr-x 3 root root 4096 Feb 14 20:58 . 21:10:08 drwxrwxr-x 12 jenkins jenkins 4096 Feb 14 21:09 .. 21:10:08 drwxr-xr-x 2 root root 4096 Feb 14 20:58 cost 21:10:08 -rw-r--r-- 1 root root 85 Feb 14 20:58 cost.csv 21:10:08 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:10:08 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:10:08 total 16 21:10:08 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 20:58 . 21:10:08 drwxrwxr-x 12 jenkins jenkins 4096 Feb 14 21:09 .. 21:10:08 drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 20:58 cost 21:10:08 -rw-r--r-- 1 jenkins jenkins 85 Feb 14 20:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:10:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:10:09 ---> package-listing.sh 21:10:09 ++ facter osfamily 21:10:09 ++ tr '[:upper:]' '[:lower:]' 21:10:10 + OS_FAMILY=debian 21:10:10 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 21:10:10 + START_PACKAGES=/tmp/packages_start.txt 21:10:10 + END_PACKAGES=/tmp/packages_end.txt 21:10:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:10:10 + PACKAGES=/tmp/packages_start.txt 21:10:10 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 21:10:10 + PACKAGES=/tmp/packages_end.txt 21:10:10 + case "${OS_FAMILY}" in 21:10:10 + dpkg -l 21:10:10 + grep '^ii' 21:10:10 + '[' -f /tmp/packages_start.txt ']' 21:10:10 + '[' -f /tmp/packages_end.txt ']' 21:10:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:10:10 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 21:10:10 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 21:10:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 21:10:10 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 21:10:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:11 prd-ubuntu20.04-docker-8c-8g-5894 does not seem to be running inside a container 21:10:11 $ 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 21:10:11 $ docker top b3cae9eb5efde1ad9b69b67562f253a6997d17cb83908576cdd67d4dfa2fcd97 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:11 + touch /tmp/pre-build-complete [Pipeline] sh 21:10:11 + mkdir -p /var/log/sysstat [Pipeline] sh 21:10:12 + ls /var/log/sa-host 21:10:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:12 provisioning config files... 21:10:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2530069678946117382tmp [Pipeline] { [Pipeline] echo 21:10:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:10:12 ---> create-netrc.sh [Pipeline] } 21:10:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:10:13 ---> python-tools-install.sh [Pipeline] echo 21:10:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:10:13 ---> sudo-logs.sh 21:10:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:10:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:10:13 ---> job-cost.sh 21:10:13 lf-activate-venv: SKIPPING 21:10:13 DEBUG: total: 0.2199999988079071 21:10:13 INFO: Retrieving Stack Cost... 21:10:13 INFO: Retrieving Pricing Info for: v3-standard-8 21:10:14 INFO: Archiving Costs [Pipeline] echo 21:10:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:10:14 ---> logs-deploy.sh 21:10:14 lf-activate-venv: SKIPPING 21:10:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/157 21:10:14 INFO: archiving workspace using pattern(s): 21:10:15 Archives upload complete. 21:10:15 INFO: archiving logs to Nexus