Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ceb19cb4ab86878044c724e5e66081db52e959f9 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-ssh3597104168112767403.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-ssh3590884513406356339.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-ssh6014615857005489588.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-ssh18250028076863916955.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-ssh9091461218525203253.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6329 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 ceb19cb4ab86878044c724e5e66081db52e959f9 (main) Commit message: "fix: Add missing 'device' to event publish topic (#1327)" > 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 ceb19cb4ab86878044c724e5e66081db52e959f9 # timeout=10 > git rev-list --no-walk cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:31:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:31:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:31:49 ========================================================= 20:31:49 EdgeX Global Pipelines Version Info 20:31:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:31:49 ------------------- 20:31:49 stable info: 20:31:49 ------------------- 20:31:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:31:49 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:31:49 Message: update stable to v1.0.244 20:31:50 ------------------- 20:31:50 experimental info: 20:31:50 ------------------- 20:31:50 Commited By: **** collab-it+edgex@linuxfoundation.org 20:31:50 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:31:50 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ceb19cb4ab86878044c724e5e66081db52e959f9 [Pipeline] echo 20:31:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ceb19cb [Pipeline] echo 20:31:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:31:51 provisioning config files... 20:31:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5987738193635404541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:51 ---> docker-login.sh 20:31:51 nexus3.edgexfoundry.org:10001 20:31:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:51 Configure a credential helper to remove this warning. See 20:31:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:51 20:31:51 Login Succeeded 20:31:51 nexus3.edgexfoundry.org:10002 20:31:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:52 Configure a credential helper to remove this warning. See 20:31:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:52 20:31:52 Login Succeeded 20:31:52 nexus3.edgexfoundry.org:10003 20:31:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:52 Configure a credential helper to remove this warning. See 20:31:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:52 20:31:52 Login Succeeded 20:31:52 nexus3.edgexfoundry.org:10004 20:31:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:52 Configure a credential helper to remove this warning. See 20:31:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:52 20:31:52 Login Succeeded 20:31:52 docker.io 20:31:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:52 Configure a credential helper to remove this warning. See 20:31:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:52 20:31:52 Login Succeeded 20:31:52 ---> docker-login.sh ends [Pipeline] } 20:31:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:31:53 + git rev-list -1 --merges ceb19cb4ab86878044c724e5e66081db52e959f9~1..ceb19cb4ab86878044c724e5e66081db52e959f9 [Pipeline] echo 20:31:53 -----------> git rev-list -1 --merges ceb19cb4ab86878044c724e5e66081db52e959f9~1..ceb19cb4ab86878044c724e5e66081db52e959f9 ceb19cb4ab86878044c724e5e66081db52e959f9 [false] [Pipeline] sh 20:31:53 + git log --format=format:%s -1 ceb19cb4ab86878044c724e5e66081db52e959f9 [Pipeline] echo 20:31:53 ========================================================= 20:31:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:31:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:31:53 + git log --format=format:%s -1 ceb19cb4ab86878044c724e5e66081db52e959f9 [Pipeline] echo 20:31:53 [semverPrep] GIT_COMMIT: ceb19cb4ab86878044c724e5e66081db52e959f9, Commit Message: fix: Add missing 'device' to event publish topic (#1327) [Pipeline] echo 20:31:53 [semverPrep] This is not a build commit. [Pipeline] sh 20:31:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:31:54 + grep -v github /etc/ssh/ssh_known_hosts 20:31:54 + [ -e /tmp/ssh_known_hosts ] 20:31:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:31:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:31:54 + sudo tee -a /etc/ssh/ssh_known_hosts 20:31:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:31:54 20:31:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:31:55 0.1.4: Pulling from edgex-devops/py-git-semver 20:31:55 b85a868b505f: Pulling fs layer 20:31:55 e2be974225ed: Pulling fs layer 20:31:55 339a4e72a1f5: Pulling fs layer 20:31:55 988bab9f4d93: Pulling fs layer 20:31:55 1469e6f7b9e6: Pulling fs layer 20:31:55 eaf3925da568: Pulling fs layer 20:31:55 bab4dde63d76: Pulling fs layer 20:31:55 bde34c3a00c8: Pulling fs layer 20:31:55 b352a97aabf1: Pulling fs layer 20:31:55 4872d77fe225: Pulling fs layer 20:31:55 5851b861e8e6: Pulling fs layer 20:31:55 988bab9f4d93: Waiting 20:31:55 1469e6f7b9e6: Waiting 20:31:55 eaf3925da568: Waiting 20:31:55 bab4dde63d76: Waiting 20:31:55 bde34c3a00c8: Waiting 20:31:55 b352a97aabf1: Waiting 20:31:55 4872d77fe225: Waiting 20:31:55 5851b861e8e6: Waiting 20:31:55 e2be974225ed: Verifying Checksum 20:31:55 e2be974225ed: Download complete 20:31:55 988bab9f4d93: Verifying Checksum 20:31:55 988bab9f4d93: Download complete 20:31:55 1469e6f7b9e6: Verifying Checksum 20:31:55 1469e6f7b9e6: Download complete 20:31:55 339a4e72a1f5: Verifying Checksum 20:31:55 339a4e72a1f5: Download complete 20:31:55 eaf3925da568: Download complete 20:31:55 bde34c3a00c8: Download complete 20:31:55 b352a97aabf1: Download complete 20:31:55 4872d77fe225: Download complete 20:31:55 5851b861e8e6: Verifying Checksum 20:31:55 5851b861e8e6: Download complete 20:31:55 b85a868b505f: Download complete 20:31:55 bab4dde63d76: Verifying Checksum 20:31:55 bab4dde63d76: Download complete 20:31:57 b85a868b505f: Pull complete 20:31:57 e2be974225ed: Pull complete 20:31:57 339a4e72a1f5: Pull complete 20:31:57 988bab9f4d93: Pull complete 20:31:58 1469e6f7b9e6: Pull complete 20:31:58 eaf3925da568: Pull complete 20:32:00 bab4dde63d76: Pull complete 20:32:00 bde34c3a00c8: Pull complete 20:32:00 b352a97aabf1: Pull complete 20:32:00 4872d77fe225: Pull complete 20:32:00 5851b861e8e6: Pull complete 20:32:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:32:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:32:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:00 prd-ubuntu20.04-docker-8c-8g-6329 does not seem to be running inside a container 20:32:00 $ 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 20:32:02 $ docker top 99685c3001578c1c63ba7d3e8bf9b632825ec9b538d09b05924fa7fbd8f2b964 -eo pid,comm 20:32:02 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:32:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:32:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:32:02 [ssh-agent] Looking for ssh-agent implementation... 20:32:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:32:02 $ docker exec 99685c3001578c1c63ba7d3e8bf9b632825ec9b538d09b05924fa7fbd8f2b964 ssh-agent 20:32:02 SSH_AUTH_SOCK=/tmp/ssh-1y2jqA8hJJk9/agent.33 20:32:02 SSH_AGENT_PID=40 20:32:02 Running ssh-add (command line suppressed) 20:32:02 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15859182108237062321.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15859182108237062321.key) 20:32:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:32:03 + git tag --points-at HEAD [Pipeline] } 20:32:03 $ docker exec --env ******** --env ******** 99685c3001578c1c63ba7d3e8bf9b632825ec9b538d09b05924fa7fbd8f2b964 ssh-agent -k 20:32:03 unset SSH_AUTH_SOCK; 20:32:03 unset SSH_AGENT_PID; 20:32:03 echo Agent pid 40 killed; 20:32:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:32:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:32:03 [ssh-agent] Looking for ssh-agent implementation... 20:32:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:32:03 $ docker exec 99685c3001578c1c63ba7d3e8bf9b632825ec9b538d09b05924fa7fbd8f2b964 ssh-agent 20:32:03 SSH_AUTH_SOCK=/tmp/ssh-K3E6ADwF7LR6/agent.72 20:32:03 SSH_AGENT_PID=78 20:32:03 Running ssh-add (command line suppressed) 20:32:03 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6328574097774085424.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6328574097774085424.key) 20:32:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:32:03 + git semver init 20:32:04 2023-02-16 20:32:04,155 [run_init] DEBUG init version:0.0.0 force:False 20:32:04 2023-02-16 20:32:04,156 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 20:32:04 2023-02-16 20:32:04,157 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 20:32:04 2023-02-16 20:32:04,157 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 20:32:05 2023-02-16 20:32:05,191 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 20:32:05 2023-02-16 20:32:05,192 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 20:32:05 2023-02-16 20:32:05,192 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:32:05 2023-02-16 20:32:05,192 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:32:05 3.0.0-dev.29 [Pipeline] } 20:32:05 $ docker exec --env ******** --env ******** 99685c3001578c1c63ba7d3e8bf9b632825ec9b538d09b05924fa7fbd8f2b964 ssh-agent -k 20:32:05 unset SSH_AUTH_SOCK; 20:32:05 unset SSH_AGENT_PID; 20:32:05 echo Agent pid 78 killed; 20:32:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:32:06 + git semver [Pipeline] } 20:32:06 $ docker stop --time=1 99685c3001578c1c63ba7d3e8bf9b632825ec9b538d09b05924fa7fbd8f2b964 20:32:07 $ docker rm -f --volumes 99685c3001578c1c63ba7d3e8bf9b632825ec9b538d09b05924fa7fbd8f2b964 [Pipeline] // withDockerContainer [Pipeline] sh 20:32:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:32:08 Stashed 1 file(s) [Pipeline] echo 20:32:08 [edgeXSemver]: initialized semver on version 3.0.0-dev.29 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:32:08 provisioning config files... 20:32:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15730616959882824941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:32:08 ---> docker-login.sh 20:32:08 nexus3.edgexfoundry.org:10001 20:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:08 Configure a credential helper to remove this warning. See 20:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:08 20:32:08 Login Succeeded 20:32:08 nexus3.edgexfoundry.org:10002 20:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:08 Configure a credential helper to remove this warning. See 20:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:08 20:32:08 Login Succeeded 20:32:08 nexus3.edgexfoundry.org:10003 20:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:08 Configure a credential helper to remove this warning. See 20:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:08 20:32:08 Login Succeeded 20:32:08 nexus3.edgexfoundry.org:10004 20:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:08 Configure a credential helper to remove this warning. See 20:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:08 20:32:08 Login Succeeded 20:32:08 docker.io 20:32:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:32:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:32:09 Configure a credential helper to remove this warning. See 20:32:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:32:09 20:32:09 Login Succeeded 20:32:09 ---> docker-login.sh ends [Pipeline] } 20:32:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:32:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:32:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:32:09 ========================================================= 20:32:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:32:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:09 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:32:09 Sending build context to Docker daemon 10.48MB 20:32:09 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:32:09 Step 2/10 : FROM ${BASE} AS builder 20:32:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:32:09 213ec9aee27d: Pulling fs layer 20:32:09 4583459ba037: Pulling fs layer 20:32:09 93c1e223e6f2: Pulling fs layer 20:32:09 53926ce57604: Pulling fs layer 20:32:09 21b2b0c7a3f4: Pulling fs layer 20:32:09 22ff95d597cd: Pulling fs layer 20:32:09 12d6caf4c0d1: Pulling fs layer 20:32:09 96b7cbca73a9: Pulling fs layer 20:32:09 a7acece74701: Pulling fs layer 20:32:09 22ff95d597cd: Waiting 20:32:09 12d6caf4c0d1: Waiting 20:32:09 53926ce57604: Waiting 20:32:09 21b2b0c7a3f4: Waiting 20:32:09 96b7cbca73a9: Waiting 20:32:09 a7acece74701: Waiting 20:32:09 93c1e223e6f2: Verifying Checksum 20:32:09 93c1e223e6f2: Download complete 20:32:09 4583459ba037: Verifying Checksum 20:32:09 4583459ba037: Download complete 20:32:09 21b2b0c7a3f4: Verifying Checksum 20:32:09 21b2b0c7a3f4: Download complete 20:32:09 22ff95d597cd: Verifying Checksum 20:32:09 22ff95d597cd: Download complete 20:32:09 213ec9aee27d: Verifying Checksum 20:32:09 213ec9aee27d: Download complete 20:32:10 12d6caf4c0d1: Download complete 20:32:10 213ec9aee27d: Pull complete 20:32:10 4583459ba037: Pull complete 20:32:10 93c1e223e6f2: Pull complete 20:32:11 53926ce57604: Download complete 20:32:11 a7acece74701: Verifying Checksum 20:32:11 a7acece74701: Download complete 20:32:11 96b7cbca73a9: Verifying Checksum 20:32:11 96b7cbca73a9: Download complete 20:32:15 53926ce57604: Pull complete 20:32:15 21b2b0c7a3f4: Pull complete 20:32:15 22ff95d597cd: Pull complete 20:32:15 12d6caf4c0d1: Pull complete 20:32:17 96b7cbca73a9: Pull complete 20:32:17 a7acece74701: Pull complete 20:32:17 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:32:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:32:17 ---> db6d94c90886 20:32:17 Step 3/10 : ARG MAKE=make build 20:32:21 ---> Running in 11ce2178fcd4 20:32:21 Removing intermediate container 11ce2178fcd4 20:32:21 ---> 3adee961694a 20:32:21 Step 4/10 : WORKDIR /device-sdk-go 20:32:21 ---> Running in ec34448f2d07 20:32:21 Removing intermediate container ec34448f2d07 20:32:21 ---> b7324ea138d3 20:32:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:32:21 ---> Running in 19f664e6f257 20:32:21 Removing intermediate container 19f664e6f257 20:32:21 ---> e14c53bca74f 20:32:21 Step 6/10 : RUN apk add --update --no-cache make git 20:32:21 ---> Running in 2ef56066e935 20:32:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:32:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:32:22 OK: 211 MiB in 51 packages 20:32:22 Removing intermediate container 2ef56066e935 20:32:22 ---> c401360f2e5a 20:32:22 Step 7/10 : COPY go.mod vendor* ./ 20:32:22 ---> 67a0a257afec 20:32:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:32:22 ---> Running in d31859d9e84f 20:32:23 Still waiting to schedule task 20:32:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:33:01 Removing intermediate container d31859d9e84f 20:33:01 ---> d25fdabfde00 20:33:01 Step 9/10 : COPY . . 20:33:01 ---> e5ab3bb7b695 20:33:01 Step 10/10 : RUN ${MAKE} 20:33:01 ---> Running in 41c1c3746a7f 20:33:01 noop 20:33:01 Removing intermediate container 41c1c3746a7f 20:33:01 ---> 7a79f5880ad2 20:33:01 Successfully built 7a79f5880ad2 20:33:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:01 + docker inspect -f . ci-base-image-x86_64 20:33:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:01 prd-ubuntu20.04-docker-8c-8g-6329 does not seem to be running inside a container 20:33:01 $ 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 20:33:02 $ docker top 89f2614259d5927d8ca8771fdc87cd837fc80fa52e3174c6f0bfc07f91617fc1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:02 + go version 20:33:02 go version go1.18.7 linux/amd64 [Pipeline] } 20:33:02 $ docker stop --time=1 89f2614259d5927d8ca8771fdc87cd837fc80fa52e3174c6f0bfc07f91617fc1 20:33:03 $ docker rm -f --volumes 89f2614259d5927d8ca8771fdc87cd837fc80fa52e3174c6f0bfc07f91617fc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:04 + docker inspect -f . ci-base-image-x86_64 20:33:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:04 prd-ubuntu20.04-docker-8c-8g-6329 does not seem to be running inside a container 20:33:04 $ 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 20:33:04 $ docker top 40a30fc61406ec3c0f62f8e7f43f3d9d53eaeb2a7ac355f2dd5adfaa73e5b397 -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:04 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 20:33:05 + make test 20:33:05 go test -race -coverprofile=coverage.out ./... 20:33:11 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 20:33:24 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 20:33:24 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 20:33:24 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 20:33:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 20:33:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 20:33:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.064s coverage: 27.6% of statements 20:33:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.079s coverage: 78.9% of statements 20:33:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 20:33:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.090s coverage: 77.8% of statements 20:33:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 20:33:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 20:33:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 77.0% of statements 20:33:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 20:33:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 20:33:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 20:33:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.088s coverage: 65.2% of statements 20:33:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 20:33:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 20:33:24 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.747s coverage: 89.2% of statements 20:33:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 20:33:24 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements 20:33:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 20:33:39 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:33:39 GO111MODULE=on go vet ./... 20:33:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:33:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:33:41 ./bin/test-attribution-txt.sh [Pipeline] echo 20:33:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:33:41 $ docker stop --time=1 40a30fc61406ec3c0f62f8e7f43f3d9d53eaeb2a7ac355f2dd5adfaa73e5b397 20:33:45 $ docker rm -f --volumes 40a30fc61406ec3c0f62f8e7f43f3d9d53eaeb2a7ac355f2dd5adfaa73e5b397 [Pipeline] // withDockerContainer [Pipeline] sh 20:33:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:33:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:33:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:33:46 + ls -al . 20:33:46 total 272 20:33:46 drwxrwxr-x 11 jenkins jenkins 4096 Feb 16 20:33 . 20:33:46 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 20:31 .. 20:33:46 -rw-rw-r-- 1 jenkins jenkins 140 Feb 16 20:31 .dockerignore 20:33:46 drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 20:33 .git 20:33:46 drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 20:31 .github 20:33:46 -rw-rw-r-- 1 jenkins jenkins 131 Feb 16 20:31 .gitignore 20:33:46 -rw-rw-r-- 1 jenkins jenkins 42 Feb 16 20:31 .golangci.yml 20:33:46 drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 20:32 .semver 20:33:46 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 16 20:31 CHANGELOG.md 20:33:46 -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 20:31 GOVERNANCE.md 20:33:46 -rw-rw-r-- 1 jenkins jenkins 885 Feb 16 20:31 Jenkinsfile 20:33:46 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 16 20:31 LICENSE 20:33:46 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 16 20:31 Makefile 20:33:46 -rw-rw-r-- 1 jenkins jenkins 619 Feb 16 20:31 OWNERS.md 20:33:46 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 16 20:31 README.md 20:33:46 -rw-rw-r-- 1 jenkins jenkins 12 Feb 16 20:32 VERSION 20:33:46 drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 20:31 bin 20:33:46 -rw-r--r-- 1 jenkins jenkins 98700 Feb 16 20:33 coverage.out 20:33:46 drwxrwxr-x 5 jenkins jenkins 4096 Feb 16 20:31 example 20:33:46 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 16 20:31 go.mod 20:33:46 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 16 20:31 go.sum 20:33:46 drwxrwxr-x 13 jenkins jenkins 4096 Feb 16 20:31 internal 20:33:46 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 20:31 openapi 20:33:46 drwxrwxr-x 6 jenkins jenkins 4096 Feb 16 20:31 pkg 20:33:46 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 20:31 snap 20:33:46 -rw-rw-r-- 1 jenkins jenkins 222 Feb 16 20:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:47 + 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=ceb19cb4ab86878044c724e5e66081db52e959f9 --label arch=amd64 --label version=3.0.0-dev.29 . 20:33:47 Sending build context to Docker daemon 10.57MB 20:33:47 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 20:33:47 Step 2/23 : FROM ${BASE} AS builder 20:33:47 ---> 7a79f5880ad2 20:33:47 Step 3/23 : ARG MAKE=make build 20:33:47 ---> Running in 5c18a604a135 20:33:47 Removing intermediate container 5c18a604a135 20:33:47 ---> 1bec05abe1d1 20:33:47 Step 4/23 : WORKDIR /device-sdk-go 20:33:47 ---> Running in 57ab9b4785f9 20:33:47 Removing intermediate container 57ab9b4785f9 20:33:47 ---> df1afdbe6d5b 20:33:47 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:33:47 ---> Running in 6ab2dd8da4b1 20:33:47 Removing intermediate container 6ab2dd8da4b1 20:33:47 ---> 38bed24e5fbd 20:33:47 Step 6/23 : RUN apk add --update --no-cache make git 20:33:47 ---> Running in f41a0113edc6 20:33:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:33:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:33:48 OK: 211 MiB in 51 packages 20:33:48 Removing intermediate container f41a0113edc6 20:33:48 ---> 27b3d2bf72db 20:33:48 Step 7/23 : COPY go.mod vendor* ./ 20:33:48 ---> 01f35479b6e9 20:33:48 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:33:48 ---> Running in 147a94159f7c 20:33:49 Removing intermediate container 147a94159f7c 20:33:49 ---> 82960637e1bb 20:33:49 Step 9/23 : COPY . . 20:33:49 ---> 80c9c8f0306b 20:33:49 Step 10/23 : RUN ${MAKE} 20:33:49 ---> Running in c955d1c45813 20:33:50 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.29" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:33:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6330 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 20:33:56 Running in /w/workspace/device-sdk-go/159 [Pipeline] { [Pipeline] checkout 20:33:56 The recommended git tool is: git 20:34:01 using credential edgex-jenkins-ssh 20:34:01 Cloning the remote Git repository 20:34:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:34:01 > git init /w/workspace/device-sdk-go/159 # timeout=10 20:34:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:34:01 > git --version # timeout=10 20:34:01 > git --version # 'git version 2.25.1' 20:34:01 using GIT_SSH to set credentials SSH Credentials for GitHub 20:34:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:34:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:34:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:34:04 Avoid second fetch 20:34:04 Checking out Revision ceb19cb4ab86878044c724e5e66081db52e959f9 (main) 20:34:04 Commit message: "fix: Add missing 'device' to event publish topic (#1327)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:34:04 > git config core.sparsecheckout # timeout=10 20:34:04 > git checkout -f ceb19cb4ab86878044c724e5e66081db52e959f9 # timeout=10 20:34:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:34:05 % Total % Received % Xferd Average Speed Time Time Time Current 20:34:05 Dload Upload Total Spent Left Speed 20:34:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 78709 0 --:--:-- --:--:-- --:--:-- 79198 [Pipeline] sh 20:34:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:34:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:34:06 + sudo tee /etc/docker/daemon.new 20:34:06 { 20:34:06 "registry-mirrors": [ 20:34:06 "https://nexus3.edgexfoundry.org:10001" 20:34:06 ], 20:34:06 "bip": "10.250.0.254/24", 20:34:06 "hosts": [ 20:34:06 "tcp://0.0.0.0:5555", 20:34:06 "unix:///var/run/docker.sock" 20:34:06 ], 20:34:06 "mtu": 1458, 20:34:06 "selinux-enabled": true, 20:34:06 "seccomp-profile": "/etc/docker/seccomp.json" 20:34:06 } [Pipeline] sh 20:34:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:34:07 + sudo service docker restart 20:34:08 Removing intermediate container c955d1c45813 20:34:08 ---> 63494b357ce2 20:34:08 Step 11/23 : FROM alpine:3.16 20:34:08 3.16: Pulling from library/alpine 20:34:08 ef5531b6e74e: Pulling fs layer 20:34:08 ef5531b6e74e: Verifying Checksum 20:34:08 ef5531b6e74e: Download complete 20:34:08 ef5531b6e74e: Pull complete 20:34:08 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 20:34:08 Status: Downloaded newer image for alpine:3.16 20:34:08 ---> dfd21b5a31f5 20:34:08 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:34:08 ---> Running in 3bc8e1c223fe 20:34:08 Removing intermediate container 3bc8e1c223fe 20:34:08 ---> 8be0894b6972 20:34:08 Step 13/23 : RUN apk add --update --no-cache 20:34:08 ---> Running in 038a13e88194 20:34:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:34:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:34:09 OK: 6 MiB in 14 packages 20:34:09 Removing intermediate container 038a13e88194 20:34:09 ---> 4fc369f4317c 20:34:09 Step 14/23 : WORKDIR / 20:34:09 ---> Running in 98f16a29dd53 20:34:09 Removing intermediate container 98f16a29dd53 20:34:09 ---> 3a767f5ceceb 20:34:09 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:34:09 ---> 31a6f7a4722e 20:34:09 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:34:10 ---> dffdda259c29 20:34:10 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:34:10 ---> 85dddb7356d4 20:34:10 Step 18/23 : EXPOSE 59999 20:34:10 ---> Running in 95b9b19f279b 20:34:10 Removing intermediate container 95b9b19f279b 20:34:10 ---> 24eb552950e0 20:34:10 Step 19/23 : ENTRYPOINT ["/device-simple"] 20:34:10 ---> Running in bc95347abbe2 20:34:10 Removing intermediate container bc95347abbe2 20:34:10 ---> d551e58bef01 20:34:10 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:34:10 ---> Running in 8e6344e53c40 20:34:10 Removing intermediate container 8e6344e53c40 20:34:10 ---> c678662895a0 20:34:10 Step 21/23 : LABEL arch=amd64 20:34:10 ---> Running in d1bff4a519b4 20:34:10 Removing intermediate container d1bff4a519b4 20:34:10 ---> bfa8b78f0abc 20:34:10 Step 22/23 : LABEL git_sha=ceb19cb4ab86878044c724e5e66081db52e959f9 20:34:10 ---> Running in 9d7277c13c60 20:34:10 Removing intermediate container 9d7277c13c60 20:34:10 ---> f7e43df86752 20:34:10 Step 23/23 : LABEL version=3.0.0-dev.29 20:34:10 ---> Running in e0aa6dd4952d 20:34:11 Removing intermediate container e0aa6dd4952d 20:34:11 ---> 9b8160dcb9d1 20:34:11 [Warning] One or more build-args [ARCH] were not consumed 20:34:11 Successfully built 9b8160dcb9d1 20:34:11 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:34:11 20:34:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:34:11 latest: Pulling from edgex-lftools-log-publisher 20:34:11 5eb5b503b376: Pulling fs layer 20:34:11 5c69ac0246d0: Pulling fs layer 20:34:11 ec43610c2a17: Pulling fs layer 20:34:11 3a2ae6a8a46f: Pulling fs layer 20:34:11 33b1e0a273af: Pulling fs layer 20:34:11 5d3b04190fa2: Pulling fs layer 20:34:11 2f39f015ded8: Pulling fs layer 20:34:11 33b1e0a273af: Waiting 20:34:11 5d3b04190fa2: Waiting 20:34:11 2f39f015ded8: Waiting 20:34:11 3a2ae6a8a46f: Waiting 20:34:11 5c69ac0246d0: Download complete 20:34:11 3a2ae6a8a46f: Download complete 20:34:12 33b1e0a273af: Verifying Checksum 20:34:12 33b1e0a273af: Download complete 20:34:12 5d3b04190fa2: Verifying Checksum 20:34:12 5d3b04190fa2: Download complete 20:34:12 ec43610c2a17: Verifying Checksum 20:34:12 ec43610c2a17: Download complete 20:34:12 5eb5b503b376: Verifying Checksum 20:34:12 5eb5b503b376: Download complete 20:34:12 2f39f015ded8: Download complete 20:34:13 5eb5b503b376: Pull complete 20:34:13 5c69ac0246d0: Pull complete 20:34:14 ec43610c2a17: Pull complete 20:34:14 3a2ae6a8a46f: Pull complete 20:34:14 33b1e0a273af: Pull complete 20:34:14 5d3b04190fa2: Pull complete 20:34:17 2f39f015ded8: Pull complete 20:34:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:34:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:34:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:34:17 prd-ubuntu20.04-docker-8c-8g-6329 does not seem to be running inside a container 20:34:17 $ 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 20:34:20 $ docker top b046e0367a45085cf8d560a813b2fdc33e240f6aacec006defe66d5bed88a9f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:21 ---> job-cost.sh 20:34:21 lf-activate-venv: SKIPPING 20:34:21 INFO: No Stack... 20:34:21 INFO: Retrieving Pricing Info for: v3-standard-8 20:34:21 INFO: Archiving Costs [Pipeline] sh 20:34:22 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 20:34:22 + cut -d, -f6 [Pipeline] lock 20:34:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-159-stack-cost] 20:34:22 Resource [jenkins-edgexfoundry-device-sdk-go-main-159-stack-cost] did not exist. Created. 20:34:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-159-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:34:22 + echo total: 0.2199999988079071 [Pipeline] stash 20:34:22 Stashed 1 file(s) [Pipeline] } 20:34:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-159-stack-cost] [Pipeline] // lock [Pipeline] } 20:34:22 $ docker stop --time=1 b046e0367a45085cf8d560a813b2fdc33e240f6aacec006defe66d5bed88a9f9 20:34:23 $ docker rm -f --volumes b046e0367a45085cf8d560a813b2fdc33e240f6aacec006defe66d5bed88a9f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:34:25 provisioning config files... 20:34:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/159@tmp/config14034044175525053802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:25 ---> docker-login.sh 20:34:25 nexus3.edgexfoundry.org:10001 20:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:26 Configure a credential helper to remove this warning. See 20:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:26 20:34:26 Login Succeeded 20:34:26 nexus3.edgexfoundry.org:10002 20:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:26 Configure a credential helper to remove this warning. See 20:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:26 20:34:26 Login Succeeded 20:34:26 nexus3.edgexfoundry.org:10003 20:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:27 Configure a credential helper to remove this warning. See 20:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:27 20:34:27 Login Succeeded 20:34:27 nexus3.edgexfoundry.org:10004 20:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:27 Configure a credential helper to remove this warning. See 20:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:27 20:34:27 Login Succeeded 20:34:27 docker.io 20:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:28 Configure a credential helper to remove this warning. See 20:34:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:28 20:34:28 Login Succeeded 20:34:28 ---> docker-login.sh ends [Pipeline] } 20:34:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:34:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:34:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:34:28 ========================================================= 20:34:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:34:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:28 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:34:28 Sending build context to Docker daemon 5.624MB 20:34:28 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:34:28 Step 2/10 : FROM ${BASE} AS builder 20:34:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:34:29 9b18e9b68314: Pulling fs layer 20:34:29 35d82f9e3411: Pulling fs layer 20:34:29 e16973657156: Pulling fs layer 20:34:29 fc693d55d65f: Pulling fs layer 20:34:29 7e9fc2657dce: Pulling fs layer 20:34:29 dda99020689f: Pulling fs layer 20:34:29 db1c61fa0a46: Pulling fs layer 20:34:29 891c053d2c06: Pulling fs layer 20:34:29 7e9fc2657dce: Waiting 20:34:29 dda99020689f: Waiting 20:34:29 db1c61fa0a46: Waiting 20:34:29 891c053d2c06: Waiting 20:34:29 fc693d55d65f: Waiting 20:34:29 e16973657156: Verifying Checksum 20:34:29 e16973657156: Download complete 20:34:29 35d82f9e3411: Verifying Checksum 20:34:29 35d82f9e3411: Download complete 20:34:29 7e9fc2657dce: Verifying Checksum 20:34:29 7e9fc2657dce: Download complete 20:34:29 dda99020689f: Verifying Checksum 20:34:29 dda99020689f: Download complete 20:34:29 9b18e9b68314: Verifying Checksum 20:34:29 9b18e9b68314: Download complete 20:34:30 9b18e9b68314: Pull complete 20:34:30 891c053d2c06: Verifying Checksum 20:34:30 891c053d2c06: Download complete 20:34:30 35d82f9e3411: Pull complete 20:34:30 e16973657156: Pull complete 20:34:31 db1c61fa0a46: Verifying Checksum 20:34:31 db1c61fa0a46: Download complete 20:34:31 fc693d55d65f: Verifying Checksum 20:34:31 fc693d55d65f: Download complete 20:34:44 fc693d55d65f: Pull complete 20:34:44 7e9fc2657dce: Pull complete 20:34:44 dda99020689f: Pull complete 20:34:49 db1c61fa0a46: Pull complete 20:34:50 891c053d2c06: Pull complete 20:34:50 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 20:34:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:34:50 ---> f96f9c87975a 20:34:50 Step 3/10 : ARG MAKE=make build 20:34:52 ---> Running in 84676aa4c9ca 20:34:52 Removing intermediate container 84676aa4c9ca 20:34:52 ---> 4a8db65cc86a 20:34:52 Step 4/10 : WORKDIR /device-sdk-go 20:34:52 ---> Running in 0d52eadba28b 20:34:53 Removing intermediate container 0d52eadba28b 20:34:53 ---> 837b27f7f695 20:34:53 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:34:53 ---> Running in c9aaae5ff159 20:34:53 Removing intermediate container c9aaae5ff159 20:34:53 ---> d70fd88306ae 20:34:53 Step 6/10 : RUN apk add --update --no-cache make git 20:34:53 ---> Running in b6588a8e10a0 20:34:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:34:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:34:55 OK: 221 MiB in 51 packages 20:34:56 Removing intermediate container b6588a8e10a0 20:34:56 ---> c9a381b46805 20:34:56 Step 7/10 : COPY go.mod vendor* ./ 20:34:56 ---> 5adb37c8f695 20:34:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:34:56 ---> Running in 4e5bebfcd75c 20:36:05 Removing intermediate container 4e5bebfcd75c 20:36:05 ---> e3df2f28e546 20:36:05 Step 9/10 : COPY . . 20:36:05 ---> ba915253e040 20:36:05 Step 10/10 : RUN ${MAKE} 20:36:05 ---> Running in 822ce500298d 20:36:05 noop 20:36:07 Removing intermediate container 822ce500298d 20:36:07 ---> 26ce2de000a4 20:36:07 Successfully built 26ce2de000a4 20:36:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:08 + docker inspect -f . ci-base-image-arm64 20:36:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:08 prd-ubuntu20.04-docker-arm64-4c-16g-6330 does not seem to be running inside a container 20:36:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/159 -v /w/workspace/device-sdk-go/159:/w/workspace/device-sdk-go/159:rw,z -v /w/workspace/device-sdk-go/159@tmp:/w/workspace/device-sdk-go/159@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 20:36:09 $ docker top 53260557ec58e577708d13f6b26f843c8d9120e2cf2435853a4c54e080343600 -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:10 + go version 20:36:10 go version go1.18.7 linux/arm64 [Pipeline] } 20:36:10 $ docker stop --time=1 53260557ec58e577708d13f6b26f843c8d9120e2cf2435853a4c54e080343600 20:36:11 $ docker rm -f --volumes 53260557ec58e577708d13f6b26f843c8d9120e2cf2435853a4c54e080343600 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:12 + docker inspect -f . ci-base-image-arm64 20:36:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:12 prd-ubuntu20.04-docker-arm64-4c-16g-6330 does not seem to be running inside a container 20:36:12 $ 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/159 -v /w/workspace/device-sdk-go/159:/w/workspace/device-sdk-go/159:rw,z -v /w/workspace/device-sdk-go/159@tmp:/w/workspace/device-sdk-go/159@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 20:36:13 $ docker top c8226af8e47ff34444a1ebb961b9dca1cd0111a4e1336869b0448e37232ef7f4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:14 + git config --global --add safe.directory /w/workspace/device-sdk-go/159 [Pipeline] fileExists [Pipeline] sh 20:36:14 + make test 20:36:14 go test -race -coverprofile=coverage.out ./... 20:36:46 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 20:38:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 20:38:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 20:38:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 20:38:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 20:38:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 20:38:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.459s coverage: 27.6% of statements 20:38:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.451s coverage: 78.9% of statements 20:38:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 20:38:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.593s coverage: 77.8% of statements 20:38:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 20:38:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 20:38:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.514s coverage: 77.0% of statements 20:38:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 20:38:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 20:38:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 20:38:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.499s coverage: 65.2% of statements 20:38:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 20:38:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 20:38:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.873s coverage: 89.2% of statements 20:38:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 20:38:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.319s coverage: 4.7% of statements 20:38:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 20:38:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:38:45 GO111MODULE=on go vet ./... 20:40:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:40:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:40:07 ./bin/test-attribution-txt.sh [Pipeline] echo 20:40:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:40:07 $ docker stop --time=1 c8226af8e47ff34444a1ebb961b9dca1cd0111a4e1336869b0448e37232ef7f4 20:40:09 $ docker rm -f --volumes c8226af8e47ff34444a1ebb961b9dca1cd0111a4e1336869b0448e37232ef7f4 [Pipeline] // withDockerContainer [Pipeline] sh 20:40:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:40:10 Warning: overwriting stash ‘coverage-report’ 20:40:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:40:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:40:12 + ls -al . 20:40:12 total 268 20:40:12 drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 20:36 . 20:40:12 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 20:34 .. 20:40:12 -rw-rw-r-- 1 jenkins jenkins 140 Feb 16 20:34 .dockerignore 20:40:12 drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 20:34 .git 20:40:12 drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 20:34 .github 20:40:12 -rw-rw-r-- 1 jenkins jenkins 131 Feb 16 20:34 .gitignore 20:40:12 -rw-rw-r-- 1 jenkins jenkins 42 Feb 16 20:34 .golangci.yml 20:40:12 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 16 20:34 CHANGELOG.md 20:40:12 -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 20:34 GOVERNANCE.md 20:40:12 -rw-rw-r-- 1 jenkins jenkins 885 Feb 16 20:34 Jenkinsfile 20:40:12 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 16 20:34 LICENSE 20:40:12 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 16 20:34 Makefile 20:40:12 -rw-rw-r-- 1 jenkins jenkins 619 Feb 16 20:34 OWNERS.md 20:40:12 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 16 20:34 README.md 20:40:12 -rw-rw-r-- 1 jenkins jenkins 12 Feb 16 20:32 VERSION 20:40:12 drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 20:34 bin 20:40:12 -rw-r--r-- 1 jenkins jenkins 98701 Feb 16 20:38 coverage.out 20:40:12 drwxrwxr-x 5 jenkins jenkins 4096 Feb 16 20:34 example 20:40:12 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 16 20:34 go.mod 20:40:12 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 16 20:34 go.sum 20:40:12 drwxrwxr-x 13 jenkins jenkins 4096 Feb 16 20:34 internal 20:40:12 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 20:34 openapi 20:40:12 drwxrwxr-x 6 jenkins jenkins 4096 Feb 16 20:34 pkg 20:40:12 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 20:34 snap 20:40:12 -rw-rw-r-- 1 jenkins jenkins 222 Feb 16 20:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:12 + 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=ceb19cb4ab86878044c724e5e66081db52e959f9 --label arch=arm64 --label version=3.0.0-dev.29 . 20:40:12 Sending build context to Docker daemon 5.723MB 20:40:12 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 20:40:12 Step 2/23 : FROM ${BASE} AS builder 20:40:12 ---> 26ce2de000a4 20:40:12 Step 3/23 : ARG MAKE=make build 20:40:12 ---> Running in 36b2759ffe93 20:40:13 Removing intermediate container 36b2759ffe93 20:40:13 ---> ff8978ba2d8a 20:40:13 Step 4/23 : WORKDIR /device-sdk-go 20:40:13 ---> Running in ac1a9a9d2994 20:40:13 Removing intermediate container ac1a9a9d2994 20:40:13 ---> 02091ca6c685 20:40:13 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:40:13 ---> Running in f18433fe7ec1 20:40:13 Removing intermediate container f18433fe7ec1 20:40:13 ---> ad6b22392e78 20:40:13 Step 6/23 : RUN apk add --update --no-cache make git 20:40:13 ---> Running in e617bf986f08 20:40:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:40:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:40:16 OK: 221 MiB in 51 packages 20:40:17 Removing intermediate container e617bf986f08 20:40:17 ---> 851f932500f5 20:40:17 Step 7/23 : COPY go.mod vendor* ./ 20:40:17 ---> 0591f8a4fff7 20:40:17 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:40:17 ---> Running in 8d92cc041068 20:40:20 Removing intermediate container 8d92cc041068 20:40:20 ---> 01a3a4fb5652 20:40:20 Step 9/23 : COPY . . 20:40:21 ---> aceaf4a7523b 20:40:21 Step 10/23 : RUN ${MAKE} 20:40:21 ---> Running in 3d51bd1197d1 20:40:22 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.29" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:42:13 Removing intermediate container 3d51bd1197d1 20:42:13 ---> 5ebdcae0a0c7 20:42:13 Step 11/23 : FROM alpine:3.16 20:42:13 3.16: Pulling from library/alpine 20:42:13 3760b48202b3: Pulling fs layer 20:42:14 3760b48202b3: Verifying Checksum 20:42:14 3760b48202b3: Download complete 20:42:14 3760b48202b3: Pull complete 20:42:14 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 20:42:14 Status: Downloaded newer image for alpine:3.16 20:42:14 ---> 4c81e5bf8899 20:42:14 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:42:14 ---> Running in a8bf67350cd4 20:42:15 Removing intermediate container a8bf67350cd4 20:42:15 ---> c4b87df8e9e3 20:42:15 Step 13/23 : RUN apk add --update --no-cache 20:42:15 ---> Running in 2d3904d3d51b 20:42:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:42:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:42:17 OK: 5 MiB in 14 packages 20:42:19 Removing intermediate container 2d3904d3d51b 20:42:19 ---> df3e038771bf 20:42:19 Step 14/23 : WORKDIR / 20:42:19 ---> Running in 2b745c2e1357 20:42:19 Removing intermediate container 2b745c2e1357 20:42:19 ---> 01d9e3e6513f 20:42:19 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:42:20 ---> e72acb9b489c 20:42:20 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:42:21 ---> a05c7ee68c64 20:42:21 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:42:21 ---> a5dad7942702 20:42:21 Step 18/23 : EXPOSE 59999 20:42:21 ---> Running in 2699cc29d10b 20:42:21 Removing intermediate container 2699cc29d10b 20:42:21 ---> 6fe456d17911 20:42:21 Step 19/23 : ENTRYPOINT ["/device-simple"] 20:42:21 ---> Running in d345b73ef757 20:42:22 Removing intermediate container d345b73ef757 20:42:22 ---> f18a7b9c7b0b 20:42:22 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:42:22 ---> Running in 3e992e9afe57 20:42:22 Removing intermediate container 3e992e9afe57 20:42:22 ---> 853c9cadd2c6 20:42:22 Step 21/23 : LABEL arch=arm64 20:42:22 ---> Running in 5f0079f6e60f 20:42:23 Removing intermediate container 5f0079f6e60f 20:42:23 ---> 1b1d0e58cc4c 20:42:23 Step 22/23 : LABEL git_sha=ceb19cb4ab86878044c724e5e66081db52e959f9 20:42:23 ---> Running in e195ea68fcb2 20:42:23 Removing intermediate container e195ea68fcb2 20:42:23 ---> 64e3cf59ce13 20:42:23 Step 23/23 : LABEL version=3.0.0-dev.29 20:42:23 ---> Running in 6bf1e5321ec5 20:42:23 Removing intermediate container 6bf1e5321ec5 20:42:23 ---> 6ba9efc2fb1d 20:42:23 [Warning] One or more build-args [ARCH] were not consumed 20:42:23 Successfully built 6ba9efc2fb1d 20:42:23 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 20:42:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:42:23 20:42:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:42:24 arm64: Pulling from edgex-lftools-log-publisher 20:42:24 8998bd30e6a1: Pulling fs layer 20:42:24 04944245beec: Pulling fs layer 20:42:24 699f458cf7ca: Pulling fs layer 20:42:24 765212b225bb: Pulling fs layer 20:42:24 f23df028b6ca: Pulling fs layer 20:42:24 d65c8cfc05b1: Pulling fs layer 20:42:24 2437ff75d9bd: Pulling fs layer 20:42:24 765212b225bb: Waiting 20:42:24 f23df028b6ca: Waiting 20:42:24 d65c8cfc05b1: Waiting 20:42:24 2437ff75d9bd: Waiting 20:42:24 04944245beec: Verifying Checksum 20:42:24 04944245beec: Download complete 20:42:24 765212b225bb: Download complete 20:42:24 f23df028b6ca: Verifying Checksum 20:42:24 f23df028b6ca: Download complete 20:42:24 d65c8cfc05b1: Verifying Checksum 20:42:24 d65c8cfc05b1: Download complete 20:42:24 699f458cf7ca: Verifying Checksum 20:42:24 699f458cf7ca: Download complete 20:42:25 8998bd30e6a1: Verifying Checksum 20:42:25 8998bd30e6a1: Download complete 20:42:27 2437ff75d9bd: Download complete 20:42:28 8998bd30e6a1: Pull complete 20:42:29 04944245beec: Pull complete 20:42:30 699f458cf7ca: Pull complete 20:42:32 765212b225bb: Pull complete 20:42:33 f23df028b6ca: Pull complete 20:42:33 d65c8cfc05b1: Pull complete 20:42:45 2437ff75d9bd: Pull complete 20:42:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:42:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:42:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:45 prd-ubuntu20.04-docker-arm64-4c-16g-6330 does not seem to be running inside a container 20:42:45 $ 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/159 -v /w/workspace/device-sdk-go/159:/w/workspace/device-sdk-go/159:rw,z -v /w/workspace/device-sdk-go/159@tmp:/w/workspace/device-sdk-go/159@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 20:42:48 $ docker top 8dc1cc8427530aed4a19e763130806c5162c90f54bd52cdff0eb362e94c43c0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:49 ---> job-cost.sh 20:42:49 lf-activate-venv: SKIPPING 20:42:49 INFO: No Stack... 20:42:49 INFO: Retrieving Pricing Info for: v3-standard-4 20:42:50 INFO: Archiving Costs [Pipeline] sh 20:42:50 + + cut -d, -f6 20:42:50 cat /w/workspace/device-sdk-go/159/archives/cost.csv [Pipeline] lock 20:42:50 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-159-stack-cost] 20:42:50 Resource [jenkins-edgexfoundry-device-sdk-go-main-159-stack-cost] did not exist. Created. 20:42:50 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-159-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:42:51 /w/workspace/device-sdk-go/159@tmp/durable-27ad03d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:42:52 + echo total: 0.10999999940395355 [Pipeline] stash 20:42:52 Warning: overwriting stash ‘stack-cost’ 20:42:52 Stashed 1 file(s) [Pipeline] } 20:42:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-159-stack-cost] [Pipeline] // lock [Pipeline] } 20:42:52 $ docker stop --time=1 8dc1cc8427530aed4a19e763130806c5162c90f54bd52cdff0eb362e94c43c0d 20:42:53 $ docker rm -f --volumes 8dc1cc8427530aed4a19e763130806c5162c90f54bd52cdff0eb362e94c43c0d [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 20:42:54 provisioning config files... 20:42:54 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11826909933145984493tmp [Pipeline] { [Pipeline] sh 20:42:54 + set +x 20:42:54 + bash -s -- 20:42:54 + curl -s https://codecov.io/bash 20:42:54 20:42:54 _____ _ 20:42:54 / ____| | | 20:42:54 | | ___ __| | ___ ___ _____ __ 20:42:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:42:54 | |___| (_) | (_| | __/ (_| (_) \ V / 20:42:54 \_____\___/ \__,_|\___|\___\___/ \_/ 20:42:54 Bash-1.0.6 20:42:54 20:42:54 20:42:54 ==> git version 2.25.1 found 20:42:54 ==> 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 20:42:54 Release-Date: 2020-01-08 20:42:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:42:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:42:54 ==> Jenkins CI detected. 20:42:54 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 20:42:54 project root: . 20:42:54 --> token set from env 20:42:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:42:54 ==> Running gcov in . (disable via -X gcov) 20:42:54 ==> Python coveragepy not found 20:42:54 ==> Searching for coverage reports in: 20:42:54 + . 20:42:54 -> Found 1 reports 20:42:54 ==> Detecting git/mercurial file structure 20:42:54 ==> Reading reports 20:42:54 + ./coverage.out bytes=98701 20:42:54 ==> Appending adjustments 20:42:54 https://docs.codecov.io/docs/fixing-reports 20:42:54 + Found adjustments 20:42:54 ==> Gzipping contents 20:42:54 16K /tmp/codecov.TcJzPJ.gz 20:42:54 ==> Uploading reports 20:42:54 url: https://codecov.io 20:42:54 query: branch=main&commit=ceb19cb4ab86878044c724e5e66081db52e959f9&build=159&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F159%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:42:54 -> Pinging Codecov 20:42:54 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=ceb19cb4ab86878044c724e5e66081db52e959f9&build=159&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F159%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:42:55 -> Uploading to 20:42:55 https://storage.googleapis.com/codecov/v4/raw/2023-02-16/7E55EF52A471D76F132DFD9A03CDDE97/ceb19cb4ab86878044c724e5e66081db52e959f9/6ece9202-cea0-43dd-ac00-aa635968e342.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230216T204254Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=887df4a5672c826730657671c82ed822a681d09f2294955eb3be2056c3c7b57a 20:42:55 % Total % Received % Xferd Average Speed Time Time Time Current 20:42:55 Dload Upload Total Spent Left Speed 20:42:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14396 0 0 100 14396 0 54324 --:--:-- --:--:-- --:--:-- 54324 20:42:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ceb19cb4ab86878044c724e5e66081db52e959f9 [Pipeline] } 20:42:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:42:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:42:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:42:55 20:42:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:42:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:42:56 df9b9388f04a: Pulling fs layer 20:42:56 52dc419b0ee2: Pulling fs layer 20:42:56 25bc292e5bac: Pulling fs layer 20:42:56 114826534d7a: Pulling fs layer 20:42:56 4657fd5d0bcf: Pulling fs layer 20:42:56 6ad1cebc031e: Pulling fs layer 20:42:56 8a3aa393b2d8: Pulling fs layer 20:42:56 114826534d7a: Waiting 20:42:56 6ad1cebc031e: Waiting 20:42:56 8a3aa393b2d8: Waiting 20:42:56 4657fd5d0bcf: Waiting 20:42:56 25bc292e5bac: Download complete 20:42:56 52dc419b0ee2: Verifying Checksum 20:42:56 52dc419b0ee2: Download complete 20:42:56 4657fd5d0bcf: Download complete 20:42:56 df9b9388f04a: Verifying Checksum 20:42:56 df9b9388f04a: Download complete 20:42:56 df9b9388f04a: Pull complete 20:42:56 52dc419b0ee2: Pull complete 20:42:56 6ad1cebc031e: Verifying Checksum 20:42:56 6ad1cebc031e: Download complete 20:42:56 25bc292e5bac: Pull complete 20:42:57 114826534d7a: Verifying Checksum 20:42:57 114826534d7a: Download complete 20:42:57 8a3aa393b2d8: Verifying Checksum 20:42:57 8a3aa393b2d8: Download complete 20:43:00 114826534d7a: Pull complete 20:43:00 4657fd5d0bcf: Pull complete 20:43:00 6ad1cebc031e: Pull complete 20:43:03 8a3aa393b2d8: Pull complete 20:43:03 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:43:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:43:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:03 prd-ubuntu20.04-docker-8c-8g-6329 does not seem to be running inside a container 20:43:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:43:05 $ docker top f7aaa8c62f6054143f62e99b6e35406690f0d3b4b89e952a0384657a1120a403 -eo pid,comm [Pipeline] { [Pipeline] echo 20:43:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 20:43:06 + set -o pipefail 20:43:06 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 20:43:11 20:43:11 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 20:43:11 20:43:11 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/a2cf7014-02aa-46f6-816d-7f85f8bcef80 20:43:11 20:43:11 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:43:11 20:43:11 20:43:11 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:43:11 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:43:11 More details here: https://snyk.co/ue1NS [Pipeline] } 20:43:11 $ docker stop --time=1 f7aaa8c62f6054143f62e99b6e35406690f0d3b4b89e952a0384657a1120a403 20:43:13 $ docker rm -f --volumes f7aaa8c62f6054143f62e99b6e35406690f0d3b4b89e952a0384657a1120a403 [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 20:43:14 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:14 provisioning config files... 20:43:14 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9424190989519907432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:14 --> edgex-publish-swagger.sh 20:43:14 === Publish openapi/v3 API === 20:43:14 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 20:43:14 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 20:43:14 % Total % Received % Xferd Average Speed Time Time Time Current 20:43:14 Dload Upload Total Spent Left Speed 20:43:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 25278 0 0 100 25278 0 37728 --:--:-- --:--:-- --:--:-- 37672 100 25278 0 0 100 25278 0 37672 --:--:-- --:--:-- --:--:-- 37616 20:43:15 20:43:15 [Pipeline] } 20:43:15 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 20:43:15 + git log --format=format:%s -1 ceb19cb4ab86878044c724e5e66081db52e959f9 [Pipeline] sh 20:43:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:43:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:43:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:16 prd-ubuntu20.04-docker-8c-8g-6329 does not seem to be running inside a container 20:43:16 $ 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 20:43:16 $ docker top 43a1db306210dddd8b96e2eb3783c93c8cc63a15a6dd74531374bab7b19d1207 -eo pid,comm 20:43:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:43:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:43:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:16 [ssh-agent] Looking for ssh-agent implementation... 20:43:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:16 $ docker exec 43a1db306210dddd8b96e2eb3783c93c8cc63a15a6dd74531374bab7b19d1207 ssh-agent 20:43:16 SSH_AUTH_SOCK=/tmp/ssh-Z2x0rJhctrBb/agent.32 20:43:16 SSH_AGENT_PID=38 20:43:16 Running ssh-add (command line suppressed) 20:43:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3319571903056602191.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3319571903056602191.key) 20:43:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:17 + git semver tag 20:43:17 2023-02-16 20:43:17,585 [run_tag] DEBUG tag force:False 20:43:17 2023-02-16 20:43:17,586 [check_head_tag] DEBUG check head tag 20:43:17 2023-02-16 20:43:17,588 [execute] INFO git cat-file --batch-check 20:43:17 2023-02-16 20:43:17,588 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 20:43:17 2023-02-16 20:43:17,591 [execute] INFO git cat-file --batch 20:43:17 2023-02-16 20:43:17,592 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 20:43:17 2023-02-16 20:43:17,619 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:43:17 2023-02-16 20:43:17,619 [execute] INFO git tag -a v3.0.0-dev.29 -m v3.0.0-dev.29 20:43:17 2023-02-16 20:43:17,619 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.29', '-m', 'v3.0.0-dev.29'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 20:43:17 2023-02-16 20:43:17,624 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:43:17 3.0.0-dev.29 [Pipeline] } 20:43:17 $ docker exec --env ******** --env ******** 43a1db306210dddd8b96e2eb3783c93c8cc63a15a6dd74531374bab7b19d1207 ssh-agent -k 20:43:17 unset SSH_AUTH_SOCK; 20:43:17 unset SSH_AGENT_PID; 20:43:17 echo Agent pid 38 killed; 20:43:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:43:18 + git semver [Pipeline] } 20:43:18 $ docker stop --time=1 43a1db306210dddd8b96e2eb3783c93c8cc63a15a6dd74531374bab7b19d1207 20:43:19 $ docker rm -f --volumes 43a1db306210dddd8b96e2eb3783c93c8cc63a15a6dd74531374bab7b19d1207 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:43:20 20:43:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:43:20 0.23.1-centos7: Pulling from edgex-lftools 20:43:20 ab5ef0e58194: Pulling fs layer 20:43:20 9712f1f96733: Pulling fs layer 20:43:20 63f879dbbcfc: Pulling fs layer 20:43:20 0d9ebad4ef96: Pulling fs layer 20:43:20 e9a5061849ea: Pulling fs layer 20:43:20 d747dcd14b5f: Pulling fs layer 20:43:20 2de7ff778b66: Pulling fs layer 20:43:20 d747dcd14b5f: Waiting 20:43:20 e9a5061849ea: Waiting 20:43:20 2de7ff778b66: Waiting 20:43:20 0d9ebad4ef96: Waiting 20:43:20 9712f1f96733: Download complete 20:43:21 63f879dbbcfc: Verifying Checksum 20:43:21 63f879dbbcfc: Download complete 20:43:21 0d9ebad4ef96: Verifying Checksum 20:43:21 0d9ebad4ef96: Download complete 20:43:21 d747dcd14b5f: Verifying Checksum 20:43:21 d747dcd14b5f: Download complete 20:43:21 e9a5061849ea: Download complete 20:43:21 ab5ef0e58194: Download complete 20:43:21 2de7ff778b66: Verifying Checksum 20:43:21 2de7ff778b66: Download complete 20:43:24 ab5ef0e58194: Pull complete 20:43:24 9712f1f96733: Pull complete 20:43:24 63f879dbbcfc: Pull complete 20:43:27 0d9ebad4ef96: Pull complete 20:43:28 e9a5061849ea: Pull complete 20:43:28 d747dcd14b5f: Pull complete 20:43:29 2de7ff778b66: Pull complete 20:43:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:43:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:43:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:29 prd-ubuntu20.04-docker-8c-8g-6329 does not seem to be running inside a container 20:43:29 $ 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 20:43:31 $ docker top 2dd4a2c972fa169b7cff56d258d4a181daa3a70e89e99bea4b0cd1457fdf8cff -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:43:31 provisioning config files... 20:43:31 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config172826652678630996tmp 20:43:31 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2884513840511011741tmp 20:43:31 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5045718931023240190tmp [Pipeline] { [Pipeline] echo 20:43:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:43:31 ---> sigul-configuration.sh 20:43:31 gpg: directory `/root/.gnupg' created 20:43:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:43:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:43:31 gpg: keyring `/root/.gnupg/secring.gpg' created 20:43:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:43:31 gpg: CAST5 encrypted data 20:43:31 gpg: encrypted with 1 passphrase 20:43:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:43:32 + mkdir /home/jenkins 20:43:32 + mkdir /home/jenkins/sigul [Pipeline] sh 20:43:32 + 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 20:43:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:43:33 ---> sigul-install.sh 20:43:33 Sigul already installed; skipping installation. [Pipeline] sh 20:43:33 + git tag --list 20:43:33 0.7.1 20:43:33 delhi-tag 20:43:33 v1.0.0 20:43:33 v1.1.0 20:43:33 v1.1.1 20:43:33 v1.1.2 20:43:33 v1.2.0 20:43:33 v1.2.1 20:43:33 v1.2.2 20:43:33 v1.2.3 20:43:33 v1.3.0 20:43:33 v1.4.0 20:43:33 v2.0.0 20:43:33 v2.1.0 20:43:33 v2.1.1 20:43:33 v2.1.1-dev.2 20:43:33 v2.1.1-dev.3 20:43:33 v2.2.0 20:43:33 v2.2.1-dev.1 20:43:33 v2.2.1-dev.10 20:43:33 v2.2.1-dev.11 20:43:33 v2.2.1-dev.12 20:43:33 v2.2.1-dev.13 20:43:33 v2.2.1-dev.14 20:43:33 v2.2.1-dev.2 20:43:33 v2.2.1-dev.3 20:43:33 v2.2.1-dev.4 20:43:33 v2.2.1-dev.5 20:43:33 v2.2.1-dev.6 20:43:33 v2.2.1-dev.7 20:43:33 v2.2.1-dev.8 20:43:33 v2.2.1-dev.9 20:43:33 v2.3.0 20:43:33 v2.3.0-dev.14 20:43:33 v2.3.0-dev.15 20:43:33 v2.3.0-dev.16 20:43:33 v2.3.0-dev.17 20:43:33 v2.3.0-dev.18 20:43:33 v2.3.0-dev.19 20:43:33 v2.3.0-dev.20 20:43:33 v2.3.0-dev.21 20:43:33 v2.3.0-dev.22 20:43:33 v2.3.0-dev.23 20:43:33 v2.3.0-dev.24 20:43:33 v2.3.0-dev.25 20:43:33 v2.3.0-dev.26 20:43:33 v2.3.0-dev.27 20:43:33 v2.3.0-dev.28 20:43:33 v2.3.0-dev.29 20:43:33 v2.3.0-dev.30 20:43:33 v2.3.0-dev.31 20:43:33 v2.3.0-dev.32 20:43:33 v2.3.0-dev.33 20:43:33 v2.3.0-dev.34 20:43:33 v2.3.0-dev.35 20:43:33 v2.3.0-dev.36 20:43:33 v2.3.0-dev.37 20:43:33 v2.3.0-dev.38 20:43:33 v2.3.0-dev.39 20:43:33 v2.3.0-dev.40 20:43:33 v2.3.0-dev.41 20:43:33 v2.3.0-dev.42 20:43:33 v2.3.0-dev.43 20:43:33 v2.3.0-dev.44 20:43:33 v2.3.0-dev.45 20:43:33 v2.3.0-dev.46 20:43:33 v2.3.0-dev.47 20:43:33 v2.3.0-dev.48 20:43:33 v2.3.0-dev.49 20:43:33 v2.3.0-dev.50 20:43:33 v2.3.0-dev.51 20:43:33 v2.3.1-dev.1 20:43:33 v2.3.1-dev.2 20:43:33 v3.0.0-dev.1 20:43:33 v3.0.0-dev.10 20:43:33 v3.0.0-dev.11 20:43:33 v3.0.0-dev.12 20:43:33 v3.0.0-dev.13 20:43:33 v3.0.0-dev.14 20:43:33 v3.0.0-dev.15 20:43:33 v3.0.0-dev.16 20:43:33 v3.0.0-dev.17 20:43:33 v3.0.0-dev.18 20:43:33 v3.0.0-dev.19 20:43:33 v3.0.0-dev.2 20:43:33 v3.0.0-dev.20 20:43:33 v3.0.0-dev.21 20:43:33 v3.0.0-dev.22 20:43:33 v3.0.0-dev.23 20:43:33 v3.0.0-dev.24 20:43:33 v3.0.0-dev.25 20:43:33 v3.0.0-dev.26 20:43:33 v3.0.0-dev.27 20:43:33 v3.0.0-dev.28 20:43:33 v3.0.0-dev.29 20:43:33 v3.0.0-dev.3 20:43:33 v3.0.0-dev.4 20:43:33 v3.0.0-dev.5 20:43:33 v3.0.0-dev.6 20:43:33 v3.0.0-dev.7 20:43:33 v3.0.0-dev.8 20:43:33 v3.0.0-dev.9 [Pipeline] sh 20:43:33 + lftools sign git-tag v3.0.0-dev.29 20:43:34 Signing Git tag with Sigul... 20:43:34 Signing v3.0.0-dev.29 [Pipeline] echo 20:43:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:43:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:43:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:43:35 $ docker stop --time=1 2dd4a2c972fa169b7cff56d258d4a181daa3a70e89e99bea4b0cd1457fdf8cff 20:43:36 $ docker rm -f --volumes 2dd4a2c972fa169b7cff56d258d4a181daa3a70e89e99bea4b0cd1457fdf8cff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:43:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:43:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:43:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:37 prd-ubuntu20.04-docker-8c-8g-6329 does not seem to be running inside a container 20:43:37 $ 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 20:43:37 $ docker top 5bdcd295bf1cf7c22f11623f76d04527781811c3bc330be635d72be820e0c789 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:43:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:37 [ssh-agent] Looking for ssh-agent implementation... 20:43:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:38 $ docker exec 5bdcd295bf1cf7c22f11623f76d04527781811c3bc330be635d72be820e0c789 ssh-agent 20:43:38 SSH_AUTH_SOCK=/tmp/ssh-GLJ6LL35dsVR/agent.31 20:43:38 SSH_AGENT_PID=37 20:43:38 Running ssh-add (command line suppressed) 20:43:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15347874873825081157.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15347874873825081157.key) 20:43:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:38 + git semver bump pre 20:43:38 2023-02-16 20:43:38,734 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:43:38 2023-02-16 20:43:38,734 [bump_version] DEBUG bumping version:3.0.0-dev.29 on axis:pre with prefix:dev 20:43:38 2023-02-16 20:43:38,734 [bump_version] DEBUG bumped version:3.0.0-dev.30 20:43:38 2023-02-16 20:43:38,734 [write_version] DEBUG write version:3.0.0-dev.30 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 20:43:38 2023-02-16 20:43:38,734 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:43:38 2023-02-16 20:43:38,734 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:43:38 2023-02-16 20:43:38,736 [execute] INFO git cat-file --batch-check 20:43:38 2023-02-16 20:43:38,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:43:38 2023-02-16 20:43:38,744 [execute] INFO git cat-file --batch 20:43:38 2023-02-16 20:43:38,744 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:43:38 2023-02-16 20:43:38,747 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:43:38 3.0.0-dev.30 [Pipeline] } 20:43:38 $ docker exec --env ******** --env ******** 5bdcd295bf1cf7c22f11623f76d04527781811c3bc330be635d72be820e0c789 ssh-agent -k 20:43:38 unset SSH_AUTH_SOCK; 20:43:38 unset SSH_AGENT_PID; 20:43:38 echo Agent pid 37 killed; 20:43:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:43:39 + git semver [Pipeline] } 20:43:39 $ docker stop --time=1 5bdcd295bf1cf7c22f11623f76d04527781811c3bc330be635d72be820e0c789 20:43:40 $ docker rm -f --volumes 5bdcd295bf1cf7c22f11623f76d04527781811c3bc330be635d72be820e0c789 [Pipeline] // withDockerContainer [Pipeline] sh 20:43:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:43:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:43:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:41 prd-ubuntu20.04-docker-8c-8g-6329 does not seem to be running inside a container 20:43:41 $ 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 20:43:41 $ docker top 7a99ee7283eca804ae718ae659f42d7e1cdfda6f7bc8fe52733c8711096ce52f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:43:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:41 [ssh-agent] Looking for ssh-agent implementation... 20:43:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:42 $ docker exec 7a99ee7283eca804ae718ae659f42d7e1cdfda6f7bc8fe52733c8711096ce52f ssh-agent 20:43:42 SSH_AUTH_SOCK=/tmp/ssh-vfz8nFkt5VZp/agent.32 20:43:42 SSH_AGENT_PID=38 20:43:42 Running ssh-add (command line suppressed) 20:43:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11441668249643739721.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11441668249643739721.key) 20:43:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:42 + git semver push 20:43:42 2023-02-16 20:43:42,729 [run_push] DEBUG push 20:43:42 2023-02-16 20:43:42,730 [execute] INFO git cat-file --batch-check 20:43:42 2023-02-16 20:43:42,730 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:43:42 2023-02-16 20:43:42,734 [execute] INFO git rev-list 3c87db4bb8bc07ff50449b7bf97648d2037ff606 -- 20:43:42 2023-02-16 20:43:42,734 [execute] DEBUG Popen(['git', 'rev-list', '3c87db4bb8bc07ff50449b7bf97648d2037ff606', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:43:42 2023-02-16 20:43:42,743 [execute] INFO git fetch -v origin 20:43:42 2023-02-16 20:43:42,744 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:43:43 2023-02-16 20:43:43,334 [run_push] DEBUG no remote changes detected 20:43:43 2023-02-16 20:43:43,335 [execute] INFO git push origin semver 20:43:43 2023-02-16 20:43:43,335 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:43:44 2023-02-16 20:43:44,208 [run_push] DEBUG push all version tags 20:43:44 2023-02-16 20:43:44,209 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:43:44 2023-02-16 20:43:44,209 [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) 20:43:45 2023-02-16 20:43:45,056 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:43:45 3.0.0-dev.30 [Pipeline] } 20:43:45 $ docker exec --env ******** --env ******** 7a99ee7283eca804ae718ae659f42d7e1cdfda6f7bc8fe52733c8711096ce52f ssh-agent -k 20:43:45 unset SSH_AUTH_SOCK; 20:43:45 unset SSH_AGENT_PID; 20:43:45 echo Agent pid 38 killed; 20:43:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:43:45 + git semver [Pipeline] } 20:43:45 $ docker stop --time=1 7a99ee7283eca804ae718ae659f42d7e1cdfda6f7bc8fe52733c8711096ce52f 20:43:47 $ docker rm -f --volumes 7a99ee7283eca804ae718ae659f42d7e1cdfda6f7bc8fe52733c8711096ce52f [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 20:43:47 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 20:43:47 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 20:43:47 total 16 20:43:47 drwxr-xr-x 3 root root 4096 Feb 16 20:34 . 20:43:47 drwxrwxr-x 12 jenkins jenkins 4096 Feb 16 20:43 .. 20:43:47 drwxr-xr-x 2 root root 4096 Feb 16 20:34 cost 20:43:47 -rw-r--r-- 1 root root 85 Feb 16 20:34 cost.csv 20:43:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 20:43:47 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 20:43:47 total 16 20:43:47 drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 20:34 . 20:43:47 drwxrwxr-x 12 jenkins jenkins 4096 Feb 16 20:43 .. 20:43:47 drwxr-xr-x 2 jenkins jenkins 4096 Feb 16 20:34 cost 20:43:47 -rw-r--r-- 1 jenkins jenkins 85 Feb 16 20:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:43:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:43:48 ---> package-listing.sh 20:43:48 ++ facter osfamily 20:43:48 ++ tr '[:upper:]' '[:lower:]' 20:43:49 + OS_FAMILY=debian 20:43:49 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 20:43:49 + START_PACKAGES=/tmp/packages_start.txt 20:43:49 + END_PACKAGES=/tmp/packages_end.txt 20:43:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:43:49 + PACKAGES=/tmp/packages_start.txt 20:43:49 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 20:43:49 + PACKAGES=/tmp/packages_end.txt 20:43:49 + case "${OS_FAMILY}" in 20:43:49 + dpkg -l 20:43:49 + grep '^ii' 20:43:49 + '[' -f /tmp/packages_start.txt ']' 20:43:49 + '[' -f /tmp/packages_end.txt ']' 20:43:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:43:49 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 20:43:49 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 20:43:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 20:43:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:43:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:49 prd-ubuntu20.04-docker-8c-8g-6329 does not seem to be running inside a container 20:43:49 $ 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 20:43:50 $ docker top 042c3cde2d6ea673ae4d976aee1e747d9ca464f8bd6c9b42737bc850b333cb91 -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:50 + touch /tmp/pre-build-complete [Pipeline] sh 20:43:50 + mkdir -p /var/log/sysstat [Pipeline] sh 20:43:51 + ls /var/log/sa-host 20:43:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:51 provisioning config files... 20:43:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5396842523049849015tmp [Pipeline] { [Pipeline] echo 20:43:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:43:51 ---> create-netrc.sh [Pipeline] } 20:43:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:43:52 ---> python-tools-install.sh [Pipeline] echo 20:43:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:43:52 ---> sudo-logs.sh 20:43:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:43:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:43:55 ---> job-cost.sh 20:43:55 lf-activate-venv: SKIPPING 20:43:55 DEBUG: total: 0.2199999988079071 20:43:55 INFO: Retrieving Stack Cost... 20:43:57 INFO: Retrieving Pricing Info for: v3-standard-8 20:43:57 INFO: Archiving Costs [Pipeline] echo 20:43:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:43:57 ---> logs-deploy.sh 20:43:57 lf-activate-venv: SKIPPING 20:43:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/159 20:43:57 INFO: archiving workspace using pattern(s): 20:43:58 Archives upload complete. 20:43:58 INFO: archiving logs to Nexus