Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 00b01047cdcdd0c95135504e6ad4bd8a08767464 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-ssh11408949082816403214.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-ssh16155587694267176795.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-ssh18273021014309429044.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-ssh3091058571421654871.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-ssh13692188456045688210.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1258 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 00b01047cdcdd0c95135504e6ad4bd8a08767464 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00b01047cdcdd0c95135504e6ad4bd8a08767464 # timeout=10 Commit message: "Merge pull request #1269 from lenny-intel/remove-zmq" > git rev-list --no-walk 5f8eaa6ff6ef578af331e6eea42e46d4600f317a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:53:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:53:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:53:59 ========================================================= 10:53:59 EdgeX Global Pipelines Version Info 10:53:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:54:00 ------------------- 10:54:00 stable info: 10:54:00 ------------------- 10:54:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:54:00 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:54:00 Message: update stable to v1.0.244 10:54:00 ------------------- 10:54:00 experimental info: 10:54:00 ------------------- 10:54:00 Commited By: **** collab-it+edgex@linuxfoundation.org 10:54:00 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:54:00 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 00b01047cdcdd0c95135504e6ad4bd8a08767464 [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 00b0104 [Pipeline] echo 10:54:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:54:01 provisioning config files... 10:54:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3707782007250916653tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:54:01 ---> docker-login.sh 10:54:01 nexus3.edgexfoundry.org:10001 10:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:54:02 Configure a credential helper to remove this warning. See 10:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:54:02 10:54:02 Login Succeeded 10:54:02 nexus3.edgexfoundry.org:10002 10:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:54:02 Configure a credential helper to remove this warning. See 10:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:54:02 10:54:02 Login Succeeded 10:54:02 nexus3.edgexfoundry.org:10003 10:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:54:02 Configure a credential helper to remove this warning. See 10:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:54:02 10:54:02 Login Succeeded 10:54:02 nexus3.edgexfoundry.org:10004 10:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:54:02 Configure a credential helper to remove this warning. See 10:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:54:02 10:54:02 Login Succeeded 10:54:02 docker.io 10:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:54:02 Configure a credential helper to remove this warning. See 10:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:54:02 10:54:02 Login Succeeded 10:54:02 ---> docker-login.sh ends [Pipeline] } 10:54:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:54:03 + git rev-list -1 --merges 00b01047cdcdd0c95135504e6ad4bd8a08767464~1..00b01047cdcdd0c95135504e6ad4bd8a08767464 [Pipeline] echo 10:54:03 -----------> git rev-list -1 --merges 00b01047cdcdd0c95135504e6ad4bd8a08767464~1..00b01047cdcdd0c95135504e6ad4bd8a08767464 00b01047cdcdd0c95135504e6ad4bd8a08767464 10:54:03 00b01047cdcdd0c95135504e6ad4bd8a08767464 [false] [Pipeline] sh 10:54:03 + git log --format=format:%s -1 00b01047cdcdd0c95135504e6ad4bd8a08767464 [Pipeline] echo 10:54:03 ========================================================= 10:54:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:54:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:54:04 + git log --format=format:%s -1 00b01047cdcdd0c95135504e6ad4bd8a08767464 [Pipeline] echo 10:54:04 [semverPrep] GIT_COMMIT: 00b01047cdcdd0c95135504e6ad4bd8a08767464, Commit Message: Merge pull request #1269 from lenny-intel/remove-zmq [Pipeline] echo 10:54:04 [semverPrep] This is not a build commit. [Pipeline] sh 10:54:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:54:04 + grep -v github /etc/ssh/ssh_known_hosts 10:54:04 + [ -e /tmp/ssh_known_hosts ] 10:54:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:54:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:54:04 + sudo tee -a /etc/ssh/ssh_known_hosts 10:54:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:54:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:54:04 10:54:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:54:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:54:05 0.1.4: Pulling from edgex-devops/py-git-semver 10:54:05 b85a868b505f: Pulling fs layer 10:54:05 e2be974225ed: Pulling fs layer 10:54:05 339a4e72a1f5: Pulling fs layer 10:54:05 988bab9f4d93: Pulling fs layer 10:54:05 1469e6f7b9e6: Pulling fs layer 10:54:05 eaf3925da568: Pulling fs layer 10:54:05 bab4dde63d76: Pulling fs layer 10:54:05 bde34c3a00c8: Pulling fs layer 10:54:05 b352a97aabf1: Pulling fs layer 10:54:05 4872d77fe225: Pulling fs layer 10:54:05 5851b861e8e6: Pulling fs layer 10:54:05 988bab9f4d93: Waiting 10:54:05 1469e6f7b9e6: Waiting 10:54:05 eaf3925da568: Waiting 10:54:05 bab4dde63d76: Waiting 10:54:05 bde34c3a00c8: Waiting 10:54:05 b352a97aabf1: Waiting 10:54:05 4872d77fe225: Waiting 10:54:05 5851b861e8e6: Waiting 10:54:05 e2be974225ed: Download complete 10:54:05 988bab9f4d93: Verifying Checksum 10:54:05 988bab9f4d93: Download complete 10:54:05 339a4e72a1f5: Verifying Checksum 10:54:05 339a4e72a1f5: Download complete 10:54:05 1469e6f7b9e6: Verifying Checksum 10:54:05 1469e6f7b9e6: Download complete 10:54:05 eaf3925da568: Verifying Checksum 10:54:05 eaf3925da568: Download complete 10:54:05 bde34c3a00c8: Verifying Checksum 10:54:05 bde34c3a00c8: Download complete 10:54:05 b352a97aabf1: Download complete 10:54:05 4872d77fe225: Verifying Checksum 10:54:05 4872d77fe225: Download complete 10:54:05 5851b861e8e6: Download complete 10:54:05 b85a868b505f: Verifying Checksum 10:54:05 b85a868b505f: Download complete 10:54:05 bab4dde63d76: Verifying Checksum 10:54:05 bab4dde63d76: Download complete 10:54:07 b85a868b505f: Pull complete 10:54:07 e2be974225ed: Pull complete 10:54:07 339a4e72a1f5: Pull complete 10:54:07 988bab9f4d93: Pull complete 10:54:07 1469e6f7b9e6: Pull complete 10:54:07 eaf3925da568: Pull complete 10:54:09 bab4dde63d76: Pull complete 10:54:09 bde34c3a00c8: Pull complete 10:54:10 b352a97aabf1: Pull complete 10:54:10 4872d77fe225: Pull complete 10:54:10 5851b861e8e6: Pull complete 10:54:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:54:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:54:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:54:10 prd-ubuntu20.04-docker-8c-8g-1258 does not seem to be running inside a container 10:54:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:54:12 $ docker top 2e8fd30f50cbbeeb6e537ee78b984d45123ac474efba04f0dc01af2faa14b4fd -eo pid,comm 10:54:12 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). 10:54:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:54:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:54:12 [ssh-agent] Looking for ssh-agent implementation... 10:54:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:54:12 $ docker exec 2e8fd30f50cbbeeb6e537ee78b984d45123ac474efba04f0dc01af2faa14b4fd ssh-agent 10:54:12 SSH_AUTH_SOCK=/tmp/ssh-sULwVOcRYAZs/agent.31 10:54:12 SSH_AGENT_PID=37 10:54:12 Running ssh-add (command line suppressed) 10:54:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14054804537241357443.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14054804537241357443.key) 10:54:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:54:13 + git tag --points-at HEAD [Pipeline] } 10:54:13 $ docker exec --env ******** --env ******** 2e8fd30f50cbbeeb6e537ee78b984d45123ac474efba04f0dc01af2faa14b4fd ssh-agent -k 10:54:13 unset SSH_AUTH_SOCK; 10:54:13 unset SSH_AGENT_PID; 10:54:13 echo Agent pid 37 killed; 10:54:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:54:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:54:13 [ssh-agent] Looking for ssh-agent implementation... 10:54:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:54:13 $ docker exec 2e8fd30f50cbbeeb6e537ee78b984d45123ac474efba04f0dc01af2faa14b4fd ssh-agent 10:54:13 SSH_AUTH_SOCK=/tmp/ssh-JUD7kUjaKrCU/agent.69 10:54:13 SSH_AGENT_PID=75 10:54:13 Running ssh-add (command line suppressed) 10:54:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3289051487929896387.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3289051487929896387.key) 10:54:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:54:14 + git semver init 10:54:14 2023-01-06 10:54:14,421 [run_init] DEBUG init version:0.0.0 force:False 10:54:14 2023-01-06 10:54:14,422 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 10:54:14 2023-01-06 10:54:14,422 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 10:54:14 2023-01-06 10:54:14,423 [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) 10:54:15 2023-01-06 10:54:15,421 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 10:54:15 2023-01-06 10:54:15,421 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 10:54:15 2023-01-06 10:54:15,422 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:54:15 2023-01-06 10:54:15,422 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:54:15 3.0.0-dev.6 [Pipeline] } 10:54:15 $ docker exec --env ******** --env ******** 2e8fd30f50cbbeeb6e537ee78b984d45123ac474efba04f0dc01af2faa14b4fd ssh-agent -k 10:54:15 unset SSH_AUTH_SOCK; 10:54:15 unset SSH_AGENT_PID; 10:54:15 echo Agent pid 75 killed; 10:54:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:54:16 + git semver [Pipeline] } 10:54:16 $ docker stop --time=1 2e8fd30f50cbbeeb6e537ee78b984d45123ac474efba04f0dc01af2faa14b4fd 10:54:17 $ docker rm -f --volumes 2e8fd30f50cbbeeb6e537ee78b984d45123ac474efba04f0dc01af2faa14b4fd [Pipeline] // withDockerContainer [Pipeline] sh 10:54:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:54:18 Stashed 1 file(s) [Pipeline] echo 10:54:18 [edgeXSemver]: initialized semver on version 3.0.0-dev.6 [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 10:54:18 provisioning config files... 10:54:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12090555607289268528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:54:18 ---> docker-login.sh 10:54:18 nexus3.edgexfoundry.org:10001 10:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:54:18 Configure a credential helper to remove this warning. See 10:54:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:54:18 10:54:18 Login Succeeded 10:54:18 nexus3.edgexfoundry.org:10002 10:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:54:18 Configure a credential helper to remove this warning. See 10:54:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:54:18 10:54:18 Login Succeeded 10:54:18 nexus3.edgexfoundry.org:10003 10:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:54:18 Configure a credential helper to remove this warning. See 10:54:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:54:18 10:54:18 Login Succeeded 10:54:18 nexus3.edgexfoundry.org:10004 10:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:54:18 Configure a credential helper to remove this warning. See 10:54:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:54:18 10:54:18 Login Succeeded 10:54:18 docker.io 10:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:54:19 Configure a credential helper to remove this warning. See 10:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:54:19 10:54:19 Login Succeeded 10:54:19 ---> docker-login.sh ends [Pipeline] } 10:54:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:54:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:54:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:54:19 ========================================================= 10:54:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:54:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:54:19 + 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 . 10:54:19 Sending build context to Docker daemon 10.37MB 10:54:19 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 10:54:19 Step 2/10 : FROM ${BASE} AS builder 10:54:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:54:19 213ec9aee27d: Pulling fs layer 10:54:19 4583459ba037: Pulling fs layer 10:54:19 93c1e223e6f2: Pulling fs layer 10:54:19 53926ce57604: Pulling fs layer 10:54:19 21b2b0c7a3f4: Pulling fs layer 10:54:19 22ff95d597cd: Pulling fs layer 10:54:19 12d6caf4c0d1: Pulling fs layer 10:54:19 96b7cbca73a9: Pulling fs layer 10:54:19 a7acece74701: Pulling fs layer 10:54:19 53926ce57604: Waiting 10:54:19 21b2b0c7a3f4: Waiting 10:54:19 22ff95d597cd: Waiting 10:54:19 12d6caf4c0d1: Waiting 10:54:19 a7acece74701: Waiting 10:54:19 93c1e223e6f2: Verifying Checksum 10:54:19 93c1e223e6f2: Download complete 10:54:19 4583459ba037: Download complete 10:54:19 21b2b0c7a3f4: Verifying Checksum 10:54:19 21b2b0c7a3f4: Download complete 10:54:19 22ff95d597cd: Verifying Checksum 10:54:19 22ff95d597cd: Download complete 10:54:19 213ec9aee27d: Verifying Checksum 10:54:19 213ec9aee27d: Download complete 10:54:19 12d6caf4c0d1: Verifying Checksum 10:54:19 12d6caf4c0d1: Download complete 10:54:19 213ec9aee27d: Pull complete 10:54:20 4583459ba037: Pull complete 10:54:20 93c1e223e6f2: Pull complete 10:54:20 a7acece74701: Download complete 10:54:20 96b7cbca73a9: Verifying Checksum 10:54:20 96b7cbca73a9: Download complete 10:54:20 53926ce57604: Verifying Checksum 10:54:20 53926ce57604: Download complete 10:54:24 53926ce57604: Pull complete 10:54:24 21b2b0c7a3f4: Pull complete 10:54:24 22ff95d597cd: Pull complete 10:54:24 12d6caf4c0d1: Pull complete 10:54:26 96b7cbca73a9: Pull complete 10:54:27 a7acece74701: Pull complete 10:54:27 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 10:54:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:54:27 ---> db6d94c90886 10:54:27 Step 3/10 : ARG MAKE=make build 10:54:32 ---> Running in 2f27b55b4da1 10:54:32 Removing intermediate container 2f27b55b4da1 10:54:32 ---> 48f01e995fcf 10:54:32 Step 4/10 : WORKDIR /device-sdk-go 10:54:32 ---> Running in 429005939c9b 10:54:32 Removing intermediate container 429005939c9b 10:54:32 ---> 631dee31e003 10:54:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:54:32 ---> Running in af1c30ad1ca9 10:54:32 Removing intermediate container af1c30ad1ca9 10:54:32 ---> 0fce37557e98 10:54:32 Step 6/10 : RUN apk add --update --no-cache make git 10:54:32 ---> Running in cbf9ff2e59f9 10:54:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:54:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:54:32 OK: 211 MiB in 51 packages 10:54:33 Still waiting to schedule task 10:54:33 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:54:33 Removing intermediate container cbf9ff2e59f9 10:54:33 ---> a78af31c0226 10:54:33 Step 7/10 : COPY go.mod vendor* ./ 10:54:33 ---> 2f1d1f91e10e 10:54:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:54:33 ---> Running in 016ab7df5f1d 10:54:59 Removing intermediate container 016ab7df5f1d 10:54:59 ---> 8a308e8cfada 10:54:59 Step 9/10 : COPY . . 10:54:59 ---> 7f340d2bf267 10:54:59 Step 10/10 : RUN ${MAKE} 10:54:59 ---> Running in dc44250ba582 10:54:59 noop 10:54:59 Removing intermediate container dc44250ba582 10:54:59 ---> df633856a2f6 10:54:59 Successfully built df633856a2f6 10:54:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:55:00 + docker inspect -f . ci-base-image-x86_64 10:55:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:55:00 prd-ubuntu20.04-docker-8c-8g-1258 does not seem to be running inside a container 10:55:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:55:00 $ docker top 8de706add0a812ab744dc70e0d2b86539b13da02336ac8b6573f86bc40dcecde -eo pid,comm [Pipeline] { [Pipeline] sh 10:55:01 + go version 10:55:01 go version go1.18.7 linux/amd64 [Pipeline] } 10:55:01 $ docker stop --time=1 8de706add0a812ab744dc70e0d2b86539b13da02336ac8b6573f86bc40dcecde 10:55:02 $ docker rm -f --volumes 8de706add0a812ab744dc70e0d2b86539b13da02336ac8b6573f86bc40dcecde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:55:02 + docker inspect -f . ci-base-image-x86_64 10:55:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:55:02 prd-ubuntu20.04-docker-8c-8g-1258 does not seem to be running inside a container 10:55:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:55:03 $ docker top 145a9d469b979e48fd15805c3059c0acc1519873becbfb4acf2772482bebb860 -eo pid,comm [Pipeline] { [Pipeline] sh 10:55:03 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 10:55:03 + make test 10:55:03 go test -race -coverprofile=coverage.out ./... 10:55:10 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 10:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 10:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 10:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 10:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 10:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 10:55:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.065s coverage: 27.6% of statements 10:55:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.085s coverage: 78.9% of statements 10:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 10:55:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.087s coverage: 73.1% of statements 10:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 10:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 10:55:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.109s coverage: 54.4% of statements 10:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 10:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 10:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 10:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 10:55:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.095s coverage: 65.1% of statements 10:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 10:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 10:55:25 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.740s coverage: 89.2% of statements 10:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 10:55:25 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 4.7% of statements 10:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 10:55:43 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." 10:55:43 GO111MODULE=on go vet ./... 10:55:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:55:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:55:45 ./bin/test-attribution-txt.sh [Pipeline] echo 10:55:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:55:45 $ docker stop --time=1 145a9d469b979e48fd15805c3059c0acc1519873becbfb4acf2772482bebb860 10:55:49 $ docker rm -f --volumes 145a9d469b979e48fd15805c3059c0acc1519873becbfb4acf2772482bebb860 [Pipeline] // withDockerContainer [Pipeline] sh 10:55:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:55:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:55:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:55:50 + ls -al . 10:55:50 total 280 10:55:50 drwxrwxr-x 11 jenkins jenkins 4096 Jan 6 10:55 . 10:55:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 6 10:53 .. 10:55:50 -rw-rw-r-- 1 jenkins jenkins 140 Jan 6 10:53 .dockerignore 10:55:50 drwxrwxr-x 8 jenkins jenkins 4096 Jan 6 10:55 .git 10:55:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 6 10:53 .github 10:55:50 -rw-rw-r-- 1 jenkins jenkins 131 Jan 6 10:53 .gitignore 10:55:50 -rw-rw-r-- 1 jenkins jenkins 42 Jan 6 10:53 .golangci.yml 10:55:50 drwxr-xr-x 3 jenkins jenkins 4096 Jan 6 10:54 .semver 10:55:50 -rw-rw-r-- 1 jenkins jenkins 31677 Jan 6 10:53 CHANGELOG.md 10:55:50 -rw-rw-r-- 1 jenkins jenkins 677 Jan 6 10:53 GOVERNANCE.md 10:55:50 -rw-rw-r-- 1 jenkins jenkins 880 Jan 6 10:53 Jenkinsfile 10:55:50 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 6 10:53 LICENSE 10:55:50 -rw-rw-r-- 1 jenkins jenkins 1679 Jan 6 10:53 Makefile 10:55:50 -rw-rw-r-- 1 jenkins jenkins 619 Jan 6 10:53 OWNERS.md 10:55:50 -rw-rw-r-- 1 jenkins jenkins 4891 Jan 6 10:53 README.md 10:55:50 -rw-rw-r-- 1 jenkins jenkins 11 Jan 6 10:54 VERSION 10:55:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 6 10:53 bin 10:55:50 -rw-r--r-- 1 jenkins jenkins 101759 Jan 6 10:55 coverage.out 10:55:50 drwxrwxr-x 5 jenkins jenkins 4096 Jan 6 10:53 example 10:55:50 -rw-rw-r-- 1 jenkins jenkins 3342 Jan 6 10:53 go.mod 10:55:50 -rw-rw-r-- 1 jenkins jenkins 44555 Jan 6 10:53 go.sum 10:55:50 drwxrwxr-x 14 jenkins jenkins 4096 Jan 6 10:53 internal 10:55:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 6 10:53 openapi 10:55:50 drwxrwxr-x 6 jenkins jenkins 4096 Jan 6 10:53 pkg 10:55:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 6 10:53 snap 10:55:50 -rw-rw-r-- 1 jenkins jenkins 222 Jan 6 10:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:55:50 + 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=00b01047cdcdd0c95135504e6ad4bd8a08767464 --label arch=amd64 --label version=3.0.0-dev.6 . 10:55:50 Sending build context to Docker daemon 10.47MB 10:55:50 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 10:55:50 Step 2/23 : FROM ${BASE} AS builder 10:55:50 ---> df633856a2f6 10:55:50 Step 3/23 : ARG MAKE=make build 10:55:51 ---> Running in 124bea87cc6a 10:55:51 Removing intermediate container 124bea87cc6a 10:55:51 ---> 94650976e06a 10:55:51 Step 4/23 : WORKDIR /device-sdk-go 10:55:51 ---> Running in 4596ba22eedc 10:55:51 Removing intermediate container 4596ba22eedc 10:55:51 ---> 925b38929195 10:55:51 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:55:51 ---> Running in c3e26236ddad 10:55:51 Removing intermediate container c3e26236ddad 10:55:51 ---> c3e90466c05c 10:55:51 Step 6/23 : RUN apk add --update --no-cache make git 10:55:51 ---> Running in ab5e73162f76 10:55:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:55:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:55:52 OK: 211 MiB in 51 packages 10:55:52 Removing intermediate container ab5e73162f76 10:55:52 ---> 9beef3687e80 10:55:52 Step 7/23 : COPY go.mod vendor* ./ 10:55:52 ---> e8cd05666f11 10:55:52 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:55:52 ---> Running in c4d2b03453f3 10:55:52 Removing intermediate container c4d2b03453f3 10:55:53 ---> 99ee55881fa8 10:55:53 Step 9/23 : COPY . . 10:55:53 ---> d9bcf2449bc7 10:55:53 Step 10/23 : RUN ${MAKE} 10:55:53 ---> Running in 338b8601c84e 10:55:53 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.6" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:56:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1259 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 10:56:01 Running in /w/workspace/device-sdk-go/136 [Pipeline] { [Pipeline] checkout 10:56:01 The recommended git tool is: git 10:56:06 using credential edgex-jenkins-ssh 10:56:06 Cloning the remote Git repository 10:56:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:56:06 > git init /w/workspace/device-sdk-go/136 # timeout=10 10:56:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:56:06 > git --version # timeout=10 10:56:06 > git --version # 'git version 2.25.1' 10:56:06 using GIT_SSH to set credentials SSH Credentials for GitHub 10:56:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:56:09 Avoid second fetch 10:56:09 Checking out Revision 00b01047cdcdd0c95135504e6ad4bd8a08767464 (main) 10:56:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:56:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:56:09 > git config core.sparsecheckout # timeout=10 10:56:09 > git checkout -f 00b01047cdcdd0c95135504e6ad4bd8a08767464 # timeout=10 10:56:10 Commit message: "Merge pull request #1269 from lenny-intel/remove-zmq" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:56:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:56:11 % Total % Received % Xferd Average Speed Time Time Time Current 10:56:11 Dload Upload Total Spent Left Speed 10:56:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 66411 0 --:--:-- --:--:-- --:--:-- 66759 [Pipeline] sh 10:56:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:56:12 + sudo tee /etc/docker/daemon.new 10:56:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:56:12 { 10:56:12 "registry-mirrors": [ 10:56:12 "https://nexus3.edgexfoundry.org:10001" 10:56:12 ], 10:56:12 "bip": "10.250.0.254/24", 10:56:12 "hosts": [ 10:56:12 "tcp://0.0.0.0:5555", 10:56:12 "unix:///var/run/docker.sock" 10:56:12 ], 10:56:12 "mtu": 1458, 10:56:12 "selinux-enabled": true, 10:56:12 "seccomp-profile": "/etc/docker/seccomp.json" 10:56:12 } [Pipeline] sh 10:56:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:56:12 + sudo service docker restart 10:56:15 Removing intermediate container 338b8601c84e 10:56:15 ---> 3b72ef76fdec 10:56:15 Step 11/23 : FROM alpine:3.16 10:56:15 3.16: Pulling from library/alpine 10:56:15 ca7dd9ec2225: Pulling fs layer 10:56:15 ca7dd9ec2225: Verifying Checksum 10:56:15 ca7dd9ec2225: Download complete 10:56:15 ca7dd9ec2225: Pull complete 10:56:15 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 10:56:15 Status: Downloaded newer image for alpine:3.16 10:56:15 ---> bfe296a52501 10:56:15 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:56:15 ---> Running in 5182aef149d3 10:56:15 Removing intermediate container 5182aef149d3 10:56:15 ---> f522407fe984 10:56:15 Step 13/23 : RUN apk add --update --no-cache 10:56:15 ---> Running in 2412ead8f8ff 10:56:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:56:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:56:15 OK: 6 MiB in 14 packages 10:56:15 Removing intermediate container 2412ead8f8ff 10:56:15 ---> 626dac30020b 10:56:15 Step 14/23 : WORKDIR / 10:56:15 ---> Running in 216bd00c2649 10:56:15 Removing intermediate container 216bd00c2649 10:56:15 ---> 412409ebb58e 10:56:15 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:56:15 ---> 39a044d33e2e 10:56:15 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:56:16 ---> d51ac95538b6 10:56:16 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:56:16 ---> 682a4f421d29 10:56:16 Step 18/23 : EXPOSE 59999 10:56:16 ---> Running in b4f866239c4c 10:56:16 Removing intermediate container b4f866239c4c 10:56:16 ---> 14cfa4d9b755 10:56:16 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:56:17 ---> Running in aea1ca2310f8 10:56:17 Removing intermediate container aea1ca2310f8 10:56:17 ---> 83f665f224ae 10:56:17 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:56:17 ---> Running in f7a626ed34d9 10:56:17 Removing intermediate container f7a626ed34d9 10:56:17 ---> eddfab05fcf1 10:56:17 Step 21/23 : LABEL arch=amd64 10:56:17 ---> Running in a147232dd997 10:56:17 Removing intermediate container a147232dd997 10:56:17 ---> bb2a798dc12f 10:56:17 Step 22/23 : LABEL git_sha=00b01047cdcdd0c95135504e6ad4bd8a08767464 10:56:17 ---> Running in 2ba22a269405 10:56:17 Removing intermediate container 2ba22a269405 10:56:17 ---> 4a5e4a8ff98c 10:56:17 Step 23/23 : LABEL version=3.0.0-dev.6 10:56:17 ---> Running in c850d52ca141 10:56:17 Removing intermediate container c850d52ca141 10:56:17 ---> a117dc9ed486 10:56:17 [Warning] One or more build-args [ARCH] were not consumed 10:56:17 Successfully built a117dc9ed486 10:56:17 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 10:56:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:56:17 10:56:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:56:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:56:18 latest: Pulling from edgex-lftools-log-publisher 10:56:18 5eb5b503b376: Pulling fs layer 10:56:18 5c69ac0246d0: Pulling fs layer 10:56:18 ec43610c2a17: Pulling fs layer 10:56:18 3a2ae6a8a46f: Pulling fs layer 10:56:18 33b1e0a273af: Pulling fs layer 10:56:18 5d3b04190fa2: Pulling fs layer 10:56:18 2f39f015ded8: Pulling fs layer 10:56:18 3a2ae6a8a46f: Waiting 10:56:18 33b1e0a273af: Waiting 10:56:18 5d3b04190fa2: Waiting 10:56:18 2f39f015ded8: Waiting 10:56:18 5c69ac0246d0: Verifying Checksum 10:56:18 5c69ac0246d0: Download complete 10:56:18 3a2ae6a8a46f: Download complete 10:56:18 33b1e0a273af: Verifying Checksum 10:56:18 33b1e0a273af: Download complete 10:56:18 5d3b04190fa2: Download complete 10:56:18 ec43610c2a17: Verifying Checksum 10:56:18 ec43610c2a17: Download complete 10:56:18 5eb5b503b376: Verifying Checksum 10:56:18 5eb5b503b376: Download complete 10:56:18 2f39f015ded8: Download complete 10:56:19 5eb5b503b376: Pull complete 10:56:19 5c69ac0246d0: Pull complete 10:56:20 ec43610c2a17: Pull complete 10:56:20 3a2ae6a8a46f: Pull complete 10:56:20 33b1e0a273af: Pull complete 10:56:20 5d3b04190fa2: Pull complete 10:56:24 2f39f015ded8: Pull complete 10:56:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:56:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:56:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:56:25 prd-ubuntu20.04-docker-8c-8g-1258 does not seem to be running inside a container 10:56:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:56:28 $ docker top 2513b0c80799a46f022c71e5dcf18d44b968aeac7d6ef9b185dcd5d9707cf617 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:56:28 ---> job-cost.sh 10:56:28 lf-activate-venv: SKIPPING 10:56:28 INFO: No Stack... 10:56:29 INFO: Retrieving Pricing Info for: v3-standard-8 10:56:29 INFO: Archiving Costs [Pipeline] sh 10:56:29 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 10:56:29 + cut -d, -f6 [Pipeline] lock 10:56:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-136-stack-cost] 10:56:29 Resource [jenkins-edgexfoundry-device-sdk-go-main-136-stack-cost] did not exist. Created. 10:56:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-136-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:56:30 + echo total: 0.2199999988079071 [Pipeline] stash 10:56:30 Stashed 1 file(s) [Pipeline] } 10:56:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-136-stack-cost] [Pipeline] // lock [Pipeline] } 10:56:30 $ docker stop --time=1 2513b0c80799a46f022c71e5dcf18d44b968aeac7d6ef9b185dcd5d9707cf617 10:56:31 $ docker rm -f --volumes 2513b0c80799a46f022c71e5dcf18d44b968aeac7d6ef9b185dcd5d9707cf617 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider 10:56:31 provisioning config files... [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage 10:56:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/136@tmp/config1341506649739907600tmp [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:56:31 ---> docker-login.sh 10:56:31 nexus3.edgexfoundry.org:10001 10:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:32 Configure a credential helper to remove this warning. See 10:56:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:32 10:56:32 Login Succeeded 10:56:32 nexus3.edgexfoundry.org:10002 10:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:32 Configure a credential helper to remove this warning. See 10:56:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:32 10:56:32 Login Succeeded 10:56:32 nexus3.edgexfoundry.org:10003 10:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:33 Configure a credential helper to remove this warning. See 10:56:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:33 10:56:33 Login Succeeded 10:56:33 nexus3.edgexfoundry.org:10004 10:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:33 Configure a credential helper to remove this warning. See 10:56:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:33 10:56:33 Login Succeeded 10:56:33 docker.io 10:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:34 Configure a credential helper to remove this warning. See 10:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:34 10:56:34 Login Succeeded 10:56:34 ---> docker-login.sh ends [Pipeline] } 10:56:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:56:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:56:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:56:34 ========================================================= 10:56:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:56:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:56:34 + 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 . 10:56:34 Sending build context to Docker daemon 5.568MB 10:56:34 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 10:56:34 Step 2/10 : FROM ${BASE} AS builder 10:56:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:56:35 9b18e9b68314: Pulling fs layer 10:56:35 35d82f9e3411: Pulling fs layer 10:56:35 e16973657156: Pulling fs layer 10:56:35 fc693d55d65f: Pulling fs layer 10:56:35 7e9fc2657dce: Pulling fs layer 10:56:35 dda99020689f: Pulling fs layer 10:56:35 db1c61fa0a46: Pulling fs layer 10:56:35 891c053d2c06: Pulling fs layer 10:56:35 fc693d55d65f: Waiting 10:56:35 7e9fc2657dce: Waiting 10:56:35 dda99020689f: Waiting 10:56:35 db1c61fa0a46: Waiting 10:56:35 891c053d2c06: Waiting 10:56:35 e16973657156: Verifying Checksum 10:56:35 e16973657156: Download complete 10:56:35 35d82f9e3411: Verifying Checksum 10:56:35 35d82f9e3411: Download complete 10:56:35 7e9fc2657dce: Verifying Checksum 10:56:35 7e9fc2657dce: Download complete 10:56:35 dda99020689f: Verifying Checksum 10:56:35 dda99020689f: Download complete 10:56:35 9b18e9b68314: Verifying Checksum 10:56:36 9b18e9b68314: Pull complete 10:56:36 891c053d2c06: Verifying Checksum 10:56:36 891c053d2c06: Download complete 10:56:36 35d82f9e3411: Pull complete 10:56:37 e16973657156: Pull complete 10:56:37 db1c61fa0a46: Verifying Checksum 10:56:37 db1c61fa0a46: Download complete 10:56:38 fc693d55d65f: Download complete 10:56:50 fc693d55d65f: Pull complete 10:56:50 7e9fc2657dce: Pull complete 10:56:50 dda99020689f: Pull complete 10:56:57 db1c61fa0a46: Pull complete 10:56:59 891c053d2c06: Pull complete 10:56:59 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 10:56:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:56:59 ---> f96f9c87975a 10:56:59 Step 3/10 : ARG MAKE=make build 10:57:01 ---> Running in 0afff74bfb39 10:57:01 Removing intermediate container 0afff74bfb39 10:57:01 ---> e762d7dede5f 10:57:01 Step 4/10 : WORKDIR /device-sdk-go 10:57:01 ---> Running in fd108ee32894 10:57:01 Removing intermediate container fd108ee32894 10:57:01 ---> d8ffd3f59672 10:57:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:57:02 ---> Running in 3a6db8c083a0 10:57:02 Removing intermediate container 3a6db8c083a0 10:57:02 ---> 53e75b443cb7 10:57:02 Step 6/10 : RUN apk add --update --no-cache make git 10:57:02 ---> Running in cd4ac81e32aa 10:57:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:57:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:57:04 OK: 221 MiB in 51 packages 10:57:05 Removing intermediate container cd4ac81e32aa 10:57:05 ---> 13ed844d37cd 10:57:05 Step 7/10 : COPY go.mod vendor* ./ 10:57:05 ---> 57c7e180952d 10:57:05 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:57:05 ---> Running in f78f7dd44f80 10:58:02 Removing intermediate container f78f7dd44f80 10:58:02 ---> dba04bd63358 10:58:02 Step 9/10 : COPY . . 10:58:02 ---> 7c67763869bd 10:58:02 Step 10/10 : RUN ${MAKE} 10:58:02 ---> Running in 4d8ba87c4e96 10:58:02 noop 10:58:02 Removing intermediate container 4d8ba87c4e96 10:58:02 ---> 22a1b1b7b0b1 10:58:02 Successfully built 22a1b1b7b0b1 10:58:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:02 + docker inspect -f . ci-base-image-arm64 10:58:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:58:03 prd-ubuntu20.04-docker-arm64-4c-16g-1259 does not seem to be running inside a container 10:58:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/136 -v /w/workspace/device-sdk-go/136:/w/workspace/device-sdk-go/136:rw,z -v /w/workspace/device-sdk-go/136@tmp:/w/workspace/device-sdk-go/136@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 10:58:04 $ docker top 5ea3bf3be7a31881f0c6277ffa04f4730b03797361e93966e898d88875baae75 -eo pid,comm [Pipeline] { [Pipeline] sh 10:58:04 + go version 10:58:04 go version go1.18.7 linux/arm64 [Pipeline] } 10:58:05 $ docker stop --time=1 5ea3bf3be7a31881f0c6277ffa04f4730b03797361e93966e898d88875baae75 10:58:06 $ docker rm -f --volumes 5ea3bf3be7a31881f0c6277ffa04f4730b03797361e93966e898d88875baae75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:07 + docker inspect -f . ci-base-image-arm64 10:58:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:58:07 prd-ubuntu20.04-docker-arm64-4c-16g-1259 does not seem to be running inside a container 10:58:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/136 -v /w/workspace/device-sdk-go/136:/w/workspace/device-sdk-go/136:rw,z -v /w/workspace/device-sdk-go/136@tmp:/w/workspace/device-sdk-go/136@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 10:58:08 $ docker top 0d81325a91dc9f3519e3b766a0f372a957baecbf5faf4be5803175ef74d5c372 -eo pid,comm [Pipeline] { [Pipeline] sh 10:58:09 + git config --global --add safe.directory /w/workspace/device-sdk-go/136 [Pipeline] fileExists [Pipeline] sh 10:58:09 + make test 10:58:09 go test -race -coverprofile=coverage.out ./... 10:58:42 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 11:00:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 11:00:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 11:00:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 11:00:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 11:00:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 11:00:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.258s coverage: 27.6% of statements 11:00:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.608s coverage: 78.9% of statements 11:00:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 11:00:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.460s coverage: 73.1% of statements 11:00:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 11:00:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 11:00:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.486s coverage: 54.4% of statements 11:00:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 11:00:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 11:00:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 11:00:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 11:00:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.455s coverage: 65.1% of statements 11:00:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 11:00:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 11:00:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.527s coverage: 89.2% of statements 11:00:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 11:00:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.272s coverage: 4.7% of statements 11:00:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 11:00:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:00:40 GO111MODULE=on go vet ./... 11:02:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:02:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:02:32 ./bin/test-attribution-txt.sh [Pipeline] echo 11:02:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:02:32 $ docker stop --time=1 0d81325a91dc9f3519e3b766a0f372a957baecbf5faf4be5803175ef74d5c372 11:02:34 $ docker rm -f --volumes 0d81325a91dc9f3519e3b766a0f372a957baecbf5faf4be5803175ef74d5c372 [Pipeline] // withDockerContainer [Pipeline] sh 11:02:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:02:35 Warning: overwriting stash ‘coverage-report’ 11:02:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:02:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:02:36 + ls -al . 11:02:36 total 276 11:02:36 drwxrwxr-x 10 jenkins jenkins 4096 Jan 6 10:58 . 11:02:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 6 10:56 .. 11:02:36 -rw-rw-r-- 1 jenkins jenkins 140 Jan 6 10:56 .dockerignore 11:02:36 drwxrwxr-x 8 jenkins jenkins 4096 Jan 6 10:56 .git 11:02:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 6 10:56 .github 11:02:36 -rw-rw-r-- 1 jenkins jenkins 131 Jan 6 10:56 .gitignore 11:02:36 -rw-rw-r-- 1 jenkins jenkins 42 Jan 6 10:56 .golangci.yml 11:02:36 -rw-rw-r-- 1 jenkins jenkins 31677 Jan 6 10:56 CHANGELOG.md 11:02:36 -rw-rw-r-- 1 jenkins jenkins 677 Jan 6 10:56 GOVERNANCE.md 11:02:36 -rw-rw-r-- 1 jenkins jenkins 880 Jan 6 10:56 Jenkinsfile 11:02:36 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 6 10:56 LICENSE 11:02:36 -rw-rw-r-- 1 jenkins jenkins 1679 Jan 6 10:56 Makefile 11:02:36 -rw-rw-r-- 1 jenkins jenkins 619 Jan 6 10:56 OWNERS.md 11:02:36 -rw-rw-r-- 1 jenkins jenkins 4891 Jan 6 10:56 README.md 11:02:36 -rw-rw-r-- 1 jenkins jenkins 11 Jan 6 10:54 VERSION 11:02:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 6 10:56 bin 11:02:36 -rw-r--r-- 1 jenkins jenkins 101759 Jan 6 11:00 coverage.out 11:02:36 drwxrwxr-x 5 jenkins jenkins 4096 Jan 6 10:56 example 11:02:36 -rw-rw-r-- 1 jenkins jenkins 3342 Jan 6 10:56 go.mod 11:02:36 -rw-rw-r-- 1 jenkins jenkins 44555 Jan 6 10:56 go.sum 11:02:36 drwxrwxr-x 14 jenkins jenkins 4096 Jan 6 10:56 internal 11:02:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 6 10:56 openapi 11:02:36 drwxrwxr-x 6 jenkins jenkins 4096 Jan 6 10:56 pkg 11:02:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 6 10:56 snap 11:02:36 -rw-rw-r-- 1 jenkins jenkins 222 Jan 6 10:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:36 + 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=00b01047cdcdd0c95135504e6ad4bd8a08767464 --label arch=arm64 --label version=3.0.0-dev.6 . 11:02:37 Sending build context to Docker daemon 5.67MB 11:02:37 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 11:02:37 Step 2/23 : FROM ${BASE} AS builder 11:02:37 ---> 22a1b1b7b0b1 11:02:37 Step 3/23 : ARG MAKE=make build 11:02:37 ---> Running in c4bcaf45bc4f 11:02:37 Removing intermediate container c4bcaf45bc4f 11:02:37 ---> 334a5bd5d0f7 11:02:37 Step 4/23 : WORKDIR /device-sdk-go 11:02:37 ---> Running in 09d6ccd648c8 11:02:38 Removing intermediate container 09d6ccd648c8 11:02:38 ---> c2ae057b7845 11:02:38 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:02:38 ---> Running in b46c80c8924b 11:02:38 Removing intermediate container b46c80c8924b 11:02:38 ---> ea1899a6c700 11:02:38 Step 6/23 : RUN apk add --update --no-cache make git 11:02:38 ---> Running in c77fb70d5388 11:02:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:02:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:02:41 OK: 221 MiB in 51 packages 11:02:41 Removing intermediate container c77fb70d5388 11:02:41 ---> 784ac458343e 11:02:41 Step 7/23 : COPY go.mod vendor* ./ 11:02:42 ---> a105b86186ac 11:02:42 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:02:42 ---> Running in 4b815d93fe9f 11:02:44 Removing intermediate container 4b815d93fe9f 11:02:44 ---> 55ce53a7d39b 11:02:44 Step 9/23 : COPY . . 11:02:44 ---> 3028569c5042 11:02:44 Step 10/23 : RUN ${MAKE} 11:02:44 ---> Running in 39e7394673f1 11:02:45 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.6" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 11:04:37 Removing intermediate container 39e7394673f1 11:04:37 ---> 5d05b0564616 11:04:37 Step 11/23 : FROM alpine:3.16 11:04:37 3.16: Pulling from library/alpine 11:04:37 6875df1f5354: Pulling fs layer 11:04:38 6875df1f5354: Verifying Checksum 11:04:38 6875df1f5354: Download complete 11:04:38 6875df1f5354: Pull complete 11:04:38 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 11:04:38 Status: Downloaded newer image for alpine:3.16 11:04:38 ---> 2b4661558fb8 11:04:38 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:04:38 ---> Running in 86062011701a 11:04:38 Removing intermediate container 86062011701a 11:04:38 ---> e840106b574f 11:04:38 Step 13/23 : RUN apk add --update --no-cache 11:04:39 ---> Running in 91d3d222c5a3 11:04:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:04:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:04:41 OK: 5 MiB in 14 packages 11:04:42 Removing intermediate container 91d3d222c5a3 11:04:42 ---> edbe3d055b03 11:04:42 Step 14/23 : WORKDIR / 11:04:42 ---> Running in 3c5bf1a0d631 11:04:42 Removing intermediate container 3c5bf1a0d631 11:04:42 ---> 4851c0ac7185 11:04:42 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 11:04:43 ---> a546c200c379 11:04:43 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 11:04:44 ---> 50385cb3494f 11:04:44 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 11:04:44 ---> 1b17a0ccf88f 11:04:44 Step 18/23 : EXPOSE 59999 11:04:45 ---> Running in 4cbbb0c6b826 11:04:45 Removing intermediate container 4cbbb0c6b826 11:04:45 ---> ac70ccd0a09f 11:04:45 Step 19/23 : ENTRYPOINT ["/device-simple"] 11:04:45 ---> Running in 3d25281cf48a 11:04:45 Removing intermediate container 3d25281cf48a 11:04:45 ---> 1d28e7fa3a56 11:04:45 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 11:04:45 ---> Running in c9d6e9287bab 11:04:46 Removing intermediate container c9d6e9287bab 11:04:46 ---> fd7a746c8d4d 11:04:46 Step 21/23 : LABEL arch=arm64 11:04:46 ---> Running in 17c70279535f 11:04:46 Removing intermediate container 17c70279535f 11:04:46 ---> acc5ad894aa1 11:04:46 Step 22/23 : LABEL git_sha=00b01047cdcdd0c95135504e6ad4bd8a08767464 11:04:46 ---> Running in 4ab8ca654679 11:04:46 Removing intermediate container 4ab8ca654679 11:04:46 ---> dc8eb1b02dc0 11:04:46 Step 23/23 : LABEL version=3.0.0-dev.6 11:04:46 ---> Running in f372b9e0c5ec 11:04:47 Removing intermediate container f372b9e0c5ec 11:04:47 ---> e9ed7d46cb7a 11:04:47 [Warning] One or more build-args [ARCH] were not consumed 11:04:47 Successfully built e9ed7d46cb7a 11:04:47 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 11:04:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:04:47 11:04:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:04:47 arm64: Pulling from edgex-lftools-log-publisher 11:04:47 8998bd30e6a1: Pulling fs layer 11:04:47 04944245beec: Pulling fs layer 11:04:47 699f458cf7ca: Pulling fs layer 11:04:47 765212b225bb: Pulling fs layer 11:04:47 f23df028b6ca: Pulling fs layer 11:04:47 d65c8cfc05b1: Pulling fs layer 11:04:47 2437ff75d9bd: Pulling fs layer 11:04:47 f23df028b6ca: Waiting 11:04:47 d65c8cfc05b1: Waiting 11:04:47 2437ff75d9bd: Waiting 11:04:47 765212b225bb: Waiting 11:04:48 04944245beec: Verifying Checksum 11:04:48 04944245beec: Download complete 11:04:48 765212b225bb: Verifying Checksum 11:04:48 765212b225bb: Download complete 11:04:48 f23df028b6ca: Download complete 11:04:48 d65c8cfc05b1: Verifying Checksum 11:04:48 d65c8cfc05b1: Download complete 11:04:48 699f458cf7ca: Verifying Checksum 11:04:48 699f458cf7ca: Download complete 11:04:48 8998bd30e6a1: Download complete 11:04:50 2437ff75d9bd: Verifying Checksum 11:04:50 2437ff75d9bd: Download complete 11:04:52 8998bd30e6a1: Pull complete 11:04:52 04944245beec: Pull complete 11:04:54 699f458cf7ca: Pull complete 11:04:54 765212b225bb: Pull complete 11:04:54 f23df028b6ca: Pull complete 11:04:55 d65c8cfc05b1: Pull complete 11:05:07 2437ff75d9bd: Pull complete 11:05:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:05:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:05:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:07 prd-ubuntu20.04-docker-arm64-4c-16g-1259 does not seem to be running inside a container 11:05:07 $ 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/136 -v /w/workspace/device-sdk-go/136:/w/workspace/device-sdk-go/136:rw,z -v /w/workspace/device-sdk-go/136@tmp:/w/workspace/device-sdk-go/136@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 11:05:10 $ docker top e51628a4d422106db4713b7a808c1771cbd209374540abe9f33e9d40d1880cfe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:05:10 ---> job-cost.sh 11:05:10 lf-activate-venv: SKIPPING 11:05:10 INFO: No Stack... 11:05:11 INFO: Retrieving Pricing Info for: v3-standard-4 11:05:12 INFO: Archiving Costs [Pipeline] sh 11:05:12 + cut -d, -f6 11:05:12 + cat /w/workspace/device-sdk-go/136/archives/cost.csv [Pipeline] lock 11:05:12 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-136-stack-cost] 11:05:12 Resource [jenkins-edgexfoundry-device-sdk-go-main-136-stack-cost] did not exist. Created. 11:05:12 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-136-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:05:13 /w/workspace/device-sdk-go/136@tmp/durable-b5b1fae0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:05:14 + echo total: 0.10999999940395355 [Pipeline] stash 11:05:14 Warning: overwriting stash ‘stack-cost’ 11:05:14 Stashed 1 file(s) [Pipeline] } 11:05:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-136-stack-cost] [Pipeline] // lock [Pipeline] } 11:05:14 $ docker stop --time=1 e51628a4d422106db4713b7a808c1771cbd209374540abe9f33e9d40d1880cfe 11:05:15 $ docker rm -f --volumes e51628a4d422106db4713b7a808c1771cbd209374540abe9f33e9d40d1880cfe [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 11:05:16 provisioning config files... 11:05:16 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5320526336473219934tmp [Pipeline] { [Pipeline] sh 11:05:16 + set +x 11:05:16 + curl -s https://codecov.io/bash 11:05:16 + bash -s -- 11:05:16 11:05:16 _____ _ 11:05:16 / ____| | | 11:05:16 | | ___ __| | ___ ___ _____ __ 11:05:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:05:16 | |___| (_) | (_| | __/ (_| (_) \ V / 11:05:16 \_____\___/ \__,_|\___|\___\___/ \_/ 11:05:16 Bash-1.0.6 11:05:16 11:05:16 11:05:16 ==> git version 2.25.1 found 11:05:16 ==> 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 11:05:16 Release-Date: 2020-01-08 11:05:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:05:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:05:16 ==> Jenkins CI detected. 11:05:16 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 11:05:16 project root: . 11:05:16 --> token set from env 11:05:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:05:16 ==> Running gcov in . (disable via -X gcov) 11:05:16 ==> Python coveragepy not found 11:05:16 ==> Searching for coverage reports in: 11:05:16 + . 11:05:16 -> Found 1 reports 11:05:16 ==> Detecting git/mercurial file structure 11:05:16 ==> Reading reports 11:05:16 + ./coverage.out bytes=101759 11:05:16 ==> Appending adjustments 11:05:16 https://docs.codecov.io/docs/fixing-reports 11:05:16 + Found adjustments 11:05:16 ==> Gzipping contents 11:05:16 16K /tmp/codecov.VjW4mp.gz 11:05:16 ==> Uploading reports 11:05:16 url: https://codecov.io 11:05:16 query: branch=main&commit=00b01047cdcdd0c95135504e6ad4bd8a08767464&build=136&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F136%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:05:16 -> Pinging Codecov 11:05:16 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=00b01047cdcdd0c95135504e6ad4bd8a08767464&build=136&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F136%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:05:17 -> Uploading to 11:05:17 https://storage.googleapis.com/codecov/v4/raw/2023-01-06/7E55EF52A471D76F132DFD9A03CDDE97/00b01047cdcdd0c95135504e6ad4bd8a08767464/becc9b96-93e2-4c4f-9d11-0a610a79f06d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230106%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230106T110517Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f484758ee607f4d00b2f421bd923df3713ad4057513eae9024d1ede8f9d0aee1 11:05:17 % Total % Received % Xferd Average Speed Time Time Time Current 11:05:17 Dload Upload Total Spent Left Speed 11:05:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14718 0 0 100 14718 0 61070 --:--:-- --:--:-- --:--:-- 61070 11:05:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/00b01047cdcdd0c95135504e6ad4bd8a08767464 [Pipeline] } 11:05:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:05:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:05:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:05:17 11:05:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:05:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:05:18 df9b9388f04a: Pulling fs layer 11:05:18 52dc419b0ee2: Pulling fs layer 11:05:18 25bc292e5bac: Pulling fs layer 11:05:18 114826534d7a: Pulling fs layer 11:05:18 4657fd5d0bcf: Pulling fs layer 11:05:18 6ad1cebc031e: Pulling fs layer 11:05:18 8a3aa393b2d8: Pulling fs layer 11:05:18 114826534d7a: Waiting 11:05:18 6ad1cebc031e: Waiting 11:05:18 8a3aa393b2d8: Waiting 11:05:18 25bc292e5bac: Verifying Checksum 11:05:18 25bc292e5bac: Download complete 11:05:18 52dc419b0ee2: Download complete 11:05:18 4657fd5d0bcf: Verifying Checksum 11:05:18 4657fd5d0bcf: Download complete 11:05:18 df9b9388f04a: Download complete 11:05:18 df9b9388f04a: Pull complete 11:05:18 6ad1cebc031e: Verifying Checksum 11:05:18 6ad1cebc031e: Download complete 11:05:18 52dc419b0ee2: Pull complete 11:05:18 25bc292e5bac: Pull complete 11:05:19 114826534d7a: Verifying Checksum 11:05:19 114826534d7a: Download complete 11:05:19 8a3aa393b2d8: Verifying Checksum 11:05:19 8a3aa393b2d8: Download complete 11:05:22 114826534d7a: Pull complete 11:05:22 4657fd5d0bcf: Pull complete 11:05:22 6ad1cebc031e: Pull complete 11:05:25 8a3aa393b2d8: Pull complete 11:05:25 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 11:05:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:05:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:25 prd-ubuntu20.04-docker-8c-8g-1258 does not seem to be running inside a container 11:05:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 11:05:28 $ docker top 9a256811328b62c3ec406dd1366b717616df6557ad108a4edb92d9eb11aed788 -eo pid,comm [Pipeline] { [Pipeline] echo 11:05:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 11:05:29 + set -o pipefail 11:05:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 11:05:37 11:05:37 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 11:05:37 11:05:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/431fc978-aa0c-4408-b9e8-4f0a1730cb49 11:05:37 11:05:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:05:37 11:05:37 11:05:37 A medium severity vulnerability was found in the Snyk CLI versions you are using. 11:05:37 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 11:05:37 More details here: https://snyk.co/ue1NS [Pipeline] } 11:05:37 $ docker stop --time=1 9a256811328b62c3ec406dd1366b717616df6557ad108a4edb92d9eb11aed788 11:05:40 $ docker rm -f --volumes 9a256811328b62c3ec406dd1366b717616df6557ad108a4edb92d9eb11aed788 [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 11:05:41 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:05:41 provisioning config files... 11:05:41 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3063440060988422502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:05:41 --> edgex-publish-swagger.sh 11:05:41 === Publish openapi/v2 API === 11:05:41 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 11:05:41 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 11:05:41 % Total % Received % Xferd Average Speed Time Time Time Current 11:05:41 Dload Upload Total Spent Left Speed 11:05:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53590 100 38 100 53552 77 106k --:--:-- --:--:-- --:--:-- 106k 11:05:41 {"code":403,"message":"Access Denied"} 11:05:41 [Pipeline] } 11:05:41 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 11:05:41 + git log --format=format:%s -1 00b01047cdcdd0c95135504e6ad4bd8a08767464 [Pipeline] sh 11:05:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:05:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:05:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:42 prd-ubuntu20.04-docker-8c-8g-1258 does not seem to be running inside a container 11:05:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:05:43 $ docker top ad15defb63f340e55603ef9aae8839d01f43f13374ff7fc2c69744446927149f -eo pid,comm 11:05:43 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). 11:05:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:05:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:05:43 [ssh-agent] Looking for ssh-agent implementation... 11:05:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:05:43 $ docker exec ad15defb63f340e55603ef9aae8839d01f43f13374ff7fc2c69744446927149f ssh-agent 11:05:43 SSH_AUTH_SOCK=/tmp/ssh-NBJIeWgF3Nar/agent.33 11:05:43 SSH_AGENT_PID=39 11:05:43 Running ssh-add (command line suppressed) 11:05:43 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14300618347088524166.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14300618347088524166.key) 11:05:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:05:43 + git semver tag 11:05:44 2023-01-06 11:05:43,937 [run_tag] DEBUG tag force:False 11:05:44 2023-01-06 11:05:43,937 [check_head_tag] DEBUG check head tag 11:05:44 2023-01-06 11:05:43,939 [execute] INFO git cat-file --batch-check 11:05:44 2023-01-06 11:05:43,939 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 11:05:44 2023-01-06 11:05:43,943 [execute] INFO git cat-file --batch 11:05:44 2023-01-06 11:05:43,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 11:05:44 2023-01-06 11:05:43,970 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:05:44 2023-01-06 11:05:43,970 [execute] INFO git tag -a v3.0.0-dev.6 -m v3.0.0-dev.6 11:05:44 2023-01-06 11:05:43,970 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.6', '-m', 'v3.0.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 11:05:44 2023-01-06 11:05:43,973 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:05:44 3.0.0-dev.6 [Pipeline] } 11:05:44 $ docker exec --env ******** --env ******** ad15defb63f340e55603ef9aae8839d01f43f13374ff7fc2c69744446927149f ssh-agent -k 11:05:44 unset SSH_AUTH_SOCK; 11:05:44 unset SSH_AGENT_PID; 11:05:44 echo Agent pid 39 killed; 11:05:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:05:44 + git semver [Pipeline] } 11:05:44 $ docker stop --time=1 ad15defb63f340e55603ef9aae8839d01f43f13374ff7fc2c69744446927149f 11:05:45 $ docker rm -f --volumes ad15defb63f340e55603ef9aae8839d01f43f13374ff7fc2c69744446927149f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:05:46 11:05:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:05:46 0.23.1-centos7: Pulling from edgex-lftools 11:05:46 ab5ef0e58194: Pulling fs layer 11:05:46 9712f1f96733: Pulling fs layer 11:05:46 63f879dbbcfc: Pulling fs layer 11:05:46 0d9ebad4ef96: Pulling fs layer 11:05:46 e9a5061849ea: Pulling fs layer 11:05:46 d747dcd14b5f: Pulling fs layer 11:05:46 2de7ff778b66: Pulling fs layer 11:05:46 e9a5061849ea: Waiting 11:05:46 2de7ff778b66: Waiting 11:05:46 d747dcd14b5f: Waiting 11:05:46 0d9ebad4ef96: Waiting 11:05:46 9712f1f96733: Verifying Checksum 11:05:46 9712f1f96733: Download complete 11:05:46 63f879dbbcfc: Verifying Checksum 11:05:46 63f879dbbcfc: Download complete 11:05:47 0d9ebad4ef96: Verifying Checksum 11:05:47 0d9ebad4ef96: Download complete 11:05:47 d747dcd14b5f: Verifying Checksum 11:05:47 d747dcd14b5f: Download complete 11:05:47 e9a5061849ea: Download complete 11:05:47 ab5ef0e58194: Verifying Checksum 11:05:47 ab5ef0e58194: Download complete 11:05:47 2de7ff778b66: Verifying Checksum 11:05:47 2de7ff778b66: Download complete 11:05:49 ab5ef0e58194: Pull complete 11:05:49 9712f1f96733: Pull complete 11:05:50 63f879dbbcfc: Pull complete 11:05:54 0d9ebad4ef96: Pull complete 11:05:54 e9a5061849ea: Pull complete 11:05:54 d747dcd14b5f: Pull complete 11:05:55 2de7ff778b66: Pull complete 11:05:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:05:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:05:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:55 prd-ubuntu20.04-docker-8c-8g-1258 does not seem to be running inside a container 11:05:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:05:59 $ docker top 68a8e115c24115cb593733c0da6a10d19566804534f504fb2d73190183c2169a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:05:59 provisioning config files... 11:05:59 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8475525487460248160tmp 11:05:59 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11054513182618397599tmp 11:05:59 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16180624866970904370tmp [Pipeline] { [Pipeline] echo 11:05:59 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:05:59 ---> sigul-configuration.sh 11:05:59 gpg: directory `/root/.gnupg' created 11:05:59 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:05:59 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:05:59 gpg: keyring `/root/.gnupg/secring.gpg' created 11:05:59 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:05:59 gpg: CAST5 encrypted data 11:05:59 gpg: encrypted with 1 passphrase 11:05:59 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:05:59 + mkdir /home/jenkins 11:05:59 + mkdir /home/jenkins/sigul [Pipeline] sh 11:06:00 + 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 11:06:00 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:06:00 ---> sigul-install.sh 11:06:00 Sigul already installed; skipping installation. [Pipeline] sh 11:06:00 + git tag --list 11:06:00 0.7.1 11:06:00 delhi-tag 11:06:00 v1.0.0 11:06:00 v1.1.0 11:06:00 v1.1.1 11:06:00 v1.1.2 11:06:00 v1.2.0 11:06:00 v1.2.1 11:06:00 v1.2.2 11:06:00 v1.2.3 11:06:00 v1.3.0 11:06:00 v1.4.0 11:06:00 v2.0.0 11:06:00 v2.1.0 11:06:00 v2.1.1 11:06:00 v2.1.1-dev.2 11:06:00 v2.1.1-dev.3 11:06:00 v2.2.0 11:06:00 v2.2.1-dev.1 11:06:00 v2.2.1-dev.10 11:06:00 v2.2.1-dev.11 11:06:00 v2.2.1-dev.12 11:06:00 v2.2.1-dev.13 11:06:00 v2.2.1-dev.14 11:06:00 v2.2.1-dev.2 11:06:00 v2.2.1-dev.3 11:06:00 v2.2.1-dev.4 11:06:00 v2.2.1-dev.5 11:06:00 v2.2.1-dev.6 11:06:00 v2.2.1-dev.7 11:06:00 v2.2.1-dev.8 11:06:00 v2.2.1-dev.9 11:06:00 v2.3.0 11:06:00 v2.3.0-dev.14 11:06:00 v2.3.0-dev.15 11:06:00 v2.3.0-dev.16 11:06:00 v2.3.0-dev.17 11:06:00 v2.3.0-dev.18 11:06:00 v2.3.0-dev.19 11:06:00 v2.3.0-dev.20 11:06:00 v2.3.0-dev.21 11:06:00 v2.3.0-dev.22 11:06:00 v2.3.0-dev.23 11:06:00 v2.3.0-dev.24 11:06:00 v2.3.0-dev.25 11:06:00 v2.3.0-dev.26 11:06:00 v2.3.0-dev.27 11:06:00 v2.3.0-dev.28 11:06:00 v2.3.0-dev.29 11:06:00 v2.3.0-dev.30 11:06:00 v2.3.0-dev.31 11:06:00 v2.3.0-dev.32 11:06:00 v2.3.0-dev.33 11:06:00 v2.3.0-dev.34 11:06:00 v2.3.0-dev.35 11:06:00 v2.3.0-dev.36 11:06:00 v2.3.0-dev.37 11:06:00 v2.3.0-dev.38 11:06:00 v2.3.0-dev.39 11:06:00 v2.3.0-dev.40 11:06:00 v2.3.0-dev.41 11:06:00 v2.3.0-dev.42 11:06:00 v2.3.0-dev.43 11:06:00 v2.3.0-dev.44 11:06:00 v2.3.0-dev.45 11:06:00 v2.3.0-dev.46 11:06:00 v2.3.0-dev.47 11:06:00 v2.3.0-dev.48 11:06:00 v2.3.0-dev.49 11:06:00 v2.3.0-dev.50 11:06:00 v2.3.0-dev.51 11:06:00 v2.3.1-dev.1 11:06:00 v2.3.1-dev.2 11:06:00 v3.0.0-dev.1 11:06:00 v3.0.0-dev.2 11:06:00 v3.0.0-dev.3 11:06:00 v3.0.0-dev.4 11:06:00 v3.0.0-dev.5 11:06:00 v3.0.0-dev.6 [Pipeline] sh 11:06:00 + lftools sign git-tag v3.0.0-dev.6 11:06:01 Signing Git tag with Sigul... 11:06:01 Signing v3.0.0-dev.6 [Pipeline] echo 11:06:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:06:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:06:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:06:05 $ docker stop --time=1 68a8e115c24115cb593733c0da6a10d19566804534f504fb2d73190183c2169a 11:06:06 $ docker rm -f --volumes 68a8e115c24115cb593733c0da6a10d19566804534f504fb2d73190183c2169a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:06:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:06:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:06:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:06:07 prd-ubuntu20.04-docker-8c-8g-1258 does not seem to be running inside a container 11:06:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:06:07 $ docker top b69186cefa83c2a078c662b0f70d2ab6d2556e75169525c7111c6a1d2b0498f5 -eo pid,comm 11:06:07 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). 11:06:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:06:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:07 [ssh-agent] Looking for ssh-agent implementation... 11:06:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:07 $ docker exec b69186cefa83c2a078c662b0f70d2ab6d2556e75169525c7111c6a1d2b0498f5 ssh-agent 11:06:07 SSH_AUTH_SOCK=/tmp/ssh-Rb1mqj4xHZrG/agent.32 11:06:07 SSH_AGENT_PID=38 11:06:07 Running ssh-add (command line suppressed) 11:06:08 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18153416502808421806.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18153416502808421806.key) 11:06:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:08 + git semver bump pre 11:06:08 2023-01-06 11:06:08,515 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:06:08 2023-01-06 11:06:08,515 [bump_version] DEBUG bumping version:3.0.0-dev.6 on axis:pre with prefix:dev 11:06:08 2023-01-06 11:06:08,515 [bump_version] DEBUG bumped version:3.0.0-dev.7 11:06:08 2023-01-06 11:06:08,515 [write_version] DEBUG write version:3.0.0-dev.7 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 11:06:08 2023-01-06 11:06:08,515 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:06:08 2023-01-06 11:06:08,515 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:06:08 2023-01-06 11:06:08,518 [execute] INFO git cat-file --batch-check 11:06:08 2023-01-06 11:06:08,518 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:06:08 2023-01-06 11:06:08,523 [execute] INFO git cat-file --batch 11:06:08 2023-01-06 11:06:08,523 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:06:08 2023-01-06 11:06:08,529 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:06:08 3.0.0-dev.7 [Pipeline] } 11:06:08 $ docker exec --env ******** --env ******** b69186cefa83c2a078c662b0f70d2ab6d2556e75169525c7111c6a1d2b0498f5 ssh-agent -k 11:06:08 unset SSH_AUTH_SOCK; 11:06:08 unset SSH_AGENT_PID; 11:06:08 echo Agent pid 38 killed; 11:06:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:06:09 + git semver [Pipeline] } 11:06:09 $ docker stop --time=1 b69186cefa83c2a078c662b0f70d2ab6d2556e75169525c7111c6a1d2b0498f5 11:06:10 $ docker rm -f --volumes b69186cefa83c2a078c662b0f70d2ab6d2556e75169525c7111c6a1d2b0498f5 [Pipeline] // withDockerContainer [Pipeline] sh 11:06:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:06:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:06:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:06:11 prd-ubuntu20.04-docker-8c-8g-1258 does not seem to be running inside a container 11:06:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:06:11 $ docker top cfbc18e85643fc96fa342adbc7d5590cb97b7e43c2dcab0e95097fb20d825446 -eo pid,comm 11:06:11 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). 11:06:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:06:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:11 [ssh-agent] Looking for ssh-agent implementation... 11:06:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:11 $ docker exec cfbc18e85643fc96fa342adbc7d5590cb97b7e43c2dcab0e95097fb20d825446 ssh-agent 11:06:12 SSH_AUTH_SOCK=/tmp/ssh-6rp3fz7inAdc/agent.31 11:06:12 SSH_AGENT_PID=37 11:06:12 Running ssh-add (command line suppressed) 11:06:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3070166420435070398.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3070166420435070398.key) 11:06:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:12 + git semver push 11:06:12 2023-01-06 11:06:12,565 [run_push] DEBUG push 11:06:12 2023-01-06 11:06:12,566 [execute] INFO git cat-file --batch-check 11:06:12 2023-01-06 11:06:12,566 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:06:12 2023-01-06 11:06:12,570 [execute] INFO git rev-list e9e99a1a154c9d15bc79f2ee7164fedc07e91aa1 -- 11:06:12 2023-01-06 11:06:12,571 [execute] DEBUG Popen(['git', 'rev-list', 'e9e99a1a154c9d15bc79f2ee7164fedc07e91aa1', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:06:12 2023-01-06 11:06:12,584 [execute] INFO git fetch -v origin 11:06:12 2023-01-06 11:06:12,584 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 11:06:13 2023-01-06 11:06:13,133 [run_push] DEBUG no remote changes detected 11:06:13 2023-01-06 11:06:13,133 [execute] INFO git push origin semver 11:06:13 2023-01-06 11:06:13,134 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:06:14 2023-01-06 11:06:14,048 [run_push] DEBUG push all version tags 11:06:14 2023-01-06 11:06:14,049 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:06:14 2023-01-06 11:06:14,050 [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) 11:06:15 2023-01-06 11:06:14,826 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:06:15 3.0.0-dev.7 [Pipeline] } 11:06:15 $ docker exec --env ******** --env ******** cfbc18e85643fc96fa342adbc7d5590cb97b7e43c2dcab0e95097fb20d825446 ssh-agent -k 11:06:15 unset SSH_AUTH_SOCK; 11:06:15 unset SSH_AGENT_PID; 11:06:15 echo Agent pid 37 killed; 11:06:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:06:15 + git semver [Pipeline] } 11:06:15 $ docker stop --time=1 cfbc18e85643fc96fa342adbc7d5590cb97b7e43c2dcab0e95097fb20d825446 11:06:17 $ docker rm -f --volumes cfbc18e85643fc96fa342adbc7d5590cb97b7e43c2dcab0e95097fb20d825446 [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 11:06:17 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 11:06:17 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 11:06:17 total 16 11:06:17 drwxr-xr-x 3 root root 4096 Jan 6 10:56 . 11:06:17 drwxrwxr-x 12 jenkins jenkins 4096 Jan 6 11:06 .. 11:06:17 drwxr-xr-x 2 root root 4096 Jan 6 10:56 cost 11:06:17 -rw-r--r-- 1 root root 85 Jan 6 10:56 cost.csv 11:06:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 11:06:17 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 11:06:17 total 16 11:06:17 drwxr-xr-x 3 jenkins jenkins 4096 Jan 6 10:56 . 11:06:17 drwxrwxr-x 12 jenkins jenkins 4096 Jan 6 11:06 .. 11:06:17 drwxr-xr-x 2 jenkins jenkins 4096 Jan 6 10:56 cost 11:06:17 -rw-r--r-- 1 jenkins jenkins 85 Jan 6 10:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:06:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:06:18 ---> package-listing.sh 11:06:18 ++ facter osfamily 11:06:18 ++ tr '[:upper:]' '[:lower:]' 11:06:19 + OS_FAMILY=debian 11:06:19 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 11:06:19 + START_PACKAGES=/tmp/packages_start.txt 11:06:19 + END_PACKAGES=/tmp/packages_end.txt 11:06:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:06:19 + PACKAGES=/tmp/packages_start.txt 11:06:19 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 11:06:19 + PACKAGES=/tmp/packages_end.txt 11:06:19 + case "${OS_FAMILY}" in 11:06:19 + dpkg -l 11:06:19 + grep '^ii' 11:06:19 + '[' -f /tmp/packages_start.txt ']' 11:06:19 + '[' -f /tmp/packages_end.txt ']' 11:06:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:06:19 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 11:06:19 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 11:06:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 11:06:19 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 11:06:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:06:20 prd-ubuntu20.04-docker-8c-8g-1258 does not seem to be running inside a container 11:06:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:06:20 $ docker top 771a562c176a7eed71de19c51ef69fc65b583c4a3779c59ef16e1c5b1a3673c4 -eo pid,comm [Pipeline] { [Pipeline] sh 11:06:20 + touch /tmp/pre-build-complete [Pipeline] sh 11:06:20 + mkdir -p /var/log/sysstat [Pipeline] sh 11:06:21 + ls /var/log/sa-host 11:06:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:06:21 provisioning config files... 11:06:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config817093906433097827tmp [Pipeline] { [Pipeline] echo 11:06:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:06:21 ---> create-netrc.sh [Pipeline] } 11:06:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:06:22 ---> python-tools-install.sh [Pipeline] echo 11:06:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:06:22 ---> sudo-logs.sh 11:06:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:06:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:06:22 ---> job-cost.sh 11:06:22 lf-activate-venv: SKIPPING 11:06:22 DEBUG: total: 0.2199999988079071 11:06:22 INFO: Retrieving Stack Cost... 11:06:23 INFO: Retrieving Pricing Info for: v3-standard-8 11:06:23 INFO: Archiving Costs [Pipeline] echo 11:06:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:06:24 ---> logs-deploy.sh 11:06:24 lf-activate-venv: SKIPPING 11:06:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/136 11:06:24 INFO: archiving workspace using pattern(s): 11:06:25 Archives upload complete. 11:06:25 INFO: archiving logs to Nexus 11:06:25 ---> uname -a: 11:06:25 Linux prd-ubuntu20-04-docker-8c-8g-1258 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 11:06:25 11:06:25 11:06:25 ---> lscpu: 11:06:25 Architecture: x86_64 11:06:25 CPU op-mode(s): 32-bit, 64-bit 11:06:25 Byte Order: Little Endian 11:06:25 Address sizes: 40 bits physical, 48 bits virtual 11:06:25 CPU(s): 8 11:06:25 On-line CPU(s) list: 0-7 11:06:25 Thread(s) per core: 1 11:06:25 Core(s) per socket: 1 11:06:25 Socket(s): 8 11:06:25 NUMA node(s): 1 11:06:25 Vendor ID: AuthenticAMD 11:06:25 CPU family: 23 11:06:25 Model: 49 11:06:25 Model name: AMD EPYC-Rome Processor 11:06:25 Stepping: 0 11:06:25 CPU MHz: 2799.996 11:06:25 BogoMIPS: 5599.99 11:06:25 Virtualization: AMD-V 11:06:25 Hypervisor vendor: KVM 11:06:25 Virtualization type: full 11:06:25 L1d cache: 256 KiB 11:06:25 L1i cache: 256 KiB 11:06:25 L2 cache: 4 MiB 11:06:25 L3 cache: 128 MiB 11:06:25 NUMA node0 CPU(s): 0-7 11:06:25 Vulnerability Itlb multihit: Not affected 11:06:25 Vulnerability L1tf: Not affected 11:06:25 Vulnerability Mds: Not affected 11:06:25 Vulnerability Meltdown: Not affected 11:06:25 Vulnerability Mmio stale data: Not affected 11:06:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:06:25 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 11:06:25 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 11:06:25 Vulnerability Srbds: Not affected 11:06:25 Vulnerability Tsx async abort: Not affected 11:06:25 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 11:06:25 11:06:25 11:06:25 ---> nproc: 11:06:25 8 11:06:25 11:06:25 11:06:25 ---> df -h: 11:06:25 Filesystem Size Used Avail Use% Mounted on 11:06:25 overlay 155G 13G 143G 9% / 11:06:25 tmpfs 64M 0 64M 0% /dev 11:06:25 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:06:25 shm 64M 0 64M 0% /dev/shm 11:06:25 /dev/vda1 155G 13G 143G 9% /facter-os 11:06:25 11:06:25