Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 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-ssh8422559548162461760.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-ssh5173326385323675203.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-ssh15199548117329302934.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-ssh15629222504038993178.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-ssh4313083940887588178.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-4624 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 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 (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 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 # timeout=10 Commit message: "Merge pull request #1303 from jinlinGuan/messaging-issue-166" > git rev-list --no-walk 1acc2ef1c1fa5446d2eac6cbaedb918f3ccab223 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:26:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:26:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:26:09 ========================================================= 04:26:09 EdgeX Global Pipelines Version Info 04:26:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:26:10 ------------------- 04:26:10 stable info: 04:26:10 ------------------- 04:26:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:26:10 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:26:10 Message: update stable to v1.0.244 04:26:11 ------------------- 04:26:11 experimental info: 04:26:11 ------------------- 04:26:11 Commited By: **** collab-it+edgex@linuxfoundation.org 04:26:11 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:26:11 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3773e8a [Pipeline] echo 04:26:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:26:11 provisioning config files... 04:26:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1432168614837122149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:12 ---> docker-login.sh 04:26:12 nexus3.edgexfoundry.org:10001 04:26:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:13 Configure a credential helper to remove this warning. See 04:26:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:13 04:26:13 Login Succeeded 04:26:13 nexus3.edgexfoundry.org:10002 04:26:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:13 Configure a credential helper to remove this warning. See 04:26:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:13 04:26:13 Login Succeeded 04:26:13 nexus3.edgexfoundry.org:10003 04:26:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:13 Configure a credential helper to remove this warning. See 04:26:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:13 04:26:13 Login Succeeded 04:26:13 nexus3.edgexfoundry.org:10004 04:26:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:13 Configure a credential helper to remove this warning. See 04:26:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:13 04:26:13 Login Succeeded 04:26:13 docker.io 04:26:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:14 Configure a credential helper to remove this warning. See 04:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:14 04:26:14 Login Succeeded 04:26:14 ---> docker-login.sh ends [Pipeline] } 04:26:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:26:14 + git rev-list -1 --merges 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5~1..3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 [Pipeline] echo 04:26:14 -----------> git rev-list -1 --merges 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5~1..3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 04:26:14 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 [false] [Pipeline] sh 04:26:14 + git log --format=format:%s -1 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 [Pipeline] echo 04:26:14 ========================================================= 04:26:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:26:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:15 + git log --format=format:%s -1 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 [Pipeline] echo 04:26:15 [semverPrep] GIT_COMMIT: 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5, Commit Message: Merge pull request #1303 from jinlinGuan/messaging-issue-166 [Pipeline] echo 04:26:15 [semverPrep] This is not a build commit. [Pipeline] sh 04:26:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:26:15 + grep -v github /etc/ssh/ssh_known_hosts 04:26:15 + [ -e /tmp/ssh_known_hosts ] 04:26:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:26:15 + + sudo tee -a /etc/ssh/ssh_known_hosts 04:26:15 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:26:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:26:16 04:26:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:26:16 0.1.4: Pulling from edgex-devops/py-git-semver 04:26:16 b85a868b505f: Pulling fs layer 04:26:16 e2be974225ed: Pulling fs layer 04:26:16 339a4e72a1f5: Pulling fs layer 04:26:16 988bab9f4d93: Pulling fs layer 04:26:16 1469e6f7b9e6: Pulling fs layer 04:26:16 eaf3925da568: Pulling fs layer 04:26:16 bab4dde63d76: Pulling fs layer 04:26:16 bde34c3a00c8: Pulling fs layer 04:26:16 b352a97aabf1: Pulling fs layer 04:26:16 4872d77fe225: Pulling fs layer 04:26:16 5851b861e8e6: Pulling fs layer 04:26:16 4872d77fe225: Waiting 04:26:16 5851b861e8e6: Waiting 04:26:16 bab4dde63d76: Waiting 04:26:16 1469e6f7b9e6: Waiting 04:26:16 bde34c3a00c8: Waiting 04:26:16 b352a97aabf1: Waiting 04:26:16 988bab9f4d93: Waiting 04:26:16 eaf3925da568: Waiting 04:26:16 e2be974225ed: Verifying Checksum 04:26:16 e2be974225ed: Download complete 04:26:16 988bab9f4d93: Verifying Checksum 04:26:16 988bab9f4d93: Download complete 04:26:16 339a4e72a1f5: Verifying Checksum 04:26:16 339a4e72a1f5: Download complete 04:26:16 eaf3925da568: Verifying Checksum 04:26:16 eaf3925da568: Download complete 04:26:16 1469e6f7b9e6: Verifying Checksum 04:26:16 1469e6f7b9e6: Download complete 04:26:16 bde34c3a00c8: Verifying Checksum 04:26:16 bde34c3a00c8: Download complete 04:26:16 b352a97aabf1: Download complete 04:26:16 4872d77fe225: Download complete 04:26:16 b85a868b505f: Verifying Checksum 04:26:16 b85a868b505f: Download complete 04:26:16 5851b861e8e6: Verifying Checksum 04:26:16 5851b861e8e6: Download complete 04:26:17 bab4dde63d76: Verifying Checksum 04:26:17 bab4dde63d76: Download complete 04:26:18 b85a868b505f: Pull complete 04:26:18 e2be974225ed: Pull complete 04:26:18 339a4e72a1f5: Pull complete 04:26:18 988bab9f4d93: Pull complete 04:26:19 1469e6f7b9e6: Pull complete 04:26:19 eaf3925da568: Pull complete 04:26:21 bab4dde63d76: Pull complete 04:26:21 bde34c3a00c8: Pull complete 04:26:21 b352a97aabf1: Pull complete 04:26:21 4872d77fe225: Pull complete 04:26:21 5851b861e8e6: Pull complete 04:26:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:26:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:26:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:21 prd-ubuntu20.04-docker-8c-8g-4624 does not seem to be running inside a container 04:26:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:26:24 $ docker top 30c8b11230d33b8f8e4dd7be8643ae1e90ca11847c36732b28dae3a8a90d3ab3 -eo pid,comm 04:26:24 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). 04:26:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:26:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:26:24 [ssh-agent] Looking for ssh-agent implementation... 04:26:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:26:25 $ docker exec 30c8b11230d33b8f8e4dd7be8643ae1e90ca11847c36732b28dae3a8a90d3ab3 ssh-agent 04:26:25 SSH_AUTH_SOCK=/tmp/ssh-agrr1WC0s1hV/agent.32 04:26:25 SSH_AGENT_PID=39 04:26:25 Running ssh-add (command line suppressed) 04:26:25 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11471714394125709039.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11471714394125709039.key) 04:26:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:26:25 + git tag --points-at HEAD [Pipeline] } 04:26:25 $ docker exec --env ******** --env ******** 30c8b11230d33b8f8e4dd7be8643ae1e90ca11847c36732b28dae3a8a90d3ab3 ssh-agent -k 04:26:25 unset SSH_AUTH_SOCK; 04:26:25 unset SSH_AGENT_PID; 04:26:25 echo Agent pid 39 killed; 04:26:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:26:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:26:25 [ssh-agent] Looking for ssh-agent implementation... 04:26:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:26:25 $ docker exec 30c8b11230d33b8f8e4dd7be8643ae1e90ca11847c36732b28dae3a8a90d3ab3 ssh-agent 04:26:25 SSH_AUTH_SOCK=/tmp/ssh-SmBNsxUMNyI8/agent.71 04:26:25 SSH_AGENT_PID=77 04:26:25 Running ssh-add (command line suppressed) 04:26:26 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16667506138035932556.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16667506138035932556.key) 04:26:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:26:26 + git semver init 04:26:26 2023-02-06 04:26:26,571 [run_init] DEBUG init version:0.0.0 force:False 04:26:26 2023-02-06 04:26:26,571 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:26:26 2023-02-06 04:26:26,572 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:26:26 2023-02-06 04:26:26,572 [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) 04:26:27 2023-02-06 04:26:27,618 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:26:27 2023-02-06 04:26:27,618 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:26:27 2023-02-06 04:26:27,619 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:26:27 2023-02-06 04:26:27,619 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:26:27 3.0.0-dev.19 [Pipeline] } 04:26:28 $ docker exec --env ******** --env ******** 30c8b11230d33b8f8e4dd7be8643ae1e90ca11847c36732b28dae3a8a90d3ab3 ssh-agent -k 04:26:28 unset SSH_AUTH_SOCK; 04:26:28 unset SSH_AGENT_PID; 04:26:28 echo Agent pid 77 killed; 04:26:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:26:28 + git semver [Pipeline] } 04:26:28 $ docker stop --time=1 30c8b11230d33b8f8e4dd7be8643ae1e90ca11847c36732b28dae3a8a90d3ab3 04:26:29 $ docker rm -f --volumes 30c8b11230d33b8f8e4dd7be8643ae1e90ca11847c36732b28dae3a8a90d3ab3 [Pipeline] // withDockerContainer [Pipeline] sh 04:26:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:26:30 Stashed 1 file(s) [Pipeline] echo 04:26:30 [edgeXSemver]: initialized semver on version 3.0.0-dev.19 [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 04:26:30 provisioning config files... 04:26:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1615403989542518642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:30 ---> docker-login.sh 04:26:30 nexus3.edgexfoundry.org:10001 04:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:30 Configure a credential helper to remove this warning. See 04:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:30 04:26:30 Login Succeeded 04:26:30 nexus3.edgexfoundry.org:10002 04:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:30 Configure a credential helper to remove this warning. See 04:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:30 04:26:30 Login Succeeded 04:26:30 nexus3.edgexfoundry.org:10003 04:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:31 Configure a credential helper to remove this warning. See 04:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:31 04:26:31 Login Succeeded 04:26:31 nexus3.edgexfoundry.org:10004 04:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:31 Configure a credential helper to remove this warning. See 04:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:31 04:26:31 Login Succeeded 04:26:31 docker.io 04:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:31 Configure a credential helper to remove this warning. See 04:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:31 04:26:31 Login Succeeded 04:26:31 ---> docker-login.sh ends [Pipeline] } 04:26:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:26:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:26:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:26:31 ========================================================= 04:26:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:26:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:31 + 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 . 04:26:31 Sending build context to Docker daemon 10.5MB 04:26:31 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:26:31 Step 2/10 : FROM ${BASE} AS builder 04:26:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:26:31 213ec9aee27d: Pulling fs layer 04:26:31 4583459ba037: Pulling fs layer 04:26:31 93c1e223e6f2: Pulling fs layer 04:26:31 53926ce57604: Pulling fs layer 04:26:31 21b2b0c7a3f4: Pulling fs layer 04:26:31 22ff95d597cd: Pulling fs layer 04:26:31 12d6caf4c0d1: Pulling fs layer 04:26:31 96b7cbca73a9: Pulling fs layer 04:26:31 a7acece74701: Pulling fs layer 04:26:31 53926ce57604: Waiting 04:26:31 21b2b0c7a3f4: Waiting 04:26:31 12d6caf4c0d1: Waiting 04:26:31 96b7cbca73a9: Waiting 04:26:31 a7acece74701: Waiting 04:26:31 93c1e223e6f2: Verifying Checksum 04:26:31 93c1e223e6f2: Download complete 04:26:31 4583459ba037: Verifying Checksum 04:26:31 4583459ba037: Download complete 04:26:32 21b2b0c7a3f4: Verifying Checksum 04:26:32 21b2b0c7a3f4: Download complete 04:26:32 22ff95d597cd: Verifying Checksum 04:26:32 22ff95d597cd: Download complete 04:26:32 213ec9aee27d: Download complete 04:26:32 12d6caf4c0d1: Download complete 04:26:32 213ec9aee27d: Pull complete 04:26:32 4583459ba037: Pull complete 04:26:32 93c1e223e6f2: Pull complete 04:26:33 a7acece74701: Verifying Checksum 04:26:33 a7acece74701: Download complete 04:26:33 96b7cbca73a9: Download complete 04:26:33 53926ce57604: Verifying Checksum 04:26:33 53926ce57604: Download complete 04:26:37 53926ce57604: Pull complete 04:26:37 21b2b0c7a3f4: Pull complete 04:26:37 22ff95d597cd: Pull complete 04:26:37 12d6caf4c0d1: Pull complete 04:26:39 96b7cbca73a9: Pull complete 04:26:40 a7acece74701: Pull complete 04:26:40 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:26:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:26:40 ---> db6d94c90886 04:26:40 Step 3/10 : ARG MAKE=make build 04:26:44 ---> Running in 63112f663035 04:26:44 Removing intermediate container 63112f663035 04:26:44 ---> 079560f17591 04:26:44 Step 4/10 : WORKDIR /device-sdk-go 04:26:44 ---> Running in e65f10077678 04:26:45 Removing intermediate container e65f10077678 04:26:45 ---> b7c2b79ffeaf 04:26:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:26:45 ---> Running in 183640ec32d4 04:26:45 Removing intermediate container 183640ec32d4 04:26:45 ---> f7f8f63f2f20 04:26:45 Step 6/10 : RUN apk add --update --no-cache make git 04:26:45 ---> Running in 2122a4ce5568 04:26:45 Still waiting to schedule task 04:26:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:26:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:26:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:26:45 OK: 211 MiB in 51 packages 04:26:46 Removing intermediate container 2122a4ce5568 04:26:46 ---> 02c72f7cc74e 04:26:46 Step 7/10 : COPY go.mod vendor* ./ 04:26:46 ---> 51ca01651ba4 04:26:46 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:26:46 ---> Running in def691a41d6e 04:27:54 Removing intermediate container def691a41d6e 04:27:54 ---> 17c6795428d5 04:27:54 Step 9/10 : COPY . . 04:27:54 ---> 8ae50dce643b 04:27:54 Step 10/10 : RUN ${MAKE} 04:27:54 ---> Running in 11a57d65d075 04:27:54 noop 04:27:54 Removing intermediate container 11a57d65d075 04:27:54 ---> ceb16d768e20 04:27:54 Successfully built ceb16d768e20 04:27:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:54 + docker inspect -f . ci-base-image-x86_64 04:27:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:54 prd-ubuntu20.04-docker-8c-8g-4624 does not seem to be running inside a container 04:27:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:27:55 $ docker top ec1987fa9c54bb23547228776161dd4ca49be97b9eb78a36d681630d050c537f -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:55 + go version 04:27:55 go version go1.18.7 linux/amd64 [Pipeline] } 04:27:55 $ docker stop --time=1 ec1987fa9c54bb23547228776161dd4ca49be97b9eb78a36d681630d050c537f 04:27:56 $ docker rm -f --volumes ec1987fa9c54bb23547228776161dd4ca49be97b9eb78a36d681630d050c537f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:57 + docker inspect -f . ci-base-image-x86_64 04:27:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:57 prd-ubuntu20.04-docker-8c-8g-4624 does not seem to be running inside a container 04:27:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:27:57 $ docker top 2fca795c9b929a26657ed430c0771d8c88f6e2f7da7fdebe4526b9918c74f180 -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:58 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:27:58 + make test 04:27:58 go test -race -coverprofile=coverage.out ./... 04:28:04 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:28:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements 04:28:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.085s coverage: 78.9% of statements 04:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:28:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.171s coverage: 70.2% of statements 04:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:28:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.120s coverage: 59.8% of statements 04:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:28:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.099s coverage: 65.1% of statements 04:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:28:19 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.777s coverage: 89.2% of statements 04:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:28:19 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.7% of statements 04:28:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:28:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4625 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:28:32 Running in /w/workspace/device-sdk-go/149 [Pipeline] { [Pipeline] checkout 04:28:32 The recommended git tool is: git 04:28:37 using credential edgex-jenkins-ssh 04:28:37 Cloning the remote Git repository 04:28:37 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." 04:28:37 GO111MODULE=on go vet ./... 04:28:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:28:37 > git init /w/workspace/device-sdk-go/149 # timeout=10 04:28:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:28:37 > git --version # timeout=10 04:28:37 > git --version # 'git version 2.25.1' 04:28:37 using GIT_SSH to set credentials SSH Credentials for GitHub 04:28:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:28:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:28:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:28:39 Avoid second fetch 04:28:39 Checking out Revision 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 (main) 04:28:40 Commit message: "Merge pull request #1303 from jinlinGuan/messaging-issue-166" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:28:39 > git config core.sparsecheckout # timeout=10 04:28:39 > git checkout -f 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 # timeout=10 04:28:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:28:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:28:41 ./bin/test-attribution-txt.sh 04:28:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:28:41 % Total % Received % Xferd Average Speed Time Time Time Current 04:28:41 Dload Upload Total Spent Left Speed 04:28:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85577 [Pipeline] echo 04:28:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:28:41 $ docker stop --time=1 2fca795c9b929a26657ed430c0771d8c88f6e2f7da7fdebe4526b9918c74f180 04:28:44 $ docker rm -f --volumes 2fca795c9b929a26657ed430c0771d8c88f6e2f7da7fdebe4526b9918c74f180 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 04:28:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:28:45 Stashed 1 file(s) [Pipeline] } 04:28:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:28:45 + sudo tee /etc/docker/daemon.new 04:28:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:28:45 { 04:28:45 "registry-mirrors": [ 04:28:45 "https://nexus3.edgexfoundry.org:10001" 04:28:45 ], 04:28:45 "bip": "10.250.0.254/24", 04:28:45 "hosts": [ 04:28:45 "tcp://0.0.0.0:5555", 04:28:45 "unix:///var/run/docker.sock" 04:28:45 ], 04:28:45 "mtu": 1458, 04:28:45 "selinux-enabled": true, 04:28:45 "seccomp-profile": "/etc/docker/seccomp.json" 04:28:45 } [Pipeline] sh 04:28:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:28:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:28:46 + ls -al . 04:28:46 total 272 04:28:46 drwxrwxr-x 11 jenkins jenkins 4096 Feb 6 04:27 . 04:28:46 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:26 .. 04:28:46 -rw-rw-r-- 1 jenkins jenkins 140 Feb 6 04:26 .dockerignore 04:28:46 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 04:28 .git 04:28:46 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:26 .github 04:28:46 -rw-rw-r-- 1 jenkins jenkins 131 Feb 6 04:26 .gitignore 04:28:46 -rw-rw-r-- 1 jenkins jenkins 42 Feb 6 04:26 .golangci.yml 04:28:46 drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 04:26 .semver 04:28:46 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 6 04:26 CHANGELOG.md 04:28:46 -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 04:26 GOVERNANCE.md 04:28:46 -rw-rw-r-- 1 jenkins jenkins 885 Feb 6 04:26 Jenkinsfile 04:28:46 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 6 04:26 LICENSE 04:28:46 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 6 04:26 Makefile 04:28:46 -rw-rw-r-- 1 jenkins jenkins 619 Feb 6 04:26 OWNERS.md 04:28:46 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 6 04:26 README.md 04:28:46 -rw-rw-r-- 1 jenkins jenkins 12 Feb 6 04:26 VERSION 04:28:46 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:26 bin 04:28:46 -rw-r--r-- 1 jenkins jenkins 99763 Feb 6 04:28 coverage.out 04:28:46 drwxrwxr-x 5 jenkins jenkins 4096 Feb 6 04:26 example 04:28:46 -rw-rw-r-- 1 jenkins jenkins 3264 Feb 6 04:26 go.mod 04:28:46 -rw-rw-r-- 1 jenkins jenkins 32817 Feb 6 04:26 go.sum 04:28:46 drwxrwxr-x 13 jenkins jenkins 4096 Feb 6 04:26 internal 04:28:46 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:26 openapi 04:28:46 drwxrwxr-x 6 jenkins jenkins 4096 Feb 6 04:26 pkg 04:28:46 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:26 snap 04:28:46 -rw-rw-r-- 1 jenkins jenkins 222 Feb 6 04:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:46 + sudo service docker restart 04:28:46 + 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=3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 --label arch=amd64 --label version=3.0.0-dev.19 . 04:28:46 Sending build context to Docker daemon 10.6MB 04:28:46 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:28:46 Step 2/23 : FROM ${BASE} AS builder 04:28:46 ---> ceb16d768e20 04:28:46 Step 3/23 : ARG MAKE=make build 04:28:46 ---> Running in a905dab7467d 04:28:46 Removing intermediate container a905dab7467d 04:28:46 ---> 5a814be0aabe 04:28:46 Step 4/23 : WORKDIR /device-sdk-go 04:28:46 ---> Running in 6fdc6731b131 04:28:46 Removing intermediate container 6fdc6731b131 04:28:46 ---> 560390d16f36 04:28:46 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:28:47 ---> Running in d3bde61ee895 04:28:47 Removing intermediate container d3bde61ee895 04:28:47 ---> 8895031c20f2 04:28:47 Step 6/23 : RUN apk add --update --no-cache make git 04:28:47 ---> Running in 177758bce0d1 04:28:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:28:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:28:47 OK: 211 MiB in 51 packages 04:28:48 Removing intermediate container 177758bce0d1 04:28:48 ---> 0ea5eefd5945 04:28:48 Step 7/23 : COPY go.mod vendor* ./ 04:28:48 ---> 340212ccbe96 04:28:48 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:28:48 ---> Running in c8c3e9eb5636 04:28:49 Removing intermediate container c8c3e9eb5636 04:28:49 ---> 79c77b7b9437 04:28:49 Step 9/23 : COPY . . 04:28:49 ---> 5c3b7061bd22 04:28:49 Step 10/23 : RUN ${MAKE} 04:28:49 ---> Running in d150603ee3c3 04:28:49 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.19" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:29:04 provisioning config files... 04:29:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/149@tmp/config5587933271077311020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:05 ---> docker-login.sh 04:29:05 nexus3.edgexfoundry.org:10001 04:29:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:05 Configure a credential helper to remove this warning. See 04:29:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:05 04:29:05 Login Succeeded 04:29:05 nexus3.edgexfoundry.org:10002 04:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:06 Configure a credential helper to remove this warning. See 04:29:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:06 04:29:06 Login Succeeded 04:29:06 nexus3.edgexfoundry.org:10003 04:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:06 Configure a credential helper to remove this warning. See 04:29:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:06 04:29:06 Login Succeeded 04:29:06 nexus3.edgexfoundry.org:10004 04:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:06 Configure a credential helper to remove this warning. See 04:29:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:06 04:29:06 Login Succeeded 04:29:06 docker.io 04:29:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:07 Configure a credential helper to remove this warning. See 04:29:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:07 04:29:07 Login Succeeded 04:29:07 ---> docker-login.sh ends [Pipeline] } 04:29:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:29:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:29:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:29:07 ========================================================= 04:29:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:29:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:08 + 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 . 04:29:08 Sending build context to Docker daemon 5.635MB 04:29:08 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:29:08 Step 2/10 : FROM ${BASE} AS builder 04:29:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:29:08 9b18e9b68314: Pulling fs layer 04:29:08 35d82f9e3411: Pulling fs layer 04:29:08 e16973657156: Pulling fs layer 04:29:08 fc693d55d65f: Pulling fs layer 04:29:08 7e9fc2657dce: Pulling fs layer 04:29:08 dda99020689f: Pulling fs layer 04:29:08 db1c61fa0a46: Pulling fs layer 04:29:08 891c053d2c06: Pulling fs layer 04:29:08 dda99020689f: Waiting 04:29:08 db1c61fa0a46: Waiting 04:29:08 891c053d2c06: Waiting 04:29:08 7e9fc2657dce: Waiting 04:29:08 fc693d55d65f: Waiting 04:29:08 e16973657156: Verifying Checksum 04:29:08 e16973657156: Download complete 04:29:08 35d82f9e3411: Verifying Checksum 04:29:08 35d82f9e3411: Download complete 04:29:08 7e9fc2657dce: Verifying Checksum 04:29:08 7e9fc2657dce: Download complete 04:29:08 dda99020689f: Verifying Checksum 04:29:08 dda99020689f: Download complete 04:29:08 9b18e9b68314: Download complete 04:29:09 9b18e9b68314: Pull complete 04:29:09 891c053d2c06: Verifying Checksum 04:29:09 891c053d2c06: Download complete 04:29:10 35d82f9e3411: Pull complete 04:29:10 e16973657156: Pull complete 04:29:11 db1c61fa0a46: Verifying Checksum 04:29:11 db1c61fa0a46: Download complete 04:29:11 fc693d55d65f: Download complete 04:29:11 Removing intermediate container d150603ee3c3 04:29:11 ---> 5ce3ca7ca8ed 04:29:11 Step 11/23 : FROM alpine:3.16 04:29:11 3.16: Pulling from library/alpine 04:29:11 ca7dd9ec2225: Pulling fs layer 04:29:11 ca7dd9ec2225: Verifying Checksum 04:29:11 ca7dd9ec2225: Download complete 04:29:11 ca7dd9ec2225: Pull complete 04:29:11 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:29:11 Status: Downloaded newer image for alpine:3.16 04:29:11 ---> bfe296a52501 04:29:11 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:29:11 ---> Running in 7e114adda4f2 04:29:11 Removing intermediate container 7e114adda4f2 04:29:11 ---> 53a4d3c14867 04:29:11 Step 13/23 : RUN apk add --update --no-cache 04:29:11 ---> Running in ae539e0472be 04:29:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:29:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:29:12 OK: 6 MiB in 14 packages 04:29:13 Removing intermediate container ae539e0472be 04:29:13 ---> 081ade0857e8 04:29:13 Step 14/23 : WORKDIR / 04:29:13 ---> Running in 8d82367f7522 04:29:13 Removing intermediate container 8d82367f7522 04:29:13 ---> 5acc38f3937f 04:29:13 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:29:13 ---> b294f11949ee 04:29:13 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:29:14 ---> d9f8dd1a6849 04:29:14 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:29:14 ---> e032d56177f8 04:29:14 Step 18/23 : EXPOSE 59999 04:29:14 ---> Running in e43d1bfd35a9 04:29:14 Removing intermediate container e43d1bfd35a9 04:29:14 ---> 44aa1c7edfbc 04:29:14 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:29:14 ---> Running in 9a406d02419f 04:29:14 Removing intermediate container 9a406d02419f 04:29:14 ---> 75c8635e005c 04:29:14 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:29:14 ---> Running in 7c9f5884f763 04:29:14 Removing intermediate container 7c9f5884f763 04:29:14 ---> fde8bc937ee2 04:29:14 Step 21/23 : LABEL arch=amd64 04:29:14 ---> Running in 0103bc348586 04:29:14 Removing intermediate container 0103bc348586 04:29:14 ---> 2c449e508a33 04:29:14 Step 22/23 : LABEL git_sha=3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 04:29:14 ---> Running in a1af9b4350e9 04:29:14 Removing intermediate container a1af9b4350e9 04:29:14 ---> b97c561faac5 04:29:14 Step 23/23 : LABEL version=3.0.0-dev.19 04:29:14 ---> Running in 979e8f9e61fd 04:29:14 Removing intermediate container 979e8f9e61fd 04:29:14 ---> 7d7a26c8c109 04:29:14 [Warning] One or more build-args [ARCH] were not consumed 04:29:14 Successfully built 7d7a26c8c109 04:29:14 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:15 04:29:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:15 latest: Pulling from edgex-lftools-log-publisher 04:29:15 5eb5b503b376: Pulling fs layer 04:29:15 5c69ac0246d0: Pulling fs layer 04:29:15 ec43610c2a17: Pulling fs layer 04:29:15 3a2ae6a8a46f: Pulling fs layer 04:29:15 33b1e0a273af: Pulling fs layer 04:29:15 5d3b04190fa2: Pulling fs layer 04:29:15 2f39f015ded8: Pulling fs layer 04:29:15 3a2ae6a8a46f: Waiting 04:29:15 33b1e0a273af: Waiting 04:29:15 5d3b04190fa2: Waiting 04:29:15 2f39f015ded8: Waiting 04:29:15 5c69ac0246d0: Verifying Checksum 04:29:15 5c69ac0246d0: Download complete 04:29:15 3a2ae6a8a46f: Download complete 04:29:16 33b1e0a273af: Verifying Checksum 04:29:16 33b1e0a273af: Download complete 04:29:16 5d3b04190fa2: Download complete 04:29:16 ec43610c2a17: Verifying Checksum 04:29:16 ec43610c2a17: Download complete 04:29:16 5eb5b503b376: Verifying Checksum 04:29:16 5eb5b503b376: Download complete 04:29:17 2f39f015ded8: Download complete 04:29:17 5eb5b503b376: Pull complete 04:29:17 5c69ac0246d0: Pull complete 04:29:18 ec43610c2a17: Pull complete 04:29:18 3a2ae6a8a46f: Pull complete 04:29:18 33b1e0a273af: Pull complete 04:29:18 5d3b04190fa2: Pull complete 04:29:23 2f39f015ded8: Pull complete 04:29:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:29:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } 04:29:23 fc693d55d65f: Pull complete 04:29:23 7e9fc2657dce: Pull complete 04:29:23 dda99020689f: Pull complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:24 prd-ubuntu20.04-docker-8c-8g-4624 does not seem to be running inside a container 04:29:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:29:27 $ docker top 905fce5df5d4d812fc1a69a290f95b958e44ba36a900d87d9a5e369b0dbe74be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:27 ---> job-cost.sh 04:29:27 lf-activate-venv: SKIPPING 04:29:27 INFO: No Stack... 04:29:28 INFO: Retrieving Pricing Info for: v3-standard-8 04:29:28 INFO: Archiving Costs [Pipeline] sh 04:29:28 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:29:28 + cut -d, -f6 [Pipeline] lock 04:29:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-149-stack-cost] 04:29:28 Resource [jenkins-edgexfoundry-device-sdk-go-main-149-stack-cost] did not exist. Created. 04:29:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-149-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:29:29 + echo total: 0.2199999988079071 [Pipeline] stash 04:29:29 Stashed 1 file(s) [Pipeline] } 04:29:29 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-149-stack-cost] [Pipeline] // lock [Pipeline] } 04:29:29 $ docker stop --time=1 905fce5df5d4d812fc1a69a290f95b958e44ba36a900d87d9a5e369b0dbe74be 04:29:30 $ docker rm -f --volumes 905fce5df5d4d812fc1a69a290f95b958e44ba36a900d87d9a5e369b0dbe74be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:29:30 db1c61fa0a46: Pull complete 04:29:32 891c053d2c06: Pull complete 04:29:32 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:29:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:29:32 ---> f96f9c87975a 04:29:32 Step 3/10 : ARG MAKE=make build 04:29:33 ---> Running in 71ca0d0b14bf 04:29:33 Removing intermediate container 71ca0d0b14bf 04:29:33 ---> 18229187ad5d 04:29:33 Step 4/10 : WORKDIR /device-sdk-go 04:29:34 ---> Running in 5e39084303f7 04:29:34 Removing intermediate container 5e39084303f7 04:29:34 ---> 0f906b656154 04:29:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:29:34 ---> Running in c358e4ececc2 04:29:34 Removing intermediate container c358e4ececc2 04:29:34 ---> d506e99be213 04:29:34 Step 6/10 : RUN apk add --update --no-cache make git 04:29:34 ---> Running in 98ae78180645 04:29:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:29:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:29:37 OK: 221 MiB in 51 packages 04:29:40 Removing intermediate container 98ae78180645 04:29:40 ---> 742be4d156aa 04:29:40 Step 7/10 : COPY go.mod vendor* ./ 04:29:40 ---> 669bb8cb66d0 04:29:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:29:40 ---> Running in d5a6ff75e7c1 04:30:48 Removing intermediate container d5a6ff75e7c1 04:30:48 ---> e26cf3d2faec 04:30:48 Step 9/10 : COPY . . 04:30:48 ---> 86c1e963475f 04:30:48 Step 10/10 : RUN ${MAKE} 04:30:48 ---> Running in 7173747a98f6 04:30:48 noop 04:30:48 Removing intermediate container 7173747a98f6 04:30:48 ---> 08a91b882337 04:30:48 Successfully built 08a91b882337 04:30:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:49 + docker inspect -f . ci-base-image-arm64 04:30:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:49 prd-ubuntu20.04-docker-arm64-4c-16g-4625 does not seem to be running inside a container 04:30:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/149 -v /w/workspace/device-sdk-go/149:/w/workspace/device-sdk-go/149:rw,z -v /w/workspace/device-sdk-go/149@tmp:/w/workspace/device-sdk-go/149@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 04:30:50 $ docker top 29fc91115faf0dfd59a9e0f0bb2666b0cb9aa6b6e566bcffb602edbf2275fad7 -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:51 + go version 04:30:51 go version go1.18.7 linux/arm64 [Pipeline] } 04:30:51 $ docker stop --time=1 29fc91115faf0dfd59a9e0f0bb2666b0cb9aa6b6e566bcffb602edbf2275fad7 04:30:52 $ docker rm -f --volumes 29fc91115faf0dfd59a9e0f0bb2666b0cb9aa6b6e566bcffb602edbf2275fad7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:53 + docker inspect -f . ci-base-image-arm64 04:30:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:53 prd-ubuntu20.04-docker-arm64-4c-16g-4625 does not seem to be running inside a container 04:30:53 $ 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/149 -v /w/workspace/device-sdk-go/149:/w/workspace/device-sdk-go/149:rw,z -v /w/workspace/device-sdk-go/149@tmp:/w/workspace/device-sdk-go/149@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 04:30:54 $ docker top 98b17280582cd8b47f0d414c8bca9191e1a05633821a02d8723fa0d9ae2af162 -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:55 + git config --global --add safe.directory /w/workspace/device-sdk-go/149 [Pipeline] fileExists [Pipeline] sh 04:30:56 + make test 04:30:56 go test -race -coverprofile=coverage.out ./... 04:31:28 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:33:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:33:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:33:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:33:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:33:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:33:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.318s coverage: 27.6% of statements 04:33:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.279s coverage: 78.9% of statements 04:33:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:33:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.629s coverage: 70.2% of statements 04:33:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:33:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:33:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.530s coverage: 59.8% of statements 04:33:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:33:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:33:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:33:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.452s coverage: 65.1% of statements 04:33:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:33:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:33:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.461s coverage: 89.2% of statements 04:33:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:33:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.500s coverage: 4.7% of statements 04:33:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:33:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:33:37 GO111MODULE=on go vet ./... 04:35:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:35:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:35:14 ./bin/test-attribution-txt.sh [Pipeline] echo 04:35:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:35:14 $ docker stop --time=1 98b17280582cd8b47f0d414c8bca9191e1a05633821a02d8723fa0d9ae2af162 04:35:17 $ docker rm -f --volumes 98b17280582cd8b47f0d414c8bca9191e1a05633821a02d8723fa0d9ae2af162 [Pipeline] // withDockerContainer [Pipeline] sh 04:35:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:35:18 Warning: overwriting stash ‘coverage-report’ 04:35:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:35:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:35:20 + ls -al . 04:35:20 total 268 04:35:20 drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 04:30 . 04:35:20 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:28 .. 04:35:20 -rw-rw-r-- 1 jenkins jenkins 140 Feb 6 04:28 .dockerignore 04:35:20 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 04:28 .git 04:35:20 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:28 .github 04:35:20 -rw-rw-r-- 1 jenkins jenkins 131 Feb 6 04:28 .gitignore 04:35:20 -rw-rw-r-- 1 jenkins jenkins 42 Feb 6 04:28 .golangci.yml 04:35:20 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 6 04:28 CHANGELOG.md 04:35:20 -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 04:28 GOVERNANCE.md 04:35:20 -rw-rw-r-- 1 jenkins jenkins 885 Feb 6 04:28 Jenkinsfile 04:35:20 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 6 04:28 LICENSE 04:35:20 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 6 04:28 Makefile 04:35:20 -rw-rw-r-- 1 jenkins jenkins 619 Feb 6 04:28 OWNERS.md 04:35:20 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 6 04:28 README.md 04:35:20 -rw-rw-r-- 1 jenkins jenkins 12 Feb 6 04:26 VERSION 04:35:20 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:28 bin 04:35:20 -rw-r--r-- 1 jenkins jenkins 99762 Feb 6 04:33 coverage.out 04:35:20 drwxrwxr-x 5 jenkins jenkins 4096 Feb 6 04:28 example 04:35:20 -rw-rw-r-- 1 jenkins jenkins 3264 Feb 6 04:28 go.mod 04:35:20 -rw-rw-r-- 1 jenkins jenkins 32817 Feb 6 04:28 go.sum 04:35:20 drwxrwxr-x 13 jenkins jenkins 4096 Feb 6 04:28 internal 04:35:20 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:28 openapi 04:35:20 drwxrwxr-x 6 jenkins jenkins 4096 Feb 6 04:28 pkg 04:35:20 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:28 snap 04:35:20 -rw-rw-r-- 1 jenkins jenkins 222 Feb 6 04:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:20 + 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=3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 --label arch=arm64 --label version=3.0.0-dev.19 . 04:35:20 Sending build context to Docker daemon 5.735MB 04:35:20 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:35:20 Step 2/23 : FROM ${BASE} AS builder 04:35:20 ---> 08a91b882337 04:35:20 Step 3/23 : ARG MAKE=make build 04:35:20 ---> Running in 47db6f011aad 04:35:21 Removing intermediate container 47db6f011aad 04:35:21 ---> 055384c7f2e1 04:35:21 Step 4/23 : WORKDIR /device-sdk-go 04:35:21 ---> Running in 0eddcfda924e 04:35:21 Removing intermediate container 0eddcfda924e 04:35:21 ---> 5235947e13be 04:35:21 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:35:21 ---> Running in c46e13c8a515 04:35:21 Removing intermediate container c46e13c8a515 04:35:21 ---> 3b15b3643b2a 04:35:21 Step 6/23 : RUN apk add --update --no-cache make git 04:35:21 ---> Running in daba6074d859 04:35:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:35:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:35:24 OK: 221 MiB in 51 packages 04:35:25 Removing intermediate container daba6074d859 04:35:25 ---> 2e505ff979ab 04:35:25 Step 7/23 : COPY go.mod vendor* ./ 04:35:25 ---> 65ce691ad475 04:35:25 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:35:25 ---> Running in 421a5120edcd 04:35:28 Removing intermediate container 421a5120edcd 04:35:28 ---> d38a77727d0d 04:35:28 Step 9/23 : COPY . . 04:35:30 ---> d84bb7260446 04:35:30 Step 10/23 : RUN ${MAKE} 04:35:30 ---> Running in 9dc6ac0a5c5a 04:35:30 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.19" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:37:37 Removing intermediate container 9dc6ac0a5c5a 04:37:37 ---> c22bce83274a 04:37:37 Step 11/23 : FROM alpine:3.16 04:37:37 3.16: Pulling from library/alpine 04:37:37 6875df1f5354: Pulling fs layer 04:37:37 6875df1f5354: Verifying Checksum 04:37:37 6875df1f5354: Download complete 04:37:37 6875df1f5354: Pull complete 04:37:37 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:37:37 Status: Downloaded newer image for alpine:3.16 04:37:37 ---> 2b4661558fb8 04:37:37 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:37:37 ---> Running in df7bec286409 04:37:37 Removing intermediate container df7bec286409 04:37:37 ---> 4a3f64221702 04:37:37 Step 13/23 : RUN apk add --update --no-cache 04:37:37 ---> Running in bf425b149a14 04:37:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:37:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:37:40 OK: 5 MiB in 14 packages 04:37:41 Removing intermediate container bf425b149a14 04:37:41 ---> 65da0c3b6b0f 04:37:41 Step 14/23 : WORKDIR / 04:37:41 ---> Running in 9fc786b2102f 04:37:41 Removing intermediate container 9fc786b2102f 04:37:41 ---> e2f6f14ca9b0 04:37:41 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:37:41 ---> 025a1748a717 04:37:41 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:37:43 ---> ebfb81c95220 04:37:43 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:37:43 ---> 7035eef1118f 04:37:43 Step 18/23 : EXPOSE 59999 04:37:43 ---> Running in b49914a56d19 04:37:43 Removing intermediate container b49914a56d19 04:37:43 ---> 7d922627daa1 04:37:43 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:37:43 ---> Running in 4603eea18db5 04:37:44 Removing intermediate container 4603eea18db5 04:37:44 ---> 4d677976e312 04:37:44 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:37:44 ---> Running in 2cfb9956e375 04:37:44 Removing intermediate container 2cfb9956e375 04:37:44 ---> 2b4692aeeb1a 04:37:44 Step 21/23 : LABEL arch=arm64 04:37:44 ---> Running in 6ee03269f6b7 04:37:44 Removing intermediate container 6ee03269f6b7 04:37:44 ---> 897ecc89b07b 04:37:44 Step 22/23 : LABEL git_sha=3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 04:37:44 ---> Running in 5366ec477c41 04:37:45 Removing intermediate container 5366ec477c41 04:37:45 ---> 2edaf6bb0bea 04:37:45 Step 23/23 : LABEL version=3.0.0-dev.19 04:37:45 ---> Running in 3e21e0c27e43 04:37:45 Removing intermediate container 3e21e0c27e43 04:37:45 ---> 2764c28f1e1a 04:37:45 [Warning] One or more build-args [ARCH] were not consumed 04:37:45 Successfully built 2764c28f1e1a 04:37:45 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 04:37:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:37:45 04:37:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:37:46 arm64: Pulling from edgex-lftools-log-publisher 04:37:46 8998bd30e6a1: Pulling fs layer 04:37:46 04944245beec: Pulling fs layer 04:37:46 699f458cf7ca: Pulling fs layer 04:37:46 765212b225bb: Pulling fs layer 04:37:46 f23df028b6ca: Pulling fs layer 04:37:46 d65c8cfc05b1: Pulling fs layer 04:37:46 2437ff75d9bd: Pulling fs layer 04:37:46 f23df028b6ca: Waiting 04:37:46 d65c8cfc05b1: Waiting 04:37:46 765212b225bb: Waiting 04:37:46 2437ff75d9bd: Waiting 04:37:46 04944245beec: Verifying Checksum 04:37:46 04944245beec: Download complete 04:37:46 765212b225bb: Verifying Checksum 04:37:46 765212b225bb: Download complete 04:37:46 f23df028b6ca: Download complete 04:37:46 d65c8cfc05b1: Verifying Checksum 04:37:46 d65c8cfc05b1: Download complete 04:37:46 699f458cf7ca: Verifying Checksum 04:37:46 699f458cf7ca: Download complete 04:37:46 8998bd30e6a1: Download complete 04:37:49 2437ff75d9bd: Verifying Checksum 04:37:49 2437ff75d9bd: Download complete 04:37:50 8998bd30e6a1: Pull complete 04:37:50 04944245beec: Pull complete 04:37:52 699f458cf7ca: Pull complete 04:37:52 765212b225bb: Pull complete 04:37:52 f23df028b6ca: Pull complete 04:37:53 d65c8cfc05b1: Pull complete 04:38:05 2437ff75d9bd: Pull complete 04:38:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:38:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:38:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:05 prd-ubuntu20.04-docker-arm64-4c-16g-4625 does not seem to be running inside a container 04:38:05 $ 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/149 -v /w/workspace/device-sdk-go/149:/w/workspace/device-sdk-go/149:rw,z -v /w/workspace/device-sdk-go/149@tmp:/w/workspace/device-sdk-go/149@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 04:38:08 $ docker top cb57a6db98669f6c30feaa5c2fc0c646ba7828127d2269bc5c79746a0cc69def -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:38:09 ---> job-cost.sh 04:38:09 lf-activate-venv: SKIPPING 04:38:09 INFO: No Stack... 04:38:09 INFO: Retrieving Pricing Info for: v3-standard-4 04:38:10 INFO: Archiving Costs [Pipeline] sh 04:38:10 + cat /w/workspace/device-sdk-go/149/archives/cost.csv 04:38:10 + cut -d, -f6 [Pipeline] lock 04:38:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-149-stack-cost] 04:38:11 Resource [jenkins-edgexfoundry-device-sdk-go-main-149-stack-cost] did not exist. Created. 04:38:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-149-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:38:11 /w/workspace/device-sdk-go/149@tmp/durable-5acdb186/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:38:12 + echo total: 0.10999999940395355 [Pipeline] stash 04:38:12 Warning: overwriting stash ‘stack-cost’ 04:38:12 Stashed 1 file(s) [Pipeline] } 04:38:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-149-stack-cost] [Pipeline] // lock [Pipeline] } 04:38:12 $ docker stop --time=1 cb57a6db98669f6c30feaa5c2fc0c646ba7828127d2269bc5c79746a0cc69def 04:38:13 $ docker rm -f --volumes cb57a6db98669f6c30feaa5c2fc0c646ba7828127d2269bc5c79746a0cc69def [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 04:38:14 provisioning config files... 04:38:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10729875898533451260tmp [Pipeline] { [Pipeline] sh 04:38:14 + set +x 04:38:14 + curl -s https://codecov.io/bash 04:38:14 + bash -s -- 04:38:14 04:38:14 _____ _ 04:38:14 / ____| | | 04:38:14 | | ___ __| | ___ ___ _____ __ 04:38:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:38:14 | |___| (_) | (_| | __/ (_| (_) \ V / 04:38:14 \_____\___/ \__,_|\___|\___\___/ \_/ 04:38:14 Bash-1.0.6 04:38:14 04:38:14 04:38:14 ==> git version 2.25.1 found 04:38:14 ==> 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 04:38:14 Release-Date: 2020-01-08 04:38:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:38:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:38:14 ==> Jenkins CI detected. 04:38:14 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 04:38:14 project root: . 04:38:14 --> token set from env 04:38:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:38:14 ==> Running gcov in . (disable via -X gcov) 04:38:14 ==> Python coveragepy not found 04:38:14 ==> Searching for coverage reports in: 04:38:14 + . 04:38:14 -> Found 1 reports 04:38:14 ==> Detecting git/mercurial file structure 04:38:14 ==> Reading reports 04:38:14 + ./coverage.out bytes=99762 04:38:14 ==> Appending adjustments 04:38:14 https://docs.codecov.io/docs/fixing-reports 04:38:15 + Found adjustments 04:38:15 ==> Gzipping contents 04:38:15 16K /tmp/codecov.heXl8a.gz 04:38:15 ==> Uploading reports 04:38:15 url: https://codecov.io 04:38:15 query: branch=main&commit=3773e8a09c42b3e5a0abcc52fe8487ac954c24c5&build=149&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F149%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:38:15 -> Pinging Codecov 04:38:15 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=3773e8a09c42b3e5a0abcc52fe8487ac954c24c5&build=149&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F149%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:38:15 -> Uploading to 04:38:15 https://storage.googleapis.com/codecov/v4/raw/2023-02-06/7E55EF52A471D76F132DFD9A03CDDE97/3773e8a09c42b3e5a0abcc52fe8487ac954c24c5/0d4e81d4-d161-4192-b0ee-43f3e655c017.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230206T043815Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=09989274e37d0ba820a47e3466238ec6a63bdbfb95e425c9a2054235736cfd62 04:38:15 % Total % Received % Xferd Average Speed Time Time Time Current 04:38:15 Dload Upload Total Spent Left Speed 04:38:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14422 0 0 100 14422 0 41442 --:--:-- --:--:-- --:--:-- 41323 04:38:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 [Pipeline] } 04:38:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:38:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:38:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:38:16 04:38:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:38:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:38:16 df9b9388f04a: Pulling fs layer 04:38:16 52dc419b0ee2: Pulling fs layer 04:38:16 25bc292e5bac: Pulling fs layer 04:38:16 114826534d7a: Pulling fs layer 04:38:16 4657fd5d0bcf: Pulling fs layer 04:38:16 6ad1cebc031e: Pulling fs layer 04:38:16 8a3aa393b2d8: Pulling fs layer 04:38:16 114826534d7a: Waiting 04:38:16 4657fd5d0bcf: Waiting 04:38:16 6ad1cebc031e: Waiting 04:38:16 8a3aa393b2d8: Waiting 04:38:16 25bc292e5bac: Download complete 04:38:16 52dc419b0ee2: Verifying Checksum 04:38:16 52dc419b0ee2: Download complete 04:38:16 4657fd5d0bcf: Verifying Checksum 04:38:16 4657fd5d0bcf: Download complete 04:38:16 df9b9388f04a: Verifying Checksum 04:38:16 df9b9388f04a: Download complete 04:38:17 df9b9388f04a: Pull complete 04:38:17 52dc419b0ee2: Pull complete 04:38:17 6ad1cebc031e: Verifying Checksum 04:38:17 6ad1cebc031e: Download complete 04:38:17 25bc292e5bac: Pull complete 04:38:17 114826534d7a: Verifying Checksum 04:38:17 114826534d7a: Download complete 04:38:18 8a3aa393b2d8: Verifying Checksum 04:38:18 8a3aa393b2d8: Download complete 04:38:21 114826534d7a: Pull complete 04:38:21 4657fd5d0bcf: Pull complete 04:38:22 6ad1cebc031e: Pull complete 04:38:25 8a3aa393b2d8: Pull complete 04:38:25 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:38:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:38:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:25 prd-ubuntu20.04-docker-8c-8g-4624 does not seem to be running inside a container 04:38:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:38:30 $ docker top a4bb7e73c78a5cdef8b7046a89a94b88bcbf32b9d4c37b38db99e6cd8cc247d9 -eo pid,comm [Pipeline] { [Pipeline] echo 04:38:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 04:38:30 + set -o pipefail 04:38:30 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 04:38:34 04:38:34 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 04:38:34 04:38:34 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/5d10ce2a-32da-4bd8-b5af-e1b090a614ad 04:38:34 04:38:34 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:38:34 04:38:35 04:38:35 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:38:35 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:38:35 More details here: https://snyk.co/ue1NS [Pipeline] } 04:38:35 $ docker stop --time=1 a4bb7e73c78a5cdef8b7046a89a94b88bcbf32b9d4c37b38db99e6cd8cc247d9 04:38:38 $ docker rm -f --volumes a4bb7e73c78a5cdef8b7046a89a94b88bcbf32b9d4c37b38db99e6cd8cc247d9 [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 04:38:39 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:38:39 provisioning config files... 04:38:39 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5295463733305310524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:38:39 --> edgex-publish-swagger.sh 04:38:39 === Publish openapi/v3 API === 04:38:39 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 04:38:39 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 04:38:39 % Total % Received % Xferd Average Speed Time Time Time Current 04:38:39 Dload Upload Total Spent Left Speed 04:38:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47094 0 0 100 47094 0 219k --:--:-- --:--:-- --:--:-- 217k 100 47094 0 0 100 47094 0 71899 --:--:-- --:--:-- --:--:-- 71789 04:38:40 04:38:40 [Pipeline] } 04:38:40 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 04:38:40 + git log --format=format:%s -1 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 [Pipeline] sh 04:38:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:38:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:38:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:41 prd-ubuntu20.04-docker-8c-8g-4624 does not seem to be running inside a container 04:38:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:38:41 $ docker top 108051dc532781fb02d715420f180bebbb2b01ff758471e04c5508cb9fcab2c0 -eo pid,comm 04:38:41 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). 04:38:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:38:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:38:41 [ssh-agent] Looking for ssh-agent implementation... 04:38:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:38:41 $ docker exec 108051dc532781fb02d715420f180bebbb2b01ff758471e04c5508cb9fcab2c0 ssh-agent 04:38:42 SSH_AUTH_SOCK=/tmp/ssh-5zNpxEZvzY6e/agent.34 04:38:42 SSH_AGENT_PID=40 04:38:42 Running ssh-add (command line suppressed) 04:38:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8314897109387969924.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8314897109387969924.key) 04:38:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:38:42 + git semver tag 04:38:42 2023-02-06 04:38:42,645 [run_tag] DEBUG tag force:False 04:38:42 2023-02-06 04:38:42,646 [check_head_tag] DEBUG check head tag 04:38:42 2023-02-06 04:38:42,647 [execute] INFO git cat-file --batch-check 04:38:42 2023-02-06 04:38:42,647 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:38:42 2023-02-06 04:38:42,652 [execute] INFO git cat-file --batch 04:38:42 2023-02-06 04:38:42,652 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:38:42 2023-02-06 04:38:42,682 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:38:42 2023-02-06 04:38:42,682 [execute] INFO git tag -a v3.0.0-dev.19 -m v3.0.0-dev.19 04:38:42 2023-02-06 04:38:42,682 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.19', '-m', 'v3.0.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:38:42 2023-02-06 04:38:42,688 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:38:42 3.0.0-dev.19 [Pipeline] } 04:38:42 $ docker exec --env ******** --env ******** 108051dc532781fb02d715420f180bebbb2b01ff758471e04c5508cb9fcab2c0 ssh-agent -k 04:38:43 unset SSH_AUTH_SOCK; 04:38:43 unset SSH_AGENT_PID; 04:38:43 echo Agent pid 40 killed; 04:38:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:38:43 + git semver [Pipeline] } 04:38:43 $ docker stop --time=1 108051dc532781fb02d715420f180bebbb2b01ff758471e04c5508cb9fcab2c0 04:38:44 $ docker rm -f --volumes 108051dc532781fb02d715420f180bebbb2b01ff758471e04c5508cb9fcab2c0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:38:45 04:38:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:38:45 0.23.1-centos7: Pulling from edgex-lftools 04:38:45 ab5ef0e58194: Pulling fs layer 04:38:45 9712f1f96733: Pulling fs layer 04:38:45 63f879dbbcfc: Pulling fs layer 04:38:45 0d9ebad4ef96: Pulling fs layer 04:38:45 e9a5061849ea: Pulling fs layer 04:38:45 d747dcd14b5f: Pulling fs layer 04:38:45 2de7ff778b66: Pulling fs layer 04:38:45 0d9ebad4ef96: Waiting 04:38:45 e9a5061849ea: Waiting 04:38:45 d747dcd14b5f: Waiting 04:38:45 2de7ff778b66: Waiting 04:38:45 9712f1f96733: Download complete 04:38:46 63f879dbbcfc: Verifying Checksum 04:38:46 63f879dbbcfc: Download complete 04:38:46 e9a5061849ea: Verifying Checksum 04:38:46 e9a5061849ea: Download complete 04:38:46 d747dcd14b5f: Download complete 04:38:46 ab5ef0e58194: Verifying Checksum 04:38:46 ab5ef0e58194: Download complete 04:38:46 0d9ebad4ef96: Verifying Checksum 04:38:46 0d9ebad4ef96: Download complete 04:38:46 2de7ff778b66: Verifying Checksum 04:38:46 2de7ff778b66: Download complete 04:38:50 ab5ef0e58194: Pull complete 04:38:50 9712f1f96733: Pull complete 04:38:50 63f879dbbcfc: Pull complete 04:38:54 0d9ebad4ef96: Pull complete 04:38:54 e9a5061849ea: Pull complete 04:38:54 d747dcd14b5f: Pull complete 04:38:56 2de7ff778b66: Pull complete 04:38:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:38:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:38:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:56 prd-ubuntu20.04-docker-8c-8g-4624 does not seem to be running inside a container 04:38:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:39:01 $ docker top 86428bffb68f03ecd9b392b0377191b8b5ce212ec88abb0a5c9979e65438db01 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:39:01 provisioning config files... 04:39:01 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2136749712264653468tmp 04:39:01 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17681902909132378151tmp 04:39:01 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11210122208244649303tmp [Pipeline] { [Pipeline] echo 04:39:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:39:02 ---> sigul-configuration.sh 04:39:02 gpg: directory `/root/.gnupg' created 04:39:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:39:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:39:02 gpg: keyring `/root/.gnupg/secring.gpg' created 04:39:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:39:02 gpg: CAST5 encrypted data 04:39:02 gpg: encrypted with 1 passphrase 04:39:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:39:02 + mkdir /home/jenkins 04:39:02 + mkdir /home/jenkins/sigul [Pipeline] sh 04:39:02 + 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 04:39:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:39:02 ---> sigul-install.sh 04:39:02 Sigul already installed; skipping installation. [Pipeline] sh 04:39:03 + git tag --list 04:39:03 0.7.1 04:39:03 delhi-tag 04:39:03 v1.0.0 04:39:03 v1.1.0 04:39:03 v1.1.1 04:39:03 v1.1.2 04:39:03 v1.2.0 04:39:03 v1.2.1 04:39:03 v1.2.2 04:39:03 v1.2.3 04:39:03 v1.3.0 04:39:03 v1.4.0 04:39:03 v2.0.0 04:39:03 v2.1.0 04:39:03 v2.1.1 04:39:03 v2.1.1-dev.2 04:39:03 v2.1.1-dev.3 04:39:03 v2.2.0 04:39:03 v2.2.1-dev.1 04:39:03 v2.2.1-dev.10 04:39:03 v2.2.1-dev.11 04:39:03 v2.2.1-dev.12 04:39:03 v2.2.1-dev.13 04:39:03 v2.2.1-dev.14 04:39:03 v2.2.1-dev.2 04:39:03 v2.2.1-dev.3 04:39:03 v2.2.1-dev.4 04:39:03 v2.2.1-dev.5 04:39:03 v2.2.1-dev.6 04:39:03 v2.2.1-dev.7 04:39:03 v2.2.1-dev.8 04:39:03 v2.2.1-dev.9 04:39:03 v2.3.0 04:39:03 v2.3.0-dev.14 04:39:03 v2.3.0-dev.15 04:39:03 v2.3.0-dev.16 04:39:03 v2.3.0-dev.17 04:39:03 v2.3.0-dev.18 04:39:03 v2.3.0-dev.19 04:39:03 v2.3.0-dev.20 04:39:03 v2.3.0-dev.21 04:39:03 v2.3.0-dev.22 04:39:03 v2.3.0-dev.23 04:39:03 v2.3.0-dev.24 04:39:03 v2.3.0-dev.25 04:39:03 v2.3.0-dev.26 04:39:03 v2.3.0-dev.27 04:39:03 v2.3.0-dev.28 04:39:03 v2.3.0-dev.29 04:39:03 v2.3.0-dev.30 04:39:03 v2.3.0-dev.31 04:39:03 v2.3.0-dev.32 04:39:03 v2.3.0-dev.33 04:39:03 v2.3.0-dev.34 04:39:03 v2.3.0-dev.35 04:39:03 v2.3.0-dev.36 04:39:03 v2.3.0-dev.37 04:39:03 v2.3.0-dev.38 04:39:03 v2.3.0-dev.39 04:39:03 v2.3.0-dev.40 04:39:03 v2.3.0-dev.41 04:39:03 v2.3.0-dev.42 04:39:03 v2.3.0-dev.43 04:39:03 v2.3.0-dev.44 04:39:03 v2.3.0-dev.45 04:39:03 v2.3.0-dev.46 04:39:03 v2.3.0-dev.47 04:39:03 v2.3.0-dev.48 04:39:03 v2.3.0-dev.49 04:39:03 v2.3.0-dev.50 04:39:03 v2.3.0-dev.51 04:39:03 v2.3.1-dev.1 04:39:03 v2.3.1-dev.2 04:39:03 v3.0.0-dev.1 04:39:03 v3.0.0-dev.10 04:39:03 v3.0.0-dev.11 04:39:03 v3.0.0-dev.12 04:39:03 v3.0.0-dev.13 04:39:03 v3.0.0-dev.14 04:39:03 v3.0.0-dev.15 04:39:03 v3.0.0-dev.16 04:39:03 v3.0.0-dev.17 04:39:03 v3.0.0-dev.18 04:39:03 v3.0.0-dev.19 04:39:03 v3.0.0-dev.2 04:39:03 v3.0.0-dev.3 04:39:03 v3.0.0-dev.4 04:39:03 v3.0.0-dev.5 04:39:03 v3.0.0-dev.6 04:39:03 v3.0.0-dev.7 04:39:03 v3.0.0-dev.8 04:39:03 v3.0.0-dev.9 [Pipeline] sh 04:39:03 + lftools sign git-tag v3.0.0-dev.19 04:39:04 Signing Git tag with Sigul... 04:39:04 Signing v3.0.0-dev.19 [Pipeline] echo 04:39:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:39:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:39:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:39:04 $ docker stop --time=1 86428bffb68f03ecd9b392b0377191b8b5ce212ec88abb0a5c9979e65438db01 04:39:06 $ docker rm -f --volumes 86428bffb68f03ecd9b392b0377191b8b5ce212ec88abb0a5c9979e65438db01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:39:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:39:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:39:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:39:06 prd-ubuntu20.04-docker-8c-8g-4624 does not seem to be running inside a container 04:39:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:39:07 $ docker top 9f99b6d72749ff3a9aab190856f5cf1c0bdf3b2c774353fdc2b36d50caf69507 -eo pid,comm 04:39:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:39:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:39:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:39:07 [ssh-agent] Looking for ssh-agent implementation... 04:39:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:39:07 $ docker exec 9f99b6d72749ff3a9aab190856f5cf1c0bdf3b2c774353fdc2b36d50caf69507 ssh-agent 04:39:07 SSH_AUTH_SOCK=/tmp/ssh-HLPDrxdxIjgR/agent.31 04:39:07 SSH_AGENT_PID=37 04:39:07 Running ssh-add (command line suppressed) 04:39:07 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9619431551361319075.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9619431551361319075.key) 04:39:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:39:08 + git semver bump pre 04:39:08 2023-02-06 04:39:08,173 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:39:08 2023-02-06 04:39:08,173 [bump_version] DEBUG bumping version:3.0.0-dev.19 on axis:pre with prefix:dev 04:39:08 2023-02-06 04:39:08,173 [bump_version] DEBUG bumped version:3.0.0-dev.20 04:39:08 2023-02-06 04:39:08,173 [write_version] DEBUG write version:3.0.0-dev.20 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 04:39:08 2023-02-06 04:39:08,173 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:39:08 2023-02-06 04:39:08,173 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:39:08 2023-02-06 04:39:08,175 [execute] INFO git cat-file --batch-check 04:39:08 2023-02-06 04:39:08,175 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:39:08 2023-02-06 04:39:08,181 [execute] INFO git cat-file --batch 04:39:08 2023-02-06 04:39:08,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:39:08 2023-02-06 04:39:08,186 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:39:08 3.0.0-dev.20 [Pipeline] } 04:39:08 $ docker exec --env ******** --env ******** 9f99b6d72749ff3a9aab190856f5cf1c0bdf3b2c774353fdc2b36d50caf69507 ssh-agent -k 04:39:08 unset SSH_AUTH_SOCK; 04:39:08 unset SSH_AGENT_PID; 04:39:08 echo Agent pid 37 killed; 04:39:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:39:08 + git semver [Pipeline] } 04:39:08 $ docker stop --time=1 9f99b6d72749ff3a9aab190856f5cf1c0bdf3b2c774353fdc2b36d50caf69507 04:39:10 $ docker rm -f --volumes 9f99b6d72749ff3a9aab190856f5cf1c0bdf3b2c774353fdc2b36d50caf69507 [Pipeline] // withDockerContainer [Pipeline] sh 04:39:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:39:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:39:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:39:10 prd-ubuntu20.04-docker-8c-8g-4624 does not seem to be running inside a container 04:39:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:39:11 $ docker top fb3f3c4df17c8ce2d98a5cc6df0f4a8da2ed91088674e25b839e3ff770517b1c -eo pid,comm 04:39:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:39:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:39:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:39:11 [ssh-agent] Looking for ssh-agent implementation... 04:39:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:39:11 $ docker exec fb3f3c4df17c8ce2d98a5cc6df0f4a8da2ed91088674e25b839e3ff770517b1c ssh-agent 04:39:11 SSH_AUTH_SOCK=/tmp/ssh-CN26MTkxwkvt/agent.32 04:39:11 SSH_AGENT_PID=38 04:39:11 Running ssh-add (command line suppressed) 04:39:11 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_748213631206590734.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_748213631206590734.key) 04:39:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:39:12 + git semver push 04:39:12 2023-02-06 04:39:12,322 [run_push] DEBUG push 04:39:12 2023-02-06 04:39:12,323 [execute] INFO git cat-file --batch-check 04:39:12 2023-02-06 04:39:12,323 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:39:12 2023-02-06 04:39:12,327 [execute] INFO git rev-list ed9a2273ad6689da7400eb25a6e76ad4d941eb68 -- 04:39:12 2023-02-06 04:39:12,328 [execute] DEBUG Popen(['git', 'rev-list', 'ed9a2273ad6689da7400eb25a6e76ad4d941eb68', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:39:12 2023-02-06 04:39:12,341 [execute] INFO git fetch -v origin 04:39:12 2023-02-06 04:39:12,341 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:39:12 2023-02-06 04:39:12,890 [run_push] DEBUG no remote changes detected 04:39:12 2023-02-06 04:39:12,890 [execute] INFO git push origin semver 04:39:12 2023-02-06 04:39:12,891 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:39:13 2023-02-06 04:39:13,846 [run_push] DEBUG push all version tags 04:39:13 2023-02-06 04:39:13,846 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:39:13 2023-02-06 04:39:13,847 [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) 04:39:14 2023-02-06 04:39:14,629 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:39:14 3.0.0-dev.20 [Pipeline] } 04:39:14 $ docker exec --env ******** --env ******** fb3f3c4df17c8ce2d98a5cc6df0f4a8da2ed91088674e25b839e3ff770517b1c ssh-agent -k 04:39:14 unset SSH_AUTH_SOCK; 04:39:14 unset SSH_AGENT_PID; 04:39:14 echo Agent pid 38 killed; 04:39:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:39:15 + git semver [Pipeline] } 04:39:15 $ docker stop --time=1 fb3f3c4df17c8ce2d98a5cc6df0f4a8da2ed91088674e25b839e3ff770517b1c 04:39:16 $ docker rm -f --volumes fb3f3c4df17c8ce2d98a5cc6df0f4a8da2ed91088674e25b839e3ff770517b1c [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 04:39:17 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 04:39:17 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:39:17 total 16 04:39:17 drwxr-xr-x 3 root root 4096 Feb 6 04:29 . 04:39:17 drwxrwxr-x 12 jenkins jenkins 4096 Feb 6 04:39 .. 04:39:17 drwxr-xr-x 2 root root 4096 Feb 6 04:29 cost 04:39:17 -rw-r--r-- 1 root root 85 Feb 6 04:29 cost.csv 04:39:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:39:17 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:39:17 total 16 04:39:17 drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 04:29 . 04:39:17 drwxrwxr-x 12 jenkins jenkins 4096 Feb 6 04:39 .. 04:39:17 drwxr-xr-x 2 jenkins jenkins 4096 Feb 6 04:29 cost 04:39:17 -rw-r--r-- 1 jenkins jenkins 85 Feb 6 04:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:39:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:39:18 ---> package-listing.sh 04:39:18 ++ facter osfamily 04:39:18 ++ tr '[:upper:]' '[:lower:]' 04:39:18 + OS_FAMILY=debian 04:39:18 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 04:39:18 + START_PACKAGES=/tmp/packages_start.txt 04:39:18 + END_PACKAGES=/tmp/packages_end.txt 04:39:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:39:18 + PACKAGES=/tmp/packages_start.txt 04:39:18 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:39:18 + PACKAGES=/tmp/packages_end.txt 04:39:18 + case "${OS_FAMILY}" in 04:39:18 + dpkg -l 04:39:18 + grep '^ii' 04:39:18 + '[' -f /tmp/packages_start.txt ']' 04:39:18 + '[' -f /tmp/packages_end.txt ']' 04:39:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:39:18 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:39:18 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 04:39:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 04:39:18 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 04:39:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:39:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:39:19 prd-ubuntu20.04-docker-8c-8g-4624 does not seem to be running inside a container 04:39:19 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:39:19 $ docker top 6758cd9de932490288707e404f878ea1e9de4e89ddbeb9b28a30a0c111836285 -eo pid,comm [Pipeline] { [Pipeline] sh 04:39:20 + touch /tmp/pre-build-complete [Pipeline] sh 04:39:20 + mkdir -p /var/log/sysstat [Pipeline] sh 04:39:20 + ls /var/log/sa-host 04:39:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:39:20 provisioning config files... 04:39:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9612139074997568958tmp [Pipeline] { [Pipeline] echo 04:39:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:39:21 ---> create-netrc.sh [Pipeline] } 04:39:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:39:21 ---> python-tools-install.sh [Pipeline] echo 04:39:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:39:21 ---> sudo-logs.sh 04:39:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:39:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:39:22 ---> job-cost.sh 04:39:22 lf-activate-venv: SKIPPING 04:39:22 DEBUG: total: 0.2199999988079071 04:39:22 INFO: Retrieving Stack Cost... 04:39:22 INFO: Retrieving Pricing Info for: v3-standard-8 04:39:22 INFO: Archiving Costs [Pipeline] echo 04:39:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:39:23 ---> logs-deploy.sh 04:39:23 lf-activate-venv: SKIPPING 04:39:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/149 04:39:23 INFO: archiving workspace using pattern(s): 04:39:24 Archives upload complete. 04:39:24 INFO: archiving logs to Nexus