Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5827dcbf4716f89f27efa4d61bbd9e5ed358461d 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-ssh13233800737447971283.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-ssh15575341187852171297.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-ssh14865724116205993490.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-ssh12624043212829268161.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-ssh12441346052577328835.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7018 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 5827dcbf4716f89f27efa4d61bbd9e5ed358461d (main) Commit message: "Merge pull request #1340 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.28" > 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 5827dcbf4716f89f27efa4d61bbd9e5ed358461d # timeout=10 > git rev-list --no-walk 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:18:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:18:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:18:18 ========================================================= 07:18:18 EdgeX Global Pipelines Version Info 07:18:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:18:19 ------------------- 07:18:19 stable info: 07:18:19 ------------------- 07:18:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:18:19 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 07:18:19 Message: update stable to v1.0.244 07:18:19 ------------------- 07:18:19 experimental info: 07:18:19 ------------------- 07:18:19 Commited By: **** collab-it+edgex@linuxfoundation.org 07:18:19 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 07:18:19 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5827dcbf4716f89f27efa4d61bbd9e5ed358461d [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5827dcb [Pipeline] echo 07:18:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:18:20 provisioning config files... 07:18:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7606733848413959780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:20 ---> docker-login.sh 07:18:20 nexus3.edgexfoundry.org:10001 07:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:21 Configure a credential helper to remove this warning. See 07:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:21 07:18:21 Login Succeeded 07:18:21 nexus3.edgexfoundry.org:10002 07:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:21 Configure a credential helper to remove this warning. See 07:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:21 07:18:21 Login Succeeded 07:18:21 nexus3.edgexfoundry.org:10003 07:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:21 Configure a credential helper to remove this warning. See 07:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:21 07:18:21 Login Succeeded 07:18:21 nexus3.edgexfoundry.org:10004 07:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:21 Configure a credential helper to remove this warning. See 07:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:21 07:18:21 Login Succeeded 07:18:21 docker.io 07:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:21 Configure a credential helper to remove this warning. See 07:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:21 07:18:21 Login Succeeded 07:18:21 ---> docker-login.sh ends [Pipeline] } 07:18:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:18:22 + git rev-list -1 --merges 5827dcbf4716f89f27efa4d61bbd9e5ed358461d~1..5827dcbf4716f89f27efa4d61bbd9e5ed358461d [Pipeline] echo 07:18:22 -----------> git rev-list -1 --merges 5827dcbf4716f89f27efa4d61bbd9e5ed358461d~1..5827dcbf4716f89f27efa4d61bbd9e5ed358461d 5827dcbf4716f89f27efa4d61bbd9e5ed358461d 07:18:22 5827dcbf4716f89f27efa4d61bbd9e5ed358461d [false] [Pipeline] sh 07:18:22 + git log --format=format:%s -1 5827dcbf4716f89f27efa4d61bbd9e5ed358461d [Pipeline] echo 07:18:22 ========================================================= 07:18:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:18:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:18:23 + git log --format=format:%s -1 5827dcbf4716f89f27efa4d61bbd9e5ed358461d [Pipeline] echo 07:18:23 [semverPrep] GIT_COMMIT: 5827dcbf4716f89f27efa4d61bbd9e5ed358461d, Commit Message: Merge pull request #1340 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.28 [Pipeline] echo 07:18:23 [semverPrep] This is not a build commit. [Pipeline] sh 07:18:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:18:23 + grep -v github /etc/ssh/ssh_known_hosts 07:18:23 + [ -e /tmp/ssh_known_hosts ] 07:18:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:18:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:18:23 + sudo tee -a /etc/ssh/ssh_known_hosts 07:18:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:18:23 07:18:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:18:24 0.1.4: Pulling from edgex-devops/py-git-semver 07:18:24 b85a868b505f: Pulling fs layer 07:18:24 e2be974225ed: Pulling fs layer 07:18:24 339a4e72a1f5: Pulling fs layer 07:18:24 988bab9f4d93: Pulling fs layer 07:18:24 1469e6f7b9e6: Pulling fs layer 07:18:24 eaf3925da568: Pulling fs layer 07:18:24 bab4dde63d76: Pulling fs layer 07:18:24 bde34c3a00c8: Pulling fs layer 07:18:24 b352a97aabf1: Pulling fs layer 07:18:24 4872d77fe225: Pulling fs layer 07:18:24 5851b861e8e6: Pulling fs layer 07:18:24 bab4dde63d76: Waiting 07:18:24 bde34c3a00c8: Waiting 07:18:24 b352a97aabf1: Waiting 07:18:24 4872d77fe225: Waiting 07:18:24 5851b861e8e6: Waiting 07:18:24 1469e6f7b9e6: Waiting 07:18:24 eaf3925da568: Waiting 07:18:24 988bab9f4d93: Waiting 07:18:24 e2be974225ed: Download complete 07:18:24 988bab9f4d93: Download complete 07:18:24 339a4e72a1f5: Verifying Checksum 07:18:24 339a4e72a1f5: Download complete 07:18:24 1469e6f7b9e6: Verifying Checksum 07:18:24 1469e6f7b9e6: Download complete 07:18:24 eaf3925da568: Download complete 07:18:24 bde34c3a00c8: Verifying Checksum 07:18:24 bde34c3a00c8: Download complete 07:18:24 b352a97aabf1: Verifying Checksum 07:18:24 b352a97aabf1: Download complete 07:18:24 4872d77fe225: Verifying Checksum 07:18:24 4872d77fe225: Download complete 07:18:24 5851b861e8e6: Verifying Checksum 07:18:24 5851b861e8e6: Download complete 07:18:24 b85a868b505f: Verifying Checksum 07:18:24 b85a868b505f: Download complete 07:18:24 bab4dde63d76: Verifying Checksum 07:18:24 bab4dde63d76: Download complete 07:18:25 b85a868b505f: Pull complete 07:18:25 e2be974225ed: Pull complete 07:18:26 339a4e72a1f5: Pull complete 07:18:26 988bab9f4d93: Pull complete 07:18:26 1469e6f7b9e6: Pull complete 07:18:26 eaf3925da568: Pull complete 07:18:28 bab4dde63d76: Pull complete 07:18:28 bde34c3a00c8: Pull complete 07:18:28 b352a97aabf1: Pull complete 07:18:28 4872d77fe225: Pull complete 07:18:29 5851b861e8e6: Pull complete 07:18:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:18:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:18:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:18:29 prd-ubuntu20.04-docker-8c-8g-7018 does not seem to be running inside a container 07:18:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:18:31 $ docker top 78d99b6293fb301cbf9b52d6cd4035c3b3444a62578a055d9120aeb8ad115536 -eo pid,comm 07:18:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:18:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:18:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:18:31 [ssh-agent] Looking for ssh-agent implementation... 07:18:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:18:31 $ docker exec 78d99b6293fb301cbf9b52d6cd4035c3b3444a62578a055d9120aeb8ad115536 ssh-agent 07:18:31 SSH_AUTH_SOCK=/tmp/ssh-u2Wk8qSh8zNE/agent.33 07:18:31 SSH_AGENT_PID=39 07:18:31 Running ssh-add (command line suppressed) 07:18:31 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14788481491553329591.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14788481491553329591.key) 07:18:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:18:32 + git tag --points-at HEAD [Pipeline] } 07:18:32 $ docker exec --env ******** --env ******** 78d99b6293fb301cbf9b52d6cd4035c3b3444a62578a055d9120aeb8ad115536 ssh-agent -k 07:18:32 unset SSH_AUTH_SOCK; 07:18:32 unset SSH_AGENT_PID; 07:18:32 echo Agent pid 39 killed; 07:18:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:18:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:18:32 [ssh-agent] Looking for ssh-agent implementation... 07:18:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:18:32 $ docker exec 78d99b6293fb301cbf9b52d6cd4035c3b3444a62578a055d9120aeb8ad115536 ssh-agent 07:18:32 SSH_AUTH_SOCK=/tmp/ssh-2dslpqju5jk9/agent.71 07:18:32 SSH_AGENT_PID=77 07:18:32 Running ssh-add (command line suppressed) 07:18:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16211432500169768875.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16211432500169768875.key) 07:18:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:18:32 + git semver init 07:18:33 2023-02-22 07:18:32,994 [run_init] DEBUG init version:0.0.0 force:False 07:18:33 2023-02-22 07:18:32,995 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 07:18:33 2023-02-22 07:18:32,996 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 07:18:33 2023-02-22 07:18:32,996 [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) 07:18:33 2023-02-22 07:18:33,957 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 07:18:33 2023-02-22 07:18:33,957 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 07:18:33 2023-02-22 07:18:33,957 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:18:33 2023-02-22 07:18:33,957 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:18:33 3.0.0-dev.36 [Pipeline] } 07:18:33 $ docker exec --env ******** --env ******** 78d99b6293fb301cbf9b52d6cd4035c3b3444a62578a055d9120aeb8ad115536 ssh-agent -k 07:18:34 unset SSH_AUTH_SOCK; 07:18:34 unset SSH_AGENT_PID; 07:18:34 echo Agent pid 77 killed; 07:18:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:18:34 + git semver [Pipeline] } 07:18:34 $ docker stop --time=1 78d99b6293fb301cbf9b52d6cd4035c3b3444a62578a055d9120aeb8ad115536 07:18:36 $ docker rm -f --volumes 78d99b6293fb301cbf9b52d6cd4035c3b3444a62578a055d9120aeb8ad115536 [Pipeline] // withDockerContainer [Pipeline] sh 07:18:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:18:36 Stashed 1 file(s) [Pipeline] echo 07:18:36 [edgeXSemver]: initialized semver on version 3.0.0-dev.36 [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 07:18:36 provisioning config files... 07:18:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9286611554616851429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:37 ---> docker-login.sh 07:18:37 nexus3.edgexfoundry.org:10001 07:18:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:37 Configure a credential helper to remove this warning. See 07:18:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:37 07:18:37 Login Succeeded 07:18:37 nexus3.edgexfoundry.org:10002 07:18:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:37 Configure a credential helper to remove this warning. See 07:18:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:37 07:18:37 Login Succeeded 07:18:37 nexus3.edgexfoundry.org:10003 07:18:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:37 Configure a credential helper to remove this warning. See 07:18:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:37 07:18:37 Login Succeeded 07:18:37 nexus3.edgexfoundry.org:10004 07:18:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:37 Configure a credential helper to remove this warning. See 07:18:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:37 07:18:37 Login Succeeded 07:18:37 docker.io 07:18:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:37 Configure a credential helper to remove this warning. See 07:18:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:37 07:18:37 Login Succeeded 07:18:37 ---> docker-login.sh ends [Pipeline] } 07:18:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:18:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:18:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:18:37 ========================================================= 07:18:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:18:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:38 + 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 . 07:18:38 Sending build context to Docker daemon 10.53MB 07:18:38 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 07:18:38 Step 2/10 : FROM ${BASE} AS builder 07:18:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:18:38 213ec9aee27d: Pulling fs layer 07:18:38 4583459ba037: Pulling fs layer 07:18:38 93c1e223e6f2: Pulling fs layer 07:18:38 53926ce57604: Pulling fs layer 07:18:38 21b2b0c7a3f4: Pulling fs layer 07:18:38 22ff95d597cd: Pulling fs layer 07:18:38 12d6caf4c0d1: Pulling fs layer 07:18:38 96b7cbca73a9: Pulling fs layer 07:18:38 a7acece74701: Pulling fs layer 07:18:38 53926ce57604: Waiting 07:18:38 21b2b0c7a3f4: Waiting 07:18:38 22ff95d597cd: Waiting 07:18:38 12d6caf4c0d1: Waiting 07:18:38 96b7cbca73a9: Waiting 07:18:38 a7acece74701: Waiting 07:18:38 93c1e223e6f2: Verifying Checksum 07:18:38 93c1e223e6f2: Download complete 07:18:38 4583459ba037: Verifying Checksum 07:18:38 21b2b0c7a3f4: Verifying Checksum 07:18:38 21b2b0c7a3f4: Download complete 07:18:38 22ff95d597cd: Verifying Checksum 07:18:38 22ff95d597cd: Download complete 07:18:38 213ec9aee27d: Verifying Checksum 07:18:38 213ec9aee27d: Download complete 07:18:38 12d6caf4c0d1: Download complete 07:18:38 213ec9aee27d: Pull complete 07:18:38 4583459ba037: Pull complete 07:18:38 93c1e223e6f2: Pull complete 07:18:38 a7acece74701: Verifying Checksum 07:18:38 a7acece74701: Download complete 07:18:39 96b7cbca73a9: Verifying Checksum 07:18:39 96b7cbca73a9: Download complete 07:18:39 53926ce57604: Verifying Checksum 07:18:39 53926ce57604: Download complete 07:18:43 53926ce57604: Pull complete 07:18:43 21b2b0c7a3f4: Pull complete 07:18:43 22ff95d597cd: Pull complete 07:18:43 12d6caf4c0d1: Pull complete 07:18:45 96b7cbca73a9: Pull complete 07:18:46 a7acece74701: Pull complete 07:18:46 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 07:18:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:18:46 ---> db6d94c90886 07:18:46 Step 3/10 : ARG MAKE=make build 07:18:50 ---> Running in c16c36a849cd 07:18:50 Removing intermediate container c16c36a849cd 07:18:50 ---> ecd942e59cc4 07:18:50 Step 4/10 : WORKDIR /device-sdk-go 07:18:50 ---> Running in 5041d5091478 07:18:50 Removing intermediate container 5041d5091478 07:18:50 ---> 5afe9ab4a01c 07:18:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:18:50 ---> Running in 32fead12d857 07:18:50 Removing intermediate container 32fead12d857 07:18:50 ---> 91d91c40fdf1 07:18:50 Step 6/10 : RUN apk add --update --no-cache make git 07:18:50 ---> Running in f53da23826ca 07:18:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:18:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:18:51 OK: 211 MiB in 51 packages 07:18:51 Removing intermediate container f53da23826ca 07:18:51 ---> 3a917eab0e4e 07:18:51 Step 7/10 : COPY go.mod vendor* ./ 07:18:51 Still waiting to schedule task 07:18:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:18:51 ---> f38820218160 07:18:51 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:18:51 ---> Running in 0a4ceb984329 07:19:38 Removing intermediate container 0a4ceb984329 07:19:38 ---> d14c18ab7e96 07:19:38 Step 9/10 : COPY . . 07:19:38 ---> 8d7cd05a1366 07:19:38 Step 10/10 : RUN ${MAKE} 07:19:38 ---> Running in 5e40aca3baef 07:19:38 noop 07:19:38 Removing intermediate container 5e40aca3baef 07:19:38 ---> db0101db9a43 07:19:38 Successfully built db0101db9a43 07:19:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:38 + docker inspect -f . ci-base-image-x86_64 07:19:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:38 prd-ubuntu20.04-docker-8c-8g-7018 does not seem to be running inside a container 07:19:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:19:39 $ docker top 902d0bb309b5744095bdb88297bdb627f2c9293add6276abfeb3602f13d091a1 -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:39 + go version 07:19:39 go version go1.18.7 linux/amd64 [Pipeline] } 07:19:39 $ docker stop --time=1 902d0bb309b5744095bdb88297bdb627f2c9293add6276abfeb3602f13d091a1 07:19:40 $ docker rm -f --volumes 902d0bb309b5744095bdb88297bdb627f2c9293add6276abfeb3602f13d091a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:41 + docker inspect -f . ci-base-image-x86_64 07:19:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:41 prd-ubuntu20.04-docker-8c-8g-7018 does not seem to be running inside a container 07:19:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:19:41 $ docker top 5b888cbd3b74abcb90877d6550b5aa87eb10ed890313fbf26e47f49102d52a4f -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:42 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 07:19:42 + make test 07:19:42 go test -race -coverprofile=coverage.out ./... 07:19:49 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:20:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:20:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:20:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:20:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:20:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:20:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.076s coverage: 27.6% of statements 07:20:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.058s coverage: 78.9% of statements 07:20:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 07:20:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.103s coverage: 86.0% of statements 07:20:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:20:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:20:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.118s coverage: 77.0% of statements 07:20:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:20:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 07:20:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 07:20:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.085s coverage: 65.2% of statements 07:20:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:20:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:20:03 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.740s coverage: 89.2% of statements 07:20:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 07:20:03 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements 07:20:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:20:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7019 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 07:20:21 Running in /w/workspace/device-sdk-go/166 [Pipeline] { [Pipeline] checkout 07:20:21 The recommended git tool is: git 07:20:21 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." 07:20:21 GO111MODULE=on go vet ./... 07:20:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:20:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:20:23 ./bin/test-attribution-txt.sh [Pipeline] echo 07:20:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:20:24 $ docker stop --time=1 5b888cbd3b74abcb90877d6550b5aa87eb10ed890313fbf26e47f49102d52a4f 07:20:26 using credential edgex-jenkins-ssh 07:20:26 Cloning the remote Git repository 07:20:27 $ docker rm -f --volumes 5b888cbd3b74abcb90877d6550b5aa87eb10ed890313fbf26e47f49102d52a4f [Pipeline] // withDockerContainer [Pipeline] sh 07:20:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:20:26 > git init /w/workspace/device-sdk-go/166 # timeout=10 07:20:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:20:27 > git --version # timeout=10 07:20:27 > git --version # 'git version 2.25.1' 07:20:27 using GIT_SSH to set credentials SSH Credentials for GitHub 07:20:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:20:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:20:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:20:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:20:28 + ls -al . 07:20:28 total 272 07:20:28 drwxrwxr-x 11 jenkins jenkins 4096 Feb 22 07:19 . 07:20:28 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 07:18 .. 07:20:28 -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 07:18 .dockerignore 07:20:28 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 07:20 .git 07:20:28 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 07:18 .github 07:20:28 -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 07:18 .gitignore 07:20:28 -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 07:18 .golangci.yml 07:20:28 drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 07:18 .semver 07:20:28 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 22 07:18 CHANGELOG.md 07:20:28 -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 07:18 GOVERNANCE.md 07:20:28 -rw-rw-r-- 1 jenkins jenkins 885 Feb 22 07:18 Jenkinsfile 07:20:28 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 07:18 LICENSE 07:20:28 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 22 07:18 Makefile 07:20:28 -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 07:18 OWNERS.md 07:20:28 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 22 07:18 README.md 07:20:28 -rw-rw-r-- 1 jenkins jenkins 12 Feb 22 07:18 VERSION 07:20:28 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 07:18 bin 07:20:28 -rw-r--r-- 1 jenkins jenkins 98530 Feb 22 07:20 coverage.out 07:20:28 drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 07:18 example 07:20:28 -rw-rw-r-- 1 jenkins jenkins 3266 Feb 22 07:18 go.mod 07:20:28 -rw-rw-r-- 1 jenkins jenkins 32794 Feb 22 07:18 go.sum 07:20:28 drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 07:18 internal 07:20:28 drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 07:18 openapi 07:20:28 drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 07:18 pkg 07:20:28 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 07:18 snap 07:20:28 -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 07:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:20:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:20:29 + 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=5827dcbf4716f89f27efa4d61bbd9e5ed358461d --label arch=amd64 --label version=3.0.0-dev.36 . 07:20:29 Sending build context to Docker daemon 10.63MB 07:20:29 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 07:20:29 Step 2/23 : FROM ${BASE} AS builder 07:20:29 ---> db0101db9a43 07:20:29 Step 3/23 : ARG MAKE=make build 07:20:29 ---> Running in 80a3e8eb21ca 07:20:29 Removing intermediate container 80a3e8eb21ca 07:20:29 ---> fe0e706b7d77 07:20:29 Step 4/23 : WORKDIR /device-sdk-go 07:20:29 ---> Running in e9b4690e1478 07:20:29 Removing intermediate container e9b4690e1478 07:20:29 ---> 093aea4c437c 07:20:29 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:20:29 ---> Running in 2f0904e0a90f 07:20:29 Removing intermediate container 2f0904e0a90f 07:20:29 ---> ccac2a4fde00 07:20:29 Step 6/23 : RUN apk add --update --no-cache make git 07:20:29 Avoid second fetch 07:20:29 Checking out Revision 5827dcbf4716f89f27efa4d61bbd9e5ed358461d (main) 07:20:29 ---> Running in 25b7594dcd79 07:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:20:30 Commit message: "Merge pull request #1340 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.28" 07:20:30 OK: 211 MiB in 51 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:20:29 > git config core.sparsecheckout # timeout=10 07:20:29 > git checkout -f 5827dcbf4716f89f27efa4d61bbd9e5ed358461d # timeout=10 07:20:30 Removing intermediate container 25b7594dcd79 07:20:30 ---> 9b59974340d4 07:20:30 Step 7/23 : COPY go.mod vendor* ./ 07:20:30 ---> c9e9c0e783c9 07:20:30 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:20:30 ---> Running in f6f449da0dc1 07:20:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:20:30 % Total % Received % Xferd Average Speed Time Time Time Current 07:20:30 Dload Upload Total Spent Left Speed 07:20:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 07:20:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:20:31 Removing intermediate container f6f449da0dc1 07:20:31 ---> 500bb3599150 07:20:31 Step 9/23 : COPY . . 07:20:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:20:31 + sudo tee /etc/docker/daemon.new 07:20:31 { 07:20:31 "registry-mirrors": [ 07:20:31 "https://nexus3.edgexfoundry.org:10001" 07:20:31 ], 07:20:31 "bip": "10.250.0.254/24", 07:20:31 "hosts": [ 07:20:31 "tcp://0.0.0.0:5555", 07:20:31 "unix:///var/run/docker.sock" 07:20:31 ], 07:20:31 "mtu": 1458, 07:20:31 "selinux-enabled": true, 07:20:31 "seccomp-profile": "/etc/docker/seccomp.json" 07:20:31 } [Pipeline] sh 07:20:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:20:32 ---> 2e049814ae03 07:20:32 Step 10/23 : RUN ${MAKE} 07:20:32 ---> Running in dc3131601238 07:20:32 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.36" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:20:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:20:50 provisioning config files... 07:20:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/166@tmp/config2136837637914101527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:20:51 ---> docker-login.sh 07:20:51 nexus3.edgexfoundry.org:10001 07:20:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:51 Configure a credential helper to remove this warning. See 07:20:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:51 07:20:51 Login Succeeded 07:20:51 nexus3.edgexfoundry.org:10002 07:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:52 Configure a credential helper to remove this warning. See 07:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:52 07:20:52 Login Succeeded 07:20:52 nexus3.edgexfoundry.org:10003 07:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:52 Configure a credential helper to remove this warning. See 07:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:52 07:20:52 Login Succeeded 07:20:52 nexus3.edgexfoundry.org:10004 07:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:52 Configure a credential helper to remove this warning. See 07:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:52 07:20:52 Login Succeeded 07:20:52 docker.io 07:20:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:53 Configure a credential helper to remove this warning. See 07:20:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:53 07:20:53 Login Succeeded 07:20:53 ---> docker-login.sh ends [Pipeline] } 07:20:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:20:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:20:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:20:53 ========================================================= 07:20:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:20:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:54 + 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 . 07:20:54 Sending build context to Docker daemon 5.647MB 07:20:54 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 07:20:54 Step 2/10 : FROM ${BASE} AS builder 07:20:54 Removing intermediate container dc3131601238 07:20:54 ---> 0d3ffb93ac96 07:20:54 Step 11/23 : FROM alpine:3.16 07:20:54 3.16: Pulling from library/alpine 07:20:54 ef5531b6e74e: Pulling fs layer 07:20:54 ef5531b6e74e: Download complete 07:20:54 ef5531b6e74e: Pull complete 07:20:54 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 07:20:54 Status: Downloaded newer image for alpine:3.16 07:20:54 ---> dfd21b5a31f5 07:20:54 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:20:54 ---> Running in 80686fda0bfe 07:20:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:20:54 9b18e9b68314: Pulling fs layer 07:20:54 35d82f9e3411: Pulling fs layer 07:20:54 e16973657156: Pulling fs layer 07:20:54 fc693d55d65f: Pulling fs layer 07:20:54 7e9fc2657dce: Pulling fs layer 07:20:54 dda99020689f: Pulling fs layer 07:20:54 db1c61fa0a46: Pulling fs layer 07:20:54 7e9fc2657dce: Waiting 07:20:54 891c053d2c06: Pulling fs layer 07:20:54 dda99020689f: Waiting 07:20:54 db1c61fa0a46: Waiting 07:20:54 891c053d2c06: Waiting 07:20:54 fc693d55d65f: Waiting 07:20:54 e16973657156: Verifying Checksum 07:20:54 e16973657156: Download complete 07:20:54 35d82f9e3411: Verifying Checksum 07:20:54 35d82f9e3411: Download complete 07:20:54 7e9fc2657dce: Verifying Checksum 07:20:54 7e9fc2657dce: Download complete 07:20:54 dda99020689f: Verifying Checksum 07:20:54 dda99020689f: Download complete 07:20:54 Removing intermediate container 80686fda0bfe 07:20:54 ---> 44af0d647b3e 07:20:54 Step 13/23 : RUN apk add --update --no-cache 07:20:54 ---> Running in 5da3ff9e2f68 07:20:54 9b18e9b68314: Verifying Checksum 07:20:54 9b18e9b68314: Download complete 07:20:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:20:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:20:55 OK: 6 MiB in 14 packages 07:20:55 Removing intermediate container 5da3ff9e2f68 07:20:55 ---> 57d2b5f6a68b 07:20:55 Step 14/23 : WORKDIR / 07:20:55 9b18e9b68314: Pull complete 07:20:55 891c053d2c06: Verifying Checksum 07:20:55 891c053d2c06: Download complete 07:20:55 ---> Running in d415b1b3730a 07:20:55 Removing intermediate container d415b1b3730a 07:20:55 ---> b4f89cc77d9b 07:20:55 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:20:55 ---> f9b162bdfbd4 07:20:55 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:20:56 35d82f9e3411: Pull complete 07:20:56 e16973657156: Pull complete 07:20:56 ---> 1c22a74c4443 07:20:56 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:20:56 ---> dba3c91ef48b 07:20:56 Step 18/23 : EXPOSE 59999 07:20:56 ---> Running in 8d34eeac4d38 07:20:56 db1c61fa0a46: Verifying Checksum 07:20:56 db1c61fa0a46: Download complete 07:20:57 Removing intermediate container 8d34eeac4d38 07:20:57 ---> 0aab18706517 07:20:57 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:20:57 ---> Running in 02a3e473dfaf 07:20:57 Removing intermediate container 02a3e473dfaf 07:20:57 ---> 2b151de2d14f 07:20:57 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:20:57 ---> Running in ffb61dbfd5f1 07:20:57 Removing intermediate container ffb61dbfd5f1 07:20:57 ---> 0c0c0b8e9c16 07:20:57 Step 21/23 : LABEL arch=amd64 07:20:57 ---> Running in e2d6865c75ea 07:20:57 Removing intermediate container e2d6865c75ea 07:20:57 ---> 64898b336137 07:20:57 Step 22/23 : LABEL git_sha=5827dcbf4716f89f27efa4d61bbd9e5ed358461d 07:20:57 ---> Running in ce032c7aacf0 07:20:57 Removing intermediate container ce032c7aacf0 07:20:57 ---> dec0b66e37c7 07:20:57 Step 23/23 : LABEL version=3.0.0-dev.36 07:20:57 ---> Running in d53762ad6faa 07:20:57 fc693d55d65f: Verifying Checksum 07:20:57 fc693d55d65f: Download complete 07:20:57 Removing intermediate container d53762ad6faa 07:20:57 ---> 9cf1192deaf0 07:20:57 [Warning] One or more build-args [ARCH] were not consumed 07:20:57 Successfully built 9cf1192deaf0 07:20:57 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 07:20:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:20:57 07:20:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:20:58 latest: Pulling from edgex-lftools-log-publisher 07:20:58 5eb5b503b376: Pulling fs layer 07:20:58 5c69ac0246d0: Pulling fs layer 07:20:58 ec43610c2a17: Pulling fs layer 07:20:58 3a2ae6a8a46f: Pulling fs layer 07:20:58 33b1e0a273af: Pulling fs layer 07:20:58 5d3b04190fa2: Pulling fs layer 07:20:58 2f39f015ded8: Pulling fs layer 07:20:58 33b1e0a273af: Waiting 07:20:58 2f39f015ded8: Waiting 07:20:58 3a2ae6a8a46f: Waiting 07:20:58 5d3b04190fa2: Waiting 07:20:58 5c69ac0246d0: Download complete 07:20:58 3a2ae6a8a46f: Verifying Checksum 07:20:58 3a2ae6a8a46f: Download complete 07:20:58 33b1e0a273af: Verifying Checksum 07:20:58 33b1e0a273af: Download complete 07:20:58 5d3b04190fa2: Download complete 07:20:58 ec43610c2a17: Verifying Checksum 07:20:58 ec43610c2a17: Download complete 07:20:58 5eb5b503b376: Verifying Checksum 07:20:58 5eb5b503b376: Download complete 07:20:59 2f39f015ded8: Verifying Checksum 07:20:59 2f39f015ded8: Download complete 07:21:00 5eb5b503b376: Pull complete 07:21:00 5c69ac0246d0: Pull complete 07:21:00 ec43610c2a17: Pull complete 07:21:00 3a2ae6a8a46f: Pull complete 07:21:00 33b1e0a273af: Pull complete 07:21:00 5d3b04190fa2: Pull complete 07:21:06 2f39f015ded8: Pull complete 07:21:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:21:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:21:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:06 prd-ubuntu20.04-docker-8c-8g-7018 does not seem to be running inside a container 07:21:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:21:09 $ docker top bfadc233c89b9bc96486b68269b8f4833f76c83ad5fc225c5f5f69f3954cd452 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:21:09 fc693d55d65f: Pull complete 07:21:09 7e9fc2657dce: Pull complete 07:21:09 dda99020689f: Pull complete 07:21:09 ---> job-cost.sh 07:21:09 lf-activate-venv: SKIPPING 07:21:09 INFO: No Stack... 07:21:10 INFO: Retrieving Pricing Info for: v3-standard-8 07:21:10 INFO: Archiving Costs [Pipeline] sh 07:21:11 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 07:21:11 + cut -d, -f6 [Pipeline] lock 07:21:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-166-stack-cost] 07:21:11 Resource [jenkins-edgexfoundry-device-sdk-go-main-166-stack-cost] did not exist. Created. 07:21:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-166-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:21:11 + echo total: 0.2199999988079071 [Pipeline] stash 07:21:11 Stashed 1 file(s) [Pipeline] } 07:21:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-166-stack-cost] [Pipeline] // lock [Pipeline] } 07:21:11 $ docker stop --time=1 bfadc233c89b9bc96486b68269b8f4833f76c83ad5fc225c5f5f69f3954cd452 07:21:12 $ docker rm -f --volumes bfadc233c89b9bc96486b68269b8f4833f76c83ad5fc225c5f5f69f3954cd452 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:21:16 db1c61fa0a46: Pull complete 07:21:17 891c053d2c06: Pull complete 07:21:17 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 07:21:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:21:17 ---> f96f9c87975a 07:21:17 Step 3/10 : ARG MAKE=make build 07:21:19 ---> Running in f241f14c36b7 07:21:19 Removing intermediate container f241f14c36b7 07:21:19 ---> 3b398a259c17 07:21:19 Step 4/10 : WORKDIR /device-sdk-go 07:21:19 ---> Running in 398e1d79db1a 07:21:20 Removing intermediate container 398e1d79db1a 07:21:20 ---> 40bc71da6661 07:21:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:21:20 ---> Running in 996d9fa077c2 07:21:20 Removing intermediate container 996d9fa077c2 07:21:20 ---> 6f080ccd08a6 07:21:20 Step 6/10 : RUN apk add --update --no-cache make git 07:21:20 ---> Running in e7ecea10399d 07:21:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:21:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:21:22 OK: 221 MiB in 51 packages 07:21:23 Removing intermediate container e7ecea10399d 07:21:23 ---> 1d46f488b5db 07:21:23 Step 7/10 : COPY go.mod vendor* ./ 07:21:26 ---> c953d5f414df 07:21:26 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:21:26 ---> Running in bef228feb5c9 07:22:34 Removing intermediate container bef228feb5c9 07:22:34 ---> 1966b7c033fa 07:22:34 Step 9/10 : COPY . . 07:22:34 ---> 77ed649f30b5 07:22:34 Step 10/10 : RUN ${MAKE} 07:22:34 ---> Running in 18f9a8f1bff7 07:22:34 noop 07:22:34 Removing intermediate container 18f9a8f1bff7 07:22:34 ---> 09bbfbeaf97c 07:22:34 Successfully built 09bbfbeaf97c 07:22:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:34 + docker inspect -f . ci-base-image-arm64 07:22:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:34 prd-ubuntu20.04-docker-arm64-4c-16g-7019 does not seem to be running inside a container 07:22:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/166 -v /w/workspace/device-sdk-go/166:/w/workspace/device-sdk-go/166:rw,z -v /w/workspace/device-sdk-go/166@tmp:/w/workspace/device-sdk-go/166@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 07:22:36 $ docker top 2c2adde2cd8257472676f1f4f9f4c81fedc16171a9d4541a799346c6820a16fd -eo pid,comm [Pipeline] { [Pipeline] sh 07:22:36 + go version 07:22:36 go version go1.18.7 linux/arm64 [Pipeline] } 07:22:37 $ docker stop --time=1 2c2adde2cd8257472676f1f4f9f4c81fedc16171a9d4541a799346c6820a16fd 07:22:38 $ docker rm -f --volumes 2c2adde2cd8257472676f1f4f9f4c81fedc16171a9d4541a799346c6820a16fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:39 + docker inspect -f . ci-base-image-arm64 07:22:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:39 prd-ubuntu20.04-docker-arm64-4c-16g-7019 does not seem to be running inside a container 07:22:39 $ 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/166 -v /w/workspace/device-sdk-go/166:/w/workspace/device-sdk-go/166:rw,z -v /w/workspace/device-sdk-go/166@tmp:/w/workspace/device-sdk-go/166@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 07:22:40 $ docker top 18f13998fbee189fc5abb85c1e038800e2628db2e6baa898f7a440371ae331d6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:22:40 + git config --global --add safe.directory /w/workspace/device-sdk-go/166 [Pipeline] fileExists [Pipeline] sh 07:22:41 + make test 07:22:41 go test -race -coverprofile=coverage.out ./... 07:23:13 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:25:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:25:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:25:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:25:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:25:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:25:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.297s coverage: 27.6% of statements 07:25:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.274s coverage: 78.9% of statements 07:25:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 07:25:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.555s coverage: 86.0% of statements 07:25:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:25:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:25:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.642s coverage: 77.0% of statements 07:25:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:25:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 07:25:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 07:25:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.478s coverage: 65.2% of statements 07:25:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:25:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:25:27 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.467s coverage: 89.2% of statements 07:25:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 07:25:27 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.283s coverage: 4.7% of statements 07:25:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:25:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:25:27 GO111MODULE=on go vet ./... 07:27:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:27:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:27:04 ./bin/test-attribution-txt.sh [Pipeline] echo 07:27:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:27:04 $ docker stop --time=1 18f13998fbee189fc5abb85c1e038800e2628db2e6baa898f7a440371ae331d6 07:27:06 $ docker rm -f --volumes 18f13998fbee189fc5abb85c1e038800e2628db2e6baa898f7a440371ae331d6 [Pipeline] // withDockerContainer [Pipeline] sh 07:27:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:27:08 Warning: overwriting stash ‘coverage-report’ 07:27:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:27:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:27:09 + ls -al . 07:27:09 total 268 07:27:09 drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 07:22 . 07:27:09 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 07:20 .. 07:27:09 -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 07:20 .dockerignore 07:27:09 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 07:20 .git 07:27:09 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 07:20 .github 07:27:09 -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 07:20 .gitignore 07:27:09 -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 07:20 .golangci.yml 07:27:09 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 22 07:20 CHANGELOG.md 07:27:09 -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 07:20 GOVERNANCE.md 07:27:09 -rw-rw-r-- 1 jenkins jenkins 885 Feb 22 07:20 Jenkinsfile 07:27:09 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 07:20 LICENSE 07:27:09 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 22 07:20 Makefile 07:27:09 -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 07:20 OWNERS.md 07:27:09 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 22 07:20 README.md 07:27:09 -rw-rw-r-- 1 jenkins jenkins 12 Feb 22 07:18 VERSION 07:27:09 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 07:20 bin 07:27:09 -rw-r--r-- 1 jenkins jenkins 98530 Feb 22 07:25 coverage.out 07:27:09 drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 07:20 example 07:27:09 -rw-rw-r-- 1 jenkins jenkins 3266 Feb 22 07:20 go.mod 07:27:09 -rw-rw-r-- 1 jenkins jenkins 32794 Feb 22 07:20 go.sum 07:27:09 drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 07:20 internal 07:27:09 drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 07:20 openapi 07:27:09 drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 07:20 pkg 07:27:09 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 07:20 snap 07:27:09 -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 07:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:09 + 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=5827dcbf4716f89f27efa4d61bbd9e5ed358461d --label arch=arm64 --label version=3.0.0-dev.36 . 07:27:10 Sending build context to Docker daemon 5.747MB 07:27:10 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 07:27:10 Step 2/23 : FROM ${BASE} AS builder 07:27:10 ---> 09bbfbeaf97c 07:27:10 Step 3/23 : ARG MAKE=make build 07:27:10 ---> Running in 7b74f68c327d 07:27:10 Removing intermediate container 7b74f68c327d 07:27:10 ---> 25125fbe3ed1 07:27:10 Step 4/23 : WORKDIR /device-sdk-go 07:27:10 ---> Running in 005ecdf13e98 07:27:11 Removing intermediate container 005ecdf13e98 07:27:11 ---> 524e6d053d54 07:27:11 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:27:11 ---> Running in bfd7ea28f044 07:27:11 Removing intermediate container bfd7ea28f044 07:27:11 ---> 86f2f7b42fbc 07:27:11 Step 6/23 : RUN apk add --update --no-cache make git 07:27:11 ---> Running in c7e166630bb8 07:27:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:27:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:27:14 OK: 221 MiB in 51 packages 07:27:15 Removing intermediate container c7e166630bb8 07:27:15 ---> 0a2439a085e1 07:27:15 Step 7/23 : COPY go.mod vendor* ./ 07:27:15 ---> 9544046136c3 07:27:15 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:27:15 ---> Running in 98f39eca6c26 07:27:18 Removing intermediate container 98f39eca6c26 07:27:18 ---> d287874f4952 07:27:18 Step 9/23 : COPY . . 07:27:19 ---> 6532a5edd690 07:27:19 Step 10/23 : RUN ${MAKE} 07:27:19 ---> Running in edad3515867f 07:27:20 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.36" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:29:42 Removing intermediate container edad3515867f 07:29:42 ---> 92b0aabd2ad7 07:29:42 Step 11/23 : FROM alpine:3.16 07:29:42 3.16: Pulling from library/alpine 07:29:42 3760b48202b3: Pulling fs layer 07:29:42 3760b48202b3: Verifying Checksum 07:29:42 3760b48202b3: Download complete 07:29:42 3760b48202b3: Pull complete 07:29:42 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 07:29:42 Status: Downloaded newer image for alpine:3.16 07:29:42 ---> 4c81e5bf8899 07:29:42 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:29:42 ---> Running in f144631d2bc0 07:29:42 Removing intermediate container f144631d2bc0 07:29:42 ---> 0459dad6fa28 07:29:42 Step 13/23 : RUN apk add --update --no-cache 07:29:42 ---> Running in f76d3d22afb7 07:29:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:29:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:29:42 OK: 5 MiB in 14 packages 07:29:42 Removing intermediate container f76d3d22afb7 07:29:42 ---> a0042b275eba 07:29:42 Step 14/23 : WORKDIR / 07:29:42 ---> Running in e64e1173631c 07:29:42 Removing intermediate container e64e1173631c 07:29:42 ---> ddcd32517a0d 07:29:42 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:29:42 ---> 9b48c3c1f32f 07:29:42 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:29:44 ---> f6379e0982b1 07:29:44 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:29:44 ---> c87b61530c04 07:29:44 Step 18/23 : EXPOSE 59999 07:29:44 ---> Running in 33f5a999a476 07:29:44 Removing intermediate container 33f5a999a476 07:29:44 ---> d49ea66e46b1 07:29:44 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:29:45 ---> Running in 5c8774036a89 07:29:45 Removing intermediate container 5c8774036a89 07:29:45 ---> d9cfdaa39e9d 07:29:45 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:29:45 ---> Running in d9474629975d 07:29:45 Removing intermediate container d9474629975d 07:29:45 ---> ed2022c5a2fd 07:29:45 Step 21/23 : LABEL arch=arm64 07:29:45 ---> Running in 88edb1b45a78 07:29:46 Removing intermediate container 88edb1b45a78 07:29:46 ---> 4faa83c403ea 07:29:46 Step 22/23 : LABEL git_sha=5827dcbf4716f89f27efa4d61bbd9e5ed358461d 07:29:46 ---> Running in 756a21c2099d 07:29:46 Removing intermediate container 756a21c2099d 07:29:46 ---> cd75726b60d6 07:29:46 Step 23/23 : LABEL version=3.0.0-dev.36 07:29:46 ---> Running in 00e7e1651b31 07:29:46 Removing intermediate container 00e7e1651b31 07:29:46 ---> 6d06189433bf 07:29:46 [Warning] One or more build-args [ARCH] were not consumed 07:29:46 Successfully built 6d06189433bf 07:29:46 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 07:29:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:29:47 07:29:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:29:47 arm64: Pulling from edgex-lftools-log-publisher 07:29:47 8998bd30e6a1: Pulling fs layer 07:29:47 04944245beec: Pulling fs layer 07:29:47 699f458cf7ca: Pulling fs layer 07:29:47 765212b225bb: Pulling fs layer 07:29:47 f23df028b6ca: Pulling fs layer 07:29:47 d65c8cfc05b1: Pulling fs layer 07:29:47 2437ff75d9bd: Pulling fs layer 07:29:47 765212b225bb: Waiting 07:29:47 f23df028b6ca: Waiting 07:29:47 d65c8cfc05b1: Waiting 07:29:47 2437ff75d9bd: Waiting 07:29:47 04944245beec: Verifying Checksum 07:29:47 04944245beec: Download complete 07:29:47 765212b225bb: Verifying Checksum 07:29:47 765212b225bb: Download complete 07:29:47 f23df028b6ca: Verifying Checksum 07:29:47 f23df028b6ca: Download complete 07:29:47 d65c8cfc05b1: Verifying Checksum 07:29:47 d65c8cfc05b1: Download complete 07:29:48 699f458cf7ca: Verifying Checksum 07:29:48 699f458cf7ca: Download complete 07:29:48 8998bd30e6a1: Verifying Checksum 07:29:48 8998bd30e6a1: Download complete 07:29:51 2437ff75d9bd: Verifying Checksum 07:29:51 2437ff75d9bd: Download complete 07:29:52 8998bd30e6a1: Pull complete 07:29:53 04944245beec: Pull complete 07:29:54 699f458cf7ca: Pull complete 07:29:54 765212b225bb: Pull complete 07:29:55 f23df028b6ca: Pull complete 07:29:55 d65c8cfc05b1: Pull complete 07:30:10 2437ff75d9bd: Pull complete 07:30:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:30:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:30:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:10 prd-ubuntu20.04-docker-arm64-4c-16g-7019 does not seem to be running inside a container 07:30:11 $ 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/166 -v /w/workspace/device-sdk-go/166:/w/workspace/device-sdk-go/166:rw,z -v /w/workspace/device-sdk-go/166@tmp:/w/workspace/device-sdk-go/166@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 07:30:14 $ docker top 9b850e8ae20d35e9a57037274e93bee2828dba271b16462a8fac6428340c6452 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:30:15 ---> job-cost.sh 07:30:15 lf-activate-venv: SKIPPING 07:30:15 INFO: No Stack... 07:30:15 INFO: Retrieving Pricing Info for: v3-standard-4 07:30:16 INFO: Archiving Costs [Pipeline] sh 07:30:17 + cat /w/workspace/device-sdk-go/166/archives/cost.csv 07:30:17 + cut -d, -f6 [Pipeline] lock 07:30:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-166-stack-cost] 07:30:17 Resource [jenkins-edgexfoundry-device-sdk-go-main-166-stack-cost] did not exist. Created. 07:30:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-166-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:30:17 /w/workspace/device-sdk-go/166@tmp/durable-66804a51/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:30:18 + echo total: 0.10999999940395355 [Pipeline] stash 07:30:18 Warning: overwriting stash ‘stack-cost’ 07:30:18 Stashed 1 file(s) [Pipeline] } 07:30:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-166-stack-cost] [Pipeline] // lock [Pipeline] } 07:30:18 $ docker stop --time=1 9b850e8ae20d35e9a57037274e93bee2828dba271b16462a8fac6428340c6452 07:30:19 $ docker rm -f --volumes 9b850e8ae20d35e9a57037274e93bee2828dba271b16462a8fac6428340c6452 [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 07:30:20 provisioning config files... 07:30:20 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6632853930894593366tmp [Pipeline] { [Pipeline] sh 07:30:20 + set +x 07:30:20 + curl -s https://codecov.io/bash 07:30:20 + bash -s -- 07:30:20 07:30:20 _____ _ 07:30:20 / ____| | | 07:30:20 | | ___ __| | ___ ___ _____ __ 07:30:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:30:20 | |___| (_) | (_| | __/ (_| (_) \ V / 07:30:20 \_____\___/ \__,_|\___|\___\___/ \_/ 07:30:20 Bash-1.0.6 07:30:20 07:30:20 07:30:20 ==> git version 2.25.1 found 07:30:20 ==> 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 07:30:20 Release-Date: 2020-01-08 07:30:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:30:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:30:20 ==> Jenkins CI detected. 07:30:20 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 07:30:20 project root: . 07:30:20 --> token set from env 07:30:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:30:20 ==> Running gcov in . (disable via -X gcov) 07:30:20 ==> Python coveragepy not found 07:30:20 ==> Searching for coverage reports in: 07:30:20 + . 07:30:20 -> Found 1 reports 07:30:20 ==> Detecting git/mercurial file structure 07:30:20 ==> Reading reports 07:30:20 + ./coverage.out bytes=98530 07:30:20 ==> Appending adjustments 07:30:20 https://docs.codecov.io/docs/fixing-reports 07:30:21 + Found adjustments 07:30:21 ==> Gzipping contents 07:30:21 16K /tmp/codecov.MGirDt.gz 07:30:21 ==> Uploading reports 07:30:21 url: https://codecov.io 07:30:21 query: branch=main&commit=5827dcbf4716f89f27efa4d61bbd9e5ed358461d&build=166&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F166%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:30:21 -> Pinging Codecov 07:30:21 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=5827dcbf4716f89f27efa4d61bbd9e5ed358461d&build=166&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F166%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:30:21 -> Uploading to 07:30:21 https://storage.googleapis.com/codecov/v4/raw/2023-02-22/7E55EF52A471D76F132DFD9A03CDDE97/5827dcbf4716f89f27efa4d61bbd9e5ed358461d/8965a87a-6130-420f-8154-b40261a2ed6b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230222T073021Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2c47fc1fa8bffc90115e405e0fabf279bb06190603877326222f1bdbc3fae12b 07:30:21 % Total % Received % Xferd Average Speed Time Time Time Current 07:30:21 Dload Upload Total Spent Left Speed 07:30:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14354 0 0 100 14354 0 50188 --:--:-- --:--:-- --:--:-- 50188 07:30:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5827dcbf4716f89f27efa4d61bbd9e5ed358461d [Pipeline] } 07:30:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:30:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:30:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:30:22 07:30:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:30:22 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:30:22 df9b9388f04a: Pulling fs layer 07:30:22 52dc419b0ee2: Pulling fs layer 07:30:22 25bc292e5bac: Pulling fs layer 07:30:22 114826534d7a: Pulling fs layer 07:30:22 4657fd5d0bcf: Pulling fs layer 07:30:22 6ad1cebc031e: Pulling fs layer 07:30:22 8a3aa393b2d8: Pulling fs layer 07:30:22 114826534d7a: Waiting 07:30:22 4657fd5d0bcf: Waiting 07:30:22 8a3aa393b2d8: Waiting 07:30:22 6ad1cebc031e: Waiting 07:30:22 25bc292e5bac: Verifying Checksum 07:30:22 25bc292e5bac: Download complete 07:30:22 52dc419b0ee2: Download complete 07:30:22 4657fd5d0bcf: Download complete 07:30:22 df9b9388f04a: Download complete 07:30:22 df9b9388f04a: Pull complete 07:30:22 52dc419b0ee2: Pull complete 07:30:22 6ad1cebc031e: Verifying Checksum 07:30:22 6ad1cebc031e: Download complete 07:30:23 25bc292e5bac: Pull complete 07:30:23 114826534d7a: Verifying Checksum 07:30:23 114826534d7a: Download complete 07:30:23 8a3aa393b2d8: Download complete 07:30:26 114826534d7a: Pull complete 07:30:26 4657fd5d0bcf: Pull complete 07:30:27 6ad1cebc031e: Pull complete 07:30:29 8a3aa393b2d8: Pull complete 07:30:29 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:30:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:30:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:29 prd-ubuntu20.04-docker-8c-8g-7018 does not seem to be running inside a container 07:30:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:30:33 $ docker top 16852e243075971687d80cce7924cf4538fa80c227f774dd2bfd6cf76c5ebba6 -eo pid,comm [Pipeline] { [Pipeline] echo 07:30:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 07:30:34 + set -o pipefail 07:30:34 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 07:30:38 07:30:38 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 07:30:38 07:30:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/78092ef1-3993-4566-b3ae-3c56b18e0ca3 07:30:38 07:30:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:30:38 07:30:38 07:30:38 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:30:38 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:30:38 More details here: https://snyk.co/ue1NS [Pipeline] } 07:30:38 $ docker stop --time=1 16852e243075971687d80cce7924cf4538fa80c227f774dd2bfd6cf76c5ebba6 07:30:42 $ docker rm -f --volumes 16852e243075971687d80cce7924cf4538fa80c227f774dd2bfd6cf76c5ebba6 [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 07:30:43 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:30:43 provisioning config files... 07:30:43 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4900063082244903306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:30:43 --> edgex-publish-swagger.sh 07:30:43 === Publish openapi/v3 API === 07:30:43 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 07:30:43 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 07:30:43 % Total % Received % Xferd Average Speed Time Time Time Current 07:30:43 Dload Upload Total Spent Left Speed 07:30:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 24713 0 0 100 24713 0 33714 --:--:-- --:--:-- --:--:-- 33714 100 24713 0 0 100 24713 0 33714 --:--:-- --:--:-- --:--:-- 33668 07:30:44 07:30:44 [Pipeline] } 07:30:44 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 07:30:44 + git log --format=format:%s -1 5827dcbf4716f89f27efa4d61bbd9e5ed358461d [Pipeline] sh 07:30:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:30:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:30:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:45 prd-ubuntu20.04-docker-8c-8g-7018 does not seem to be running inside a container 07:30:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:30:45 $ docker top 88a4ef35d8bb459e690bcef62e9e7cb79501d5321d64648c07cfa70b1cd4a738 -eo pid,comm 07:30:45 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). 07:30:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:30:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:30:45 [ssh-agent] Looking for ssh-agent implementation... 07:30:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:30:46 $ docker exec 88a4ef35d8bb459e690bcef62e9e7cb79501d5321d64648c07cfa70b1cd4a738 ssh-agent 07:30:46 SSH_AUTH_SOCK=/tmp/ssh-wEFvCgF3eGvp/agent.13 07:30:46 SSH_AGENT_PID=32 07:30:46 Running ssh-add (command line suppressed) 07:30:46 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18364587408350797537.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18364587408350797537.key) 07:30:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:30:46 + git semver tag 07:30:46 2023-02-22 07:30:46,825 [run_tag] DEBUG tag force:False 07:30:46 2023-02-22 07:30:46,825 [check_head_tag] DEBUG check head tag 07:30:46 2023-02-22 07:30:46,828 [execute] INFO git cat-file --batch-check 07:30:46 2023-02-22 07:30:46,828 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:30:46 2023-02-22 07:30:46,832 [execute] INFO git cat-file --batch 07:30:46 2023-02-22 07:30:46,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:30:46 2023-02-22 07:30:46,863 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:30:46 2023-02-22 07:30:46,863 [execute] INFO git tag -a v3.0.0-dev.36 -m v3.0.0-dev.36 07:30:46 2023-02-22 07:30:46,864 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.36', '-m', 'v3.0.0-dev.36'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 07:30:46 2023-02-22 07:30:46,870 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:30:46 3.0.0-dev.36 [Pipeline] } 07:30:46 $ docker exec --env ******** --env ******** 88a4ef35d8bb459e690bcef62e9e7cb79501d5321d64648c07cfa70b1cd4a738 ssh-agent -k 07:30:47 unset SSH_AUTH_SOCK; 07:30:47 unset SSH_AGENT_PID; 07:30:47 echo Agent pid 32 killed; 07:30:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:30:47 + git semver [Pipeline] } 07:30:47 $ docker stop --time=1 88a4ef35d8bb459e690bcef62e9e7cb79501d5321d64648c07cfa70b1cd4a738 07:30:48 $ docker rm -f --volumes 88a4ef35d8bb459e690bcef62e9e7cb79501d5321d64648c07cfa70b1cd4a738 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:30:49 07:30:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:30:49 0.23.1-centos7: Pulling from edgex-lftools 07:30:49 ab5ef0e58194: Pulling fs layer 07:30:49 9712f1f96733: Pulling fs layer 07:30:49 63f879dbbcfc: Pulling fs layer 07:30:49 0d9ebad4ef96: Pulling fs layer 07:30:49 e9a5061849ea: Pulling fs layer 07:30:49 d747dcd14b5f: Pulling fs layer 07:30:49 2de7ff778b66: Pulling fs layer 07:30:49 d747dcd14b5f: Waiting 07:30:49 e9a5061849ea: Waiting 07:30:49 2de7ff778b66: Waiting 07:30:49 0d9ebad4ef96: Waiting 07:30:49 9712f1f96733: Download complete 07:30:50 63f879dbbcfc: Verifying Checksum 07:30:50 63f879dbbcfc: Download complete 07:30:50 ab5ef0e58194: Verifying Checksum 07:30:50 ab5ef0e58194: Download complete 07:30:50 0d9ebad4ef96: Verifying Checksum 07:30:50 0d9ebad4ef96: Download complete 07:30:50 d747dcd14b5f: Verifying Checksum 07:30:50 d747dcd14b5f: Download complete 07:30:50 e9a5061849ea: Download complete 07:30:50 2de7ff778b66: Verifying Checksum 07:30:50 2de7ff778b66: Download complete 07:30:53 ab5ef0e58194: Pull complete 07:30:53 9712f1f96733: Pull complete 07:30:54 63f879dbbcfc: Pull complete 07:30:58 0d9ebad4ef96: Pull complete 07:30:58 e9a5061849ea: Pull complete 07:30:58 d747dcd14b5f: Pull complete 07:30:59 2de7ff778b66: Pull complete 07:30:59 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:30:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:30:59 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:59 prd-ubuntu20.04-docker-8c-8g-7018 does not seem to be running inside a container 07:30:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:31:03 $ docker top ae7f9a92384b4c67ee53a6605f76aaeed23369a1ee8a71b22caad236ad106b8e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:31:03 provisioning config files... 07:31:03 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16922763261156057481tmp 07:31:03 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6901486999678464082tmp 07:31:03 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12493686410528169209tmp [Pipeline] { [Pipeline] echo 07:31:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:31:03 ---> sigul-configuration.sh 07:31:03 gpg: directory `/root/.gnupg' created 07:31:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:31:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:31:03 gpg: keyring `/root/.gnupg/secring.gpg' created 07:31:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:31:03 gpg: CAST5 encrypted data 07:31:03 gpg: encrypted with 1 passphrase 07:31:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:31:04 + mkdir /home/jenkins 07:31:04 + mkdir /home/jenkins/sigul [Pipeline] sh 07:31:04 + 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 07:31:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:31:04 ---> sigul-install.sh 07:31:04 Sigul already installed; skipping installation. [Pipeline] sh 07:31:05 + git tag --list 07:31:05 0.7.1 07:31:05 delhi-tag 07:31:05 v1.0.0 07:31:05 v1.1.0 07:31:05 v1.1.1 07:31:05 v1.1.2 07:31:05 v1.2.0 07:31:05 v1.2.1 07:31:05 v1.2.2 07:31:05 v1.2.3 07:31:05 v1.3.0 07:31:05 v1.4.0 07:31:05 v2.0.0 07:31:05 v2.1.0 07:31:05 v2.1.1 07:31:05 v2.1.1-dev.2 07:31:05 v2.1.1-dev.3 07:31:05 v2.2.0 07:31:05 v2.2.1-dev.1 07:31:05 v2.2.1-dev.10 07:31:05 v2.2.1-dev.11 07:31:05 v2.2.1-dev.12 07:31:05 v2.2.1-dev.13 07:31:05 v2.2.1-dev.14 07:31:05 v2.2.1-dev.2 07:31:05 v2.2.1-dev.3 07:31:05 v2.2.1-dev.4 07:31:05 v2.2.1-dev.5 07:31:05 v2.2.1-dev.6 07:31:05 v2.2.1-dev.7 07:31:05 v2.2.1-dev.8 07:31:05 v2.2.1-dev.9 07:31:05 v2.3.0 07:31:05 v2.3.0-dev.14 07:31:05 v2.3.0-dev.15 07:31:05 v2.3.0-dev.16 07:31:05 v2.3.0-dev.17 07:31:05 v2.3.0-dev.18 07:31:05 v2.3.0-dev.19 07:31:05 v2.3.0-dev.20 07:31:05 v2.3.0-dev.21 07:31:05 v2.3.0-dev.22 07:31:05 v2.3.0-dev.23 07:31:05 v2.3.0-dev.24 07:31:05 v2.3.0-dev.25 07:31:05 v2.3.0-dev.26 07:31:05 v2.3.0-dev.27 07:31:05 v2.3.0-dev.28 07:31:05 v2.3.0-dev.29 07:31:05 v2.3.0-dev.30 07:31:05 v2.3.0-dev.31 07:31:05 v2.3.0-dev.32 07:31:05 v2.3.0-dev.33 07:31:05 v2.3.0-dev.34 07:31:05 v2.3.0-dev.35 07:31:05 v2.3.0-dev.36 07:31:05 v2.3.0-dev.37 07:31:05 v2.3.0-dev.38 07:31:05 v2.3.0-dev.39 07:31:05 v2.3.0-dev.40 07:31:05 v2.3.0-dev.41 07:31:05 v2.3.0-dev.42 07:31:05 v2.3.0-dev.43 07:31:05 v2.3.0-dev.44 07:31:05 v2.3.0-dev.45 07:31:05 v2.3.0-dev.46 07:31:05 v2.3.0-dev.47 07:31:05 v2.3.0-dev.48 07:31:05 v2.3.0-dev.49 07:31:05 v2.3.0-dev.50 07:31:05 v2.3.0-dev.51 07:31:05 v2.3.1-dev.1 07:31:05 v2.3.1-dev.2 07:31:05 v3.0.0-dev.1 07:31:05 v3.0.0-dev.10 07:31:05 v3.0.0-dev.11 07:31:05 v3.0.0-dev.12 07:31:05 v3.0.0-dev.13 07:31:05 v3.0.0-dev.14 07:31:05 v3.0.0-dev.15 07:31:05 v3.0.0-dev.16 07:31:05 v3.0.0-dev.17 07:31:05 v3.0.0-dev.18 07:31:05 v3.0.0-dev.19 07:31:05 v3.0.0-dev.2 07:31:05 v3.0.0-dev.20 07:31:05 v3.0.0-dev.21 07:31:05 v3.0.0-dev.22 07:31:05 v3.0.0-dev.23 07:31:05 v3.0.0-dev.24 07:31:05 v3.0.0-dev.25 07:31:05 v3.0.0-dev.26 07:31:05 v3.0.0-dev.27 07:31:05 v3.0.0-dev.28 07:31:05 v3.0.0-dev.29 07:31:05 v3.0.0-dev.3 07:31:05 v3.0.0-dev.30 07:31:05 v3.0.0-dev.31 07:31:05 v3.0.0-dev.32 07:31:05 v3.0.0-dev.33 07:31:05 v3.0.0-dev.34 07:31:05 v3.0.0-dev.35 07:31:05 v3.0.0-dev.36 07:31:05 v3.0.0-dev.4 07:31:05 v3.0.0-dev.5 07:31:05 v3.0.0-dev.6 07:31:05 v3.0.0-dev.7 07:31:05 v3.0.0-dev.8 07:31:05 v3.0.0-dev.9 [Pipeline] sh 07:31:05 + lftools sign git-tag v3.0.0-dev.36 07:31:05 Signing Git tag with Sigul... 07:31:05 Signing v3.0.0-dev.36 [Pipeline] echo 07:31:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:31:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:31:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:31:06 $ docker stop --time=1 ae7f9a92384b4c67ee53a6605f76aaeed23369a1ee8a71b22caad236ad106b8e 07:31:07 $ docker rm -f --volumes ae7f9a92384b4c67ee53a6605f76aaeed23369a1ee8a71b22caad236ad106b8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:31:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:31:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:31:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:31:08 prd-ubuntu20.04-docker-8c-8g-7018 does not seem to be running inside a container 07:31:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:31:08 $ docker top c8ed3df343f6f73096d13668d5382626948f5d363d86fcd61919aca50dac8989 -eo pid,comm 07:31:08 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). 07:31:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:31:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:31:08 [ssh-agent] Looking for ssh-agent implementation... 07:31:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:31:09 $ docker exec c8ed3df343f6f73096d13668d5382626948f5d363d86fcd61919aca50dac8989 ssh-agent 07:31:09 SSH_AUTH_SOCK=/tmp/ssh-Hqzq5UaaeJhy/agent.32 07:31:09 SSH_AGENT_PID=38 07:31:09 Running ssh-add (command line suppressed) 07:31:09 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15431081180569905302.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15431081180569905302.key) 07:31:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:31:09 + git semver bump pre 07:31:09 2023-02-22 07:31:09,684 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:31:09 2023-02-22 07:31:09,684 [bump_version] DEBUG bumping version:3.0.0-dev.36 on axis:pre with prefix:dev 07:31:09 2023-02-22 07:31:09,684 [bump_version] DEBUG bumped version:3.0.0-dev.37 07:31:09 2023-02-22 07:31:09,685 [write_version] DEBUG write version:3.0.0-dev.37 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 07:31:09 2023-02-22 07:31:09,685 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:31:09 2023-02-22 07:31:09,685 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:31:09 2023-02-22 07:31:09,687 [execute] INFO git cat-file --batch-check 07:31:09 2023-02-22 07:31:09,687 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:31:09 2023-02-22 07:31:09,691 [execute] INFO git cat-file --batch 07:31:09 2023-02-22 07:31:09,691 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:31:09 2023-02-22 07:31:09,695 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:31:09 3.0.0-dev.37 [Pipeline] } 07:31:09 $ docker exec --env ******** --env ******** c8ed3df343f6f73096d13668d5382626948f5d363d86fcd61919aca50dac8989 ssh-agent -k 07:31:09 unset SSH_AUTH_SOCK; 07:31:09 unset SSH_AGENT_PID; 07:31:09 echo Agent pid 38 killed; 07:31:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:31:10 + git semver [Pipeline] } 07:31:10 $ docker stop --time=1 c8ed3df343f6f73096d13668d5382626948f5d363d86fcd61919aca50dac8989 07:31:11 $ docker rm -f --volumes c8ed3df343f6f73096d13668d5382626948f5d363d86fcd61919aca50dac8989 [Pipeline] // withDockerContainer [Pipeline] sh 07:31:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:31:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:31:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:31:12 prd-ubuntu20.04-docker-8c-8g-7018 does not seem to be running inside a container 07:31:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:31:12 $ docker top 7e3f9fefc38f41249a191a4487a16e360c9b15f19dac00fa6dd644e3245052d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:31:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:31:12 [ssh-agent] Looking for ssh-agent implementation... 07:31:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:31:13 $ docker exec 7e3f9fefc38f41249a191a4487a16e360c9b15f19dac00fa6dd644e3245052d4 ssh-agent 07:31:13 SSH_AUTH_SOCK=/tmp/ssh-LdoFxYNvDYs4/agent.32 07:31:13 SSH_AGENT_PID=38 07:31:13 Running ssh-add (command line suppressed) 07:31:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11250290214907589873.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11250290214907589873.key) 07:31:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:31:13 + git semver push 07:31:13 2023-02-22 07:31:13,710 [run_push] DEBUG push 07:31:13 2023-02-22 07:31:13,711 [execute] INFO git cat-file --batch-check 07:31:13 2023-02-22 07:31:13,711 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:31:13 2023-02-22 07:31:13,715 [execute] INFO git rev-list e10a9e6d86a553f8205ebaad603d3477dcf54e10 -- 07:31:13 2023-02-22 07:31:13,715 [execute] DEBUG Popen(['git', 'rev-list', 'e10a9e6d86a553f8205ebaad603d3477dcf54e10', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:31:13 2023-02-22 07:31:13,725 [execute] INFO git fetch -v origin 07:31:13 2023-02-22 07:31:13,725 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:31:14 2023-02-22 07:31:14,249 [run_push] DEBUG no remote changes detected 07:31:14 2023-02-22 07:31:14,249 [execute] INFO git push origin semver 07:31:14 2023-02-22 07:31:14,250 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:31:15 2023-02-22 07:31:15,059 [run_push] DEBUG push all version tags 07:31:15 2023-02-22 07:31:15,059 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:31:15 2023-02-22 07:31:15,060 [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) 07:31:16 2023-02-22 07:31:15,901 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:31:16 3.0.0-dev.37 [Pipeline] } 07:31:16 $ docker exec --env ******** --env ******** 7e3f9fefc38f41249a191a4487a16e360c9b15f19dac00fa6dd644e3245052d4 ssh-agent -k 07:31:16 unset SSH_AUTH_SOCK; 07:31:16 unset SSH_AGENT_PID; 07:31:16 echo Agent pid 38 killed; 07:31:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:31:16 + git semver [Pipeline] } 07:31:16 $ docker stop --time=1 7e3f9fefc38f41249a191a4487a16e360c9b15f19dac00fa6dd644e3245052d4 07:31:18 $ docker rm -f --volumes 7e3f9fefc38f41249a191a4487a16e360c9b15f19dac00fa6dd644e3245052d4 [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 07:31:18 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 07:31:18 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:31:18 total 16 07:31:18 drwxr-xr-x 3 root root 4096 Feb 22 07:21 . 07:31:18 drwxrwxr-x 12 jenkins jenkins 4096 Feb 22 07:31 .. 07:31:18 drwxr-xr-x 2 root root 4096 Feb 22 07:21 cost 07:31:18 -rw-r--r-- 1 root root 85 Feb 22 07:21 cost.csv 07:31:18 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:31:18 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:31:18 total 16 07:31:18 drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 07:21 . 07:31:18 drwxrwxr-x 12 jenkins jenkins 4096 Feb 22 07:31 .. 07:31:18 drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 07:21 cost 07:31:18 -rw-r--r-- 1 jenkins jenkins 85 Feb 22 07:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:31:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:31:19 ---> package-listing.sh 07:31:19 ++ facter osfamily 07:31:19 ++ tr '[:upper:]' '[:lower:]' 07:31:20 + OS_FAMILY=debian 07:31:20 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 07:31:20 + START_PACKAGES=/tmp/packages_start.txt 07:31:20 + END_PACKAGES=/tmp/packages_end.txt 07:31:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:31:20 + PACKAGES=/tmp/packages_start.txt 07:31:20 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:31:20 + PACKAGES=/tmp/packages_end.txt 07:31:20 + case "${OS_FAMILY}" in 07:31:20 + dpkg -l 07:31:20 + grep '^ii' 07:31:20 + '[' -f /tmp/packages_start.txt ']' 07:31:20 + '[' -f /tmp/packages_end.txt ']' 07:31:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:31:20 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:31:20 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 07:31:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 07:31:20 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 07:31:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:31:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:31:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:31:21 prd-ubuntu20.04-docker-8c-8g-7018 does not seem to be running inside a container 07:31:21 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:31:21 $ docker top 1979fe62e8f758bbbb3a997ac38e1717eb511919b013d16cdb57941855a8a43c -eo pid,comm [Pipeline] { [Pipeline] sh 07:31:21 + touch /tmp/pre-build-complete [Pipeline] sh 07:31:21 + mkdir -p /var/log/sysstat [Pipeline] sh 07:31:22 + ls /var/log/sa-host 07:31:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:31:22 provisioning config files... 07:31:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14282613918307167572tmp [Pipeline] { [Pipeline] echo 07:31:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:31:22 ---> create-netrc.sh [Pipeline] } 07:31:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:31:22 ---> python-tools-install.sh [Pipeline] echo 07:31:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:31:23 ---> sudo-logs.sh 07:31:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:31:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:31:23 ---> job-cost.sh 07:31:23 lf-activate-venv: SKIPPING 07:31:23 DEBUG: total: 0.2199999988079071 07:31:23 INFO: Retrieving Stack Cost... 07:31:23 INFO: Retrieving Pricing Info for: v3-standard-8 07:31:24 INFO: Archiving Costs [Pipeline] echo 07:31:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:31:24 ---> logs-deploy.sh 07:31:24 lf-activate-venv: SKIPPING 07:31:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/166 07:31:24 INFO: archiving workspace using pattern(s): 07:31:25 Archives upload complete. 07:31:25 INFO: archiving logs to Nexus