Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bf4aa2dff0c0a7f4a97997804f6014e11af12954 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-ssh9243280002478747241.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-ssh1950764193467549143.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-ssh13281621186713998342.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-ssh12450593721418615728.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-ssh85072492202165341.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6401 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision bf4aa2dff0c0a7f4a97997804f6014e11af12954 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf4aa2dff0c0a7f4a97997804f6014e11af12954 # timeout=10 Commit message: "Merge pull request #1328 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v3-3.0.0-dev.16" > git rev-list --no-walk 44494171fcaded074de32712625f564a2da22111 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:14:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:14:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:14:24 ========================================================= 06:14:24 EdgeX Global Pipelines Version Info 06:14:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:14:24 ------------------- 06:14:24 stable info: 06:14:24 ------------------- 06:14:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:14:24 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:14:24 Message: update stable to v1.0.244 06:14:25 ------------------- 06:14:25 experimental info: 06:14:25 ------------------- 06:14:25 Commited By: **** collab-it+edgex@linuxfoundation.org 06:14:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:14:25 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:14:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:14:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:14:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf4aa2dff0c0a7f4a97997804f6014e11af12954 [Pipeline] echo 06:14:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf4aa2d [Pipeline] echo 06:14:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:14:26 provisioning config files... 06:14:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15885023583015314188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:26 ---> docker-login.sh 06:14:26 nexus3.edgexfoundry.org:10001 06:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:26 Configure a credential helper to remove this warning. See 06:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:26 06:14:26 Login Succeeded 06:14:26 nexus3.edgexfoundry.org:10002 06:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:26 Configure a credential helper to remove this warning. See 06:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:26 06:14:26 Login Succeeded 06:14:26 nexus3.edgexfoundry.org:10003 06:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:26 Configure a credential helper to remove this warning. See 06:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:26 06:14:26 Login Succeeded 06:14:26 nexus3.edgexfoundry.org:10004 06:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:27 Configure a credential helper to remove this warning. See 06:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:27 06:14:27 Login Succeeded 06:14:27 docker.io 06:14:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:27 Configure a credential helper to remove this warning. See 06:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:27 06:14:27 Login Succeeded 06:14:27 ---> docker-login.sh ends [Pipeline] } 06:14:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:14:27 + git rev-list -1 --merges bf4aa2dff0c0a7f4a97997804f6014e11af12954~1..bf4aa2dff0c0a7f4a97997804f6014e11af12954 [Pipeline] echo 06:14:27 -----------> git rev-list -1 --merges bf4aa2dff0c0a7f4a97997804f6014e11af12954~1..bf4aa2dff0c0a7f4a97997804f6014e11af12954 bf4aa2dff0c0a7f4a97997804f6014e11af12954 06:14:27 bf4aa2dff0c0a7f4a97997804f6014e11af12954 [false] [Pipeline] sh 06:14:28 + git log --format=format:%s -1 bf4aa2dff0c0a7f4a97997804f6014e11af12954 [Pipeline] echo 06:14:28 ========================================================= 06:14:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:14:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:14:28 + git log --format=format:%s -1 bf4aa2dff0c0a7f4a97997804f6014e11af12954 [Pipeline] echo 06:14:28 [semverPrep] GIT_COMMIT: bf4aa2dff0c0a7f4a97997804f6014e11af12954, Commit Message: Merge pull request #1328 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v3-3.0.0-dev.16 [Pipeline] echo 06:14:28 [semverPrep] This is not a build commit. [Pipeline] sh 06:14:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:14:28 + grep -v github /etc/ssh/ssh_known_hosts 06:14:28 + [ -e /tmp/ssh_known_hosts ] 06:14:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:14:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:14:28 + sudo tee -a /etc/ssh/ssh_known_hosts 06:14:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:29 06:14:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:29 0.1.4: Pulling from edgex-devops/py-git-semver 06:14:29 b85a868b505f: Pulling fs layer 06:14:29 e2be974225ed: Pulling fs layer 06:14:29 339a4e72a1f5: Pulling fs layer 06:14:29 988bab9f4d93: Pulling fs layer 06:14:29 1469e6f7b9e6: Pulling fs layer 06:14:29 eaf3925da568: Pulling fs layer 06:14:29 bab4dde63d76: Pulling fs layer 06:14:29 988bab9f4d93: Waiting 06:14:29 1469e6f7b9e6: Waiting 06:14:29 eaf3925da568: Waiting 06:14:29 bde34c3a00c8: Pulling fs layer 06:14:29 b352a97aabf1: Pulling fs layer 06:14:29 4872d77fe225: Pulling fs layer 06:14:29 b352a97aabf1: Waiting 06:14:29 bde34c3a00c8: Waiting 06:14:29 5851b861e8e6: Pulling fs layer 06:14:29 4872d77fe225: Waiting 06:14:29 5851b861e8e6: Waiting 06:14:29 e2be974225ed: Verifying Checksum 06:14:29 e2be974225ed: Download complete 06:14:29 988bab9f4d93: Verifying Checksum 06:14:29 988bab9f4d93: Download complete 06:14:30 339a4e72a1f5: Verifying Checksum 06:14:30 339a4e72a1f5: Download complete 06:14:30 1469e6f7b9e6: Verifying Checksum 06:14:30 1469e6f7b9e6: Download complete 06:14:30 eaf3925da568: Download complete 06:14:30 bde34c3a00c8: Download complete 06:14:30 b85a868b505f: Verifying Checksum 06:14:30 b85a868b505f: Download complete 06:14:30 4872d77fe225: Verifying Checksum 06:14:30 4872d77fe225: Download complete 06:14:30 5851b861e8e6: Verifying Checksum 06:14:30 b352a97aabf1: Verifying Checksum 06:14:30 b352a97aabf1: Download complete 06:14:30 bab4dde63d76: Download complete 06:14:31 b85a868b505f: Pull complete 06:14:31 e2be974225ed: Pull complete 06:14:31 339a4e72a1f5: Pull complete 06:14:32 988bab9f4d93: Pull complete 06:14:32 1469e6f7b9e6: Pull complete 06:14:32 eaf3925da568: Pull complete 06:14:34 bab4dde63d76: Pull complete 06:14:34 bde34c3a00c8: Pull complete 06:14:34 b352a97aabf1: Pull complete 06:14:34 4872d77fe225: Pull complete 06:14:34 5851b861e8e6: Pull complete 06:14:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:14:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:34 prd-ubuntu20.04-docker-8c-8g-6401 does not seem to be running inside a container 06:14:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:14:37 $ docker top fe4233292a139b247e97a5f4ffc13311ad0e8098189a7884d5d53f32cdfdc92b -eo pid,comm 06:14:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:14:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:14:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:37 [ssh-agent] Looking for ssh-agent implementation... 06:14:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:37 $ docker exec fe4233292a139b247e97a5f4ffc13311ad0e8098189a7884d5d53f32cdfdc92b ssh-agent 06:14:38 SSH_AUTH_SOCK=/tmp/ssh-p2QRnib5GWra/agent.31 06:14:38 SSH_AGENT_PID=37 06:14:38 Running ssh-add (command line suppressed) 06:14:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6946646850554745017.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6946646850554745017.key) 06:14:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:38 + git tag --points-at HEAD [Pipeline] } 06:14:38 $ docker exec --env ******** --env ******** fe4233292a139b247e97a5f4ffc13311ad0e8098189a7884d5d53f32cdfdc92b ssh-agent -k 06:14:38 unset SSH_AUTH_SOCK; 06:14:38 unset SSH_AGENT_PID; 06:14:38 echo Agent pid 37 killed; 06:14:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:14:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:38 [ssh-agent] Looking for ssh-agent implementation... 06:14:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:38 $ docker exec fe4233292a139b247e97a5f4ffc13311ad0e8098189a7884d5d53f32cdfdc92b ssh-agent 06:14:38 SSH_AUTH_SOCK=/tmp/ssh-JpePzoBx4HZO/agent.69 06:14:38 SSH_AGENT_PID=75 06:14:38 Running ssh-add (command line suppressed) 06:14:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_61594471108930610.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_61594471108930610.key) 06:14:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:39 + git semver init 06:14:39 2023-02-17 06:14:39,521 [run_init] DEBUG init version:0.0.0 force:False 06:14:39 2023-02-17 06:14:39,523 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:14:39 2023-02-17 06:14:39,524 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:14:39 2023-02-17 06:14:39,524 [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) 06:14:40 2023-02-17 06:14:40,683 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 06:14:40 2023-02-17 06:14:40,684 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 06:14:40 2023-02-17 06:14:40,684 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:14:40 2023-02-17 06:14:40,684 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:14:40 3.0.0-dev.32 [Pipeline] } 06:14:40 $ docker exec --env ******** --env ******** fe4233292a139b247e97a5f4ffc13311ad0e8098189a7884d5d53f32cdfdc92b ssh-agent -k 06:14:41 unset SSH_AUTH_SOCK; 06:14:41 unset SSH_AGENT_PID; 06:14:41 echo Agent pid 75 killed; 06:14:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:14:41 + git semver [Pipeline] } 06:14:41 $ docker stop --time=1 fe4233292a139b247e97a5f4ffc13311ad0e8098189a7884d5d53f32cdfdc92b 06:14:43 $ docker rm -f --volumes fe4233292a139b247e97a5f4ffc13311ad0e8098189a7884d5d53f32cdfdc92b [Pipeline] // withDockerContainer [Pipeline] sh 06:14:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:14:44 Stashed 1 file(s) [Pipeline] echo 06:14:44 [edgeXSemver]: initialized semver on version 3.0.0-dev.32 [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 06:14:44 provisioning config files... 06:14:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3843625381643828580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:44 ---> docker-login.sh 06:14:44 nexus3.edgexfoundry.org:10001 06:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:44 Configure a credential helper to remove this warning. See 06:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:44 06:14:44 Login Succeeded 06:14:44 nexus3.edgexfoundry.org:10002 06:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:44 Configure a credential helper to remove this warning. See 06:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:44 06:14:44 Login Succeeded 06:14:44 nexus3.edgexfoundry.org:10003 06:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:44 Configure a credential helper to remove this warning. See 06:14:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:44 06:14:44 Login Succeeded 06:14:44 nexus3.edgexfoundry.org:10004 06:14:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:45 Configure a credential helper to remove this warning. See 06:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:45 06:14:45 Login Succeeded 06:14:45 docker.io 06:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:45 Configure a credential helper to remove this warning. See 06:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:45 06:14:45 Login Succeeded 06:14:45 ---> docker-login.sh ends [Pipeline] } 06:14:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:14:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:14:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:14:45 ========================================================= 06:14:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:14:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:45 + 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 . 06:14:45 Sending build context to Docker daemon 10.49MB 06:14:45 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:14:45 Step 2/10 : FROM ${BASE} AS builder 06:14:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:14:45 213ec9aee27d: Pulling fs layer 06:14:45 4583459ba037: Pulling fs layer 06:14:45 93c1e223e6f2: Pulling fs layer 06:14:45 53926ce57604: Pulling fs layer 06:14:45 21b2b0c7a3f4: Pulling fs layer 06:14:45 22ff95d597cd: Pulling fs layer 06:14:45 21b2b0c7a3f4: Waiting 06:14:45 53926ce57604: Waiting 06:14:45 12d6caf4c0d1: Pulling fs layer 06:14:45 96b7cbca73a9: Pulling fs layer 06:14:45 a7acece74701: Pulling fs layer 06:14:45 12d6caf4c0d1: Waiting 06:14:45 96b7cbca73a9: Waiting 06:14:45 93c1e223e6f2: Download complete 06:14:45 4583459ba037: Verifying Checksum 06:14:45 4583459ba037: Download complete 06:14:45 21b2b0c7a3f4: Verifying Checksum 06:14:45 21b2b0c7a3f4: Download complete 06:14:45 22ff95d597cd: Verifying Checksum 06:14:45 22ff95d597cd: Download complete 06:14:45 213ec9aee27d: Verifying Checksum 06:14:45 213ec9aee27d: Download complete 06:14:46 12d6caf4c0d1: Download complete 06:14:46 213ec9aee27d: Pull complete 06:14:46 4583459ba037: Pull complete 06:14:46 93c1e223e6f2: Pull complete 06:14:47 a7acece74701: Verifying Checksum 06:14:47 a7acece74701: Download complete 06:14:47 53926ce57604: Verifying Checksum 06:14:47 53926ce57604: Download complete 06:14:47 96b7cbca73a9: Verifying Checksum 06:14:47 96b7cbca73a9: Download complete 06:14:51 53926ce57604: Pull complete 06:14:51 21b2b0c7a3f4: Pull complete 06:14:51 22ff95d597cd: Pull complete 06:14:51 12d6caf4c0d1: Pull complete 06:14:54 96b7cbca73a9: Pull complete 06:14:54 a7acece74701: Pull complete 06:14:54 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 06:14:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:14:54 ---> db6d94c90886 06:14:54 Step 3/10 : ARG MAKE=make build 06:14:59 Still waiting to schedule task 06:14:59 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:15:00 ---> Running in 9e0bf87218fb 06:15:00 Removing intermediate container 9e0bf87218fb 06:15:00 ---> e1b0de728adb 06:15:00 Step 4/10 : WORKDIR /device-sdk-go 06:15:00 ---> Running in b4410d0dc32a 06:15:00 Removing intermediate container b4410d0dc32a 06:15:00 ---> 7eac469afb33 06:15:00 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:15:00 ---> Running in d2b21848bccd 06:15:00 Removing intermediate container d2b21848bccd 06:15:00 ---> de91dcf18558 06:15:00 Step 6/10 : RUN apk add --update --no-cache make git 06:15:00 ---> Running in 6fe3a33444e8 06:15:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:15:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:15:00 OK: 211 MiB in 51 packages 06:15:01 Removing intermediate container 6fe3a33444e8 06:15:01 ---> bf0e45e5165e 06:15:01 Step 7/10 : COPY go.mod vendor* ./ 06:15:01 ---> f743978e9ace 06:15:01 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:01 ---> Running in e445f574b38f 06:15:40 Removing intermediate container e445f574b38f 06:15:40 ---> 610155d126d6 06:15:40 Step 9/10 : COPY . . 06:15:40 ---> db741938a769 06:15:40 Step 10/10 : RUN ${MAKE} 06:15:40 ---> Running in eb1a71ea32f4 06:15:40 noop 06:15:40 Removing intermediate container eb1a71ea32f4 06:15:40 ---> c70c764a7a28 06:15:40 Successfully built c70c764a7a28 06:15:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:40 + docker inspect -f . ci-base-image-x86_64 06:15:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:40 prd-ubuntu20.04-docker-8c-8g-6401 does not seem to be running inside a container 06:15:40 $ 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 ******** ci-base-image-x86_64 cat 06:15:40 $ docker top 51b205b80f03662ae138bfea06ac6da1307575f292a8ce81993ba9bb0c2e7f97 -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:41 + go version 06:15:41 go version go1.18.7 linux/amd64 [Pipeline] } 06:15:41 $ docker stop --time=1 51b205b80f03662ae138bfea06ac6da1307575f292a8ce81993ba9bb0c2e7f97 06:15:42 $ docker rm -f --volumes 51b205b80f03662ae138bfea06ac6da1307575f292a8ce81993ba9bb0c2e7f97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:43 + docker inspect -f . ci-base-image-x86_64 06:15:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:43 prd-ubuntu20.04-docker-8c-8g-6401 does not seem to be running inside a container 06:15:43 $ 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 ******** ci-base-image-x86_64 cat 06:15:43 $ docker top aad1070845ca852df1c22b4ef26036bc2bf27fbcf1f1dc5ba78e74f201bfa6bf -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:44 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 06:15:44 + make test 06:15:44 go test -race -coverprofile=coverage.out ./... 06:15:51 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:16:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.064s coverage: 27.6% of statements 06:16:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.095s coverage: 78.9% of statements 06:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 06:16:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.116s coverage: 77.8% of statements 06:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:16:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.111s coverage: 77.0% of statements 06:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 06:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 06:16:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.095s coverage: 65.2% of statements 06:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:16:05 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.804s coverage: 89.2% of statements 06:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 06:16:05 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.7% of statements 06:16:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:16:20 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." 06:16:20 GO111MODULE=on go vet ./... 06:16:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:16:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:16:24 ./bin/test-attribution-txt.sh [Pipeline] echo 06:16:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:16:24 $ docker stop --time=1 aad1070845ca852df1c22b4ef26036bc2bf27fbcf1f1dc5ba78e74f201bfa6bf 06:16:29 $ docker rm -f --volumes aad1070845ca852df1c22b4ef26036bc2bf27fbcf1f1dc5ba78e74f201bfa6bf [Pipeline] // withDockerContainer [Pipeline] sh 06:16:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:16:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:16:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:16:30 + ls -al . 06:16:30 total 272 06:16:30 drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 06:15 . 06:16:30 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 06:14 .. 06:16:30 -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 06:14 .dockerignore 06:16:30 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 06:16 .git 06:16:30 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 06:14 .github 06:16:30 -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 06:14 .gitignore 06:16:30 -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 06:14 .golangci.yml 06:16:30 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 06:14 .semver 06:16:30 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 06:14 CHANGELOG.md 06:16:30 -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 06:14 GOVERNANCE.md 06:16:30 -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 06:14 Jenkinsfile 06:16:30 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 06:14 LICENSE 06:16:30 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 06:14 Makefile 06:16:30 -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 06:14 OWNERS.md 06:16:30 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 06:14 README.md 06:16:30 -rw-rw-r-- 1 jenkins jenkins 12 Feb 17 06:14 VERSION 06:16:30 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 06:14 bin 06:16:30 -rw-r--r-- 1 jenkins jenkins 98700 Feb 17 06:16 coverage.out 06:16:30 drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 06:14 example 06:16:30 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 06:14 go.mod 06:16:30 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 06:14 go.sum 06:16:30 drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 06:14 internal 06:16:30 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 06:14 openapi 06:16:30 drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 06:14 pkg 06:16:30 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 06:14 snap 06:16:30 -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 06:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:31 + 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=bf4aa2dff0c0a7f4a97997804f6014e11af12954 --label arch=amd64 --label version=3.0.0-dev.32 . 06:16:31 Sending build context to Docker daemon 10.59MB 06:16:31 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 06:16:31 Step 2/23 : FROM ${BASE} AS builder 06:16:31 ---> c70c764a7a28 06:16:31 Step 3/23 : ARG MAKE=make build 06:16:31 ---> Running in 7f75b0c38089 06:16:31 Removing intermediate container 7f75b0c38089 06:16:31 ---> 16a2ab43af7a 06:16:31 Step 4/23 : WORKDIR /device-sdk-go 06:16:31 ---> Running in d9cbe1f3040c 06:16:32 Removing intermediate container d9cbe1f3040c 06:16:32 ---> 09ba6be2c5b7 06:16:32 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:16:32 ---> Running in c73ed39ae0f7 06:16:32 Removing intermediate container c73ed39ae0f7 06:16:32 ---> e82fdd307b66 06:16:32 Step 6/23 : RUN apk add --update --no-cache make git 06:16:32 ---> Running in a6a226576c8c 06:16:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:16:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:16:32 OK: 211 MiB in 51 packages 06:16:33 Removing intermediate container a6a226576c8c 06:16:33 ---> 6dcbc7cbe858 06:16:33 Step 7/23 : COPY go.mod vendor* ./ 06:16:33 ---> 8fe3049f817c 06:16:33 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:33 ---> Running in 19e0aa6574c9 06:16:34 Removing intermediate container 19e0aa6574c9 06:16:34 ---> 3bba3b7edabf 06:16:34 Step 9/23 : COPY . . 06:16:35 ---> d663502e5701 06:16:35 Step 10/23 : RUN ${MAKE} 06:16:35 ---> Running in 7d3438b0fde8 06:16:35 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.32" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:16:57 Removing intermediate container 7d3438b0fde8 06:16:57 ---> 05ee734b8406 06:16:57 Step 11/23 : FROM alpine:3.16 06:16:57 3.16: Pulling from library/alpine 06:16:57 ef5531b6e74e: Pulling fs layer 06:16:57 ef5531b6e74e: Verifying Checksum 06:16:57 ef5531b6e74e: Download complete 06:16:57 ef5531b6e74e: Pull complete 06:16:57 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 06:16:57 Status: Downloaded newer image for alpine:3.16 06:16:57 ---> dfd21b5a31f5 06:16:57 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:16:57 ---> Running in a80713414302 06:16:57 Removing intermediate container a80713414302 06:16:57 ---> b0b28be556e4 06:16:57 Step 13/23 : RUN apk add --update --no-cache 06:16:58 ---> Running in dbf173f248e8 06:16:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:16:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:16:58 OK: 6 MiB in 14 packages 06:16:59 Removing intermediate container dbf173f248e8 06:16:59 ---> 19b5badbf23c 06:16:59 Step 14/23 : WORKDIR / 06:16:59 ---> Running in 5e7557dbafab 06:16:59 Removing intermediate container 5e7557dbafab 06:16:59 ---> eb2b5e29a6d6 06:16:59 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:16:59 ---> 47abc827e04e 06:16:59 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:17:00 ---> 3a98141635cb 06:17:00 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:17:00 ---> 90e61379c7de 06:17:00 Step 18/23 : EXPOSE 59999 06:17:00 ---> Running in b4f8f1770488 06:17:00 Removing intermediate container b4f8f1770488 06:17:00 ---> cfc048c1e6ca 06:17:00 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:17:00 ---> Running in 34299e9dab24 06:17:00 Removing intermediate container 34299e9dab24 06:17:00 ---> 621443e33077 06:17:00 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:17:00 ---> Running in f9bc982da64b 06:17:00 Removing intermediate container f9bc982da64b 06:17:00 ---> 0d2f955351e4 06:17:00 Step 21/23 : LABEL arch=amd64 06:17:00 ---> Running in f33e1f317075 06:17:01 Removing intermediate container f33e1f317075 06:17:01 ---> 891b1a302b73 06:17:01 Step 22/23 : LABEL git_sha=bf4aa2dff0c0a7f4a97997804f6014e11af12954 06:17:01 ---> Running in 472d3b202037 06:17:01 Removing intermediate container 472d3b202037 06:17:01 ---> c0eb0164c5e6 06:17:01 Step 23/23 : LABEL version=3.0.0-dev.32 06:17:01 ---> Running in 9f0c8092b38f 06:17:01 Removing intermediate container 9f0c8092b38f 06:17:01 ---> cccb2522e877 06:17:01 [Warning] One or more build-args [ARCH] were not consumed 06:17:01 Successfully built cccb2522e877 06:17:01 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 06:17:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:01 06:17:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:02 latest: Pulling from edgex-lftools-log-publisher 06:17:02 5eb5b503b376: Pulling fs layer 06:17:02 5c69ac0246d0: Pulling fs layer 06:17:02 ec43610c2a17: Pulling fs layer 06:17:02 3a2ae6a8a46f: Pulling fs layer 06:17:02 33b1e0a273af: Pulling fs layer 06:17:02 5d3b04190fa2: Pulling fs layer 06:17:02 2f39f015ded8: Pulling fs layer 06:17:02 33b1e0a273af: Waiting 06:17:02 3a2ae6a8a46f: Waiting 06:17:02 5d3b04190fa2: Waiting 06:17:02 2f39f015ded8: Waiting 06:17:02 5c69ac0246d0: Download complete 06:17:02 3a2ae6a8a46f: Verifying Checksum 06:17:02 3a2ae6a8a46f: Download complete 06:17:02 33b1e0a273af: Verifying Checksum 06:17:02 33b1e0a273af: Download complete 06:17:02 ec43610c2a17: Download complete 06:17:02 5d3b04190fa2: Download complete 06:17:02 5eb5b503b376: Verifying Checksum 06:17:02 5eb5b503b376: Download complete 06:17:03 2f39f015ded8: Download complete 06:17:03 5eb5b503b376: Pull complete 06:17:04 5c69ac0246d0: Pull complete 06:17:04 ec43610c2a17: Pull complete 06:17:04 3a2ae6a8a46f: Pull complete 06:17:04 33b1e0a273af: Pull complete 06:17:04 5d3b04190fa2: Pull complete 06:17:10 2f39f015ded8: Pull complete 06:17:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:17:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:10 prd-ubuntu20.04-docker-8c-8g-6401 does not seem to be running inside a container 06:17:10 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:17:14 $ docker top 73c4eb8968a88aa3298537b46745c8361b62896dd23a35700b7be7ff8275f84b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:14 ---> job-cost.sh 06:17:14 lf-activate-venv: SKIPPING 06:17:14 INFO: No Stack... 06:17:15 INFO: Retrieving Pricing Info for: v3-standard-8 06:17:15 INFO: Archiving Costs [Pipeline] sh 06:17:15 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 06:17:15 + cut -d, -f6 [Pipeline] lock 06:17:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-162-stack-cost] 06:17:15 Resource [jenkins-edgexfoundry-device-sdk-go-main-162-stack-cost] did not exist. Created. 06:17:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-162-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:17:16 + echo total: 0.2199999988079071 [Pipeline] stash 06:17:16 Stashed 1 file(s) [Pipeline] } 06:17:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-162-stack-cost] [Pipeline] // lock [Pipeline] } 06:17:16 $ docker stop --time=1 73c4eb8968a88aa3298537b46745c8361b62896dd23a35700b7be7ff8275f84b 06:17:17 $ docker rm -f --volumes 73c4eb8968a88aa3298537b46745c8361b62896dd23a35700b7be7ff8275f84b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:17:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6403 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 06:17:26 Running in /w/workspace/device-sdk-go/162 [Pipeline] { [Pipeline] checkout 06:17:26 The recommended git tool is: git 06:17:37 using credential edgex-jenkins-ssh 06:17:37 Cloning the remote Git repository 06:17:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:17:37 > git init /w/workspace/device-sdk-go/162 # timeout=10 06:17:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:17:37 > git --version # timeout=10 06:17:37 > git --version # 'git version 2.25.1' 06:17:37 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:17:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:40 Avoid second fetch 06:17:40 Checking out Revision bf4aa2dff0c0a7f4a97997804f6014e11af12954 (main) 06:17:41 Commit message: "Merge pull request #1328 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v3-3.0.0-dev.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:40 > git config core.sparsecheckout # timeout=10 06:17:40 > git checkout -f bf4aa2dff0c0a7f4a97997804f6014e11af12954 # timeout=10 06:17:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:17:43 % Total % Received % Xferd Average Speed Time Time Time Current 06:17:43 Dload Upload Total Spent Left Speed 06:17:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 06:17:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:17:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:17:44 + sudo tee /etc/docker/daemon.new 06:17:44 { 06:17:44 "registry-mirrors": [ 06:17:44 "https://nexus3.edgexfoundry.org:10001" 06:17:44 ], 06:17:44 "bip": "10.250.0.254/24", 06:17:44 "hosts": [ 06:17:44 "tcp://0.0.0.0:5555", 06:17:44 "unix:///var/run/docker.sock" 06:17:44 ], 06:17:44 "mtu": 1458, 06:17:44 "selinux-enabled": true, 06:17:44 "seccomp-profile": "/etc/docker/seccomp.json" 06:17:44 } [Pipeline] sh 06:17:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:17:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:18:03 provisioning config files... 06:18:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/162@tmp/config16557712915071126410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:04 ---> docker-login.sh 06:18:04 nexus3.edgexfoundry.org:10001 06:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:04 Configure a credential helper to remove this warning. See 06:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:04 06:18:04 Login Succeeded 06:18:04 nexus3.edgexfoundry.org:10002 06:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:05 Configure a credential helper to remove this warning. See 06:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:05 06:18:05 Login Succeeded 06:18:05 nexus3.edgexfoundry.org:10003 06:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:05 Configure a credential helper to remove this warning. See 06:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:05 06:18:05 Login Succeeded 06:18:05 nexus3.edgexfoundry.org:10004 06:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:05 Configure a credential helper to remove this warning. See 06:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:05 06:18:05 Login Succeeded 06:18:06 docker.io 06:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:06 Configure a credential helper to remove this warning. See 06:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:06 06:18:06 Login Succeeded 06:18:06 ---> docker-login.sh ends [Pipeline] } 06:18:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:18:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:18:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:18:07 ========================================================= 06:18:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:18:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:07 + 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 . 06:18:07 Sending build context to Docker daemon 5.638MB 06:18:07 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:18:07 Step 2/10 : FROM ${BASE} AS builder 06:18:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:18:09 9b18e9b68314: Pulling fs layer 06:18:09 35d82f9e3411: Pulling fs layer 06:18:09 e16973657156: Pulling fs layer 06:18:09 fc693d55d65f: Pulling fs layer 06:18:09 7e9fc2657dce: Pulling fs layer 06:18:09 dda99020689f: Pulling fs layer 06:18:09 db1c61fa0a46: Pulling fs layer 06:18:09 891c053d2c06: Pulling fs layer 06:18:09 7e9fc2657dce: Waiting 06:18:09 dda99020689f: Waiting 06:18:09 db1c61fa0a46: Waiting 06:18:09 891c053d2c06: Waiting 06:18:09 fc693d55d65f: Waiting 06:18:10 e16973657156: Download complete 06:18:10 35d82f9e3411: Verifying Checksum 06:18:10 35d82f9e3411: Download complete 06:18:10 7e9fc2657dce: Verifying Checksum 06:18:10 7e9fc2657dce: Download complete 06:18:10 dda99020689f: Verifying Checksum 06:18:10 dda99020689f: Download complete 06:18:10 9b18e9b68314: Download complete 06:18:10 9b18e9b68314: Pull complete 06:18:11 891c053d2c06: Verifying Checksum 06:18:11 891c053d2c06: Download complete 06:18:11 35d82f9e3411: Pull complete 06:18:11 e16973657156: Pull complete 06:18:12 db1c61fa0a46: Verifying Checksum 06:18:12 db1c61fa0a46: Download complete 06:18:13 fc693d55d65f: Verifying Checksum 06:18:13 fc693d55d65f: Download complete 06:18:25 fc693d55d65f: Pull complete 06:18:25 7e9fc2657dce: Pull complete 06:18:25 dda99020689f: Pull complete 06:18:32 db1c61fa0a46: Pull complete 06:18:33 891c053d2c06: Pull complete 06:18:33 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 06:18:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:18:33 ---> f96f9c87975a 06:18:33 Step 3/10 : ARG MAKE=make build 06:18:34 ---> Running in 11d187467ae2 06:18:34 Removing intermediate container 11d187467ae2 06:18:34 ---> c9fece20c875 06:18:34 Step 4/10 : WORKDIR /device-sdk-go 06:18:34 ---> Running in 00f543e8e891 06:18:34 Removing intermediate container 00f543e8e891 06:18:34 ---> d7c931174018 06:18:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:18:35 ---> Running in 7b2b93adccc4 06:18:35 Removing intermediate container 7b2b93adccc4 06:18:35 ---> d2bf0c766562 06:18:35 Step 6/10 : RUN apk add --update --no-cache make git 06:18:35 ---> Running in 6c9fe44aca25 06:18:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:18:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:18:37 OK: 221 MiB in 51 packages 06:18:38 Removing intermediate container 6c9fe44aca25 06:18:38 ---> 6009e9024637 06:18:38 Step 7/10 : COPY go.mod vendor* ./ 06:18:39 ---> 85b240635d4c 06:18:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:18:39 ---> Running in baba0222e117 06:19:47 Removing intermediate container baba0222e117 06:19:47 ---> 803239b0b9ba 06:19:47 Step 9/10 : COPY . . 06:19:48 ---> 18fdfe562430 06:19:48 Step 10/10 : RUN ${MAKE} 06:19:48 ---> Running in 81e2f89f1fe8 06:19:49 noop 06:19:50 Removing intermediate container 81e2f89f1fe8 06:19:50 ---> dcbbb06db8b5 06:19:50 Successfully built dcbbb06db8b5 06:19:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:50 + docker inspect -f . ci-base-image-arm64 06:19:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:50 prd-ubuntu20.04-docker-arm64-4c-16g-6403 does not seem to be running inside a container 06:19:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/162 -v /w/workspace/device-sdk-go/162:/w/workspace/device-sdk-go/162:rw,z -v /w/workspace/device-sdk-go/162@tmp:/w/workspace/device-sdk-go/162@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 06:19:52 $ docker top 148a156ce92e7cfb08677f4bd928249f54f90a27dd714d21b1996fcfcb59169a -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:53 + go version 06:19:53 go version go1.18.7 linux/arm64 [Pipeline] } 06:19:53 $ docker stop --time=1 148a156ce92e7cfb08677f4bd928249f54f90a27dd714d21b1996fcfcb59169a 06:19:55 $ docker rm -f --volumes 148a156ce92e7cfb08677f4bd928249f54f90a27dd714d21b1996fcfcb59169a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:55 + docker inspect -f . ci-base-image-arm64 06:19:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:55 prd-ubuntu20.04-docker-arm64-4c-16g-6403 does not seem to be running inside a container 06:19:55 $ 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/162 -v /w/workspace/device-sdk-go/162:/w/workspace/device-sdk-go/162:rw,z -v /w/workspace/device-sdk-go/162@tmp:/w/workspace/device-sdk-go/162@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 06:19:57 $ docker top 5706c8fcb441f5693d2469f9d41f189b2c33ec4480d10aab4497fa670a86f83c -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:58 + git config --global --add safe.directory /w/workspace/device-sdk-go/162 [Pipeline] fileExists [Pipeline] sh 06:19:58 + make test 06:19:58 go test -race -coverprofile=coverage.out ./... 06:20:37 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:22:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:22:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:22:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:22:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:22:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:22:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.255s coverage: 27.6% of statements 06:22:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.328s coverage: 78.9% of statements 06:22:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 06:22:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.563s coverage: 77.8% of statements 06:22:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:22:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:22:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.524s coverage: 77.0% of statements 06:22:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:22:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 06:22:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 06:22:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.451s coverage: 65.2% of statements 06:22:50 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:22:50 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:22:50 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.802s coverage: 89.2% of statements 06:22:50 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 06:22:50 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.304s coverage: 4.7% of statements 06:22:50 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:22:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:22:51 GO111MODULE=on go vet ./... 06:24:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:24:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:24:28 ./bin/test-attribution-txt.sh [Pipeline] echo 06:24:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:24:29 $ docker stop --time=1 5706c8fcb441f5693d2469f9d41f189b2c33ec4480d10aab4497fa670a86f83c 06:24:31 $ docker rm -f --volumes 5706c8fcb441f5693d2469f9d41f189b2c33ec4480d10aab4497fa670a86f83c [Pipeline] // withDockerContainer [Pipeline] sh 06:24:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:24:32 Warning: overwriting stash ‘coverage-report’ 06:24:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:24:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:24:34 + ls -al . 06:24:34 total 268 06:24:34 drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 06:19 . 06:24:34 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 06:17 .. 06:24:34 -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 06:17 .dockerignore 06:24:34 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 06:17 .git 06:24:34 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 06:17 .github 06:24:34 -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 06:17 .gitignore 06:24:34 -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 06:17 .golangci.yml 06:24:34 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 06:17 CHANGELOG.md 06:24:34 -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 06:17 GOVERNANCE.md 06:24:34 -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 06:17 Jenkinsfile 06:24:34 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 06:17 LICENSE 06:24:34 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 06:17 Makefile 06:24:34 -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 06:17 OWNERS.md 06:24:34 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 06:17 README.md 06:24:34 -rw-rw-r-- 1 jenkins jenkins 12 Feb 17 06:14 VERSION 06:24:34 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 06:17 bin 06:24:34 -rw-r--r-- 1 jenkins jenkins 98700 Feb 17 06:22 coverage.out 06:24:34 drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 06:17 example 06:24:34 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 06:17 go.mod 06:24:34 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 06:17 go.sum 06:24:34 drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 06:17 internal 06:24:34 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 06:17 openapi 06:24:34 drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 06:17 pkg 06:24:34 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 06:17 snap 06:24:34 -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 06:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:34 + 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=bf4aa2dff0c0a7f4a97997804f6014e11af12954 --label arch=arm64 --label version=3.0.0-dev.32 . 06:24:35 Sending build context to Docker daemon 5.737MB 06:24:35 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 06:24:35 Step 2/23 : FROM ${BASE} AS builder 06:24:35 ---> dcbbb06db8b5 06:24:35 Step 3/23 : ARG MAKE=make build 06:24:35 ---> Running in 253eef22aa57 06:24:35 Removing intermediate container 253eef22aa57 06:24:35 ---> 45eb0817dcac 06:24:35 Step 4/23 : WORKDIR /device-sdk-go 06:24:35 ---> Running in cbf27420b632 06:24:36 Removing intermediate container cbf27420b632 06:24:36 ---> 131165a634cd 06:24:36 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:24:36 ---> Running in f040f4072e51 06:24:36 Removing intermediate container f040f4072e51 06:24:36 ---> a9f7e38f760c 06:24:36 Step 6/23 : RUN apk add --update --no-cache make git 06:24:36 ---> Running in 076cd2649147 06:24:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:24:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:24:39 OK: 221 MiB in 51 packages 06:24:40 Removing intermediate container 076cd2649147 06:24:40 ---> d39854d963f9 06:24:40 Step 7/23 : COPY go.mod vendor* ./ 06:24:40 ---> e1c249135c8e 06:24:40 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:24:40 ---> Running in 9b3eee6602be 06:24:43 Removing intermediate container 9b3eee6602be 06:24:43 ---> 3ab4e8db2190 06:24:43 Step 9/23 : COPY . . 06:24:44 ---> d2c8115637fc 06:24:44 Step 10/23 : RUN ${MAKE} 06:24:44 ---> Running in b835bcec4b95 06:24:46 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.32" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:27:09 Removing intermediate container b835bcec4b95 06:27:09 ---> 102efa5476bc 06:27:09 Step 11/23 : FROM alpine:3.16 06:27:10 3.16: Pulling from library/alpine 06:27:10 3760b48202b3: Pulling fs layer 06:27:10 3760b48202b3: Verifying Checksum 06:27:10 3760b48202b3: Download complete 06:27:11 3760b48202b3: Pull complete 06:27:11 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 06:27:11 Status: Downloaded newer image for alpine:3.16 06:27:11 ---> 4c81e5bf8899 06:27:11 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:27:11 ---> Running in 493104a10ad4 06:27:11 Removing intermediate container 493104a10ad4 06:27:11 ---> 831f0162da75 06:27:11 Step 13/23 : RUN apk add --update --no-cache 06:27:11 ---> Running in 32b3a5214bfd 06:27:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:27:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:27:14 OK: 5 MiB in 14 packages 06:27:15 Removing intermediate container 32b3a5214bfd 06:27:15 ---> e9aefb09d33f 06:27:15 Step 14/23 : WORKDIR / 06:27:15 ---> Running in 17e2b78a9521 06:27:15 Removing intermediate container 17e2b78a9521 06:27:15 ---> 36a508f3f052 06:27:15 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:27:16 ---> e147e3a956fe 06:27:16 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:27:17 ---> e8acfea0a4f0 06:27:17 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:27:18 ---> b2aacd184837 06:27:18 Step 18/23 : EXPOSE 59999 06:27:18 ---> Running in 130b68c9914d 06:27:18 Removing intermediate container 130b68c9914d 06:27:18 ---> ec4b54e60149 06:27:18 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:27:18 ---> Running in 28f14c2f8382 06:27:19 Removing intermediate container 28f14c2f8382 06:27:19 ---> 3dfec7e3d06e 06:27:19 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:27:19 ---> Running in 8759bdfbf911 06:27:19 Removing intermediate container 8759bdfbf911 06:27:19 ---> 85b6af5fab1e 06:27:19 Step 21/23 : LABEL arch=arm64 06:27:19 ---> Running in 557292e969de 06:27:20 Removing intermediate container 557292e969de 06:27:20 ---> b248df46971b 06:27:20 Step 22/23 : LABEL git_sha=bf4aa2dff0c0a7f4a97997804f6014e11af12954 06:27:20 ---> Running in 501b3aeb3e3c 06:27:20 Removing intermediate container 501b3aeb3e3c 06:27:20 ---> fdf5c16d7b4b 06:27:20 Step 23/23 : LABEL version=3.0.0-dev.32 06:27:20 ---> Running in 390399f3da8f 06:27:20 Removing intermediate container 390399f3da8f 06:27:20 ---> 3e8a2fc89d41 06:27:20 [Warning] One or more build-args [ARCH] were not consumed 06:27:20 Successfully built 3e8a2fc89d41 06:27:20 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 06:27:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:27:21 06:27:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:27:23 arm64: Pulling from edgex-lftools-log-publisher 06:27:23 8998bd30e6a1: Pulling fs layer 06:27:23 04944245beec: Pulling fs layer 06:27:23 699f458cf7ca: Pulling fs layer 06:27:23 765212b225bb: Pulling fs layer 06:27:23 f23df028b6ca: Pulling fs layer 06:27:23 d65c8cfc05b1: Pulling fs layer 06:27:23 2437ff75d9bd: Pulling fs layer 06:27:23 765212b225bb: Waiting 06:27:23 f23df028b6ca: Waiting 06:27:23 d65c8cfc05b1: Waiting 06:27:23 2437ff75d9bd: Waiting 06:27:23 04944245beec: Verifying Checksum 06:27:23 04944245beec: Download complete 06:27:23 765212b225bb: Verifying Checksum 06:27:23 765212b225bb: Download complete 06:27:23 f23df028b6ca: Download complete 06:27:23 d65c8cfc05b1: Verifying Checksum 06:27:23 d65c8cfc05b1: Download complete 06:27:23 699f458cf7ca: Verifying Checksum 06:27:23 699f458cf7ca: Download complete 06:27:23 8998bd30e6a1: Verifying Checksum 06:27:23 8998bd30e6a1: Download complete 06:27:26 2437ff75d9bd: Verifying Checksum 06:27:26 2437ff75d9bd: Download complete 06:27:27 8998bd30e6a1: Pull complete 06:27:27 04944245beec: Pull complete 06:27:29 699f458cf7ca: Pull complete 06:27:29 765212b225bb: Pull complete 06:27:30 f23df028b6ca: Pull complete 06:27:30 d65c8cfc05b1: Pull complete 06:27:42 2437ff75d9bd: Pull complete 06:27:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:27:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:27:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:27:43 prd-ubuntu20.04-docker-arm64-4c-16g-6403 does not seem to be running inside a container 06:27:43 $ 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/162 -v /w/workspace/device-sdk-go/162:/w/workspace/device-sdk-go/162:rw,z -v /w/workspace/device-sdk-go/162@tmp:/w/workspace/device-sdk-go/162@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 06:27:45 $ docker top 6e830cb7cdb5e34a708d9b4568aa97e126508bcccae32472ecc5b7783c108f8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:27:46 ---> job-cost.sh 06:27:46 lf-activate-venv: SKIPPING 06:27:46 INFO: No Stack... 06:27:47 INFO: Retrieving Pricing Info for: v3-standard-4 06:27:47 INFO: Archiving Costs [Pipeline] sh 06:27:48 + cat /w/workspace/device-sdk-go/162/archives/cost.csv 06:27:48 + cut -d, -f6 [Pipeline] lock 06:27:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-162-stack-cost] 06:27:48 Resource [jenkins-edgexfoundry-device-sdk-go-main-162-stack-cost] did not exist. Created. 06:27:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-162-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:27:49 /w/workspace/device-sdk-go/162@tmp/durable-646c6e7a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:27:50 + echo total: 0.10999999940395355 [Pipeline] stash 06:27:50 Warning: overwriting stash ‘stack-cost’ 06:27:50 Stashed 1 file(s) [Pipeline] } 06:27:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-162-stack-cost] [Pipeline] // lock [Pipeline] } 06:27:50 $ docker stop --time=1 6e830cb7cdb5e34a708d9b4568aa97e126508bcccae32472ecc5b7783c108f8a 06:27:51 $ docker rm -f --volumes 6e830cb7cdb5e34a708d9b4568aa97e126508bcccae32472ecc5b7783c108f8a [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 06:27:52 provisioning config files... 06:27:52 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17872725690549659350tmp [Pipeline] { [Pipeline] sh 06:27:52 + set +x 06:27:52 + + curl -s https://codecov.io/bash 06:27:52 bash -s -- 06:27:52 06:27:52 _____ _ 06:27:52 / ____| | | 06:27:52 | | ___ __| | ___ ___ _____ __ 06:27:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:27:52 | |___| (_) | (_| | __/ (_| (_) \ V / 06:27:52 \_____\___/ \__,_|\___|\___\___/ \_/ 06:27:52 Bash-1.0.6 06:27:52 06:27:52 06:27:52 ==> git version 2.25.1 found 06:27:52 ==> 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 06:27:52 Release-Date: 2020-01-08 06:27:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:27:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:27:52 ==> Jenkins CI detected. 06:27:52 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 06:27:52 project root: . 06:27:52 --> token set from env 06:27:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:27:52 ==> Running gcov in . (disable via -X gcov) 06:27:52 ==> Python coveragepy not found 06:27:52 ==> Searching for coverage reports in: 06:27:52 + . 06:27:52 -> Found 1 reports 06:27:52 ==> Detecting git/mercurial file structure 06:27:52 ==> Reading reports 06:27:52 + ./coverage.out bytes=98700 06:27:52 ==> Appending adjustments 06:27:52 https://docs.codecov.io/docs/fixing-reports 06:27:52 + Found adjustments 06:27:52 ==> Gzipping contents 06:27:52 16K /tmp/codecov.ecQDSF.gz 06:27:52 ==> Uploading reports 06:27:52 url: https://codecov.io 06:27:52 query: branch=main&commit=bf4aa2dff0c0a7f4a97997804f6014e11af12954&build=162&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F162%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:27:52 -> Pinging Codecov 06:27:52 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=bf4aa2dff0c0a7f4a97997804f6014e11af12954&build=162&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F162%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:27:53 -> Uploading to 06:27:53 https://storage.googleapis.com/codecov/v4/raw/2023-02-17/7E55EF52A471D76F132DFD9A03CDDE97/bf4aa2dff0c0a7f4a97997804f6014e11af12954/0def2892-3e43-4521-a970-57a5f6627fd7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T062752Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0114ae39c04cd1e340d245a2d3f9531b5f3d817c1609817a2fe09cc7c0418ec6 06:27:53 % Total % Received % Xferd Average Speed Time Time Time Current 06:27:53 Dload Upload Total Spent Left Speed 06:27:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14409 0 0 100 14409 0 36294 --:--:-- --:--:-- --:--:-- 36294 06:27:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/bf4aa2dff0c0a7f4a97997804f6014e11af12954 [Pipeline] } 06:27:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:27:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:27:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:27:53 06:27:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:27:54 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:27:54 df9b9388f04a: Pulling fs layer 06:27:54 52dc419b0ee2: Pulling fs layer 06:27:54 25bc292e5bac: Pulling fs layer 06:27:54 114826534d7a: Pulling fs layer 06:27:54 4657fd5d0bcf: Pulling fs layer 06:27:54 6ad1cebc031e: Pulling fs layer 06:27:54 8a3aa393b2d8: Pulling fs layer 06:27:54 4657fd5d0bcf: Waiting 06:27:54 8a3aa393b2d8: Waiting 06:27:54 6ad1cebc031e: Waiting 06:27:54 114826534d7a: Waiting 06:27:54 25bc292e5bac: Download complete 06:27:54 52dc419b0ee2: Download complete 06:27:54 4657fd5d0bcf: Verifying Checksum 06:27:54 4657fd5d0bcf: Download complete 06:27:54 df9b9388f04a: Verifying Checksum 06:27:54 df9b9388f04a: Download complete 06:27:54 df9b9388f04a: Pull complete 06:27:54 6ad1cebc031e: Verifying Checksum 06:27:54 52dc419b0ee2: Pull complete 06:27:54 25bc292e5bac: Pull complete 06:27:55 114826534d7a: Verifying Checksum 06:27:55 114826534d7a: Download complete 06:27:55 8a3aa393b2d8: Verifying Checksum 06:27:55 8a3aa393b2d8: Download complete 06:27:59 114826534d7a: Pull complete 06:27:59 4657fd5d0bcf: Pull complete 06:27:59 6ad1cebc031e: Pull complete 06:28:03 8a3aa393b2d8: Pull complete 06:28:03 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:28:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:28:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:03 prd-ubuntu20.04-docker-8c-8g-6401 does not seem to be running inside a container 06:28:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:28:08 $ docker top d0f8967b5a98fb91554c403ba1c0445cfa2dd67f0fa438faa9329ccddd711324 -eo pid,comm [Pipeline] { [Pipeline] echo 06:28:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 06:28:09 + set -o pipefail 06:28:09 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 06:28:14 06:28:14 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 06:28:14 06:28:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/ff37b34f-61d7-4eff-847b-2d50f5b7f197 06:28:14 06:28:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:28:14 06:28:14 06:28:14 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:28:14 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:28:14 More details here: https://snyk.co/ue1NS [Pipeline] } 06:28:14 $ docker stop --time=1 d0f8967b5a98fb91554c403ba1c0445cfa2dd67f0fa438faa9329ccddd711324 06:28:18 $ docker rm -f --volumes d0f8967b5a98fb91554c403ba1c0445cfa2dd67f0fa438faa9329ccddd711324 [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 06:28:18 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:28:18 provisioning config files... 06:28:18 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9435611177726983256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:28:18 --> edgex-publish-swagger.sh 06:28:18 === Publish openapi/v3 API === 06:28:18 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 06:28:18 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 06:28:18 % Total % Received % Xferd Average Speed Time Time Time Current 06:28:18 Dload Upload Total Spent Left Speed 06:28:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 25273 0 0 100 25273 0 52762 --:--:-- --:--:-- --:--:-- 52652 100 25273 0 0 100 25273 0 52762 --:--:-- --:--:-- --:--:-- 52652 06:28:19 06:28:19 [Pipeline] } 06:28:19 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 06:28:19 + git log --format=format:%s -1 bf4aa2dff0c0a7f4a97997804f6014e11af12954 [Pipeline] sh 06:28:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:28:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:20 prd-ubuntu20.04-docker-8c-8g-6401 does not seem to be running inside a container 06:28:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:28:20 $ docker top e87253bbbd4c3708ec7e1c267c2878fe0fd69aa1eba01f86339d65e04cf15a47 -eo pid,comm 06:28:20 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). 06:28:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:28:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:20 [ssh-agent] Looking for ssh-agent implementation... 06:28:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:21 $ docker exec e87253bbbd4c3708ec7e1c267c2878fe0fd69aa1eba01f86339d65e04cf15a47 ssh-agent 06:28:21 SSH_AUTH_SOCK=/tmp/ssh-5faAHCkJuIiH/agent.32 06:28:21 SSH_AGENT_PID=38 06:28:21 Running ssh-add (command line suppressed) 06:28:21 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3433165228133794263.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3433165228133794263.key) 06:28:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:21 + git semver tag 06:28:22 2023-02-17 06:28:21,906 [run_tag] DEBUG tag force:False 06:28:22 2023-02-17 06:28:21,906 [check_head_tag] DEBUG check head tag 06:28:22 2023-02-17 06:28:21,909 [execute] INFO git cat-file --batch-check 06:28:22 2023-02-17 06:28:21,910 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:28:22 2023-02-17 06:28:21,915 [execute] INFO git cat-file --batch 06:28:22 2023-02-17 06:28:21,916 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:28:22 2023-02-17 06:28:21,949 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:28:22 2023-02-17 06:28:21,949 [execute] INFO git tag -a v3.0.0-dev.32 -m v3.0.0-dev.32 06:28:22 2023-02-17 06:28:21,949 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.32', '-m', 'v3.0.0-dev.32'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:28:22 2023-02-17 06:28:21,955 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:28:22 3.0.0-dev.32 [Pipeline] } 06:28:22 $ docker exec --env ******** --env ******** e87253bbbd4c3708ec7e1c267c2878fe0fd69aa1eba01f86339d65e04cf15a47 ssh-agent -k 06:28:22 unset SSH_AUTH_SOCK; 06:28:22 unset SSH_AGENT_PID; 06:28:22 echo Agent pid 38 killed; 06:28:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:28:22 + git semver [Pipeline] } 06:28:22 $ docker stop --time=1 e87253bbbd4c3708ec7e1c267c2878fe0fd69aa1eba01f86339d65e04cf15a47 06:28:24 $ docker rm -f --volumes e87253bbbd4c3708ec7e1c267c2878fe0fd69aa1eba01f86339d65e04cf15a47 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:28:24 06:28:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:28:24 0.23.1-centos7: Pulling from edgex-lftools 06:28:24 ab5ef0e58194: Pulling fs layer 06:28:24 9712f1f96733: Pulling fs layer 06:28:24 63f879dbbcfc: Pulling fs layer 06:28:24 0d9ebad4ef96: Pulling fs layer 06:28:24 e9a5061849ea: Pulling fs layer 06:28:24 d747dcd14b5f: Pulling fs layer 06:28:24 2de7ff778b66: Pulling fs layer 06:28:24 0d9ebad4ef96: Waiting 06:28:24 e9a5061849ea: Waiting 06:28:24 2de7ff778b66: Waiting 06:28:24 d747dcd14b5f: Waiting 06:28:24 9712f1f96733: Verifying Checksum 06:28:24 9712f1f96733: Download complete 06:28:25 63f879dbbcfc: Verifying Checksum 06:28:25 63f879dbbcfc: Download complete 06:28:25 e9a5061849ea: Verifying Checksum 06:28:25 e9a5061849ea: Download complete 06:28:25 d747dcd14b5f: Verifying Checksum 06:28:25 d747dcd14b5f: Download complete 06:28:25 0d9ebad4ef96: Verifying Checksum 06:28:25 0d9ebad4ef96: Download complete 06:28:26 ab5ef0e58194: Verifying Checksum 06:28:26 ab5ef0e58194: Download complete 06:28:26 2de7ff778b66: Verifying Checksum 06:28:26 2de7ff778b66: Download complete 06:28:29 ab5ef0e58194: Pull complete 06:28:29 9712f1f96733: Pull complete 06:28:30 63f879dbbcfc: Pull complete 06:28:34 0d9ebad4ef96: Pull complete 06:28:34 e9a5061849ea: Pull complete 06:28:34 d747dcd14b5f: Pull complete 06:28:35 2de7ff778b66: Pull complete 06:28:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:28:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:28:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:35 prd-ubuntu20.04-docker-8c-8g-6401 does not seem to be running inside a container 06:28:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:28:42 $ docker top e7ba30e5383379aa7121a3e524145ee3f99c89bf7eb43c555ecb023cd7ee22f7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:28:42 provisioning config files... 06:28:42 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16407304045393706804tmp 06:28:42 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12078957227005141815tmp 06:28:42 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13397981599152509582tmp [Pipeline] { [Pipeline] echo 06:28:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:28:42 ---> sigul-configuration.sh 06:28:42 gpg: directory `/root/.gnupg' created 06:28:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:28:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:28:42 gpg: keyring `/root/.gnupg/secring.gpg' created 06:28:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:28:42 gpg: CAST5 encrypted data 06:28:42 gpg: encrypted with 1 passphrase 06:28:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:28:42 + mkdir /home/jenkins 06:28:42 + mkdir /home/jenkins/sigul [Pipeline] sh 06:28:43 + 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 06:28:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:28:43 ---> sigul-install.sh 06:28:43 Sigul already installed; skipping installation. [Pipeline] sh 06:28:43 + git tag --list 06:28:43 0.7.1 06:28:43 delhi-tag 06:28:43 v1.0.0 06:28:43 v1.1.0 06:28:43 v1.1.1 06:28:43 v1.1.2 06:28:43 v1.2.0 06:28:43 v1.2.1 06:28:43 v1.2.2 06:28:43 v1.2.3 06:28:43 v1.3.0 06:28:43 v1.4.0 06:28:43 v2.0.0 06:28:43 v2.1.0 06:28:43 v2.1.1 06:28:43 v2.1.1-dev.2 06:28:43 v2.1.1-dev.3 06:28:43 v2.2.0 06:28:43 v2.2.1-dev.1 06:28:43 v2.2.1-dev.10 06:28:43 v2.2.1-dev.11 06:28:43 v2.2.1-dev.12 06:28:43 v2.2.1-dev.13 06:28:43 v2.2.1-dev.14 06:28:43 v2.2.1-dev.2 06:28:43 v2.2.1-dev.3 06:28:43 v2.2.1-dev.4 06:28:43 v2.2.1-dev.5 06:28:43 v2.2.1-dev.6 06:28:43 v2.2.1-dev.7 06:28:43 v2.2.1-dev.8 06:28:43 v2.2.1-dev.9 06:28:43 v2.3.0 06:28:43 v2.3.0-dev.14 06:28:43 v2.3.0-dev.15 06:28:43 v2.3.0-dev.16 06:28:43 v2.3.0-dev.17 06:28:43 v2.3.0-dev.18 06:28:43 v2.3.0-dev.19 06:28:43 v2.3.0-dev.20 06:28:43 v2.3.0-dev.21 06:28:43 v2.3.0-dev.22 06:28:43 v2.3.0-dev.23 06:28:43 v2.3.0-dev.24 06:28:43 v2.3.0-dev.25 06:28:43 v2.3.0-dev.26 06:28:43 v2.3.0-dev.27 06:28:43 v2.3.0-dev.28 06:28:43 v2.3.0-dev.29 06:28:43 v2.3.0-dev.30 06:28:43 v2.3.0-dev.31 06:28:43 v2.3.0-dev.32 06:28:43 v2.3.0-dev.33 06:28:43 v2.3.0-dev.34 06:28:43 v2.3.0-dev.35 06:28:43 v2.3.0-dev.36 06:28:43 v2.3.0-dev.37 06:28:43 v2.3.0-dev.38 06:28:43 v2.3.0-dev.39 06:28:43 v2.3.0-dev.40 06:28:43 v2.3.0-dev.41 06:28:43 v2.3.0-dev.42 06:28:43 v2.3.0-dev.43 06:28:43 v2.3.0-dev.44 06:28:43 v2.3.0-dev.45 06:28:43 v2.3.0-dev.46 06:28:43 v2.3.0-dev.47 06:28:43 v2.3.0-dev.48 06:28:43 v2.3.0-dev.49 06:28:43 v2.3.0-dev.50 06:28:43 v2.3.0-dev.51 06:28:43 v2.3.1-dev.1 06:28:43 v2.3.1-dev.2 06:28:43 v3.0.0-dev.1 06:28:43 v3.0.0-dev.10 06:28:43 v3.0.0-dev.11 06:28:43 v3.0.0-dev.12 06:28:43 v3.0.0-dev.13 06:28:43 v3.0.0-dev.14 06:28:43 v3.0.0-dev.15 06:28:43 v3.0.0-dev.16 06:28:43 v3.0.0-dev.17 06:28:43 v3.0.0-dev.18 06:28:43 v3.0.0-dev.19 06:28:43 v3.0.0-dev.2 06:28:43 v3.0.0-dev.20 06:28:43 v3.0.0-dev.21 06:28:43 v3.0.0-dev.22 06:28:43 v3.0.0-dev.23 06:28:43 v3.0.0-dev.24 06:28:43 v3.0.0-dev.25 06:28:43 v3.0.0-dev.26 06:28:43 v3.0.0-dev.27 06:28:43 v3.0.0-dev.28 06:28:43 v3.0.0-dev.29 06:28:43 v3.0.0-dev.3 06:28:43 v3.0.0-dev.30 06:28:43 v3.0.0-dev.31 06:28:43 v3.0.0-dev.32 06:28:43 v3.0.0-dev.4 06:28:43 v3.0.0-dev.5 06:28:43 v3.0.0-dev.6 06:28:43 v3.0.0-dev.7 06:28:43 v3.0.0-dev.8 06:28:43 v3.0.0-dev.9 [Pipeline] sh 06:28:44 + lftools sign git-tag v3.0.0-dev.32 06:28:44 Signing Git tag with Sigul... 06:28:44 Signing v3.0.0-dev.32 [Pipeline] echo 06:28:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:28:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:28:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:28:45 $ docker stop --time=1 e7ba30e5383379aa7121a3e524145ee3f99c89bf7eb43c555ecb023cd7ee22f7 06:28:46 $ docker rm -f --volumes e7ba30e5383379aa7121a3e524145ee3f99c89bf7eb43c555ecb023cd7ee22f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:28:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:28:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:47 prd-ubuntu20.04-docker-8c-8g-6401 does not seem to be running inside a container 06:28:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:28:47 $ docker top c289ffdd1a003aaa3aa592fef83698ce049e0e1e5bb965dddfa4c4ad69b56578 -eo pid,comm 06:28:47 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). 06:28:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:28:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:47 [ssh-agent] Looking for ssh-agent implementation... 06:28:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:47 $ docker exec c289ffdd1a003aaa3aa592fef83698ce049e0e1e5bb965dddfa4c4ad69b56578 ssh-agent 06:28:48 SSH_AUTH_SOCK=/tmp/ssh-nf5s4JAg87xd/agent.34 06:28:48 SSH_AGENT_PID=40 06:28:48 Running ssh-add (command line suppressed) 06:28:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3971374585736319677.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3971374585736319677.key) 06:28:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:48 + git semver bump pre 06:28:48 2023-02-17 06:28:48,690 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:28:48 2023-02-17 06:28:48,690 [bump_version] DEBUG bumping version:3.0.0-dev.32 on axis:pre with prefix:dev 06:28:48 2023-02-17 06:28:48,690 [bump_version] DEBUG bumped version:3.0.0-dev.33 06:28:48 2023-02-17 06:28:48,690 [write_version] DEBUG write version:3.0.0-dev.33 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 06:28:48 2023-02-17 06:28:48,690 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:28:48 2023-02-17 06:28:48,690 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:28:48 2023-02-17 06:28:48,692 [execute] INFO git cat-file --batch-check 06:28:48 2023-02-17 06:28:48,692 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:28:48 2023-02-17 06:28:48,699 [execute] INFO git cat-file --batch 06:28:48 2023-02-17 06:28:48,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:28:48 2023-02-17 06:28:48,706 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:28:48 3.0.0-dev.33 [Pipeline] } 06:28:48 $ docker exec --env ******** --env ******** c289ffdd1a003aaa3aa592fef83698ce049e0e1e5bb965dddfa4c4ad69b56578 ssh-agent -k 06:28:48 unset SSH_AUTH_SOCK; 06:28:48 unset SSH_AGENT_PID; 06:28:48 echo Agent pid 40 killed; 06:28:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:28:49 + git semver [Pipeline] } 06:28:49 $ docker stop --time=1 c289ffdd1a003aaa3aa592fef83698ce049e0e1e5bb965dddfa4c4ad69b56578 06:28:50 $ docker rm -f --volumes c289ffdd1a003aaa3aa592fef83698ce049e0e1e5bb965dddfa4c4ad69b56578 [Pipeline] // withDockerContainer [Pipeline] sh 06:28:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:28:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:51 prd-ubuntu20.04-docker-8c-8g-6401 does not seem to be running inside a container 06:28:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:28:51 $ docker top 3a58c051df9fb614dbc2c9af553e7935c816f36a8db66bf766aaf6ef8f7b744f -eo pid,comm 06:28:51 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). 06:28:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:28:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:51 [ssh-agent] Looking for ssh-agent implementation... 06:28:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:52 $ docker exec 3a58c051df9fb614dbc2c9af553e7935c816f36a8db66bf766aaf6ef8f7b744f ssh-agent 06:28:52 SSH_AUTH_SOCK=/tmp/ssh-o9YAKNy5hjm0/agent.32 06:28:52 SSH_AGENT_PID=38 06:28:52 Running ssh-add (command line suppressed) 06:28:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11498309211919028461.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11498309211919028461.key) 06:28:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:52 + git semver push 06:28:52 2023-02-17 06:28:52,829 [run_push] DEBUG push 06:28:52 2023-02-17 06:28:52,830 [execute] INFO git cat-file --batch-check 06:28:52 2023-02-17 06:28:52,830 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:28:52 2023-02-17 06:28:52,835 [execute] INFO git rev-list 22c4488952b6f7ab3c29abd7222e0d73265cb4a6 -- 06:28:52 2023-02-17 06:28:52,836 [execute] DEBUG Popen(['git', 'rev-list', '22c4488952b6f7ab3c29abd7222e0d73265cb4a6', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:28:52 2023-02-17 06:28:52,849 [execute] INFO git fetch -v origin 06:28:52 2023-02-17 06:28:52,849 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:28:53 2023-02-17 06:28:53,452 [run_push] DEBUG no remote changes detected 06:28:53 2023-02-17 06:28:53,452 [execute] INFO git push origin semver 06:28:53 2023-02-17 06:28:53,452 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:28:54 2023-02-17 06:28:54,285 [run_push] DEBUG push all version tags 06:28:54 2023-02-17 06:28:54,285 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:28:54 2023-02-17 06:28:54,286 [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) 06:28:55 2023-02-17 06:28:55,143 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:28:55 3.0.0-dev.33 [Pipeline] } 06:28:55 $ docker exec --env ******** --env ******** 3a58c051df9fb614dbc2c9af553e7935c816f36a8db66bf766aaf6ef8f7b744f ssh-agent -k 06:28:55 unset SSH_AUTH_SOCK; 06:28:55 unset SSH_AGENT_PID; 06:28:55 echo Agent pid 38 killed; 06:28:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:28:55 + git semver [Pipeline] } 06:28:56 $ docker stop --time=1 3a58c051df9fb614dbc2c9af553e7935c816f36a8db66bf766aaf6ef8f7b744f 06:28:57 $ docker rm -f --volumes 3a58c051df9fb614dbc2c9af553e7935c816f36a8db66bf766aaf6ef8f7b744f [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 06:28:57 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 06:28:57 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:28:57 total 16 06:28:57 drwxr-xr-x 3 root root 4096 Feb 17 06:17 . 06:28:57 drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 06:28 .. 06:28:57 drwxr-xr-x 2 root root 4096 Feb 17 06:17 cost 06:28:57 -rw-r--r-- 1 root root 85 Feb 17 06:17 cost.csv 06:28:57 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:28:57 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:28:57 total 16 06:28:57 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 06:17 . 06:28:57 drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 06:28 .. 06:28:57 drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 06:17 cost 06:28:57 -rw-r--r-- 1 jenkins jenkins 85 Feb 17 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:28:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:28:59 ---> package-listing.sh 06:28:59 ++ facter osfamily 06:28:59 ++ tr '[:upper:]' '[:lower:]' 06:28:59 + OS_FAMILY=debian 06:28:59 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 06:28:59 + START_PACKAGES=/tmp/packages_start.txt 06:28:59 + END_PACKAGES=/tmp/packages_end.txt 06:28:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:28:59 + PACKAGES=/tmp/packages_start.txt 06:28:59 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:28:59 + PACKAGES=/tmp/packages_end.txt 06:28:59 + case "${OS_FAMILY}" in 06:28:59 + dpkg -l 06:28:59 + grep '^ii' 06:28:59 + '[' -f /tmp/packages_start.txt ']' 06:28:59 + '[' -f /tmp/packages_end.txt ']' 06:28:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:28:59 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:28:59 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 06:28:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 06:28:59 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 06:28:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:29:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:00 prd-ubuntu20.04-docker-8c-8g-6401 does not seem to be running inside a container 06:29:00 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:29:00 $ docker top fc98455492fa63666697ae550c9c86b8cf7de7264d962065da8d5ae4c4bc6e6a -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:00 + touch /tmp/pre-build-complete [Pipeline] sh 06:29:01 + mkdir -p /var/log/sysstat [Pipeline] sh 06:29:01 + ls /var/log/sa-host 06:29:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:29:01 provisioning config files... 06:29:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7177601691327904501tmp [Pipeline] { [Pipeline] echo 06:29:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:29:01 ---> create-netrc.sh [Pipeline] } 06:29:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:29:02 ---> python-tools-install.sh [Pipeline] echo 06:29:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:29:02 ---> sudo-logs.sh 06:29:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:29:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:29:02 ---> job-cost.sh 06:29:02 lf-activate-venv: SKIPPING 06:29:02 DEBUG: total: 0.2199999988079071 06:29:02 INFO: Retrieving Stack Cost... 06:29:03 INFO: Retrieving Pricing Info for: v3-standard-8 06:29:03 INFO: Archiving Costs [Pipeline] echo 06:29:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:29:04 ---> logs-deploy.sh 06:29:04 lf-activate-venv: SKIPPING 06:29:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/162 06:29:04 INFO: archiving workspace using pattern(s): 06:29:04 Archives upload complete. 06:29:04 INFO: archiving logs to Nexus