Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f7da20bf34cbd31aed01d59c29d04f5a73da2a5d 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-ssh17470675510607265335.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-ssh12291130336586168618.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-ssh5560958977365526524.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-ssh14890743203877662166.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-ssh12986907070869893495.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-4518 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 f7da20bf34cbd31aed01d59c29d04f5a73da2a5d (main) Commit message: "Merge pull request #1295 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v3-3.0.0-dev.7" > 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 f7da20bf34cbd31aed01d59c29d04f5a73da2a5d # timeout=10 > git rev-list --no-walk 775e2b56bedf8d4ad3f90164e245819fbdab1870 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:06:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:06:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:06:26 ========================================================= 10:06:26 EdgeX Global Pipelines Version Info 10:06:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:06:27 ------------------- 10:06:27 stable info: 10:06:27 ------------------- 10:06:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:06:27 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:06:27 Message: update stable to v1.0.244 10:06:27 ------------------- 10:06:27 experimental info: 10:06:27 ------------------- 10:06:27 Commited By: **** collab-it+edgex@linuxfoundation.org 10:06:27 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:06:27 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7da20bf34cbd31aed01d59c29d04f5a73da2a5d [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7da20b [Pipeline] echo 10:06:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:06:28 provisioning config files... 10:06:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11164881502389500310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:06:28 ---> docker-login.sh 10:06:28 nexus3.edgexfoundry.org:10001 10:06:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:29 Configure a credential helper to remove this warning. See 10:06:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:29 10:06:29 Login Succeeded 10:06:29 nexus3.edgexfoundry.org:10002 10:06:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:29 Configure a credential helper to remove this warning. See 10:06:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:29 10:06:29 Login Succeeded 10:06:29 nexus3.edgexfoundry.org:10003 10:06:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:29 Configure a credential helper to remove this warning. See 10:06:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:29 10:06:29 Login Succeeded 10:06:29 nexus3.edgexfoundry.org:10004 10:06:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:29 Configure a credential helper to remove this warning. See 10:06:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:29 10:06:29 Login Succeeded 10:06:29 docker.io 10:06:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:29 Configure a credential helper to remove this warning. See 10:06:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:29 10:06:29 Login Succeeded 10:06:29 ---> docker-login.sh ends [Pipeline] } 10:06:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:06:30 + git rev-list -1 --merges f7da20bf34cbd31aed01d59c29d04f5a73da2a5d~1..f7da20bf34cbd31aed01d59c29d04f5a73da2a5d [Pipeline] echo 10:06:30 -----------> git rev-list -1 --merges f7da20bf34cbd31aed01d59c29d04f5a73da2a5d~1..f7da20bf34cbd31aed01d59c29d04f5a73da2a5d f7da20bf34cbd31aed01d59c29d04f5a73da2a5d 10:06:30 f7da20bf34cbd31aed01d59c29d04f5a73da2a5d [false] [Pipeline] sh 10:06:30 + git log --format=format:%s -1 f7da20bf34cbd31aed01d59c29d04f5a73da2a5d [Pipeline] echo 10:06:30 ========================================================= 10:06:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:06:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:06:30 + git log --format=format:%s -1 f7da20bf34cbd31aed01d59c29d04f5a73da2a5d [Pipeline] echo 10:06:30 [semverPrep] GIT_COMMIT: f7da20bf34cbd31aed01d59c29d04f5a73da2a5d, Commit Message: Merge pull request #1295 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v3-3.0.0-dev.7 [Pipeline] echo 10:06:30 [semverPrep] This is not a build commit. [Pipeline] sh 10:06:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:06:31 + grep -v github /etc/ssh/ssh_known_hosts 10:06:31 + [ -e /tmp/ssh_known_hosts ] 10:06:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:06:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:06:31 + sudo tee -a /etc/ssh/ssh_known_hosts 10:06:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:06:31 10:06:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:06:31 0.1.4: Pulling from edgex-devops/py-git-semver 10:06:31 b85a868b505f: Pulling fs layer 10:06:31 e2be974225ed: Pulling fs layer 10:06:31 339a4e72a1f5: Pulling fs layer 10:06:31 988bab9f4d93: Pulling fs layer 10:06:31 1469e6f7b9e6: Pulling fs layer 10:06:31 eaf3925da568: Pulling fs layer 10:06:31 bab4dde63d76: Pulling fs layer 10:06:31 bde34c3a00c8: Pulling fs layer 10:06:31 b352a97aabf1: Pulling fs layer 10:06:31 4872d77fe225: Pulling fs layer 10:06:31 5851b861e8e6: Pulling fs layer 10:06:31 eaf3925da568: Waiting 10:06:31 988bab9f4d93: Waiting 10:06:31 bab4dde63d76: Waiting 10:06:31 bde34c3a00c8: Waiting 10:06:31 1469e6f7b9e6: Waiting 10:06:31 b352a97aabf1: Waiting 10:06:31 4872d77fe225: Waiting 10:06:32 e2be974225ed: Verifying Checksum 10:06:32 e2be974225ed: Download complete 10:06:32 988bab9f4d93: Verifying Checksum 10:06:32 988bab9f4d93: Download complete 10:06:32 1469e6f7b9e6: Verifying Checksum 10:06:32 1469e6f7b9e6: Download complete 10:06:32 eaf3925da568: Verifying Checksum 10:06:32 eaf3925da568: Download complete 10:06:32 339a4e72a1f5: Verifying Checksum 10:06:32 339a4e72a1f5: Download complete 10:06:32 bde34c3a00c8: Download complete 10:06:32 b85a868b505f: Verifying Checksum 10:06:32 b85a868b505f: Download complete 10:06:32 4872d77fe225: Verifying Checksum 10:06:32 4872d77fe225: Download complete 10:06:32 5851b861e8e6: Verifying Checksum 10:06:32 5851b861e8e6: Download complete 10:06:32 b352a97aabf1: Verifying Checksum 10:06:32 b352a97aabf1: Download complete 10:06:33 bab4dde63d76: Verifying Checksum 10:06:33 bab4dde63d76: Download complete 10:06:34 b85a868b505f: Pull complete 10:06:34 e2be974225ed: Pull complete 10:06:34 339a4e72a1f5: Pull complete 10:06:34 988bab9f4d93: Pull complete 10:06:35 1469e6f7b9e6: Pull complete 10:06:35 eaf3925da568: Pull complete 10:06:37 bab4dde63d76: Pull complete 10:06:37 bde34c3a00c8: Pull complete 10:06:37 b352a97aabf1: Pull complete 10:06:37 4872d77fe225: Pull complete 10:06:37 5851b861e8e6: Pull complete 10:06:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:06:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:06:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:37 prd-ubuntu20.04-docker-8c-8g-4518 does not seem to be running inside a container 10:06:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:06:43 $ docker top 8fdde70ffe657efcd0dc54b1ce692ebf9c4ce649d1f92a9b8edd723b058bf32a -eo pid,comm 10:06:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:06:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:06:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:06:43 [ssh-agent] Looking for ssh-agent implementation... 10:06:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:06:43 $ docker exec 8fdde70ffe657efcd0dc54b1ce692ebf9c4ce649d1f92a9b8edd723b058bf32a ssh-agent 10:06:43 SSH_AUTH_SOCK=/tmp/ssh-QM7VPuHKZRPx/agent.31 10:06:43 SSH_AGENT_PID=36 10:06:43 Running ssh-add (command line suppressed) 10:06:43 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7096495710876741755.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7096495710876741755.key) 10:06:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:06:43 + git tag --points-at HEAD [Pipeline] } 10:06:44 $ docker exec --env ******** --env ******** 8fdde70ffe657efcd0dc54b1ce692ebf9c4ce649d1f92a9b8edd723b058bf32a ssh-agent -k 10:06:44 unset SSH_AUTH_SOCK; 10:06:44 unset SSH_AGENT_PID; 10:06:44 echo Agent pid 36 killed; 10:06:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:06:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:06:44 [ssh-agent] Looking for ssh-agent implementation... 10:06:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:06:44 $ docker exec 8fdde70ffe657efcd0dc54b1ce692ebf9c4ce649d1f92a9b8edd723b058bf32a ssh-agent 10:06:44 SSH_AUTH_SOCK=/tmp/ssh-X8LsV51W6hJZ/agent.68 10:06:44 SSH_AGENT_PID=74 10:06:44 Running ssh-add (command line suppressed) 10:06:44 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14536359108434170365.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14536359108434170365.key) 10:06:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:06:44 + git semver init 10:06:45 2023-02-04 10:06:45,007 [run_init] DEBUG init version:0.0.0 force:False 10:06:45 2023-02-04 10:06:45,008 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 10:06:45 2023-02-04 10:06:45,009 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 10:06:45 2023-02-04 10:06:45,009 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 10:06:45 2023-02-04 10:06:45,961 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 10:06:45 2023-02-04 10:06:45,962 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 10:06:45 2023-02-04 10:06:45,962 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:06:45 2023-02-04 10:06:45,962 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:06:45 3.0.0-dev.17 [Pipeline] } 10:06:46 $ docker exec --env ******** --env ******** 8fdde70ffe657efcd0dc54b1ce692ebf9c4ce649d1f92a9b8edd723b058bf32a ssh-agent -k 10:06:46 unset SSH_AUTH_SOCK; 10:06:46 unset SSH_AGENT_PID; 10:06:46 echo Agent pid 74 killed; 10:06:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:06:46 + git semver [Pipeline] } 10:06:46 $ docker stop --time=1 8fdde70ffe657efcd0dc54b1ce692ebf9c4ce649d1f92a9b8edd723b058bf32a 10:06:48 $ docker rm -f --volumes 8fdde70ffe657efcd0dc54b1ce692ebf9c4ce649d1f92a9b8edd723b058bf32a [Pipeline] // withDockerContainer [Pipeline] sh 10:06:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:06:48 Stashed 1 file(s) [Pipeline] echo 10:06:48 [edgeXSemver]: initialized semver on version 3.0.0-dev.17 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:06:48 provisioning config files... 10:06:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11381280130882122862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:06:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4515 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 10:06:49 Running in /w/workspace/device-sdk-go/147 [Pipeline] { [Pipeline] checkout 10:06:49 The recommended git tool is: git 10:06:49 ---> docker-login.sh 10:06:49 nexus3.edgexfoundry.org:10001 10:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:49 Configure a credential helper to remove this warning. See 10:06:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:49 10:06:49 Login Succeeded 10:06:49 nexus3.edgexfoundry.org:10002 10:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:49 Configure a credential helper to remove this warning. See 10:06:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:49 10:06:49 Login Succeeded 10:06:49 nexus3.edgexfoundry.org:10003 10:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:49 Configure a credential helper to remove this warning. See 10:06:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:49 10:06:49 Login Succeeded 10:06:49 nexus3.edgexfoundry.org:10004 10:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:49 Configure a credential helper to remove this warning. See 10:06:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:49 10:06:49 Login Succeeded 10:06:49 docker.io 10:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:49 Configure a credential helper to remove this warning. See 10:06:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:49 10:06:49 Login Succeeded 10:06:49 ---> docker-login.sh ends [Pipeline] } 10:06:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:06:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:06:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:06:49 ========================================================= 10:06:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:06:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:50 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 10:06:50 Sending build context to Docker daemon 10.49MB 10:06:50 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 10:06:50 Step 2/10 : FROM ${BASE} AS builder 10:06:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:06:50 213ec9aee27d: Pulling fs layer 10:06:50 4583459ba037: Pulling fs layer 10:06:50 93c1e223e6f2: Pulling fs layer 10:06:50 53926ce57604: Pulling fs layer 10:06:50 21b2b0c7a3f4: Pulling fs layer 10:06:50 22ff95d597cd: Pulling fs layer 10:06:50 12d6caf4c0d1: Pulling fs layer 10:06:50 96b7cbca73a9: Pulling fs layer 10:06:50 a7acece74701: Pulling fs layer 10:06:50 53926ce57604: Waiting 10:06:50 21b2b0c7a3f4: Waiting 10:06:50 22ff95d597cd: Waiting 10:06:50 12d6caf4c0d1: Waiting 10:06:50 96b7cbca73a9: Waiting 10:06:50 93c1e223e6f2: Verifying Checksum 10:06:50 93c1e223e6f2: Download complete 10:06:50 4583459ba037: Verifying Checksum 10:06:50 4583459ba037: Download complete 10:06:50 21b2b0c7a3f4: Verifying Checksum 10:06:50 21b2b0c7a3f4: Download complete 10:06:50 22ff95d597cd: Verifying Checksum 10:06:50 22ff95d597cd: Download complete 10:06:50 213ec9aee27d: Verifying Checksum 10:06:50 213ec9aee27d: Download complete 10:06:50 12d6caf4c0d1: Verifying Checksum 10:06:50 12d6caf4c0d1: Download complete 10:06:51 213ec9aee27d: Pull complete 10:06:51 4583459ba037: Pull complete 10:06:51 93c1e223e6f2: Pull complete 10:06:51 a7acece74701: Verifying Checksum 10:06:51 a7acece74701: Download complete 10:06:52 96b7cbca73a9: Verifying Checksum 10:06:52 96b7cbca73a9: Download complete 10:06:52 53926ce57604: Verifying Checksum 10:06:52 53926ce57604: Download complete 10:06:53 using credential edgex-jenkins-ssh 10:06:53 Cloning the remote Git repository 10:06:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:06:53 > git init /w/workspace/device-sdk-go/147 # timeout=10 10:06:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:06:53 > git --version # timeout=10 10:06:53 > git --version # 'git version 2.25.1' 10:06:53 using GIT_SSH to set credentials SSH Credentials for GitHub 10:06:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:06:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:06:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:06:56 Avoid second fetch 10:06:56 Checking out Revision f7da20bf34cbd31aed01d59c29d04f5a73da2a5d (main) 10:06:56 53926ce57604: Pull complete 10:06:56 21b2b0c7a3f4: Pull complete 10:06:56 22ff95d597cd: Pull complete 10:06:56 Commit message: "Merge pull request #1295 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v3-3.0.0-dev.7" 10:06:56 12d6caf4c0d1: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:06:56 > git config core.sparsecheckout # timeout=10 10:06:56 > git checkout -f f7da20bf34cbd31aed01d59c29d04f5a73da2a5d # timeout=10 10:06:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:06:59 96b7cbca73a9: Pull complete 10:07:00 % Total % Received % Xferd Average Speed Time Time Time Current 10:07:00 Dload Upload Total Spent Left Speed 10:07:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 73281 0 --:--:-- --:--:-- --:--:-- 73705 [Pipeline] sh 10:07:00 a7acece74701: Pull complete 10:07:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:07:01 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 10:07:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:07:01 ---> db6d94c90886 10:07:01 Step 3/10 : ARG MAKE=make build 10:07:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:07:01 + sudo tee /etc/docker/daemon.new 10:07:01 { 10:07:01 "registry-mirrors": [ 10:07:01 "https://nexus3.edgexfoundry.org:10001" 10:07:01 ], 10:07:01 "bip": "10.250.0.254/24", 10:07:01 "hosts": [ 10:07:01 "tcp://0.0.0.0:5555", 10:07:01 "unix:///var/run/docker.sock" 10:07:01 ], 10:07:01 "mtu": 1458, 10:07:01 "selinux-enabled": true, 10:07:01 "seccomp-profile": "/etc/docker/seccomp.json" 10:07:01 } [Pipeline] sh 10:07:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:07:02 + sudo service docker restart 10:07:13 ---> Running in 91426e3d3c1b 10:07:13 Removing intermediate container 91426e3d3c1b 10:07:13 ---> 2665b7d1edd3 10:07:13 Step 4/10 : WORKDIR /device-sdk-go 10:07:13 ---> Running in c97c2301e5bc 10:07:13 Removing intermediate container c97c2301e5bc 10:07:13 ---> 6442df2b41c7 10:07:13 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:07:13 ---> Running in 2063b11c9639 10:07:14 Removing intermediate container 2063b11c9639 10:07:14 ---> 48d058efed35 10:07:14 Step 6/10 : RUN apk add --update --no-cache make git 10:07:14 ---> Running in 4a084fd6916a 10:07:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:07:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:07:14 OK: 211 MiB in 51 packages 10:07:15 Removing intermediate container 4a084fd6916a 10:07:15 ---> 4b50ba830d1c 10:07:15 Step 7/10 : COPY go.mod vendor* ./ 10:07:15 ---> 3f0c23c6f5a8 10:07:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:07:15 ---> Running in d1a210384052 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:07:20 provisioning config files... 10:07:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/147@tmp/config4441932043122655093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:20 ---> docker-login.sh 10:07:20 nexus3.edgexfoundry.org:10001 10:07:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:21 Configure a credential helper to remove this warning. See 10:07:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:21 10:07:21 Login Succeeded 10:07:21 nexus3.edgexfoundry.org:10002 10:07:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:21 Configure a credential helper to remove this warning. See 10:07:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:21 10:07:21 Login Succeeded 10:07:21 nexus3.edgexfoundry.org:10003 10:07:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:22 Configure a credential helper to remove this warning. See 10:07:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:22 10:07:22 Login Succeeded 10:07:22 nexus3.edgexfoundry.org:10004 10:07:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:22 Configure a credential helper to remove this warning. See 10:07:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:22 10:07:22 Login Succeeded 10:07:22 docker.io 10:07:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:22 Configure a credential helper to remove this warning. See 10:07:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:22 10:07:22 Login Succeeded 10:07:22 ---> docker-login.sh ends [Pipeline] } 10:07:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:07:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:07:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:07:23 ========================================================= 10:07:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:07:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:23 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 10:07:23 Sending build context to Docker daemon 5.634MB 10:07:23 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 10:07:23 Step 2/10 : FROM ${BASE} AS builder 10:07:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:07:25 9b18e9b68314: Pulling fs layer 10:07:25 35d82f9e3411: Pulling fs layer 10:07:25 e16973657156: Pulling fs layer 10:07:25 fc693d55d65f: Pulling fs layer 10:07:25 7e9fc2657dce: Pulling fs layer 10:07:25 dda99020689f: Pulling fs layer 10:07:25 db1c61fa0a46: Pulling fs layer 10:07:25 891c053d2c06: Pulling fs layer 10:07:25 7e9fc2657dce: Waiting 10:07:25 dda99020689f: Waiting 10:07:25 db1c61fa0a46: Waiting 10:07:25 891c053d2c06: Waiting 10:07:25 fc693d55d65f: Waiting 10:07:25 e16973657156: Download complete 10:07:25 35d82f9e3411: Verifying Checksum 10:07:25 35d82f9e3411: Download complete 10:07:25 7e9fc2657dce: Download complete 10:07:25 dda99020689f: Verifying Checksum 10:07:25 dda99020689f: Download complete 10:07:25 9b18e9b68314: Verifying Checksum 10:07:26 9b18e9b68314: Pull complete 10:07:26 891c053d2c06: Verifying Checksum 10:07:26 891c053d2c06: Download complete 10:07:26 35d82f9e3411: Pull complete 10:07:26 e16973657156: Pull complete 10:07:27 db1c61fa0a46: Verifying Checksum 10:07:27 db1c61fa0a46: Download complete 10:07:27 fc693d55d65f: Verifying Checksum 10:07:27 fc693d55d65f: Download complete 10:07:40 fc693d55d65f: Pull complete 10:07:40 7e9fc2657dce: Pull complete 10:07:40 dda99020689f: Pull complete 10:07:45 db1c61fa0a46: Pull complete 10:07:46 891c053d2c06: Pull complete 10:07:46 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 10:07:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:07:46 ---> f96f9c87975a 10:07:46 Step 3/10 : ARG MAKE=make build 10:07:48 ---> Running in 2bd2364a5e8b 10:07:48 Removing intermediate container 2bd2364a5e8b 10:07:48 ---> 7f107e516003 10:07:48 Step 4/10 : WORKDIR /device-sdk-go 10:07:48 ---> Running in eb88268295a4 10:07:49 Removing intermediate container eb88268295a4 10:07:49 ---> b69dc224c863 10:07:49 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:07:49 ---> Running in 7d631633a365 10:07:49 Removing intermediate container 7d631633a365 10:07:49 ---> 4fd0c33126b9 10:07:49 Step 6/10 : RUN apk add --update --no-cache make git 10:07:49 ---> Running in b8431137adef 10:07:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:07:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:07:52 OK: 221 MiB in 51 packages 10:07:52 Removing intermediate container b8431137adef 10:07:52 ---> b43b39a32c3b 10:07:52 Step 7/10 : COPY go.mod vendor* ./ 10:07:53 ---> d066ad482e6b 10:07:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:07:53 ---> Running in 05a3d81cf6ee 10:08:02 Removing intermediate container d1a210384052 10:08:02 ---> fc332762769f 10:08:02 Step 9/10 : COPY . . 10:08:02 ---> cfaad5511fb0 10:08:02 Step 10/10 : RUN ${MAKE} 10:08:02 ---> Running in 0ad50ef1154f 10:08:02 noop 10:08:02 Removing intermediate container 0ad50ef1154f 10:08:02 ---> dbf9d3785425 10:08:02 Successfully built dbf9d3785425 10:08:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:02 + docker inspect -f . ci-base-image-x86_64 10:08:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:03 prd-ubuntu20.04-docker-8c-8g-4518 does not seem to be running inside a container 10:08:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:08:03 $ docker top 52cc9e627f5a570a5eeee798fdc0376e662e551e21b865af4466c3c3aa9ba465 -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:04 + go version 10:08:04 go version go1.18.7 linux/amd64 [Pipeline] } 10:08:04 $ docker stop --time=1 52cc9e627f5a570a5eeee798fdc0376e662e551e21b865af4466c3c3aa9ba465 10:08:06 $ docker rm -f --volumes 52cc9e627f5a570a5eeee798fdc0376e662e551e21b865af4466c3c3aa9ba465 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:06 + docker inspect -f . ci-base-image-x86_64 10:08:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:07 prd-ubuntu20.04-docker-8c-8g-4518 does not seem to be running inside a container 10:08:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:08:08 $ docker top 3846beaf1817aa7c72e2f1d07fce1db471765ee0881c7fab29995a5c690cfec7 -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 10:08:08 + make test 10:08:08 go test -race -coverprofile=coverage.out ./... 10:08:15 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 10:08:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 10:08:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 10:08:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 10:08:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 10:08:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 10:08:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.054s coverage: 27.6% of statements 10:08:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.062s coverage: 78.9% of statements 10:08:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 10:08:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.105s coverage: 70.2% of statements 10:08:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 10:08:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 10:08:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.104s coverage: 59.8% of statements 10:08:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 10:08:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 10:08:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 10:08:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.083s coverage: 65.1% of statements 10:08:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 10:08:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 10:08:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.742s coverage: 89.2% of statements 10:08:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 10:08:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.7% of statements 10:08:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 10:08:45 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 10:08:45 GO111MODULE=on go vet ./... 10:08:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:08:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:08:48 ./bin/test-attribution-txt.sh [Pipeline] echo 10:08:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:08:48 $ docker stop --time=1 3846beaf1817aa7c72e2f1d07fce1db471765ee0881c7fab29995a5c690cfec7 10:08:49 Removing intermediate container 05a3d81cf6ee 10:08:49 ---> acd03019cd63 10:08:49 Step 9/10 : COPY . . 10:08:49 ---> 3b793347905b 10:08:49 Step 10/10 : RUN ${MAKE} 10:08:49 ---> Running in 03d67ea36552 10:08:50 noop 10:08:52 $ docker rm -f --volumes 3846beaf1817aa7c72e2f1d07fce1db471765ee0881c7fab29995a5c690cfec7 10:08:52 Removing intermediate container 03d67ea36552 10:08:52 ---> 82dfa725cb35 10:08:52 Successfully built 82dfa725cb35 10:08:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:08:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 10:08:53 + docker inspect -f . ci-base-image-arm64 10:08:53 . [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] stage [Pipeline] { (Build) [Pipeline] withDockerContainer 10:08:53 prd-ubuntu20.04-docker-arm64-4c-16g-4515 does not seem to be running inside a container 10:08:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/147 -v /w/workspace/device-sdk-go/147:/w/workspace/device-sdk-go/147:rw,z -v /w/workspace/device-sdk-go/147@tmp:/w/workspace/device-sdk-go/147@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-arm64 cat 10:08:54 $ docker top b80773a724b5ee086c3e6cc652616ff2e17aca7278966a499dd8a931f1ccdd64 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 10:08:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:08:55 + go version 10:08:55 go version go1.18.7 linux/arm64 [Pipeline] } 10:08:55 $ docker stop --time=1 b80773a724b5ee086c3e6cc652616ff2e17aca7278966a499dd8a931f1ccdd64 10:08:55 + ls -al . 10:08:55 total 272 10:08:55 drwxrwxr-x 11 jenkins jenkins 4096 Feb 4 10:08 . 10:08:55 drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:06 .. 10:08:55 -rw-rw-r-- 1 jenkins jenkins 140 Feb 4 10:06 .dockerignore 10:08:55 drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 10:08 .git 10:08:55 drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:06 .github 10:08:55 -rw-rw-r-- 1 jenkins jenkins 131 Feb 4 10:06 .gitignore 10:08:55 -rw-rw-r-- 1 jenkins jenkins 42 Feb 4 10:06 .golangci.yml 10:08:55 drwxr-xr-x 3 jenkins jenkins 4096 Feb 4 10:06 .semver 10:08:55 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 4 10:06 CHANGELOG.md 10:08:55 -rw-rw-r-- 1 jenkins jenkins 677 Feb 4 10:06 GOVERNANCE.md 10:08:55 -rw-rw-r-- 1 jenkins jenkins 885 Feb 4 10:06 Jenkinsfile 10:08:55 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 4 10:06 LICENSE 10:08:55 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 4 10:06 Makefile 10:08:55 -rw-rw-r-- 1 jenkins jenkins 619 Feb 4 10:06 OWNERS.md 10:08:55 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 4 10:06 README.md 10:08:55 -rw-rw-r-- 1 jenkins jenkins 12 Feb 4 10:06 VERSION 10:08:55 drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:06 bin 10:08:55 -rw-r--r-- 1 jenkins jenkins 99762 Feb 4 10:08 coverage.out 10:08:55 drwxrwxr-x 5 jenkins jenkins 4096 Feb 4 10:06 example 10:08:55 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 4 10:06 go.mod 10:08:55 -rw-rw-r-- 1 jenkins jenkins 33004 Feb 4 10:06 go.sum 10:08:55 drwxrwxr-x 13 jenkins jenkins 4096 Feb 4 10:06 internal 10:08:55 drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 10:06 openapi 10:08:55 drwxrwxr-x 6 jenkins jenkins 4096 Feb 4 10:06 pkg 10:08:55 drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:06 snap 10:08:55 -rw-rw-r-- 1 jenkins jenkins 222 Feb 4 10:06 version.go 10:08:57 $ docker rm -f --volumes b80773a724b5ee086c3e6cc652616ff2e17aca7278966a499dd8a931f1ccdd64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] isUnix [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:57 + docker inspect -f . ci-base-image-arm64 10:08:57 . [Pipeline] } 10:08:57 + 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=f7da20bf34cbd31aed01d59c29d04f5a73da2a5d --label arch=amd64 --label version=3.0.0-dev.17 . 10:08:57 Sending build context to Docker daemon 10.59MB 10:08:57 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 10:08:57 Step 2/23 : FROM ${BASE} AS builder 10:08:57 ---> dbf9d3785425 10:08:57 Step 3/23 : ARG MAKE=make build [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:57 prd-ubuntu20.04-docker-arm64-4c-16g-4515 does not seem to be running inside a container 10:08:57 $ 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/147 -v /w/workspace/device-sdk-go/147:/w/workspace/device-sdk-go/147:rw,z -v /w/workspace/device-sdk-go/147@tmp:/w/workspace/device-sdk-go/147@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-arm64 cat 10:08:58 ---> Running in 48d7a38c87f6 10:08:59 $ docker top 20ebc2e60d95b8cdad1dcc869951a8292b4b723871d0f8f6099ad497d9b647f4 -eo pid,comm 10:08:59 Removing intermediate container 48d7a38c87f6 10:08:59 ---> 0abcf3ba32a3 10:08:59 Step 4/23 : WORKDIR /device-sdk-go [Pipeline] { [Pipeline] sh 10:08:59 ---> Running in cd86c06a6f33 10:08:59 + git config --global --add safe.directory /w/workspace/device-sdk-go/147 [Pipeline] fileExists [Pipeline] sh 10:09:00 Removing intermediate container cd86c06a6f33 10:09:00 ---> 2d796d07bf5b 10:09:00 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:09:00 + make test 10:09:00 go test -race -coverprofile=coverage.out ./... 10:09:00 ---> Running in 5f599ba674c9 10:09:01 Removing intermediate container 5f599ba674c9 10:09:01 ---> 5f256dd5f88c 10:09:01 Step 6/23 : RUN apk add --update --no-cache make git 10:09:01 ---> Running in 85e1bd573e11 10:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:09:02 OK: 211 MiB in 51 packages 10:09:02 Removing intermediate container 85e1bd573e11 10:09:02 ---> 269372c1ab54 10:09:02 Step 7/23 : COPY go.mod vendor* ./ 10:09:02 ---> 8f5ebc402684 10:09:02 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:09:02 ---> Running in c68c3f482d92 10:09:03 Removing intermediate container c68c3f482d92 10:09:03 ---> dad4a6d1e166 10:09:03 Step 9/23 : COPY . . 10:09:04 ---> d4c76da4f420 10:09:04 Step 10/23 : RUN ${MAKE} 10:09:04 ---> Running in a5dbf9a8ff89 10:09:05 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.17" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:09:32 Removing intermediate container a5dbf9a8ff89 10:09:32 ---> 66630053e5bb 10:09:32 Step 11/23 : FROM alpine:3.16 10:09:32 3.16: Pulling from library/alpine 10:09:32 ca7dd9ec2225: Pulling fs layer 10:09:32 ca7dd9ec2225: Verifying Checksum 10:09:32 ca7dd9ec2225: Download complete 10:09:32 ca7dd9ec2225: Pull complete 10:09:32 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 10:09:32 Status: Downloaded newer image for alpine:3.16 10:09:32 ---> bfe296a52501 10:09:32 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:09:32 ---> Running in 7497841f7fc5 10:09:32 Removing intermediate container 7497841f7fc5 10:09:32 ---> b5a51de4e5b0 10:09:32 Step 13/23 : RUN apk add --update --no-cache 10:09:32 ---> Running in 421d51e133ff 10:09:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:09:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:09:32 OK: 6 MiB in 14 packages 10:09:32 Removing intermediate container 421d51e133ff 10:09:32 ---> a0e1e8277295 10:09:32 Step 14/23 : WORKDIR / 10:09:32 ---> Running in dd7005df0bc5 10:09:32 Removing intermediate container dd7005df0bc5 10:09:32 ---> 7631e514ea7e 10:09:32 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:09:32 ---> 58fde7bb4bba 10:09:32 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:09:32 ---> 1ce677877f9c 10:09:32 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:09:32 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 10:09:33 ---> e2f677cb4ff8 10:09:33 Step 18/23 : EXPOSE 59999 10:09:33 ---> Running in 1fe7d02e0821 10:09:33 Removing intermediate container 1fe7d02e0821 10:09:33 ---> f8fce388124b 10:09:33 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:09:33 ---> Running in 41c455fc762d 10:09:33 Removing intermediate container 41c455fc762d 10:09:33 ---> ae169ab58e58 10:09:33 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:09:33 ---> Running in 02a48eb71eaa 10:09:34 Removing intermediate container 02a48eb71eaa 10:09:34 ---> 39c489be1900 10:09:34 Step 21/23 : LABEL arch=amd64 10:09:34 ---> Running in 08a89ffdc1de 10:09:35 Removing intermediate container 08a89ffdc1de 10:09:35 ---> b88e23b6d365 10:09:35 Step 22/23 : LABEL git_sha=f7da20bf34cbd31aed01d59c29d04f5a73da2a5d 10:09:35 ---> Running in c272066c1df9 10:09:36 Removing intermediate container c272066c1df9 10:09:36 ---> bb1fae2c8836 10:09:36 Step 23/23 : LABEL version=3.0.0-dev.17 10:09:37 ---> Running in 137ce3a44412 10:09:37 Removing intermediate container 137ce3a44412 10:09:37 ---> 5f7c33f1fdb6 10:09:37 [Warning] One or more build-args [ARCH] were not consumed 10:09:37 Successfully built 5f7c33f1fdb6 10:09:37 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:38 10:09:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:38 latest: Pulling from edgex-lftools-log-publisher 10:09:38 5eb5b503b376: Pulling fs layer 10:09:38 5c69ac0246d0: Pulling fs layer 10:09:38 ec43610c2a17: Pulling fs layer 10:09:38 3a2ae6a8a46f: Pulling fs layer 10:09:38 33b1e0a273af: Pulling fs layer 10:09:38 5d3b04190fa2: Pulling fs layer 10:09:38 2f39f015ded8: Pulling fs layer 10:09:38 3a2ae6a8a46f: Waiting 10:09:38 33b1e0a273af: Waiting 10:09:38 5d3b04190fa2: Waiting 10:09:38 2f39f015ded8: Waiting 10:09:38 5c69ac0246d0: Download complete 10:09:38 3a2ae6a8a46f: Download complete 10:09:39 33b1e0a273af: Verifying Checksum 10:09:39 33b1e0a273af: Download complete 10:09:39 5d3b04190fa2: Verifying Checksum 10:09:39 5d3b04190fa2: Download complete 10:09:39 ec43610c2a17: Verifying Checksum 10:09:39 ec43610c2a17: Download complete 10:09:39 5eb5b503b376: Verifying Checksum 10:09:39 5eb5b503b376: Download complete 10:09:40 2f39f015ded8: Download complete 10:09:41 5eb5b503b376: Pull complete 10:09:41 5c69ac0246d0: Pull complete 10:09:43 ec43610c2a17: Pull complete 10:09:43 3a2ae6a8a46f: Pull complete 10:09:44 33b1e0a273af: Pull complete 10:09:45 5d3b04190fa2: Pull complete 10:09:52 2f39f015ded8: Pull complete 10:09:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:09:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:52 prd-ubuntu20.04-docker-8c-8g-4518 does not seem to be running inside a container 10:09:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:10:02 $ docker top a7f18134610c64563c0365e1e4eba44a965d4a9cb3ea20cb870153d6a0ac7bab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:02 ---> job-cost.sh 10:10:02 lf-activate-venv: SKIPPING 10:10:02 INFO: No Stack... 10:10:03 INFO: Retrieving Pricing Info for: v3-standard-8 10:10:03 INFO: Archiving Costs [Pipeline] sh 10:10:03 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 10:10:03 + cut -d, -f6 [Pipeline] lock 10:10:03 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-147-stack-cost] 10:10:03 Resource [jenkins-edgexfoundry-device-sdk-go-main-147-stack-cost] did not exist. Created. 10:10:03 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-147-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:10:03 + echo total: 0.2199999988079071 [Pipeline] stash 10:10:03 Stashed 1 file(s) [Pipeline] } 10:10:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-147-stack-cost] [Pipeline] // lock [Pipeline] } 10:10:03 $ docker stop --time=1 a7f18134610c64563c0365e1e4eba44a965d4a9cb3ea20cb870153d6a0ac7bab 10:10:05 $ docker rm -f --volumes a7f18134610c64563c0365e1e4eba44a965d4a9cb3ea20cb870153d6a0ac7bab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:11:24 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 10:11:24 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 10:11:24 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 10:11:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 10:11:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 10:11:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.451s coverage: 27.6% of statements 10:11:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.335s coverage: 78.9% of statements 10:11:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 10:11:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.529s coverage: 70.2% of statements 10:11:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 10:11:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 10:11:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.552s coverage: 59.8% of statements 10:11:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 10:11:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 10:11:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 10:11:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.387s coverage: 65.1% of statements 10:11:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 10:11:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 10:11:28 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.257s coverage: 89.2% of statements 10:11:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 10:11:28 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.263s coverage: 4.7% of statements 10:11:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 10:11:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:11:29 GO111MODULE=on go vet ./... 10:13:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:13:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:13:06 ./bin/test-attribution-txt.sh [Pipeline] echo 10:13:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:13:06 $ docker stop --time=1 20ebc2e60d95b8cdad1dcc869951a8292b4b723871d0f8f6099ad497d9b647f4 10:13:08 $ docker rm -f --volumes 20ebc2e60d95b8cdad1dcc869951a8292b4b723871d0f8f6099ad497d9b647f4 [Pipeline] // withDockerContainer [Pipeline] sh 10:13:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:13:09 Warning: overwriting stash ‘coverage-report’ 10:13:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:13:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:13:11 + ls -al . 10:13:11 total 268 10:13:11 drwxrwxr-x 10 jenkins jenkins 4096 Feb 4 10:09 . 10:13:11 drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:06 .. 10:13:11 -rw-rw-r-- 1 jenkins jenkins 140 Feb 4 10:06 .dockerignore 10:13:11 drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 10:06 .git 10:13:11 drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:06 .github 10:13:11 -rw-rw-r-- 1 jenkins jenkins 131 Feb 4 10:06 .gitignore 10:13:11 -rw-rw-r-- 1 jenkins jenkins 42 Feb 4 10:06 .golangci.yml 10:13:11 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 4 10:06 CHANGELOG.md 10:13:11 -rw-rw-r-- 1 jenkins jenkins 677 Feb 4 10:06 GOVERNANCE.md 10:13:11 -rw-rw-r-- 1 jenkins jenkins 885 Feb 4 10:06 Jenkinsfile 10:13:11 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 4 10:06 LICENSE 10:13:11 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 4 10:06 Makefile 10:13:11 -rw-rw-r-- 1 jenkins jenkins 619 Feb 4 10:06 OWNERS.md 10:13:11 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 4 10:06 README.md 10:13:11 -rw-rw-r-- 1 jenkins jenkins 12 Feb 4 10:06 VERSION 10:13:11 drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:06 bin 10:13:11 -rw-r--r-- 1 jenkins jenkins 99762 Feb 4 10:11 coverage.out 10:13:11 drwxrwxr-x 5 jenkins jenkins 4096 Feb 4 10:06 example 10:13:11 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 4 10:06 go.mod 10:13:11 -rw-rw-r-- 1 jenkins jenkins 33004 Feb 4 10:06 go.sum 10:13:11 drwxrwxr-x 13 jenkins jenkins 4096 Feb 4 10:06 internal 10:13:11 drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 10:06 openapi 10:13:11 drwxrwxr-x 6 jenkins jenkins 4096 Feb 4 10:06 pkg 10:13:11 drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:06 snap 10:13:11 -rw-rw-r-- 1 jenkins jenkins 222 Feb 4 10:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:11 + 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=f7da20bf34cbd31aed01d59c29d04f5a73da2a5d --label arch=arm64 --label version=3.0.0-dev.17 . 10:13:11 Sending build context to Docker daemon 5.734MB 10:13:12 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 10:13:12 Step 2/23 : FROM ${BASE} AS builder 10:13:12 ---> 82dfa725cb35 10:13:12 Step 3/23 : ARG MAKE=make build 10:13:12 ---> Running in 3d89fcaf57f0 10:13:12 Removing intermediate container 3d89fcaf57f0 10:13:12 ---> bb8a312db801 10:13:12 Step 4/23 : WORKDIR /device-sdk-go 10:13:12 ---> Running in dc41d8707d37 10:13:13 Removing intermediate container dc41d8707d37 10:13:13 ---> ec4f2f9db400 10:13:13 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:13:13 ---> Running in 766fa8f6b973 10:13:13 Removing intermediate container 766fa8f6b973 10:13:13 ---> fe0f25b52d22 10:13:13 Step 6/23 : RUN apk add --update --no-cache make git 10:13:13 ---> Running in c96596b77710 10:13:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:13:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:13:15 OK: 221 MiB in 51 packages 10:13:16 Removing intermediate container c96596b77710 10:13:16 ---> 5d84730248ec 10:13:16 Step 7/23 : COPY go.mod vendor* ./ 10:13:17 ---> 10109aa2cbe4 10:13:17 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:13:17 ---> Running in 7de6d95080f7 10:13:20 Removing intermediate container 7de6d95080f7 10:13:20 ---> 813374bf2438 10:13:20 Step 9/23 : COPY . . 10:13:21 ---> 70956b8282a1 10:13:21 Step 10/23 : RUN ${MAKE} 10:13:21 ---> Running in c108e7d6f4fc 10:13:22 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.17" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:15:29 Removing intermediate container c108e7d6f4fc 10:15:29 ---> d87948de0c1b 10:15:29 Step 11/23 : FROM alpine:3.16 10:15:29 3.16: Pulling from library/alpine 10:15:29 6875df1f5354: Pulling fs layer 10:15:29 6875df1f5354: Download complete 10:15:29 6875df1f5354: Pull complete 10:15:29 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 10:15:29 Status: Downloaded newer image for alpine:3.16 10:15:29 ---> 2b4661558fb8 10:15:29 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:15:29 ---> Running in 7ab33d1e0a2e 10:15:29 Removing intermediate container 7ab33d1e0a2e 10:15:29 ---> e02e2b37872d 10:15:29 Step 13/23 : RUN apk add --update --no-cache 10:15:29 ---> Running in ad070405dd38 10:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:15:29 OK: 5 MiB in 14 packages 10:15:29 Removing intermediate container ad070405dd38 10:15:29 ---> f38c4fc750e6 10:15:29 Step 14/23 : WORKDIR / 10:15:29 ---> Running in 6826b30e533d 10:15:29 Removing intermediate container 6826b30e533d 10:15:29 ---> 06797dd83220 10:15:29 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:15:29 ---> c48ba442b8c0 10:15:29 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:15:29 ---> fb073b83bdfa 10:15:29 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:15:29 ---> 0304931c53b6 10:15:29 Step 18/23 : EXPOSE 59999 10:15:29 ---> Running in dc324a45c9ec 10:15:29 Removing intermediate container dc324a45c9ec 10:15:29 ---> c8514e8a3613 10:15:29 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:15:29 ---> Running in ec7d037f417f 10:15:29 Removing intermediate container ec7d037f417f 10:15:29 ---> 5e6ad1a3956e 10:15:29 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:15:29 ---> Running in 38441226ca9b 10:15:29 Removing intermediate container 38441226ca9b 10:15:29 ---> b6bfed5c2a7e 10:15:29 Step 21/23 : LABEL arch=arm64 10:15:30 ---> Running in e7719fde2705 10:15:30 Removing intermediate container e7719fde2705 10:15:30 ---> 212d92f80e76 10:15:30 Step 22/23 : LABEL git_sha=f7da20bf34cbd31aed01d59c29d04f5a73da2a5d 10:15:30 ---> Running in b1aad324912e 10:15:30 Removing intermediate container b1aad324912e 10:15:30 ---> 58365a18f3e6 10:15:30 Step 23/23 : LABEL version=3.0.0-dev.17 10:15:30 ---> Running in 88e2071058d7 10:15:30 Removing intermediate container 88e2071058d7 10:15:30 ---> f1f26583d88c 10:15:30 [Warning] One or more build-args [ARCH] were not consumed 10:15:31 Successfully built f1f26583d88c 10:15:31 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:15:31 10:15:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:15:32 arm64: Pulling from edgex-lftools-log-publisher 10:15:32 8998bd30e6a1: Pulling fs layer 10:15:32 04944245beec: Pulling fs layer 10:15:32 699f458cf7ca: Pulling fs layer 10:15:32 765212b225bb: Pulling fs layer 10:15:32 f23df028b6ca: Pulling fs layer 10:15:32 d65c8cfc05b1: Pulling fs layer 10:15:32 2437ff75d9bd: Pulling fs layer 10:15:32 765212b225bb: Waiting 10:15:32 f23df028b6ca: Waiting 10:15:32 d65c8cfc05b1: Waiting 10:15:32 2437ff75d9bd: Waiting 10:15:32 04944245beec: Verifying Checksum 10:15:32 04944245beec: Download complete 10:15:32 765212b225bb: Verifying Checksum 10:15:32 765212b225bb: Download complete 10:15:32 f23df028b6ca: Verifying Checksum 10:15:32 f23df028b6ca: Download complete 10:15:32 d65c8cfc05b1: Verifying Checksum 10:15:32 d65c8cfc05b1: Download complete 10:15:32 699f458cf7ca: Verifying Checksum 10:15:32 699f458cf7ca: Download complete 10:15:32 8998bd30e6a1: Verifying Checksum 10:15:32 8998bd30e6a1: Download complete 10:15:35 2437ff75d9bd: Verifying Checksum 10:15:35 2437ff75d9bd: Download complete 10:15:36 8998bd30e6a1: Pull complete 10:15:36 04944245beec: Pull complete 10:15:38 699f458cf7ca: Pull complete 10:15:38 765212b225bb: Pull complete 10:15:38 f23df028b6ca: Pull complete 10:15:39 d65c8cfc05b1: Pull complete 10:15:51 2437ff75d9bd: Pull complete 10:15:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:15:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:15:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:15:51 prd-ubuntu20.04-docker-arm64-4c-16g-4515 does not seem to be running inside a container 10:15:51 $ 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/147 -v /w/workspace/device-sdk-go/147:/w/workspace/device-sdk-go/147:rw,z -v /w/workspace/device-sdk-go/147@tmp:/w/workspace/device-sdk-go/147@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:arm64 cat 10:15:54 $ docker top 1b4ed18e84e993339fff70451581e717bd9426901873c7339db2023b58b1504a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:15:55 ---> job-cost.sh 10:15:55 lf-activate-venv: SKIPPING 10:15:55 INFO: No Stack... 10:15:55 INFO: Retrieving Pricing Info for: v3-standard-4 10:15:56 INFO: Archiving Costs [Pipeline] sh 10:15:57 + cat /w/workspace/device-sdk-go/147/archives/cost.csv 10:15:57 + cut -d, -f6 [Pipeline] lock 10:15:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-147-stack-cost] 10:15:57 Resource [jenkins-edgexfoundry-device-sdk-go-main-147-stack-cost] did not exist. Created. 10:15:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-147-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:15:57 /w/workspace/device-sdk-go/147@tmp/durable-e3d2a41a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:15:58 + echo total: 0.2199999988079071 [Pipeline] stash 10:15:58 Warning: overwriting stash ‘stack-cost’ 10:15:58 Stashed 1 file(s) [Pipeline] } 10:15:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-147-stack-cost] [Pipeline] // lock [Pipeline] } 10:15:58 $ docker stop --time=1 1b4ed18e84e993339fff70451581e717bd9426901873c7339db2023b58b1504a 10:15:59 $ docker rm -f --volumes 1b4ed18e84e993339fff70451581e717bd9426901873c7339db2023b58b1504a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 10:16:00 provisioning config files... 10:16:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16143072338503673719tmp [Pipeline] { [Pipeline] sh 10:16:00 + set +x 10:16:00 + + bashcurl -s -s -- https://codecov.io/bash 10:16:00 10:16:00 10:16:00 _____ _ 10:16:00 / ____| | | 10:16:00 | | ___ __| | ___ ___ _____ __ 10:16:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:16:00 | |___| (_) | (_| | __/ (_| (_) \ V / 10:16:00 \_____\___/ \__,_|\___|\___\___/ \_/ 10:16:00 Bash-1.0.6 10:16:00 10:16:00 10:16:00 ==> git version 2.25.1 found 10:16:00 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 10:16:00 Release-Date: 2020-01-08 10:16:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:16:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:16:00 ==> Jenkins CI detected. 10:16:00 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 10:16:00 project root: . 10:16:00 --> token set from env 10:16:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:16:00 ==> Running gcov in . (disable via -X gcov) 10:16:00 ==> Python coveragepy not found 10:16:00 ==> Searching for coverage reports in: 10:16:00 + . 10:16:00 -> Found 1 reports 10:16:00 ==> Detecting git/mercurial file structure 10:16:00 ==> Reading reports 10:16:00 + ./coverage.out bytes=99762 10:16:00 ==> Appending adjustments 10:16:00 https://docs.codecov.io/docs/fixing-reports 10:16:00 + Found adjustments 10:16:00 ==> Gzipping contents 10:16:00 16K /tmp/codecov.tXXvdp.gz 10:16:00 ==> Uploading reports 10:16:00 url: https://codecov.io 10:16:00 query: branch=main&commit=f7da20bf34cbd31aed01d59c29d04f5a73da2a5d&build=147&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F147%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:16:00 -> Pinging Codecov 10:16:00 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=f7da20bf34cbd31aed01d59c29d04f5a73da2a5d&build=147&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F147%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:16:01 -> Uploading to 10:16:01 https://storage.googleapis.com/codecov/v4/raw/2023-02-04/7E55EF52A471D76F132DFD9A03CDDE97/f7da20bf34cbd31aed01d59c29d04f5a73da2a5d/aa159fa4-f8f5-460b-9c31-297e4b03b341.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230204%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230204T101600Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6b9a397aa62b85708af550a1267095810910d501df0e1ba0436f7e02abc1e1ff 10:16:01 % Total % Received % Xferd Average Speed Time Time Time Current 10:16:01 Dload Upload Total Spent Left Speed 10:16:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14429 0 0 100 14429 0 59378 --:--:-- --:--:-- --:--:-- 59378 10:16:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f7da20bf34cbd31aed01d59c29d04f5a73da2a5d [Pipeline] } 10:16:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:16:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:16:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:16:01 10:16:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:16:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:16:02 df9b9388f04a: Pulling fs layer 10:16:02 52dc419b0ee2: Pulling fs layer 10:16:02 25bc292e5bac: Pulling fs layer 10:16:02 114826534d7a: Pulling fs layer 10:16:02 4657fd5d0bcf: Pulling fs layer 10:16:02 6ad1cebc031e: Pulling fs layer 10:16:02 8a3aa393b2d8: Pulling fs layer 10:16:02 4657fd5d0bcf: Waiting 10:16:02 8a3aa393b2d8: Waiting 10:16:02 6ad1cebc031e: Waiting 10:16:02 25bc292e5bac: Download complete 10:16:02 52dc419b0ee2: Verifying Checksum 10:16:02 52dc419b0ee2: Download complete 10:16:02 4657fd5d0bcf: Verifying Checksum 10:16:02 4657fd5d0bcf: Download complete 10:16:02 df9b9388f04a: Download complete 10:16:02 df9b9388f04a: Pull complete 10:16:02 52dc419b0ee2: Pull complete 10:16:02 25bc292e5bac: Pull complete 10:16:02 6ad1cebc031e: Verifying Checksum 10:16:02 6ad1cebc031e: Download complete 10:16:03 114826534d7a: Verifying Checksum 10:16:03 114826534d7a: Download complete 10:16:03 8a3aa393b2d8: Verifying Checksum 10:16:03 8a3aa393b2d8: Download complete 10:16:07 114826534d7a: Pull complete 10:16:07 4657fd5d0bcf: Pull complete 10:16:07 6ad1cebc031e: Pull complete 10:16:10 8a3aa393b2d8: Pull complete 10:16:10 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 10:16:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:16:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:16:10 prd-ubuntu20.04-docker-8c-8g-4518 does not seem to be running inside a container 10:16:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 10:16:15 $ docker top 0d067e4623cc8854dd7e2d5d2bb4ebca6c40e2f76b724e714b0f106bf9a8afdd -eo pid,comm [Pipeline] { [Pipeline] echo 10:16:15 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 10:16:15 + set -o pipefail 10:16:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 10:16:20 10:16:20 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 10:16:20 10:16:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/ad9c5090-55bc-45ed-9af9-d027b60f0635 10:16:20 10:16:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:16:20 10:16:20 10:16:20 A medium severity vulnerability was found in the Snyk CLI versions you are using. 10:16:20 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 10:16:20 More details here: https://snyk.co/ue1NS [Pipeline] } 10:16:20 $ docker stop --time=1 0d067e4623cc8854dd7e2d5d2bb4ebca6c40e2f76b724e714b0f106bf9a8afdd 10:16:23 $ docker rm -f --volumes 0d067e4623cc8854dd7e2d5d2bb4ebca6c40e2f76b724e714b0f106bf9a8afdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 10:16:24 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:16:24 provisioning config files... 10:16:24 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config973713962310447676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:16:24 --> edgex-publish-swagger.sh 10:16:24 === Publish openapi/v3 API === 10:16:24 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 10:16:24 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 10:16:24 % Total % Received % Xferd Average Speed Time Time Time Current 10:16:24 Dload Upload Total Spent Left Speed 10:16:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47155 100 61 100 47094 143 108k --:--:-- --:--:-- --:--:-- 108k 100 47155 100 61 100 47094 143 108k --:--:-- --:--:-- --:--:-- 108k 10:16:24 {"code":404,"message":"Unknown API EdgeXFoundry1/device-sdk"} 10:16:24 [Pipeline] } 10:16:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:16:25 + git log --format=format:%s -1 f7da20bf34cbd31aed01d59c29d04f5a73da2a5d [Pipeline] sh 10:16:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:16:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:16:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:16:25 prd-ubuntu20.04-docker-8c-8g-4518 does not seem to be running inside a container 10:16:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:16:26 $ docker top be0b66475c6559c1abb791ef0615ec28f27ba3770dbc2cf9cfa62c912e037d37 -eo pid,comm 10:16:26 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:16:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:16:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:16:26 [ssh-agent] Looking for ssh-agent implementation... 10:16:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:16:26 $ docker exec be0b66475c6559c1abb791ef0615ec28f27ba3770dbc2cf9cfa62c912e037d37 ssh-agent 10:16:26 SSH_AUTH_SOCK=/tmp/ssh-N74YZijTopwD/agent.33 10:16:26 SSH_AGENT_PID=39 10:16:26 Running ssh-add (command line suppressed) 10:16:26 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12196723699071981139.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12196723699071981139.key) 10:16:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:16:27 + git semver tag 10:16:27 2023-02-04 10:16:27,220 [run_tag] DEBUG tag force:False 10:16:27 2023-02-04 10:16:27,220 [check_head_tag] DEBUG check head tag 10:16:27 2023-02-04 10:16:27,222 [execute] INFO git cat-file --batch-check 10:16:27 2023-02-04 10:16:27,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 10:16:27 2023-02-04 10:16:27,225 [execute] INFO git cat-file --batch 10:16:27 2023-02-04 10:16:27,226 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 10:16:27 2023-02-04 10:16:27,251 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:16:27 2023-02-04 10:16:27,252 [execute] INFO git tag -a v3.0.0-dev.17 -m v3.0.0-dev.17 10:16:27 2023-02-04 10:16:27,252 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.17', '-m', 'v3.0.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 10:16:27 2023-02-04 10:16:27,256 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:16:27 3.0.0-dev.17 [Pipeline] } 10:16:27 $ docker exec --env ******** --env ******** be0b66475c6559c1abb791ef0615ec28f27ba3770dbc2cf9cfa62c912e037d37 ssh-agent -k 10:16:27 unset SSH_AUTH_SOCK; 10:16:27 unset SSH_AGENT_PID; 10:16:27 echo Agent pid 39 killed; 10:16:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:16:27 + git semver [Pipeline] } 10:16:27 $ docker stop --time=1 be0b66475c6559c1abb791ef0615ec28f27ba3770dbc2cf9cfa62c912e037d37 10:16:29 $ docker rm -f --volumes be0b66475c6559c1abb791ef0615ec28f27ba3770dbc2cf9cfa62c912e037d37 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:16:31 10:16:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:16:31 0.23.1-centos7: Pulling from edgex-lftools 10:16:31 ab5ef0e58194: Pulling fs layer 10:16:31 9712f1f96733: Pulling fs layer 10:16:31 63f879dbbcfc: Pulling fs layer 10:16:31 0d9ebad4ef96: Pulling fs layer 10:16:31 e9a5061849ea: Pulling fs layer 10:16:31 d747dcd14b5f: Pulling fs layer 10:16:31 2de7ff778b66: Pulling fs layer 10:16:31 d747dcd14b5f: Waiting 10:16:31 0d9ebad4ef96: Waiting 10:16:31 e9a5061849ea: Waiting 10:16:31 2de7ff778b66: Waiting 10:16:31 9712f1f96733: Download complete 10:16:32 63f879dbbcfc: Verifying Checksum 10:16:32 63f879dbbcfc: Download complete 10:16:33 e9a5061849ea: Verifying Checksum 10:16:33 e9a5061849ea: Download complete 10:16:33 d747dcd14b5f: Verifying Checksum 10:16:33 d747dcd14b5f: Download complete 10:16:33 ab5ef0e58194: Verifying Checksum 10:16:33 ab5ef0e58194: Download complete 10:16:33 0d9ebad4ef96: Verifying Checksum 10:16:33 0d9ebad4ef96: Download complete 10:16:33 2de7ff778b66: Verifying Checksum 10:16:33 2de7ff778b66: Download complete 10:16:35 ab5ef0e58194: Pull complete 10:16:35 9712f1f96733: Pull complete 10:16:36 63f879dbbcfc: Pull complete 10:16:40 0d9ebad4ef96: Pull complete 10:16:40 e9a5061849ea: Pull complete 10:16:40 d747dcd14b5f: Pull complete 10:16:41 2de7ff778b66: Pull complete 10:16:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:16:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:16:41 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:16:41 prd-ubuntu20.04-docker-8c-8g-4518 does not seem to be running inside a container 10:16:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:16:47 $ docker top cd6a26cee38cd540abc2dd11f4a53f65368da2e0f04c8167d4bcce1608739c30 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:16:47 provisioning config files... 10:16:47 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7958163686536929915tmp 10:16:47 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15213811721876212583tmp 10:16:47 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1930346377966592557tmp [Pipeline] { [Pipeline] echo 10:16:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:16:47 ---> sigul-configuration.sh 10:16:47 gpg: directory `/root/.gnupg' created 10:16:47 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:16:47 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:16:47 gpg: keyring `/root/.gnupg/secring.gpg' created 10:16:47 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:16:47 gpg: CAST5 encrypted data 10:16:47 gpg: encrypted with 1 passphrase 10:16:47 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:16:47 + mkdir /home/jenkins 10:16:47 + mkdir /home/jenkins/sigul [Pipeline] sh 10:16:48 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 10:16:48 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:16:48 ---> sigul-install.sh 10:16:48 Sigul already installed; skipping installation. [Pipeline] sh 10:16:48 + git tag --list 10:16:48 0.7.1 10:16:48 delhi-tag 10:16:48 v1.0.0 10:16:48 v1.1.0 10:16:48 v1.1.1 10:16:48 v1.1.2 10:16:48 v1.2.0 10:16:48 v1.2.1 10:16:48 v1.2.2 10:16:48 v1.2.3 10:16:48 v1.3.0 10:16:48 v1.4.0 10:16:48 v2.0.0 10:16:48 v2.1.0 10:16:48 v2.1.1 10:16:48 v2.1.1-dev.2 10:16:48 v2.1.1-dev.3 10:16:48 v2.2.0 10:16:48 v2.2.1-dev.1 10:16:48 v2.2.1-dev.10 10:16:48 v2.2.1-dev.11 10:16:48 v2.2.1-dev.12 10:16:48 v2.2.1-dev.13 10:16:48 v2.2.1-dev.14 10:16:48 v2.2.1-dev.2 10:16:48 v2.2.1-dev.3 10:16:48 v2.2.1-dev.4 10:16:48 v2.2.1-dev.5 10:16:48 v2.2.1-dev.6 10:16:48 v2.2.1-dev.7 10:16:48 v2.2.1-dev.8 10:16:48 v2.2.1-dev.9 10:16:48 v2.3.0 10:16:48 v2.3.0-dev.14 10:16:48 v2.3.0-dev.15 10:16:48 v2.3.0-dev.16 10:16:48 v2.3.0-dev.17 10:16:48 v2.3.0-dev.18 10:16:48 v2.3.0-dev.19 10:16:48 v2.3.0-dev.20 10:16:48 v2.3.0-dev.21 10:16:48 v2.3.0-dev.22 10:16:48 v2.3.0-dev.23 10:16:48 v2.3.0-dev.24 10:16:48 v2.3.0-dev.25 10:16:48 v2.3.0-dev.26 10:16:48 v2.3.0-dev.27 10:16:48 v2.3.0-dev.28 10:16:48 v2.3.0-dev.29 10:16:48 v2.3.0-dev.30 10:16:48 v2.3.0-dev.31 10:16:48 v2.3.0-dev.32 10:16:48 v2.3.0-dev.33 10:16:48 v2.3.0-dev.34 10:16:48 v2.3.0-dev.35 10:16:48 v2.3.0-dev.36 10:16:48 v2.3.0-dev.37 10:16:48 v2.3.0-dev.38 10:16:48 v2.3.0-dev.39 10:16:48 v2.3.0-dev.40 10:16:48 v2.3.0-dev.41 10:16:48 v2.3.0-dev.42 10:16:48 v2.3.0-dev.43 10:16:48 v2.3.0-dev.44 10:16:48 v2.3.0-dev.45 10:16:48 v2.3.0-dev.46 10:16:48 v2.3.0-dev.47 10:16:48 v2.3.0-dev.48 10:16:48 v2.3.0-dev.49 10:16:48 v2.3.0-dev.50 10:16:48 v2.3.0-dev.51 10:16:48 v2.3.1-dev.1 10:16:48 v2.3.1-dev.2 10:16:48 v3.0.0-dev.1 10:16:48 v3.0.0-dev.10 10:16:48 v3.0.0-dev.11 10:16:48 v3.0.0-dev.12 10:16:48 v3.0.0-dev.13 10:16:48 v3.0.0-dev.14 10:16:48 v3.0.0-dev.15 10:16:48 v3.0.0-dev.16 10:16:48 v3.0.0-dev.17 10:16:48 v3.0.0-dev.2 10:16:48 v3.0.0-dev.3 10:16:48 v3.0.0-dev.4 10:16:48 v3.0.0-dev.5 10:16:48 v3.0.0-dev.6 10:16:48 v3.0.0-dev.7 10:16:48 v3.0.0-dev.8 10:16:48 v3.0.0-dev.9 [Pipeline] sh 10:16:48 + lftools sign git-tag v3.0.0-dev.17 10:16:49 Signing Git tag with Sigul... 10:16:49 Signing v3.0.0-dev.17 [Pipeline] echo 10:16:49 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:16:50 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:16:50 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:16:50 $ docker stop --time=1 cd6a26cee38cd540abc2dd11f4a53f65368da2e0f04c8167d4bcce1608739c30 10:16:51 $ docker rm -f --volumes cd6a26cee38cd540abc2dd11f4a53f65368da2e0f04c8167d4bcce1608739c30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:16:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:16:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:16:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:16:52 prd-ubuntu20.04-docker-8c-8g-4518 does not seem to be running inside a container 10:16:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:16:52 $ docker top 4fffd74d0f635ef06908b3fb7478d92be1a425be9d51e2e7d63061e0e4c86c00 -eo pid,comm 10:16:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:16:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:16:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:16:52 [ssh-agent] Looking for ssh-agent implementation... 10:16:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:16:52 $ docker exec 4fffd74d0f635ef06908b3fb7478d92be1a425be9d51e2e7d63061e0e4c86c00 ssh-agent 10:16:52 SSH_AUTH_SOCK=/tmp/ssh-A6xOzA9qDA2q/agent.32 10:16:52 SSH_AGENT_PID=38 10:16:52 Running ssh-add (command line suppressed) 10:16:53 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15694673868594499687.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15694673868594499687.key) 10:16:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:16:53 + git semver bump pre 10:16:53 2023-02-04 10:16:53,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:16:53 2023-02-04 10:16:53,499 [bump_version] DEBUG bumping version:3.0.0-dev.17 on axis:pre with prefix:dev 10:16:53 2023-02-04 10:16:53,499 [bump_version] DEBUG bumped version:3.0.0-dev.18 10:16:53 2023-02-04 10:16:53,499 [write_version] DEBUG write version:3.0.0-dev.18 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 10:16:53 2023-02-04 10:16:53,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:16:53 2023-02-04 10:16:53,499 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:16:53 2023-02-04 10:16:53,501 [execute] INFO git cat-file --batch-check 10:16:53 2023-02-04 10:16:53,502 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:16:53 2023-02-04 10:16:53,507 [execute] INFO git cat-file --batch 10:16:53 2023-02-04 10:16:53,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:16:53 2023-02-04 10:16:53,511 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:16:53 3.0.0-dev.18 [Pipeline] } 10:16:53 $ docker exec --env ******** --env ******** 4fffd74d0f635ef06908b3fb7478d92be1a425be9d51e2e7d63061e0e4c86c00 ssh-agent -k 10:16:53 unset SSH_AUTH_SOCK; 10:16:53 unset SSH_AGENT_PID; 10:16:53 echo Agent pid 38 killed; 10:16:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:16:54 + git semver [Pipeline] } 10:16:54 $ docker stop --time=1 4fffd74d0f635ef06908b3fb7478d92be1a425be9d51e2e7d63061e0e4c86c00 10:16:55 $ docker rm -f --volumes 4fffd74d0f635ef06908b3fb7478d92be1a425be9d51e2e7d63061e0e4c86c00 [Pipeline] // withDockerContainer [Pipeline] sh 10:16:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:16:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:16:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:16:56 prd-ubuntu20.04-docker-8c-8g-4518 does not seem to be running inside a container 10:16:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:16:56 $ docker top 1030c4f38f7b7f70be15f01e7211bf5373649afff33c26f1c64cdd04ba946568 -eo pid,comm 10:16:56 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:16:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:16:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:16:56 [ssh-agent] Looking for ssh-agent implementation... 10:16:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:16:56 $ docker exec 1030c4f38f7b7f70be15f01e7211bf5373649afff33c26f1c64cdd04ba946568 ssh-agent 10:16:56 SSH_AUTH_SOCK=/tmp/ssh-oOEcwrw8T46s/agent.32 10:16:56 SSH_AGENT_PID=38 10:16:56 Running ssh-add (command line suppressed) 10:16:56 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7668127782701651936.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7668127782701651936.key) 10:16:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:16:57 + git semver push 10:16:57 2023-02-04 10:16:57,463 [run_push] DEBUG push 10:16:57 2023-02-04 10:16:57,464 [execute] INFO git cat-file --batch-check 10:16:57 2023-02-04 10:16:57,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:16:57 2023-02-04 10:16:57,468 [execute] INFO git rev-list 84b49a9751dc39bd67cbfef877b5064bfd4454a0 -- 10:16:57 2023-02-04 10:16:57,468 [execute] DEBUG Popen(['git', 'rev-list', '84b49a9751dc39bd67cbfef877b5064bfd4454a0', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:16:57 2023-02-04 10:16:57,480 [execute] INFO git fetch -v origin 10:16:57 2023-02-04 10:16:57,480 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 10:16:58 2023-02-04 10:16:58,045 [run_push] DEBUG no remote changes detected 10:16:58 2023-02-04 10:16:58,045 [execute] INFO git push origin semver 10:16:58 2023-02-04 10:16:58,046 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:16:59 2023-02-04 10:16:58,808 [run_push] DEBUG push all version tags 10:16:59 2023-02-04 10:16:58,809 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:16:59 2023-02-04 10:16:58,810 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 10:16:59 2023-02-04 10:16:59,535 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:16:59 3.0.0-dev.18 [Pipeline] } 10:16:59 $ docker exec --env ******** --env ******** 1030c4f38f7b7f70be15f01e7211bf5373649afff33c26f1c64cdd04ba946568 ssh-agent -k 10:16:59 unset SSH_AUTH_SOCK; 10:16:59 unset SSH_AGENT_PID; 10:16:59 echo Agent pid 38 killed; 10:16:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:17:00 + git semver [Pipeline] } 10:17:00 $ docker stop --time=1 1030c4f38f7b7f70be15f01e7211bf5373649afff33c26f1c64cdd04ba946568 10:17:01 $ docker rm -f --volumes 1030c4f38f7b7f70be15f01e7211bf5373649afff33c26f1c64cdd04ba946568 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:17:02 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 10:17:02 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 10:17:02 total 16 10:17:02 drwxr-xr-x 3 root root 4096 Feb 4 10:10 . 10:17:02 drwxrwxr-x 12 jenkins jenkins 4096 Feb 4 10:16 .. 10:17:02 drwxr-xr-x 2 root root 4096 Feb 4 10:10 cost 10:17:02 -rw-r--r-- 1 root root 85 Feb 4 10:10 cost.csv 10:17:02 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 10:17:02 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 10:17:02 total 16 10:17:02 drwxr-xr-x 3 jenkins jenkins 4096 Feb 4 10:10 . 10:17:02 drwxrwxr-x 12 jenkins jenkins 4096 Feb 4 10:16 .. 10:17:02 drwxr-xr-x 2 jenkins jenkins 4096 Feb 4 10:10 cost 10:17:02 -rw-r--r-- 1 jenkins jenkins 85 Feb 4 10:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:17:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:17:03 ---> package-listing.sh 10:17:03 ++ facter osfamily 10:17:03 ++ tr '[:upper:]' '[:lower:]' 10:17:03 + OS_FAMILY=debian 10:17:03 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 10:17:03 + START_PACKAGES=/tmp/packages_start.txt 10:17:03 + END_PACKAGES=/tmp/packages_end.txt 10:17:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:17:03 + PACKAGES=/tmp/packages_start.txt 10:17:03 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 10:17:03 + PACKAGES=/tmp/packages_end.txt 10:17:03 + case "${OS_FAMILY}" in 10:17:03 + dpkg -l 10:17:03 + grep '^ii' 10:17:03 + '[' -f /tmp/packages_start.txt ']' 10:17:03 + '[' -f /tmp/packages_end.txt ']' 10:17:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:17:03 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 10:17:03 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 10:17:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 10:17:03 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:17:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:17:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:17:04 prd-ubuntu20.04-docker-8c-8g-4518 does not seem to be running inside a container 10:17:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:17:04 $ docker top 30946bbbcf9b4766d7e9822811e79f0b60ee82bc6cff31906279faed1f7a4e1e -eo pid,comm [Pipeline] { [Pipeline] sh 10:17:05 + touch /tmp/pre-build-complete [Pipeline] sh 10:17:05 + mkdir -p /var/log/sysstat [Pipeline] sh 10:17:05 + ls /var/log/sa-host 10:17:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:17:05 provisioning config files... 10:17:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3699430118227070657tmp [Pipeline] { [Pipeline] echo 10:17:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:17:06 ---> create-netrc.sh [Pipeline] } 10:17:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:17:06 ---> python-tools-install.sh [Pipeline] echo 10:17:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:17:06 ---> sudo-logs.sh 10:17:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:17:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:17:07 ---> job-cost.sh 10:17:07 lf-activate-venv: SKIPPING 10:17:07 DEBUG: total: 0.2199999988079071 10:17:07 INFO: Retrieving Stack Cost... 10:17:07 INFO: Retrieving Pricing Info for: v3-standard-8 10:17:07 INFO: Archiving Costs [Pipeline] echo 10:17:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:17:08 ---> logs-deploy.sh 10:17:08 lf-activate-venv: SKIPPING 10:17:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/147 10:17:08 INFO: archiving workspace using pattern(s): 10:17:09 Archives upload complete. 10:17:09 INFO: archiving logs to Nexus