Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 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-ssh14372226436615707771.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-ssh7162341030559154598.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-ssh1538531372514590797.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-ssh12779465208342235283.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-ssh2399294653598300926.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-4523 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 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 # timeout=10 Commit message: "Merge pull request #1302 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v3-3.0.0-dev.6" > git rev-list --no-walk f7da20bf34cbd31aed01d59c29d04f5a73da2a5d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:25:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:25:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:25:50 ========================================================= 10:25:50 EdgeX Global Pipelines Version Info 10:25:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:25:51 ------------------- 10:25:51 stable info: 10:25:51 ------------------- 10:25:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:25:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:25:51 Message: update stable to v1.0.244 10:25:52 ------------------- 10:25:52 experimental info: 10:25:52 ------------------- 10:25:52 Commited By: **** collab-it+edgex@linuxfoundation.org 10:25:52 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:25:52 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1acc2ef [Pipeline] echo 10:25:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:25:52 provisioning config files... 10:25:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5228472137063784118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:25:52 ---> docker-login.sh 10:25:52 nexus3.edgexfoundry.org:10001 10:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:53 Configure a credential helper to remove this warning. See 10:25:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:53 10:25:53 Login Succeeded 10:25:53 nexus3.edgexfoundry.org:10002 10:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:53 Configure a credential helper to remove this warning. See 10:25:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:53 10:25:53 Login Succeeded 10:25:53 nexus3.edgexfoundry.org:10003 10:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:53 Configure a credential helper to remove this warning. See 10:25:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:53 10:25:53 Login Succeeded 10:25:53 nexus3.edgexfoundry.org:10004 10:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:53 Configure a credential helper to remove this warning. See 10:25:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:53 10:25:53 Login Succeeded 10:25:53 docker.io 10:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:54 Configure a credential helper to remove this warning. See 10:25:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:54 10:25:54 Login Succeeded 10:25:54 ---> docker-login.sh ends [Pipeline] } 10:25:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:25:54 + git rev-list -1 --merges 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223~1..1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 [Pipeline] echo 10:25:54 -----------> git rev-list -1 --merges 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223~1..1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 10:25:54 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 [false] [Pipeline] sh 10:25:54 + git log --format=format:%s -1 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 [Pipeline] echo 10:25:54 ========================================================= 10:25:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:25:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:25:55 + git log --format=format:%s -1 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 [Pipeline] echo 10:25:55 [semverPrep] GIT_COMMIT: 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223, Commit Message: Merge pull request #1302 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v3-3.0.0-dev.6 [Pipeline] echo 10:25:55 [semverPrep] This is not a build commit. [Pipeline] sh 10:25:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:25:55 + grep -v github /etc/ssh/ssh_known_hosts 10:25:55 + [ -e /tmp/ssh_known_hosts ] 10:25:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:25:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:25:55 + sudo tee -a /etc/ssh/ssh_known_hosts 10:25:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:25:55 10:25:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:25:56 0.1.4: Pulling from edgex-devops/py-git-semver 10:25:56 b85a868b505f: Pulling fs layer 10:25:56 e2be974225ed: Pulling fs layer 10:25:56 339a4e72a1f5: Pulling fs layer 10:25:56 988bab9f4d93: Pulling fs layer 10:25:56 1469e6f7b9e6: Pulling fs layer 10:25:56 eaf3925da568: Pulling fs layer 10:25:56 bab4dde63d76: Pulling fs layer 10:25:56 bde34c3a00c8: Pulling fs layer 10:25:56 b352a97aabf1: Pulling fs layer 10:25:56 4872d77fe225: Pulling fs layer 10:25:56 5851b861e8e6: Pulling fs layer 10:25:56 988bab9f4d93: Waiting 10:25:56 1469e6f7b9e6: Waiting 10:25:56 eaf3925da568: Waiting 10:25:56 bab4dde63d76: Waiting 10:25:56 b352a97aabf1: Waiting 10:25:56 4872d77fe225: Waiting 10:25:56 5851b861e8e6: Waiting 10:25:56 bde34c3a00c8: Waiting 10:25:56 e2be974225ed: Verifying Checksum 10:25:56 e2be974225ed: Download complete 10:25:56 988bab9f4d93: Verifying Checksum 10:25:56 988bab9f4d93: Download complete 10:25:56 1469e6f7b9e6: Verifying Checksum 10:25:56 1469e6f7b9e6: Download complete 10:25:56 eaf3925da568: Verifying Checksum 10:25:56 eaf3925da568: Download complete 10:25:56 339a4e72a1f5: Verifying Checksum 10:25:56 339a4e72a1f5: Download complete 10:25:56 bde34c3a00c8: Verifying Checksum 10:25:56 bde34c3a00c8: Download complete 10:25:56 b352a97aabf1: Verifying Checksum 10:25:56 b352a97aabf1: Download complete 10:25:56 4872d77fe225: Verifying Checksum 10:25:56 4872d77fe225: Download complete 10:25:57 5851b861e8e6: Verifying Checksum 10:25:57 5851b861e8e6: Download complete 10:25:57 b85a868b505f: Verifying Checksum 10:25:57 b85a868b505f: Download complete 10:25:57 bab4dde63d76: Verifying Checksum 10:25:57 bab4dde63d76: Download complete 10:25:58 b85a868b505f: Pull complete 10:25:58 e2be974225ed: Pull complete 10:25:59 339a4e72a1f5: Pull complete 10:25:59 988bab9f4d93: Pull complete 10:25:59 1469e6f7b9e6: Pull complete 10:25:59 eaf3925da568: Pull complete 10:26:01 bab4dde63d76: Pull complete 10:26:01 bde34c3a00c8: Pull complete 10:26:01 b352a97aabf1: Pull complete 10:26:01 4872d77fe225: Pull complete 10:26:01 5851b861e8e6: Pull complete 10:26:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:26:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:26:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:26:02 prd-ubuntu20.04-docker-8c-8g-4523 does not seem to be running inside a container 10:26:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:26:08 $ docker top 12e8068fbba6de7e96c9b01ff3a755cfd2a2f331c0f372fc55e7595b91b52507 -eo pid,comm 10:26:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:26:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:26:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:26:08 [ssh-agent] Looking for ssh-agent implementation... 10:26:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:26:08 $ docker exec 12e8068fbba6de7e96c9b01ff3a755cfd2a2f331c0f372fc55e7595b91b52507 ssh-agent 10:26:09 SSH_AUTH_SOCK=/tmp/ssh-OXya7T5q1hHO/agent.14 10:26:09 SSH_AGENT_PID=20 10:26:09 Running ssh-add (command line suppressed) 10:26:09 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8358716032671737801.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8358716032671737801.key) 10:26:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:26:09 + git tag --points-at HEAD [Pipeline] } 10:26:09 $ docker exec --env ******** --env ******** 12e8068fbba6de7e96c9b01ff3a755cfd2a2f331c0f372fc55e7595b91b52507 ssh-agent -k 10:26:09 unset SSH_AUTH_SOCK; 10:26:09 unset SSH_AGENT_PID; 10:26:09 echo Agent pid 20 killed; 10:26:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:26:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:26:09 [ssh-agent] Looking for ssh-agent implementation... 10:26:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:26:09 $ docker exec 12e8068fbba6de7e96c9b01ff3a755cfd2a2f331c0f372fc55e7595b91b52507 ssh-agent 10:26:10 SSH_AUTH_SOCK=/tmp/ssh-FV1EEIC0BxCc/agent.52 10:26:10 SSH_AGENT_PID=58 10:26:10 Running ssh-add (command line suppressed) 10:26:10 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6005346576535197536.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6005346576535197536.key) 10:26:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:26:10 + git semver init 10:26:11 2023-02-04 10:26:10,967 [run_init] DEBUG init version:0.0.0 force:False 10:26:11 2023-02-04 10:26:10,969 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 10:26:11 2023-02-04 10:26:10,970 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 10:26:11 2023-02-04 10:26:10,970 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 10:26:12 2023-02-04 10:26:12,866 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 10:26:12 2023-02-04 10:26:12,867 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 10:26:12 2023-02-04 10:26:12,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:26:12 2023-02-04 10:26:12,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:26:12 3.0.0-dev.18 [Pipeline] } 10:26:12 $ docker exec --env ******** --env ******** 12e8068fbba6de7e96c9b01ff3a755cfd2a2f331c0f372fc55e7595b91b52507 ssh-agent -k 10:26:13 unset SSH_AUTH_SOCK; 10:26:13 unset SSH_AGENT_PID; 10:26:13 echo Agent pid 58 killed; 10:26:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:26:13 + git semver [Pipeline] } 10:26:13 $ docker stop --time=1 12e8068fbba6de7e96c9b01ff3a755cfd2a2f331c0f372fc55e7595b91b52507 10:26:17 $ docker rm -f --volumes 12e8068fbba6de7e96c9b01ff3a755cfd2a2f331c0f372fc55e7595b91b52507 [Pipeline] // withDockerContainer [Pipeline] sh 10:26:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:26:18 Stashed 1 file(s) [Pipeline] echo 10:26:18 [edgeXSemver]: initialized semver on version 3.0.0-dev.18 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:26:18 provisioning config files... 10:26:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2965563705723452442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:18 ---> docker-login.sh 10:26:18 nexus3.edgexfoundry.org:10001 10:26:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:18 Configure a credential helper to remove this warning. See 10:26:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:18 10:26:18 Login Succeeded 10:26:18 nexus3.edgexfoundry.org:10002 10:26:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:18 Configure a credential helper to remove this warning. See 10:26:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:18 10:26:18 Login Succeeded 10:26:18 nexus3.edgexfoundry.org:10003 10:26:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:18 Configure a credential helper to remove this warning. See 10:26:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:18 10:26:18 Login Succeeded 10:26:18 nexus3.edgexfoundry.org:10004 10:26:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:18 Configure a credential helper to remove this warning. See 10:26:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:18 10:26:18 Login Succeeded 10:26:18 docker.io 10:26:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:18 Configure a credential helper to remove this warning. See 10:26:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:18 10:26:18 Login Succeeded 10:26:18 ---> docker-login.sh ends [Pipeline] } 10:26:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:26:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:26:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:26:19 ========================================================= 10:26:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:26:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:19 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 10:26:19 Sending build context to Docker daemon 10.49MB 10:26:19 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 10:26:19 Step 2/10 : FROM ${BASE} AS builder 10:26:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:26:19 213ec9aee27d: Pulling fs layer 10:26:19 4583459ba037: Pulling fs layer 10:26:19 93c1e223e6f2: Pulling fs layer 10:26:19 53926ce57604: Pulling fs layer 10:26:19 21b2b0c7a3f4: Pulling fs layer 10:26:19 22ff95d597cd: Pulling fs layer 10:26:19 12d6caf4c0d1: Pulling fs layer 10:26:19 96b7cbca73a9: Pulling fs layer 10:26:19 a7acece74701: Pulling fs layer 10:26:19 22ff95d597cd: Waiting 10:26:19 53926ce57604: Waiting 10:26:19 21b2b0c7a3f4: Waiting 10:26:19 12d6caf4c0d1: Waiting 10:26:19 a7acece74701: Waiting 10:26:19 93c1e223e6f2: Verifying Checksum 10:26:19 93c1e223e6f2: Download complete 10:26:19 4583459ba037: Verifying Checksum 10:26:19 4583459ba037: Download complete 10:26:19 21b2b0c7a3f4: Verifying Checksum 10:26:19 21b2b0c7a3f4: Download complete 10:26:19 22ff95d597cd: Download complete 10:26:19 213ec9aee27d: Verifying Checksum 10:26:19 213ec9aee27d: Download complete 10:26:19 12d6caf4c0d1: Verifying Checksum 10:26:19 12d6caf4c0d1: Download complete 10:26:19 213ec9aee27d: Pull complete 10:26:19 4583459ba037: Pull complete 10:26:20 93c1e223e6f2: Pull complete 10:26:20 a7acece74701: Verifying Checksum 10:26:20 a7acece74701: Download complete 10:26:21 53926ce57604: Verifying Checksum 10:26:21 53926ce57604: Download complete 10:26:21 96b7cbca73a9: Verifying Checksum 10:26:21 96b7cbca73a9: Download complete 10:26:24 53926ce57604: Pull complete 10:26:24 21b2b0c7a3f4: Pull complete 10:26:25 22ff95d597cd: Pull complete 10:26:25 12d6caf4c0d1: Pull complete 10:26:27 96b7cbca73a9: Pull complete 10:26:28 a7acece74701: Pull complete 10:26:29 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 10:26:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:26:29 ---> db6d94c90886 10:26:29 Step 3/10 : ARG MAKE=make build 10:26:33 Still waiting to schedule task 10:26:33 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:26:44 ---> Running in 7407e3b1dd5a 10:26:44 Removing intermediate container 7407e3b1dd5a 10:26:44 ---> c3f0d50617d6 10:26:44 Step 4/10 : WORKDIR /device-sdk-go 10:26:44 ---> Running in 1c73b5a24137 10:26:44 Removing intermediate container 1c73b5a24137 10:26:44 ---> 46f5dac141b2 10:26:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:26:44 ---> Running in 3e787e22d3c6 10:26:44 Removing intermediate container 3e787e22d3c6 10:26:44 ---> 9437f857e3d5 10:26:44 Step 6/10 : RUN apk add --update --no-cache make git 10:26:44 ---> Running in 995548293b1c 10:26:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:26:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:26:44 OK: 211 MiB in 51 packages 10:26:44 Removing intermediate container 995548293b1c 10:26:44 ---> 074399e939d7 10:26:44 Step 7/10 : COPY go.mod vendor* ./ 10:26:44 ---> 97ed0fb8912f 10:26:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:26:44 ---> Running in 58d4c79d4163 10:27:40 Removing intermediate container 58d4c79d4163 10:27:40 ---> b15a95de3bcf 10:27:40 Step 9/10 : COPY . . 10:27:40 ---> db77b1547d69 10:27:40 Step 10/10 : RUN ${MAKE} 10:27:40 ---> Running in f5b8014541dd 10:27:41 noop 10:27:41 Removing intermediate container f5b8014541dd 10:27:41 ---> 13ce009eddef 10:27:41 Successfully built 13ce009eddef 10:27:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:42 + docker inspect -f . ci-base-image-x86_64 10:27:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:42 prd-ubuntu20.04-docker-8c-8g-4523 does not seem to be running inside a container 10:27:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:27:42 $ docker top 16a2f2efb2403a4b133a0e6b93437473e10115859711f02c3772090770dd2d41 -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:42 + go version 10:27:42 go version go1.18.7 linux/amd64 [Pipeline] } 10:27:42 $ docker stop --time=1 16a2f2efb2403a4b133a0e6b93437473e10115859711f02c3772090770dd2d41 10:27:44 $ docker rm -f --volumes 16a2f2efb2403a4b133a0e6b93437473e10115859711f02c3772090770dd2d41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:44 + docker inspect -f . ci-base-image-x86_64 10:27:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:44 prd-ubuntu20.04-docker-8c-8g-4523 does not seem to be running inside a container 10:27:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:27:45 $ docker top 0833c622b176d40d869b2d21bd874822e86e0edf8ad77922337f0c6c46b73b5e -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:45 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 10:27:45 + make test 10:27:45 go test -race -coverprofile=coverage.out ./... 10:27:52 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 10:28:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4525 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 10:28:05 Running in /w/workspace/device-sdk-go/148 [Pipeline] { [Pipeline] checkout 10:28:05 The recommended git tool is: git 10:28:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 10:28:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 10:28:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 10:28:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 10:28:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 10:28:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.060s coverage: 27.6% of statements 10:28:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.068s coverage: 78.9% of statements 10:28:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 10:28:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.115s coverage: 70.2% of statements 10:28:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 10:28:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 10:28:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.107s coverage: 59.8% of statements 10:28:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 10:28:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 10:28:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 10:28:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.102s coverage: 65.1% of statements 10:28:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 10:28:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 10:28:07 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.775s coverage: 89.2% of statements 10:28:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 10:28:07 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements 10:28:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 10:28:10 using credential edgex-jenkins-ssh 10:28:10 Cloning the remote Git repository 10:28:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:28:11 > git init /w/workspace/device-sdk-go/148 # timeout=10 10:28:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:28:11 > git --version # timeout=10 10:28:11 > git --version # 'git version 2.25.1' 10:28:11 using GIT_SSH to set credentials SSH Credentials for GitHub 10:28:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:28:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:28:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:28:13 Avoid second fetch 10:28:13 Checking out Revision 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 (main) 10:28:14 Commit message: "Merge pull request #1302 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v3-3.0.0-dev.6" 10:28:13 > git config core.sparsecheckout # timeout=10 10:28:13 > git checkout -f 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:28:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:28:14 % Total % Received % Xferd Average Speed Time Time Time Current 10:28:14 Dload Upload Total Spent Left Speed 10:28:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 10:28:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:28:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:28:15 + sudo tee /etc/docker/daemon.new 10:28:15 { 10:28:15 "registry-mirrors": [ 10:28:15 "https://nexus3.edgexfoundry.org:10001" 10:28:15 ], 10:28:15 "bip": "10.250.0.254/24", 10:28:15 "hosts": [ 10:28:15 "tcp://0.0.0.0:5555", 10:28:15 "unix:///var/run/docker.sock" 10:28:15 ], 10:28:15 "mtu": 1458, 10:28:15 "selinux-enabled": true, 10:28:15 "seccomp-profile": "/etc/docker/seccomp.json" 10:28:15 } [Pipeline] sh 10:28:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:28:16 + sudo service docker restart 10:28:22 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 10:28:22 GO111MODULE=on go vet ./... 10:28:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:28:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:28:24 ./bin/test-attribution-txt.sh [Pipeline] echo 10:28:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:28:24 $ docker stop --time=1 0833c622b176d40d869b2d21bd874822e86e0edf8ad77922337f0c6c46b73b5e 10:28:36 $ docker rm -f --volumes 0833c622b176d40d869b2d21bd874822e86e0edf8ad77922337f0c6c46b73b5e [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:28:36 provisioning config files... 10:28:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/148@tmp/config1138992775928009086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:28:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:28:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 10:28:36 ---> docker-login.sh 10:28:36 nexus3.edgexfoundry.org:10001 [Pipeline] sh 10:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:37 Configure a credential helper to remove this warning. See 10:28:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:37 10:28:37 Login Succeeded 10:28:37 nexus3.edgexfoundry.org:10002 10:28:37 + ls -al . 10:28:37 total 272 10:28:37 drwxrwxr-x 11 jenkins jenkins 4096 Feb 4 10:27 . 10:28:37 drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:25 .. 10:28:37 -rw-rw-r-- 1 jenkins jenkins 140 Feb 4 10:25 .dockerignore 10:28:37 drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 10:28 .git 10:28:37 drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:25 .github 10:28:37 -rw-rw-r-- 1 jenkins jenkins 131 Feb 4 10:25 .gitignore 10:28:37 -rw-rw-r-- 1 jenkins jenkins 42 Feb 4 10:25 .golangci.yml 10:28:37 drwxr-xr-x 3 jenkins jenkins 4096 Feb 4 10:26 .semver 10:28:37 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 4 10:25 CHANGELOG.md 10:28:37 -rw-rw-r-- 1 jenkins jenkins 677 Feb 4 10:25 GOVERNANCE.md 10:28:37 -rw-rw-r-- 1 jenkins jenkins 885 Feb 4 10:25 Jenkinsfile 10:28:37 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 4 10:25 LICENSE 10:28:37 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 4 10:25 Makefile 10:28:37 -rw-rw-r-- 1 jenkins jenkins 619 Feb 4 10:25 OWNERS.md 10:28:37 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 4 10:25 README.md 10:28:37 -rw-rw-r-- 1 jenkins jenkins 12 Feb 4 10:26 VERSION 10:28:37 drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:25 bin 10:28:37 -rw-r--r-- 1 jenkins jenkins 99762 Feb 4 10:28 coverage.out 10:28:37 drwxrwxr-x 5 jenkins jenkins 4096 Feb 4 10:25 example 10:28:37 -rw-rw-r-- 1 jenkins jenkins 3264 Feb 4 10:25 go.mod 10:28:37 -rw-rw-r-- 1 jenkins jenkins 32817 Feb 4 10:25 go.sum 10:28:37 drwxrwxr-x 13 jenkins jenkins 4096 Feb 4 10:25 internal 10:28:37 drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 10:25 openapi 10:28:37 drwxrwxr-x 6 jenkins jenkins 4096 Feb 4 10:25 pkg 10:28:37 drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:25 snap 10:28:37 -rw-rw-r-- 1 jenkins jenkins 222 Feb 4 10:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:37 + 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=1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 --label arch=amd64 --label version=3.0.0-dev.18 . 10:28:37 Sending build context to Docker daemon 10.59MB 10:28:37 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 10:28:37 Step 2/23 : FROM ${BASE} AS builder 10:28:37 ---> 13ce009eddef 10:28:37 Step 3/23 : ARG MAKE=make build 10:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:37 Configure a credential helper to remove this warning. See 10:28:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:37 10:28:37 Login Succeeded 10:28:37 nexus3.edgexfoundry.org:10003 10:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:38 ---> Running in 9d1bd11f9a86 10:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:38 Configure a credential helper to remove this warning. See 10:28:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:38 10:28:38 Login Succeeded 10:28:38 nexus3.edgexfoundry.org:10004 10:28:38 Removing intermediate container 9d1bd11f9a86 10:28:38 ---> 6c949f39a062 10:28:38 Step 4/23 : WORKDIR /device-sdk-go 10:28:38 ---> Running in 2b39eb3581ce 10:28:38 Removing intermediate container 2b39eb3581ce 10:28:38 ---> fdbc619a60ce 10:28:38 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:28:38 ---> Running in 88e3ae212185 10:28:38 Removing intermediate container 88e3ae212185 10:28:38 ---> 6a083755a982 10:28:38 Step 6/23 : RUN apk add --update --no-cache make git 10:28:38 ---> Running in 11e861b5275a 10:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:38 Configure a credential helper to remove this warning. See 10:28:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:38 10:28:38 Login Succeeded 10:28:38 docker.io 10:28:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:39 Configure a credential helper to remove this warning. See 10:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:39 10:28:39 Login Succeeded 10:28:39 ---> docker-login.sh ends [Pipeline] } 10:28:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 10:28:39 OK: 211 MiB in 51 packages [Pipeline] echo 10:28:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:28:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:28:39 ========================================================= 10:28:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:28:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:39 Removing intermediate container 11e861b5275a 10:28:39 ---> c683ce27245c 10:28:39 Step 7/23 : COPY go.mod vendor* ./ 10:28:39 ---> 0c9006ee01bb 10:28:39 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:28:39 ---> Running in cc6851a50105 10:28:39 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 10:28:39 Sending build context to Docker daemon 5.63MB 10:28:39 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 10:28:39 Step 2/10 : FROM ${BASE} AS builder 10:28:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:28:40 9b18e9b68314: Pulling fs layer 10:28:40 35d82f9e3411: Pulling fs layer 10:28:40 e16973657156: Pulling fs layer 10:28:40 fc693d55d65f: Pulling fs layer 10:28:40 7e9fc2657dce: Pulling fs layer 10:28:40 dda99020689f: Pulling fs layer 10:28:40 db1c61fa0a46: Pulling fs layer 10:28:40 fc693d55d65f: Waiting 10:28:40 7e9fc2657dce: Waiting 10:28:40 dda99020689f: Waiting 10:28:40 891c053d2c06: Pulling fs layer 10:28:40 db1c61fa0a46: Waiting 10:28:40 e16973657156: Verifying Checksum 10:28:40 e16973657156: Download complete 10:28:40 35d82f9e3411: Download complete 10:28:40 7e9fc2657dce: Verifying Checksum 10:28:40 7e9fc2657dce: Download complete 10:28:40 dda99020689f: Download complete 10:28:40 9b18e9b68314: Verifying Checksum 10:28:41 Removing intermediate container cc6851a50105 10:28:41 ---> 6bcc4904b1cd 10:28:41 Step 9/23 : COPY . . 10:28:41 9b18e9b68314: Pull complete 10:28:41 891c053d2c06: Verifying Checksum 10:28:41 891c053d2c06: Download complete 10:28:41 35d82f9e3411: Pull complete 10:28:42 ---> f79c1cc272a8 10:28:42 Step 10/23 : RUN ${MAKE} 10:28:42 ---> Running in 4c954fa6dbb8 10:28:42 e16973657156: Pull complete 10:28:42 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.18" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:28:42 db1c61fa0a46: Verifying Checksum 10:28:43 fc693d55d65f: Verifying Checksum 10:28:43 fc693d55d65f: Download complete 10:28:55 fc693d55d65f: Pull complete 10:28:55 7e9fc2657dce: Pull complete 10:28:55 dda99020689f: Pull complete 10:29:02 db1c61fa0a46: Pull complete 10:29:03 891c053d2c06: Pull complete 10:29:03 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 10:29:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:29:03 ---> f96f9c87975a 10:29:03 Step 3/10 : ARG MAKE=make build 10:29:04 Removing intermediate container 4c954fa6dbb8 10:29:04 ---> 11f9907ecc3a 10:29:04 Step 11/23 : FROM alpine:3.16 10:29:04 3.16: Pulling from library/alpine 10:29:04 ca7dd9ec2225: Pulling fs layer 10:29:04 ca7dd9ec2225: Verifying Checksum 10:29:04 ca7dd9ec2225: Download complete 10:29:04 ca7dd9ec2225: Pull complete 10:29:04 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 10:29:04 Status: Downloaded newer image for alpine:3.16 10:29:04 ---> bfe296a52501 10:29:04 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:29:04 ---> Running in f7afa4b157f2 10:29:04 Removing intermediate container f7afa4b157f2 10:29:04 ---> f5c3c986a54d 10:29:04 Step 13/23 : RUN apk add --update --no-cache 10:29:04 ---> Running in 62e03769b488 10:29:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:29:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:29:05 OK: 6 MiB in 14 packages 10:29:05 Removing intermediate container 62e03769b488 10:29:05 ---> 287e8ae169ff 10:29:05 Step 14/23 : WORKDIR / 10:29:05 ---> Running in ae992e08443c 10:29:05 ---> Running in bfa79d9cec0e 10:29:05 Removing intermediate container bfa79d9cec0e 10:29:05 ---> 741690cb1c4e 10:29:05 Step 4/10 : WORKDIR /device-sdk-go 10:29:05 ---> Running in 8f0eddf5048e 10:29:05 Removing intermediate container ae992e08443c 10:29:05 ---> 4cf2525b7a50 10:29:05 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:29:05 Removing intermediate container 8f0eddf5048e 10:29:05 ---> d2dfbb34dc2c 10:29:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:29:06 ---> 9a9458a3e858 10:29:06 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:29:06 ---> Running in 3d91fbac1c13 10:29:06 Removing intermediate container 3d91fbac1c13 10:29:06 ---> 428777eb11bf 10:29:06 Step 6/10 : RUN apk add --update --no-cache make git 10:29:06 ---> Running in 9c04b4637705 10:29:06 ---> dfa6f92ce069 10:29:06 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:29:06 ---> 3c63efd42148 10:29:06 Step 18/23 : EXPOSE 59999 10:29:06 ---> Running in d54e30117a6b 10:29:06 Removing intermediate container d54e30117a6b 10:29:06 ---> 46aa073fa428 10:29:06 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:29:06 ---> Running in 0e1218b356f5 10:29:07 Removing intermediate container 0e1218b356f5 10:29:07 ---> a2410fa173fb 10:29:07 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:29:07 ---> Running in ef49d9bd8d5b 10:29:07 Removing intermediate container ef49d9bd8d5b 10:29:07 ---> 76fb1d838c06 10:29:07 Step 21/23 : LABEL arch=amd64 10:29:07 ---> Running in 92b49a61a097 10:29:07 Removing intermediate container 92b49a61a097 10:29:07 ---> 660b57c7aae9 10:29:07 Step 22/23 : LABEL git_sha=1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 10:29:07 ---> Running in 8a19a8f80ddb 10:29:07 Removing intermediate container 8a19a8f80ddb 10:29:07 ---> d91d15ce59de 10:29:07 Step 23/23 : LABEL version=3.0.0-dev.18 10:29:07 ---> Running in 8462ed73ebf0 10:29:07 Removing intermediate container 8462ed73ebf0 10:29:07 ---> dd680b3738a7 10:29:07 [Warning] One or more build-args [ARCH] were not consumed 10:29:07 Successfully built dd680b3738a7 10:29:07 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 10:29:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:29:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:29:07 10:29:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:29:08 latest: Pulling from edgex-lftools-log-publisher 10:29:08 5eb5b503b376: Pulling fs layer 10:29:08 5c69ac0246d0: Pulling fs layer 10:29:08 ec43610c2a17: Pulling fs layer 10:29:08 3a2ae6a8a46f: Pulling fs layer 10:29:08 33b1e0a273af: Pulling fs layer 10:29:08 5d3b04190fa2: Pulling fs layer 10:29:08 2f39f015ded8: Pulling fs layer 10:29:08 3a2ae6a8a46f: Waiting 10:29:08 33b1e0a273af: Waiting 10:29:08 5d3b04190fa2: Waiting 10:29:08 2f39f015ded8: Waiting 10:29:08 5c69ac0246d0: Verifying Checksum 10:29:08 5c69ac0246d0: Download complete 10:29:08 3a2ae6a8a46f: Verifying Checksum 10:29:08 3a2ae6a8a46f: Download complete 10:29:08 33b1e0a273af: Verifying Checksum 10:29:08 33b1e0a273af: Download complete 10:29:08 5d3b04190fa2: Verifying Checksum 10:29:08 5d3b04190fa2: Download complete 10:29:08 ec43610c2a17: Verifying Checksum 10:29:08 ec43610c2a17: Download complete 10:29:08 5eb5b503b376: Verifying Checksum 10:29:08 5eb5b503b376: Download complete 10:29:08 OK: 221 MiB in 51 packages 10:29:09 2f39f015ded8: Download complete 10:29:09 Removing intermediate container 9c04b4637705 10:29:09 ---> db0ade49a5b1 10:29:09 Step 7/10 : COPY go.mod vendor* ./ 10:29:09 5eb5b503b376: Pull complete 10:29:10 ---> 8b1ba6304c7c 10:29:10 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:29:10 5c69ac0246d0: Pull complete 10:29:10 ---> Running in c1ecaa6902ec 10:29:10 ec43610c2a17: Pull complete 10:29:10 3a2ae6a8a46f: Pull complete 10:29:10 33b1e0a273af: Pull complete 10:29:10 5d3b04190fa2: Pull complete 10:29:15 2f39f015ded8: Pull complete 10:29:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:29:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:29:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:29:15 prd-ubuntu20.04-docker-8c-8g-4523 does not seem to be running inside a container 10:29:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:29:25 $ docker top 2bedac71578a603c8ac0aab9d522bdf233d2c5532a12349cee9d5246a434e9e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:29:26 ---> job-cost.sh 10:29:26 lf-activate-venv: SKIPPING 10:29:26 INFO: No Stack... 10:29:26 INFO: Retrieving Pricing Info for: v3-standard-8 10:29:26 INFO: Archiving Costs [Pipeline] sh 10:29:27 + + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 10:29:27 cut -d, -f6 [Pipeline] lock 10:29:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-148-stack-cost] 10:29:27 Resource [jenkins-edgexfoundry-device-sdk-go-main-148-stack-cost] did not exist. Created. 10:29:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-148-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:29:27 + echo total: 0.2199999988079071 [Pipeline] stash 10:29:27 Stashed 1 file(s) [Pipeline] } 10:29:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-148-stack-cost] [Pipeline] // lock [Pipeline] } 10:29:27 $ docker stop --time=1 2bedac71578a603c8ac0aab9d522bdf233d2c5532a12349cee9d5246a434e9e1 10:29:28 $ docker rm -f --volumes 2bedac71578a603c8ac0aab9d522bdf233d2c5532a12349cee9d5246a434e9e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:30:18 Removing intermediate container c1ecaa6902ec 10:30:18 ---> 3a2186fab103 10:30:18 Step 9/10 : COPY . . 10:30:18 ---> 3867219c4773 10:30:18 Step 10/10 : RUN ${MAKE} 10:30:18 ---> Running in 48abd708aabf 10:30:18 noop 10:30:18 Removing intermediate container 48abd708aabf 10:30:18 ---> ff7b683e54b9 10:30:18 Successfully built ff7b683e54b9 10:30:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:30:18 + docker inspect -f . ci-base-image-arm64 10:30:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:30:18 prd-ubuntu20.04-docker-arm64-4c-16g-4525 does not seem to be running inside a container 10:30:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/148 -v /w/workspace/device-sdk-go/148:/w/workspace/device-sdk-go/148:rw,z -v /w/workspace/device-sdk-go/148@tmp:/w/workspace/device-sdk-go/148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:30:20 $ docker top a6347eb83f17fda157333b487305c6de6a2784e484b0f57db85f2996913b4e57 -eo pid,comm [Pipeline] { [Pipeline] sh 10:30:21 + go version 10:30:21 go version go1.18.7 linux/arm64 [Pipeline] } 10:30:21 $ docker stop --time=1 a6347eb83f17fda157333b487305c6de6a2784e484b0f57db85f2996913b4e57 10:30:23 $ docker rm -f --volumes a6347eb83f17fda157333b487305c6de6a2784e484b0f57db85f2996913b4e57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:30:23 + docker inspect -f . ci-base-image-arm64 10:30:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:30:23 prd-ubuntu20.04-docker-arm64-4c-16g-4525 does not seem to be running inside a container 10:30:23 $ 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/148 -v /w/workspace/device-sdk-go/148:/w/workspace/device-sdk-go/148:rw,z -v /w/workspace/device-sdk-go/148@tmp:/w/workspace/device-sdk-go/148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:30:25 $ docker top 75294d60fa8ae2c562977d8c91943c14fc89222f8984158a2c65466fe3f492a0 -eo pid,comm [Pipeline] { [Pipeline] sh 10:30:25 + git config --global --add safe.directory /w/workspace/device-sdk-go/148 [Pipeline] fileExists [Pipeline] sh 10:30:26 + make test 10:30:26 go test -race -coverprofile=coverage.out ./... 10:30:58 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 10:32:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 10:32:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 10:32:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 10:32:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 10:32:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 10:33:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.304s coverage: 27.6% of statements 10:33:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.449s coverage: 78.9% of statements 10:33:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 10:33:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.670s coverage: 70.2% of statements 10:33:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 10:33:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 10:33:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.542s coverage: 59.8% of statements 10:33:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 10:33:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 10:33:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 10:33:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.472s coverage: 65.1% of statements 10:33:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 10:33:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 10:33:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.982s coverage: 89.2% of statements 10:33:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 10:33:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.396s coverage: 4.7% of statements 10:33:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 10:33:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:33:13 GO111MODULE=on go vet ./... 10:34:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:34:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:34:52 ./bin/test-attribution-txt.sh [Pipeline] echo 10:34:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:34:52 $ docker stop --time=1 75294d60fa8ae2c562977d8c91943c14fc89222f8984158a2c65466fe3f492a0 10:34:54 $ docker rm -f --volumes 75294d60fa8ae2c562977d8c91943c14fc89222f8984158a2c65466fe3f492a0 [Pipeline] // withDockerContainer [Pipeline] sh 10:34:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:34:55 Warning: overwriting stash ‘coverage-report’ 10:34:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:34:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:34:57 + ls -al . 10:34:57 total 268 10:34:57 drwxrwxr-x 10 jenkins jenkins 4096 Feb 4 10:30 . 10:34:57 drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:28 .. 10:34:57 -rw-rw-r-- 1 jenkins jenkins 140 Feb 4 10:28 .dockerignore 10:34:57 drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 10:28 .git 10:34:57 drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:28 .github 10:34:57 -rw-rw-r-- 1 jenkins jenkins 131 Feb 4 10:28 .gitignore 10:34:57 -rw-rw-r-- 1 jenkins jenkins 42 Feb 4 10:28 .golangci.yml 10:34:57 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 4 10:28 CHANGELOG.md 10:34:57 -rw-rw-r-- 1 jenkins jenkins 677 Feb 4 10:28 GOVERNANCE.md 10:34:57 -rw-rw-r-- 1 jenkins jenkins 885 Feb 4 10:28 Jenkinsfile 10:34:57 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 4 10:28 LICENSE 10:34:57 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 4 10:28 Makefile 10:34:57 -rw-rw-r-- 1 jenkins jenkins 619 Feb 4 10:28 OWNERS.md 10:34:57 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 4 10:28 README.md 10:34:57 -rw-rw-r-- 1 jenkins jenkins 12 Feb 4 10:26 VERSION 10:34:57 drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:28 bin 10:34:57 -rw-r--r-- 1 jenkins jenkins 99763 Feb 4 10:33 coverage.out 10:34:57 drwxrwxr-x 5 jenkins jenkins 4096 Feb 4 10:28 example 10:34:57 -rw-rw-r-- 1 jenkins jenkins 3264 Feb 4 10:28 go.mod 10:34:57 -rw-rw-r-- 1 jenkins jenkins 32817 Feb 4 10:28 go.sum 10:34:57 drwxrwxr-x 13 jenkins jenkins 4096 Feb 4 10:28 internal 10:34:57 drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 10:28 openapi 10:34:57 drwxrwxr-x 6 jenkins jenkins 4096 Feb 4 10:28 pkg 10:34:57 drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:28 snap 10:34:57 -rw-rw-r-- 1 jenkins jenkins 222 Feb 4 10:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:57 + 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=1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 --label arch=arm64 --label version=3.0.0-dev.18 . 10:34:57 Sending build context to Docker daemon 5.73MB 10:34:58 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 10:34:58 Step 2/23 : FROM ${BASE} AS builder 10:34:58 ---> ff7b683e54b9 10:34:58 Step 3/23 : ARG MAKE=make build 10:34:58 ---> Running in 7ebe00ff13a9 10:34:58 Removing intermediate container 7ebe00ff13a9 10:34:58 ---> d05a0cc33ecb 10:34:58 Step 4/23 : WORKDIR /device-sdk-go 10:35:01 ---> Running in 616f7284cac8 10:35:01 Removing intermediate container 616f7284cac8 10:35:01 ---> e24e31baee15 10:35:01 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:35:01 ---> Running in 701cb1cee01b 10:35:01 Removing intermediate container 701cb1cee01b 10:35:01 ---> 1379ef7c0bba 10:35:01 Step 6/23 : RUN apk add --update --no-cache make git 10:35:01 ---> Running in e360758434c5 10:35:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:35:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:35:04 OK: 221 MiB in 51 packages 10:35:05 Removing intermediate container e360758434c5 10:35:05 ---> ebf5ddbcb6b9 10:35:05 Step 7/23 : COPY go.mod vendor* ./ 10:35:05 ---> 081c0d8af3fb 10:35:05 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:35:05 ---> Running in 95aa9afa96c1 10:35:08 Removing intermediate container 95aa9afa96c1 10:35:08 ---> d6c3e473c53d 10:35:08 Step 9/23 : COPY . . 10:35:09 ---> 050bee972c56 10:35:09 Step 10/23 : RUN ${MAKE} 10:35:09 ---> Running in 2dbf398e6bfe 10:35:10 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.18" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:37:17 Removing intermediate container 2dbf398e6bfe 10:37:17 ---> 8c95004ad014 10:37:17 Step 11/23 : FROM alpine:3.16 10:37:17 3.16: Pulling from library/alpine 10:37:18 6875df1f5354: Pulling fs layer 10:37:18 6875df1f5354: Verifying Checksum 10:37:18 6875df1f5354: Download complete 10:37:18 6875df1f5354: Pull complete 10:37:18 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 10:37:18 Status: Downloaded newer image for alpine:3.16 10:37:18 ---> 2b4661558fb8 10:37:18 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:37:19 ---> Running in ff4eb65f7246 10:37:19 Removing intermediate container ff4eb65f7246 10:37:19 ---> f00eb53ae8e6 10:37:19 Step 13/23 : RUN apk add --update --no-cache 10:37:19 ---> Running in f1c208de5877 10:37:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:37:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:37:22 OK: 5 MiB in 14 packages 10:37:22 Removing intermediate container f1c208de5877 10:37:22 ---> 7238bc6a70a8 10:37:22 Step 14/23 : WORKDIR / 10:37:22 ---> Running in 4fd1f2a40f92 10:37:23 Removing intermediate container 4fd1f2a40f92 10:37:23 ---> a87377c26e59 10:37:23 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:37:23 ---> ad53a62d5756 10:37:23 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:37:25 ---> 6fed364a78c2 10:37:25 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:37:25 ---> 9f8dae769aa9 10:37:25 Step 18/23 : EXPOSE 59999 10:37:25 ---> Running in 8ef67b049490 10:37:26 Removing intermediate container 8ef67b049490 10:37:26 ---> 879817238817 10:37:26 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:37:26 ---> Running in 9dadcd0c418d 10:37:26 Removing intermediate container 9dadcd0c418d 10:37:26 ---> 76e786ab1f17 10:37:26 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:37:26 ---> Running in 258595ecc9d0 10:37:26 Removing intermediate container 258595ecc9d0 10:37:26 ---> b19b7c3cdcb7 10:37:26 Step 21/23 : LABEL arch=arm64 10:37:26 ---> Running in 43cb2c8be556 10:37:27 Removing intermediate container 43cb2c8be556 10:37:27 ---> 963dd06d5c39 10:37:27 Step 22/23 : LABEL git_sha=1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 10:37:27 ---> Running in 26dc936cb19b 10:37:27 Removing intermediate container 26dc936cb19b 10:37:27 ---> 287316cf127c 10:37:27 Step 23/23 : LABEL version=3.0.0-dev.18 10:37:27 ---> Running in 192d04963561 10:37:27 Removing intermediate container 192d04963561 10:37:27 ---> 7d8f9e09f1aa 10:37:27 [Warning] One or more build-args [ARCH] were not consumed 10:37:27 Successfully built 7d8f9e09f1aa 10:37:27 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 10:37:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:37:28 10:37:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:37:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:37:28 arm64: Pulling from edgex-lftools-log-publisher 10:37:28 8998bd30e6a1: Pulling fs layer 10:37:28 04944245beec: Pulling fs layer 10:37:28 699f458cf7ca: Pulling fs layer 10:37:28 765212b225bb: Pulling fs layer 10:37:28 f23df028b6ca: Pulling fs layer 10:37:28 d65c8cfc05b1: Pulling fs layer 10:37:28 2437ff75d9bd: Pulling fs layer 10:37:28 765212b225bb: Waiting 10:37:28 f23df028b6ca: Waiting 10:37:28 d65c8cfc05b1: Waiting 10:37:28 2437ff75d9bd: Waiting 10:37:28 04944245beec: Verifying Checksum 10:37:28 04944245beec: Download complete 10:37:28 765212b225bb: Download complete 10:37:28 f23df028b6ca: Verifying Checksum 10:37:28 f23df028b6ca: Download complete 10:37:28 d65c8cfc05b1: Verifying Checksum 10:37:28 d65c8cfc05b1: Download complete 10:37:29 699f458cf7ca: Verifying Checksum 10:37:29 699f458cf7ca: Download complete 10:37:29 8998bd30e6a1: Verifying Checksum 10:37:29 8998bd30e6a1: Download complete 10:37:31 2437ff75d9bd: Verifying Checksum 10:37:31 2437ff75d9bd: Download complete 10:37:33 8998bd30e6a1: Pull complete 10:37:33 04944245beec: Pull complete 10:37:35 699f458cf7ca: Pull complete 10:37:35 765212b225bb: Pull complete 10:37:35 f23df028b6ca: Pull complete 10:37:36 d65c8cfc05b1: Pull complete 10:37:48 2437ff75d9bd: Pull complete 10:37:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:37:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:37:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:37:48 prd-ubuntu20.04-docker-arm64-4c-16g-4525 does not seem to be running inside a container 10:37:48 $ 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/148 -v /w/workspace/device-sdk-go/148:/w/workspace/device-sdk-go/148:rw,z -v /w/workspace/device-sdk-go/148@tmp:/w/workspace/device-sdk-go/148@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 10:37:51 $ docker top f1e11bc1ed79d6f2d2325336d567fd8296f75f6db98633b12d1473a297cc68ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:37:52 ---> job-cost.sh 10:37:52 lf-activate-venv: SKIPPING 10:37:52 INFO: No Stack... 10:37:52 INFO: Retrieving Pricing Info for: v3-standard-4 10:37:53 INFO: Archiving Costs [Pipeline] sh 10:37:54 + + cat /w/workspace/device-sdk-go/148/archives/cost.csv 10:37:54 cut -d, -f6 [Pipeline] lock 10:37:54 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-148-stack-cost] 10:37:54 Resource [jenkins-edgexfoundry-device-sdk-go-main-148-stack-cost] did not exist. Created. 10:37:54 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-148-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:37:55 /w/workspace/device-sdk-go/148@tmp/durable-750ce8e9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:37:55 + echo total: 0.10999999940395355 [Pipeline] stash 10:37:55 Warning: overwriting stash ‘stack-cost’ 10:37:55 Stashed 1 file(s) [Pipeline] } 10:37:55 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-148-stack-cost] [Pipeline] // lock [Pipeline] } 10:37:55 $ docker stop --time=1 f1e11bc1ed79d6f2d2325336d567fd8296f75f6db98633b12d1473a297cc68ad 10:37:57 $ docker rm -f --volumes f1e11bc1ed79d6f2d2325336d567fd8296f75f6db98633b12d1473a297cc68ad [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 10:37:57 provisioning config files... 10:37:57 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10534271678474251454tmp [Pipeline] { [Pipeline] sh 10:37:58 + set +x 10:37:58 + bash -s -- 10:37:58 + curl -s https://codecov.io/bash 10:37:58 10:37:58 _____ _ 10:37:58 / ____| | | 10:37:58 | | ___ __| | ___ ___ _____ __ 10:37:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:37:58 | |___| (_) | (_| | __/ (_| (_) \ V / 10:37:58 \_____\___/ \__,_|\___|\___\___/ \_/ 10:37:58 Bash-1.0.6 10:37:58 10:37:58 10:37:58 ==> git version 2.25.1 found 10:37:58 ==> 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 10:37:58 Release-Date: 2020-01-08 10:37:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:37:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:37:58 ==> Jenkins CI detected. 10:37:58 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 10:37:58 project root: . 10:37:58 --> token set from env 10:37:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:37:58 ==> Running gcov in . (disable via -X gcov) 10:37:58 ==> Python coveragepy not found 10:37:58 ==> Searching for coverage reports in: 10:37:58 + . 10:37:58 -> Found 1 reports 10:37:58 ==> Detecting git/mercurial file structure 10:37:58 ==> Reading reports 10:37:58 + ./coverage.out bytes=99763 10:37:58 ==> Appending adjustments 10:37:58 https://docs.codecov.io/docs/fixing-reports 10:37:58 + Found adjustments 10:37:58 ==> Gzipping contents 10:37:58 16K /tmp/codecov.o9TEfh.gz 10:37:58 ==> Uploading reports 10:37:58 url: https://codecov.io 10:37:58 query: branch=main&commit=1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223&build=148&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F148%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:37:58 -> Pinging Codecov 10:37:58 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=1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223&build=148&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F148%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:37:58 -> Uploading to 10:37:58 https://storage.googleapis.com/codecov/v4/raw/2023-02-04/7E55EF52A471D76F132DFD9A03CDDE97/1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223/78ca9406-612d-4298-8160-53c82a6b1848.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230204%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230204T103758Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bcf1406ab45347dba8a2e9737a7e4894b2dd88e2e8d7f261f4da7eaed1ef601a 10:37:58 % Total % Received % Xferd Average Speed Time Time Time Current 10:37:58 Dload Upload Total Spent Left Speed 10:37:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14419 0 0 100 14419 0 70336 --:--:-- --:--:-- --:--:-- 70336 100 14419 0 0 100 14419 0 64659 --:--:-- --:--:-- --:--:-- 64659 10:37:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 [Pipeline] } 10:37:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:37:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:37:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:37:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:37:59 10:37:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:37:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:37:59 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:37:59 df9b9388f04a: Pulling fs layer 10:37:59 52dc419b0ee2: Pulling fs layer 10:37:59 25bc292e5bac: Pulling fs layer 10:37:59 114826534d7a: Pulling fs layer 10:37:59 4657fd5d0bcf: Pulling fs layer 10:37:59 6ad1cebc031e: Pulling fs layer 10:37:59 8a3aa393b2d8: Pulling fs layer 10:37:59 4657fd5d0bcf: Waiting 10:37:59 6ad1cebc031e: Waiting 10:37:59 8a3aa393b2d8: Waiting 10:37:59 25bc292e5bac: Download complete 10:37:59 52dc419b0ee2: Verifying Checksum 10:37:59 52dc419b0ee2: Download complete 10:37:59 4657fd5d0bcf: Download complete 10:37:59 df9b9388f04a: Verifying Checksum 10:37:59 df9b9388f04a: Download complete 10:38:00 df9b9388f04a: Pull complete 10:38:00 52dc419b0ee2: Pull complete 10:38:00 6ad1cebc031e: Verifying Checksum 10:38:00 6ad1cebc031e: Download complete 10:38:00 25bc292e5bac: Pull complete 10:38:01 114826534d7a: Download complete 10:38:01 8a3aa393b2d8: Verifying Checksum 10:38:01 8a3aa393b2d8: Download complete 10:38:05 114826534d7a: Pull complete 10:38:05 4657fd5d0bcf: Pull complete 10:38:06 6ad1cebc031e: Pull complete 10:38:09 8a3aa393b2d8: Pull complete 10:38:14 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 10:38:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:38:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:38:15 prd-ubuntu20.04-docker-8c-8g-4523 does not seem to be running inside a container 10:38:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 10:38:25 $ docker top 764222dd23bac108a342178dc0d806e6627995c22edd6dcdf9bd071cdd299b7c -eo pid,comm [Pipeline] { [Pipeline] echo 10:38:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 10:38:25 + set -o pipefail 10:38:25 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 10:38:29 10:38:29 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 10:38:29 10:38:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/09039392-4fe2-420c-b703-4cb6505840b9 10:38:29 10:38:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:38:29 10:38:29 10:38:29 A medium severity vulnerability was found in the Snyk CLI versions you are using. 10:38:29 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 10:38:29 More details here: https://snyk.co/ue1NS [Pipeline] } 10:38:29 $ docker stop --time=1 764222dd23bac108a342178dc0d806e6627995c22edd6dcdf9bd071cdd299b7c 10:38:37 $ docker rm -f --volumes 764222dd23bac108a342178dc0d806e6627995c22edd6dcdf9bd071cdd299b7c [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 10:38:38 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:38:38 provisioning config files... 10:38:38 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13865500203040917077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:38:38 --> edgex-publish-swagger.sh 10:38:38 === Publish openapi/v3 API === 10:38:38 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 10:38:38 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 10:38:38 % Total % Received % Xferd Average Speed Time Time Time Current 10:38:38 Dload Upload Total Spent Left Speed 10:38:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47094 0 0 100 47094 0 73127 --:--:-- --:--:-- --:--:-- 73013 100 47094 0 0 100 47094 0 73127 --:--:-- --:--:-- --:--:-- 73013 10:38:39 10:38:39 [Pipeline] } 10:38:39 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 10:38:39 + git log --format=format:%s -1 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 [Pipeline] sh 10:38:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:38:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:38:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:38:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:38:40 prd-ubuntu20.04-docker-8c-8g-4523 does not seem to be running inside a container 10:38:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:38:40 $ docker top 6317671a0f7da319753503b99c228122d77b38d42d3f459e58075d589fd1b0de -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:38:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:38:40 [ssh-agent] Looking for ssh-agent implementation... 10:38:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:38:40 $ docker exec 6317671a0f7da319753503b99c228122d77b38d42d3f459e58075d589fd1b0de ssh-agent 10:38:40 SSH_AUTH_SOCK=/tmp/ssh-MofcygkFSZsk/agent.32 10:38:40 SSH_AGENT_PID=38 10:38:41 Running ssh-add (command line suppressed) 10:38:41 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8008148837692857175.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8008148837692857175.key) 10:38:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:38:41 + git semver tag 10:38:41 2023-02-04 10:38:41,589 [run_tag] DEBUG tag force:False 10:38:41 2023-02-04 10:38:41,589 [check_head_tag] DEBUG check head tag 10:38:41 2023-02-04 10:38:41,592 [execute] INFO git cat-file --batch-check 10:38:41 2023-02-04 10:38:41,593 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 10:38:41 2023-02-04 10:38:41,596 [execute] INFO git cat-file --batch 10:38:41 2023-02-04 10:38:41,596 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 10:38:41 2023-02-04 10:38:41,621 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:38:41 2023-02-04 10:38:41,621 [execute] INFO git tag -a v3.0.0-dev.18 -m v3.0.0-dev.18 10:38:41 2023-02-04 10:38:41,621 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.18', '-m', 'v3.0.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 10:38:41 2023-02-04 10:38:41,624 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:38:41 3.0.0-dev.18 [Pipeline] } 10:38:41 $ docker exec --env ******** --env ******** 6317671a0f7da319753503b99c228122d77b38d42d3f459e58075d589fd1b0de ssh-agent -k 10:38:41 unset SSH_AUTH_SOCK; 10:38:41 unset SSH_AGENT_PID; 10:38:41 echo Agent pid 38 killed; 10:38:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:38:42 + git semver [Pipeline] } 10:38:42 $ docker stop --time=1 6317671a0f7da319753503b99c228122d77b38d42d3f459e58075d589fd1b0de 10:38:43 $ docker rm -f --volumes 6317671a0f7da319753503b99c228122d77b38d42d3f459e58075d589fd1b0de [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:38:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:38:43 10:38:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:38:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:38:44 0.23.1-centos7: Pulling from edgex-lftools 10:38:44 ab5ef0e58194: Pulling fs layer 10:38:44 9712f1f96733: Pulling fs layer 10:38:44 63f879dbbcfc: Pulling fs layer 10:38:44 0d9ebad4ef96: Pulling fs layer 10:38:44 e9a5061849ea: Pulling fs layer 10:38:44 d747dcd14b5f: Pulling fs layer 10:38:44 2de7ff778b66: Pulling fs layer 10:38:44 2de7ff778b66: Waiting 10:38:44 e9a5061849ea: Waiting 10:38:44 0d9ebad4ef96: Waiting 10:38:44 d747dcd14b5f: Waiting 10:38:44 9712f1f96733: Verifying Checksum 10:38:44 9712f1f96733: Download complete 10:38:46 63f879dbbcfc: Verifying Checksum 10:38:46 63f879dbbcfc: Download complete 10:38:47 ab5ef0e58194: Download complete 10:38:47 e9a5061849ea: Verifying Checksum 10:38:47 e9a5061849ea: Download complete 10:38:47 d747dcd14b5f: Verifying Checksum 10:38:47 d747dcd14b5f: Download complete 10:38:47 0d9ebad4ef96: Verifying Checksum 10:38:47 0d9ebad4ef96: Download complete 10:38:47 2de7ff778b66: Verifying Checksum 10:38:47 2de7ff778b66: Download complete 10:38:50 ab5ef0e58194: Pull complete 10:38:50 9712f1f96733: Pull complete 10:38:50 63f879dbbcfc: Pull complete 10:38:54 0d9ebad4ef96: Pull complete 10:38:54 e9a5061849ea: Pull complete 10:38:54 d747dcd14b5f: Pull complete 10:38:55 2de7ff778b66: Pull complete 10:38:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:38:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:38:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:38:55 prd-ubuntu20.04-docker-8c-8g-4523 does not seem to be running inside a container 10:38:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:39:04 $ docker top 4fdcd11659b8dce0d3ed6803371a7073d73dc3bc1690dbe60fd982670038b2f0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:39:04 provisioning config files... 10:39:04 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5852064161454692850tmp 10:39:04 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4437466241922551968tmp 10:39:04 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config403511204436209789tmp [Pipeline] { [Pipeline] echo 10:39:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:39:04 ---> sigul-configuration.sh 10:39:04 gpg: directory `/root/.gnupg' created 10:39:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:39:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:39:04 gpg: keyring `/root/.gnupg/secring.gpg' created 10:39:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:39:04 gpg: CAST5 encrypted data 10:39:04 gpg: encrypted with 1 passphrase 10:39:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:39:04 + mkdir /home/jenkins 10:39:04 + mkdir /home/jenkins/sigul [Pipeline] sh 10:39:05 + 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 10:39:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:39:05 ---> sigul-install.sh 10:39:05 Sigul already installed; skipping installation. [Pipeline] sh 10:39:05 + git tag --list 10:39:05 0.7.1 10:39:05 delhi-tag 10:39:05 v1.0.0 10:39:05 v1.1.0 10:39:05 v1.1.1 10:39:05 v1.1.2 10:39:05 v1.2.0 10:39:05 v1.2.1 10:39:05 v1.2.2 10:39:05 v1.2.3 10:39:05 v1.3.0 10:39:05 v1.4.0 10:39:05 v2.0.0 10:39:05 v2.1.0 10:39:05 v2.1.1 10:39:05 v2.1.1-dev.2 10:39:05 v2.1.1-dev.3 10:39:05 v2.2.0 10:39:05 v2.2.1-dev.1 10:39:05 v2.2.1-dev.10 10:39:05 v2.2.1-dev.11 10:39:05 v2.2.1-dev.12 10:39:05 v2.2.1-dev.13 10:39:05 v2.2.1-dev.14 10:39:05 v2.2.1-dev.2 10:39:05 v2.2.1-dev.3 10:39:05 v2.2.1-dev.4 10:39:05 v2.2.1-dev.5 10:39:05 v2.2.1-dev.6 10:39:05 v2.2.1-dev.7 10:39:05 v2.2.1-dev.8 10:39:05 v2.2.1-dev.9 10:39:05 v2.3.0 10:39:05 v2.3.0-dev.14 10:39:05 v2.3.0-dev.15 10:39:05 v2.3.0-dev.16 10:39:05 v2.3.0-dev.17 10:39:05 v2.3.0-dev.18 10:39:05 v2.3.0-dev.19 10:39:05 v2.3.0-dev.20 10:39:05 v2.3.0-dev.21 10:39:05 v2.3.0-dev.22 10:39:05 v2.3.0-dev.23 10:39:05 v2.3.0-dev.24 10:39:05 v2.3.0-dev.25 10:39:05 v2.3.0-dev.26 10:39:05 v2.3.0-dev.27 10:39:05 v2.3.0-dev.28 10:39:05 v2.3.0-dev.29 10:39:05 v2.3.0-dev.30 10:39:05 v2.3.0-dev.31 10:39:05 v2.3.0-dev.32 10:39:05 v2.3.0-dev.33 10:39:05 v2.3.0-dev.34 10:39:05 v2.3.0-dev.35 10:39:05 v2.3.0-dev.36 10:39:05 v2.3.0-dev.37 10:39:05 v2.3.0-dev.38 10:39:05 v2.3.0-dev.39 10:39:05 v2.3.0-dev.40 10:39:05 v2.3.0-dev.41 10:39:05 v2.3.0-dev.42 10:39:05 v2.3.0-dev.43 10:39:05 v2.3.0-dev.44 10:39:05 v2.3.0-dev.45 10:39:05 v2.3.0-dev.46 10:39:05 v2.3.0-dev.47 10:39:05 v2.3.0-dev.48 10:39:05 v2.3.0-dev.49 10:39:05 v2.3.0-dev.50 10:39:05 v2.3.0-dev.51 10:39:05 v2.3.1-dev.1 10:39:05 v2.3.1-dev.2 10:39:05 v3.0.0-dev.1 10:39:05 v3.0.0-dev.10 10:39:05 v3.0.0-dev.11 10:39:05 v3.0.0-dev.12 10:39:05 v3.0.0-dev.13 10:39:05 v3.0.0-dev.14 10:39:05 v3.0.0-dev.15 10:39:05 v3.0.0-dev.16 10:39:05 v3.0.0-dev.17 10:39:05 v3.0.0-dev.18 10:39:05 v3.0.0-dev.2 10:39:05 v3.0.0-dev.3 10:39:05 v3.0.0-dev.4 10:39:05 v3.0.0-dev.5 10:39:05 v3.0.0-dev.6 10:39:05 v3.0.0-dev.7 10:39:05 v3.0.0-dev.8 10:39:05 v3.0.0-dev.9 [Pipeline] sh 10:39:05 + lftools sign git-tag v3.0.0-dev.18 10:39:06 Signing Git tag with Sigul... 10:39:06 Signing v3.0.0-dev.18 [Pipeline] echo 10:39:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:39:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:39:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:39:07 $ docker stop --time=1 4fdcd11659b8dce0d3ed6803371a7073d73dc3bc1690dbe60fd982670038b2f0 10:39:08 $ docker rm -f --volumes 4fdcd11659b8dce0d3ed6803371a7073d73dc3bc1690dbe60fd982670038b2f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:39:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:39:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:39:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:39:09 prd-ubuntu20.04-docker-8c-8g-4523 does not seem to be running inside a container 10:39:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:39:09 $ docker top d98f561a21ea881ea3434f02610a996a3f2c94761102354d1519cb0d70d7fe58 -eo pid,comm 10:39:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:39:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:39:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:39:09 [ssh-agent] Looking for ssh-agent implementation... 10:39:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:39:09 $ docker exec d98f561a21ea881ea3434f02610a996a3f2c94761102354d1519cb0d70d7fe58 ssh-agent 10:39:09 SSH_AUTH_SOCK=/tmp/ssh-tWeHI5znXxYv/agent.31 10:39:09 SSH_AGENT_PID=37 10:39:09 Running ssh-add (command line suppressed) 10:39:09 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3529673362884113755.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3529673362884113755.key) 10:39:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:39:10 + git semver bump pre 10:39:10 2023-02-04 10:39:10,386 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:39:10 2023-02-04 10:39:10,386 [bump_version] DEBUG bumping version:3.0.0-dev.18 on axis:pre with prefix:dev 10:39:10 2023-02-04 10:39:10,386 [bump_version] DEBUG bumped version:3.0.0-dev.19 10:39:10 2023-02-04 10:39:10,386 [write_version] DEBUG write version:3.0.0-dev.19 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 10:39:10 2023-02-04 10:39:10,387 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:39:10 2023-02-04 10:39:10,387 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:39:10 2023-02-04 10:39:10,389 [execute] INFO git cat-file --batch-check 10:39:10 2023-02-04 10:39:10,389 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:39:10 2023-02-04 10:39:10,393 [execute] INFO git cat-file --batch 10:39:10 2023-02-04 10:39:10,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:39:10 2023-02-04 10:39:10,398 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:39:10 3.0.0-dev.19 [Pipeline] } 10:39:10 $ docker exec --env ******** --env ******** d98f561a21ea881ea3434f02610a996a3f2c94761102354d1519cb0d70d7fe58 ssh-agent -k 10:39:10 unset SSH_AUTH_SOCK; 10:39:10 unset SSH_AGENT_PID; 10:39:10 echo Agent pid 37 killed; 10:39:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:39:10 + git semver [Pipeline] } 10:39:11 $ docker stop --time=1 d98f561a21ea881ea3434f02610a996a3f2c94761102354d1519cb0d70d7fe58 10:39:12 $ docker rm -f --volumes d98f561a21ea881ea3434f02610a996a3f2c94761102354d1519cb0d70d7fe58 [Pipeline] // withDockerContainer [Pipeline] sh 10:39:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:39:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:39:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:39:13 prd-ubuntu20.04-docker-8c-8g-4523 does not seem to be running inside a container 10:39:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:39:13 $ docker top a7470a58c4f912ec6577590435cffb5fd460031ab5f5e6f571fb4e536a715cc4 -eo pid,comm 10:39:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:39:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:39:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:39:14 [ssh-agent] Looking for ssh-agent implementation... 10:39:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:39:14 $ docker exec a7470a58c4f912ec6577590435cffb5fd460031ab5f5e6f571fb4e536a715cc4 ssh-agent 10:39:14 SSH_AUTH_SOCK=/tmp/ssh-EqdHc5edCBZ3/agent.32 10:39:14 SSH_AGENT_PID=39 10:39:14 Running ssh-add (command line suppressed) 10:39:14 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15790492754366943706.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15790492754366943706.key) 10:39:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:39:14 + git semver push 10:39:14 2023-02-04 10:39:14,831 [run_push] DEBUG push 10:39:14 2023-02-04 10:39:14,831 [execute] INFO git cat-file --batch-check 10:39:14 2023-02-04 10:39:14,831 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:39:14 2023-02-04 10:39:14,835 [execute] INFO git rev-list cf25aff5e0695ea2eb9c06d34f88055853f8effe -- 10:39:14 2023-02-04 10:39:14,835 [execute] DEBUG Popen(['git', 'rev-list', 'cf25aff5e0695ea2eb9c06d34f88055853f8effe', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:39:14 2023-02-04 10:39:14,846 [execute] INFO git fetch -v origin 10:39:14 2023-02-04 10:39:14,846 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 10:39:15 2023-02-04 10:39:15,356 [run_push] DEBUG no remote changes detected 10:39:15 2023-02-04 10:39:15,356 [execute] INFO git push origin semver 10:39:15 2023-02-04 10:39:15,356 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:39:16 2023-02-04 10:39:16,166 [run_push] DEBUG push all version tags 10:39:16 2023-02-04 10:39:16,166 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:39:16 2023-02-04 10:39:16,166 [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) 10:39:16 2023-02-04 10:39:16,951 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:39:16 3.0.0-dev.19 [Pipeline] } 10:39:17 $ docker exec --env ******** --env ******** a7470a58c4f912ec6577590435cffb5fd460031ab5f5e6f571fb4e536a715cc4 ssh-agent -k 10:39:17 unset SSH_AUTH_SOCK; 10:39:17 unset SSH_AGENT_PID; 10:39:17 echo Agent pid 39 killed; 10:39:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:39:17 + git semver [Pipeline] } 10:39:17 $ docker stop --time=1 a7470a58c4f912ec6577590435cffb5fd460031ab5f5e6f571fb4e536a715cc4 10:39:19 $ docker rm -f --volumes a7470a58c4f912ec6577590435cffb5fd460031ab5f5e6f571fb4e536a715cc4 [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 10:39:19 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 10:39:19 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 10:39:19 total 16 10:39:19 drwxr-xr-x 3 root root 4096 Feb 4 10:29 . 10:39:19 drwxrwxr-x 12 jenkins jenkins 4096 Feb 4 10:39 .. 10:39:19 drwxr-xr-x 2 root root 4096 Feb 4 10:29 cost 10:39:19 -rw-r--r-- 1 root root 85 Feb 4 10:29 cost.csv 10:39:19 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 10:39:19 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 10:39:19 total 16 10:39:19 drwxr-xr-x 3 jenkins jenkins 4096 Feb 4 10:29 . 10:39:19 drwxrwxr-x 12 jenkins jenkins 4096 Feb 4 10:39 .. 10:39:19 drwxr-xr-x 2 jenkins jenkins 4096 Feb 4 10:29 cost 10:39:19 -rw-r--r-- 1 jenkins jenkins 85 Feb 4 10:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:39:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:39:21 ---> package-listing.sh 10:39:21 ++ facter osfamily 10:39:21 ++ tr '[:upper:]' '[:lower:]' 10:39:21 + OS_FAMILY=debian 10:39:21 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 10:39:21 + START_PACKAGES=/tmp/packages_start.txt 10:39:21 + END_PACKAGES=/tmp/packages_end.txt 10:39:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:39:21 + PACKAGES=/tmp/packages_start.txt 10:39:21 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 10:39:21 + PACKAGES=/tmp/packages_end.txt 10:39:21 + case "${OS_FAMILY}" in 10:39:21 + dpkg -l 10:39:21 + grep '^ii' 10:39:21 + '[' -f /tmp/packages_start.txt ']' 10:39:21 + '[' -f /tmp/packages_end.txt ']' 10:39:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:39:21 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 10:39:21 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 10:39:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 10:39:21 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 10:39:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:39:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:39:22 prd-ubuntu20.04-docker-8c-8g-4523 does not seem to be running inside a container 10:39:22 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:39:22 $ docker top bdbf0d1e53d05128d0b9aaa08a826f179fed9e5b95dd99651afbba1a28f0812c -eo pid,comm [Pipeline] { [Pipeline] sh 10:39:22 + touch /tmp/pre-build-complete [Pipeline] sh 10:39:23 + mkdir -p /var/log/sysstat [Pipeline] sh 10:39:23 + ls /var/log/sa-host 10:39:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:39:23 provisioning config files... 10:39:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12543269062565439681tmp [Pipeline] { [Pipeline] echo 10:39:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:39:24 ---> create-netrc.sh [Pipeline] } 10:39:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:39:24 ---> python-tools-install.sh [Pipeline] echo 10:39:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:39:24 ---> sudo-logs.sh 10:39:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:39:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:39:24 ---> job-cost.sh 10:39:24 lf-activate-venv: SKIPPING 10:39:24 DEBUG: total: 0.2199999988079071 10:39:24 INFO: Retrieving Stack Cost... 10:39:25 INFO: Retrieving Pricing Info for: v3-standard-8 10:39:25 INFO: Archiving Costs [Pipeline] echo 10:39:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:39:26 ---> logs-deploy.sh 10:39:26 lf-activate-venv: SKIPPING 10:39:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/148 10:39:26 INFO: archiving workspace using pattern(s): 10:39:27 Archives upload complete. 10:39:27 INFO: archiving logs to Nexus