Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 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-ssh7461920767113616268.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-ssh14435930232423862050.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-ssh6453930623468862093.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-ssh7122538232365966493.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-ssh8894218469059603829.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 Running on prd-ubuntu20.04-docker-8c-8g-6991 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 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 # timeout=10 Commit message: "Merge pull request #1341 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v3-3.0.0-dev.11" > git rev-list --no-walk 64ca9b081847739b4160c0dc87966f6c81a47c16 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:32:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:32:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:32:13 ========================================================= 04:32:13 EdgeX Global Pipelines Version Info 04:32:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:32:14 ------------------- 04:32:14 stable info: 04:32:14 ------------------- 04:32:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:32:14 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:32:14 Message: update stable to v1.0.244 04:32:15 ------------------- 04:32:15 experimental info: 04:32:15 ------------------- 04:32:15 Commited By: **** collab-it+edgex@linuxfoundation.org 04:32:15 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:32:15 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3712315 [Pipeline] echo 04:32:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:32:15 provisioning config files... 04:32:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8520811436145445941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:32:16 ---> docker-login.sh 04:32:16 nexus3.edgexfoundry.org:10001 04:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:16 Configure a credential helper to remove this warning. See 04:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:16 04:32:16 Login Succeeded 04:32:16 nexus3.edgexfoundry.org:10002 04:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:16 Configure a credential helper to remove this warning. See 04:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:16 04:32:16 Login Succeeded 04:32:16 nexus3.edgexfoundry.org:10003 04:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:16 Configure a credential helper to remove this warning. See 04:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:16 04:32:16 Login Succeeded 04:32:16 nexus3.edgexfoundry.org:10004 04:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:16 Configure a credential helper to remove this warning. See 04:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:16 04:32:16 Login Succeeded 04:32:16 docker.io 04:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:16 Configure a credential helper to remove this warning. See 04:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:16 04:32:16 Login Succeeded 04:32:16 ---> docker-login.sh ends [Pipeline] } 04:32:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:32:17 + git rev-list -1 --merges 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5~1..3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 [Pipeline] echo 04:32:17 -----------> git rev-list -1 --merges 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5~1..3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 04:32:17 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 [false] [Pipeline] sh 04:32:17 + git log --format=format:%s -1 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 [Pipeline] echo 04:32:17 ========================================================= 04:32:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:32:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:32:17 + git log --format=format:%s -1 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 [Pipeline] echo 04:32:17 [semverPrep] GIT_COMMIT: 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5, Commit Message: Merge pull request #1341 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v3-3.0.0-dev.11 [Pipeline] echo 04:32:17 [semverPrep] This is not a build commit. [Pipeline] sh 04:32:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:32:18 + grep -v github /etc/ssh/ssh_known_hosts 04:32:18 + [ -e /tmp/ssh_known_hosts ] 04:32:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:32:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:32:18 + sudo tee -a /etc/ssh/ssh_known_hosts 04:32:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:32:18 04:32:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:32:18 0.1.4: Pulling from edgex-devops/py-git-semver 04:32:18 b85a868b505f: Pulling fs layer 04:32:18 e2be974225ed: Pulling fs layer 04:32:18 339a4e72a1f5: Pulling fs layer 04:32:18 988bab9f4d93: Pulling fs layer 04:32:18 1469e6f7b9e6: Pulling fs layer 04:32:18 eaf3925da568: Pulling fs layer 04:32:18 bab4dde63d76: Pulling fs layer 04:32:18 bde34c3a00c8: Pulling fs layer 04:32:18 b352a97aabf1: Pulling fs layer 04:32:18 988bab9f4d93: Waiting 04:32:18 4872d77fe225: Pulling fs layer 04:32:18 5851b861e8e6: Pulling fs layer 04:32:18 eaf3925da568: Waiting 04:32:18 1469e6f7b9e6: Waiting 04:32:18 bab4dde63d76: Waiting 04:32:18 4872d77fe225: Waiting 04:32:18 bde34c3a00c8: Waiting 04:32:18 5851b861e8e6: Waiting 04:32:18 b352a97aabf1: Waiting 04:32:18 e2be974225ed: Verifying Checksum 04:32:18 e2be974225ed: Download complete 04:32:18 988bab9f4d93: Verifying Checksum 04:32:18 988bab9f4d93: Download complete 04:32:19 1469e6f7b9e6: Verifying Checksum 04:32:19 1469e6f7b9e6: Download complete 04:32:19 eaf3925da568: Download complete 04:32:19 339a4e72a1f5: Verifying Checksum 04:32:19 339a4e72a1f5: Download complete 04:32:19 bde34c3a00c8: Download complete 04:32:19 b352a97aabf1: Verifying Checksum 04:32:19 b352a97aabf1: Download complete 04:32:19 4872d77fe225: Verifying Checksum 04:32:19 4872d77fe225: Download complete 04:32:19 5851b861e8e6: Verifying Checksum 04:32:19 5851b861e8e6: Download complete 04:32:19 b85a868b505f: Verifying Checksum 04:32:19 b85a868b505f: Download complete 04:32:19 bab4dde63d76: Verifying Checksum 04:32:19 bab4dde63d76: Download complete 04:32:20 b85a868b505f: Pull complete 04:32:20 e2be974225ed: Pull complete 04:32:20 339a4e72a1f5: Pull complete 04:32:20 988bab9f4d93: Pull complete 04:32:21 1469e6f7b9e6: Pull complete 04:32:21 eaf3925da568: Pull complete 04:32:23 bab4dde63d76: Pull complete 04:32:23 bde34c3a00c8: Pull complete 04:32:23 b352a97aabf1: Pull complete 04:32:23 4872d77fe225: Pull complete 04:32:23 5851b861e8e6: Pull complete 04:32:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:32:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:32:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:23 prd-ubuntu20.04-docker-8c-8g-6991 does not seem to be running inside a container 04:32:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:32:26 $ docker top 5c8b16b65336d358a903a3ec34aca5e6ec7f63528425dd506a22100ed3a7c786 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:32:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:32:26 [ssh-agent] Looking for ssh-agent implementation... 04:32:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:32:27 $ docker exec 5c8b16b65336d358a903a3ec34aca5e6ec7f63528425dd506a22100ed3a7c786 ssh-agent 04:32:27 SSH_AUTH_SOCK=/tmp/ssh-cOYSxKLgdWNl/agent.32 04:32:27 SSH_AGENT_PID=38 04:32:27 Running ssh-add (command line suppressed) 04:32:27 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_472147647569212621.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_472147647569212621.key) 04:32:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:32:27 + git tag --points-at HEAD [Pipeline] } 04:32:27 $ docker exec --env ******** --env ******** 5c8b16b65336d358a903a3ec34aca5e6ec7f63528425dd506a22100ed3a7c786 ssh-agent -k 04:32:27 unset SSH_AUTH_SOCK; 04:32:27 unset SSH_AGENT_PID; 04:32:27 echo Agent pid 38 killed; 04:32:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:32:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:32:27 [ssh-agent] Looking for ssh-agent implementation... 04:32:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:32:27 $ docker exec 5c8b16b65336d358a903a3ec34aca5e6ec7f63528425dd506a22100ed3a7c786 ssh-agent 04:32:27 SSH_AUTH_SOCK=/tmp/ssh-kX95XOgiwkoA/agent.70 04:32:27 SSH_AGENT_PID=76 04:32:27 Running ssh-add (command line suppressed) 04:32:28 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17240787163081486227.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17240787163081486227.key) 04:32:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:32:28 + git semver init 04:32:28 2023-02-22 04:32:28,570 [run_init] DEBUG init version:0.0.0 force:False 04:32:28 2023-02-22 04:32:28,571 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:32:28 2023-02-22 04:32:28,571 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:32:28 2023-02-22 04:32:28,571 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:32:29 2023-02-22 04:32:29,577 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:32:29 2023-02-22 04:32:29,578 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:32:29 2023-02-22 04:32:29,578 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:32:29 2023-02-22 04:32:29,578 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:32:29 3.0.0-dev.35 [Pipeline] } 04:32:29 $ docker exec --env ******** --env ******** 5c8b16b65336d358a903a3ec34aca5e6ec7f63528425dd506a22100ed3a7c786 ssh-agent -k 04:32:29 unset SSH_AUTH_SOCK; 04:32:29 unset SSH_AGENT_PID; 04:32:29 echo Agent pid 76 killed; 04:32:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:32:30 + git semver [Pipeline] } 04:32:30 $ docker stop --time=1 5c8b16b65336d358a903a3ec34aca5e6ec7f63528425dd506a22100ed3a7c786 04:32:31 $ docker rm -f --volumes 5c8b16b65336d358a903a3ec34aca5e6ec7f63528425dd506a22100ed3a7c786 [Pipeline] // withDockerContainer [Pipeline] sh 04:32:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:32:32 Stashed 1 file(s) [Pipeline] echo 04:32:32 [edgeXSemver]: initialized semver on version 3.0.0-dev.35 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:32:32 provisioning config files... 04:32:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11965523621512336467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:32:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6998 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:32:32 Running in /w/workspace/device-sdk-go/165 [Pipeline] { [Pipeline] checkout 04:32:32 ---> docker-login.sh 04:32:32 nexus3.edgexfoundry.org:10001 04:32:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:32 Configure a credential helper to remove this warning. See 04:32:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:32 04:32:32 Login Succeeded 04:32:32 nexus3.edgexfoundry.org:10002 04:32:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:32 Configure a credential helper to remove this warning. See 04:32:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:32 04:32:32 Login Succeeded 04:32:32 nexus3.edgexfoundry.org:10003 04:32:32 The recommended git tool is: git 04:32:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:33 Configure a credential helper to remove this warning. See 04:32:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:33 04:32:33 Login Succeeded 04:32:33 nexus3.edgexfoundry.org:10004 04:32:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:33 Configure a credential helper to remove this warning. See 04:32:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:33 04:32:33 Login Succeeded 04:32:33 docker.io 04:32:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:33 Configure a credential helper to remove this warning. See 04:32:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:33 04:32:33 Login Succeeded 04:32:33 ---> docker-login.sh ends [Pipeline] } 04:32:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:32:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:32:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:32:33 ========================================================= 04:32:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:32:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:33 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:32:33 Sending build context to Docker daemon 10.53MB 04:32:33 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:32:33 Step 2/10 : FROM ${BASE} AS builder 04:32:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:32:33 213ec9aee27d: Pulling fs layer 04:32:33 4583459ba037: Pulling fs layer 04:32:33 93c1e223e6f2: Pulling fs layer 04:32:33 53926ce57604: Pulling fs layer 04:32:33 21b2b0c7a3f4: Pulling fs layer 04:32:33 22ff95d597cd: Pulling fs layer 04:32:33 12d6caf4c0d1: Pulling fs layer 04:32:33 96b7cbca73a9: Pulling fs layer 04:32:33 a7acece74701: Pulling fs layer 04:32:33 53926ce57604: Waiting 04:32:33 12d6caf4c0d1: Waiting 04:32:33 22ff95d597cd: Waiting 04:32:33 96b7cbca73a9: Waiting 04:32:33 a7acece74701: Waiting 04:32:33 93c1e223e6f2: Verifying Checksum 04:32:33 93c1e223e6f2: Download complete 04:32:33 4583459ba037: Download complete 04:32:33 21b2b0c7a3f4: Download complete 04:32:34 22ff95d597cd: Download complete 04:32:34 213ec9aee27d: Verifying Checksum 04:32:34 213ec9aee27d: Download complete 04:32:34 12d6caf4c0d1: Verifying Checksum 04:32:34 12d6caf4c0d1: Download complete 04:32:34 213ec9aee27d: Pull complete 04:32:34 4583459ba037: Pull complete 04:32:34 93c1e223e6f2: Pull complete 04:32:34 a7acece74701: Verifying Checksum 04:32:34 a7acece74701: Download complete 04:32:34 96b7cbca73a9: Verifying Checksum 04:32:34 96b7cbca73a9: Download complete 04:32:34 53926ce57604: Download complete 04:32:38 using credential edgex-jenkins-ssh 04:32:38 Cloning the remote Git repository 04:32:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:32:38 > git init /w/workspace/device-sdk-go/165 # timeout=10 04:32:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:32:38 > git --version # timeout=10 04:32:38 > git --version # 'git version 2.25.1' 04:32:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:32:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:32:38 53926ce57604: Pull complete 04:32:38 21b2b0c7a3f4: Pull complete 04:32:38 22ff95d597cd: Pull complete 04:32:38 12d6caf4c0d1: Pull complete 04:32:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:32:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:32:40 96b7cbca73a9: Pull complete 04:32:41 Avoid second fetch 04:32:41 Checking out Revision 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 (main) 04:32:41 a7acece74701: Pull complete 04:32:41 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:32:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:32:41 ---> db6d94c90886 04:32:41 Step 3/10 : ARG MAKE=make build 04:32:41 > git config core.sparsecheckout # timeout=10 04:32:41 > git checkout -f 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 # timeout=10 04:32:41 Commit message: "Merge pull request #1341 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v3-3.0.0-dev.11" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:32:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:32:42 % Total % Received % Xferd Average Speed Time Time Time Current 04:32:42 Dload Upload Total Spent Left Speed 04:32:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 04:32:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:32:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:32:43 + sudo tee /etc/docker/daemon.new 04:32:43 { 04:32:43 "registry-mirrors": [ 04:32:43 "https://nexus3.edgexfoundry.org:10001" 04:32:43 ], 04:32:43 "bip": "10.250.0.254/24", 04:32:43 "hosts": [ 04:32:43 "tcp://0.0.0.0:5555", 04:32:43 "unix:///var/run/docker.sock" 04:32:43 ], 04:32:43 "mtu": 1458, 04:32:43 "selinux-enabled": true, 04:32:43 "seccomp-profile": "/etc/docker/seccomp.json" 04:32:43 } [Pipeline] sh 04:32:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:32:44 + sudo service docker restart 04:32:46 ---> Running in e1972357d11d 04:32:46 Removing intermediate container e1972357d11d 04:32:46 ---> b71402f1911c 04:32:46 Step 4/10 : WORKDIR /device-sdk-go 04:32:46 ---> Running in e445678f61ef 04:32:46 Removing intermediate container e445678f61ef 04:32:46 ---> e945745396b8 04:32:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:32:46 ---> Running in 3dc4d9c11055 04:32:46 Removing intermediate container 3dc4d9c11055 04:32:46 ---> 9c301fd9d2be 04:32:46 Step 6/10 : RUN apk add --update --no-cache make git 04:32:46 ---> Running in 39b3ceee2bca 04:32:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:32:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:32:47 OK: 211 MiB in 51 packages 04:32:47 Removing intermediate container 39b3ceee2bca 04:32:47 ---> f1c40838ec47 04:32:47 Step 7/10 : COPY go.mod vendor* ./ 04:32:47 ---> 35622b323eb7 04:32:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:32:47 ---> Running in 525fdf3a90be [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:33:02 provisioning config files... 04:33:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/165@tmp/config15444409245109792603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:33:02 ---> docker-login.sh 04:33:02 nexus3.edgexfoundry.org:10001 04:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:33:03 Configure a credential helper to remove this warning. See 04:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:33:03 04:33:03 Login Succeeded 04:33:03 nexus3.edgexfoundry.org:10002 04:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:33:03 Configure a credential helper to remove this warning. See 04:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:33:03 04:33:03 Login Succeeded 04:33:03 nexus3.edgexfoundry.org:10003 04:33:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:33:04 Configure a credential helper to remove this warning. See 04:33:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:33:04 04:33:04 Login Succeeded 04:33:04 nexus3.edgexfoundry.org:10004 04:33:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:33:04 Configure a credential helper to remove this warning. See 04:33:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:33:04 04:33:04 Login Succeeded 04:33:04 docker.io 04:33:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:33:05 Configure a credential helper to remove this warning. See 04:33:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:33:05 04:33:05 Login Succeeded 04:33:05 ---> docker-login.sh ends [Pipeline] } 04:33:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:33:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:33:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:33:05 ========================================================= 04:33:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:33:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:06 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:33:06 Sending build context to Docker daemon 5.656MB 04:33:06 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:33:06 Step 2/10 : FROM ${BASE} AS builder 04:33:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:33:06 9b18e9b68314: Pulling fs layer 04:33:06 35d82f9e3411: Pulling fs layer 04:33:06 e16973657156: Pulling fs layer 04:33:06 fc693d55d65f: Pulling fs layer 04:33:06 7e9fc2657dce: Pulling fs layer 04:33:06 dda99020689f: Pulling fs layer 04:33:06 db1c61fa0a46: Pulling fs layer 04:33:06 891c053d2c06: Pulling fs layer 04:33:06 dda99020689f: Waiting 04:33:06 db1c61fa0a46: Waiting 04:33:06 891c053d2c06: Waiting 04:33:06 7e9fc2657dce: Waiting 04:33:06 fc693d55d65f: Waiting 04:33:06 e16973657156: Download complete 04:33:06 35d82f9e3411: Download complete 04:33:06 7e9fc2657dce: Download complete 04:33:06 dda99020689f: Verifying Checksum 04:33:06 dda99020689f: Download complete 04:33:06 9b18e9b68314: Verifying Checksum 04:33:06 9b18e9b68314: Download complete 04:33:07 9b18e9b68314: Pull complete 04:33:07 891c053d2c06: Verifying Checksum 04:33:07 891c053d2c06: Download complete 04:33:08 35d82f9e3411: Pull complete 04:33:08 e16973657156: Pull complete 04:33:09 db1c61fa0a46: Verifying Checksum 04:33:09 fc693d55d65f: Verifying Checksum 04:33:09 fc693d55d65f: Download complete 04:33:20 Removing intermediate container 525fdf3a90be 04:33:20 ---> 0190495d9e7b 04:33:20 Step 9/10 : COPY . . 04:33:20 ---> 991fb309affe 04:33:20 Step 10/10 : RUN ${MAKE} 04:33:20 ---> Running in 91d174882d25 04:33:20 noop 04:33:20 Removing intermediate container 91d174882d25 04:33:20 ---> 58c146a5b751 04:33:20 Successfully built 58c146a5b751 04:33:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:20 + docker inspect -f . ci-base-image-x86_64 04:33:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:20 prd-ubuntu20.04-docker-8c-8g-6991 does not seem to be running inside a container 04:33:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:33:20 $ docker top 56ec4f0c6cbe3770e9532e394b02fda2622f865aa11c2c3bbc62a1dcdc2c2edb -eo pid,comm [Pipeline] { [Pipeline] sh 04:33:21 + go version 04:33:21 go version go1.18.7 linux/amd64 [Pipeline] } 04:33:21 $ docker stop --time=1 56ec4f0c6cbe3770e9532e394b02fda2622f865aa11c2c3bbc62a1dcdc2c2edb 04:33:21 fc693d55d65f: Pull complete 04:33:22 7e9fc2657dce: Pull complete 04:33:22 $ docker rm -f --volumes 56ec4f0c6cbe3770e9532e394b02fda2622f865aa11c2c3bbc62a1dcdc2c2edb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:22 dda99020689f: Pull complete 04:33:22 + docker inspect -f . ci-base-image-x86_64 04:33:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:22 prd-ubuntu20.04-docker-8c-8g-6991 does not seem to be running inside a container 04:33:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:33:23 $ docker top ea3311ec98a3facf99e0c66327d146146f8e103f88a77f8998b58069a79b58e0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:33:23 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:33:23 + make test 04:33:23 go test -race -coverprofile=coverage.out ./... 04:33:29 db1c61fa0a46: Pull complete 04:33:30 891c053d2c06: Pull complete 04:33:30 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:33:30 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:33:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:33:30 ---> f96f9c87975a 04:33:30 Step 3/10 : ARG MAKE=make build 04:33:33 ---> Running in 3bbeca901873 04:33:33 Removing intermediate container 3bbeca901873 04:33:33 ---> 506e252bc1a4 04:33:33 Step 4/10 : WORKDIR /device-sdk-go 04:33:33 ---> Running in cbfd23dfe009 04:33:33 Removing intermediate container cbfd23dfe009 04:33:33 ---> b511866007f7 04:33:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:33:33 ---> Running in 2b30086bf14f 04:33:33 Removing intermediate container 2b30086bf14f 04:33:33 ---> e452daf7f41f 04:33:33 Step 6/10 : RUN apk add --update --no-cache make git 04:33:33 ---> Running in 96dac23fbead 04:33:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:33:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:33:36 OK: 221 MiB in 51 packages 04:33:37 Removing intermediate container 96dac23fbead 04:33:37 ---> a9df4a9bd774 04:33:37 Step 7/10 : COPY go.mod vendor* ./ 04:33:37 ---> 1d99af8d42e0 04:33:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:33:37 ---> Running in 58e0681c95df 04:33:42 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:33:42 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:33:42 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:33:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:33:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:33:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.075s coverage: 27.6% of statements 04:33:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.054s coverage: 78.9% of statements 04:33:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:33:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.091s coverage: 86.0% of statements 04:33:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:33:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:33:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.103s coverage: 77.0% of statements 04:33:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:33:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:33:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:33:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.097s coverage: 65.2% of statements 04:33:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:33:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:33:42 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.743s coverage: 89.2% of statements 04:33:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:33:42 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.7% of statements 04:33:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:33:57 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 04:33:57 GO111MODULE=on go vet ./... 04:34:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:34:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:34:01 ./bin/test-attribution-txt.sh [Pipeline] echo 04:34:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:34:01 $ docker stop --time=1 ea3311ec98a3facf99e0c66327d146146f8e103f88a77f8998b58069a79b58e0 04:34:05 $ docker rm -f --volumes ea3311ec98a3facf99e0c66327d146146f8e103f88a77f8998b58069a79b58e0 [Pipeline] // withDockerContainer [Pipeline] sh 04:34:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:34:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:34:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:34:07 + ls -al . 04:34:07 total 272 04:34:07 drwxrwxr-x 11 jenkins jenkins 4096 Feb 22 04:33 . 04:34:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:32 .. 04:34:07 -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 04:32 .dockerignore 04:34:07 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 04:33 .git 04:34:07 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:32 .github 04:34:07 -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 04:32 .gitignore 04:34:07 -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 04:32 .golangci.yml 04:34:07 drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 04:32 .semver 04:34:07 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 22 04:32 CHANGELOG.md 04:34:07 -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 04:32 GOVERNANCE.md 04:34:07 -rw-rw-r-- 1 jenkins jenkins 885 Feb 22 04:32 Jenkinsfile 04:34:07 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 04:32 LICENSE 04:34:07 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 22 04:32 Makefile 04:34:07 -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 04:32 OWNERS.md 04:34:07 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 22 04:32 README.md 04:34:07 -rw-rw-r-- 1 jenkins jenkins 12 Feb 22 04:32 VERSION 04:34:07 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:32 bin 04:34:07 -rw-r--r-- 1 jenkins jenkins 98531 Feb 22 04:33 coverage.out 04:34:07 drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 04:32 example 04:34:07 -rw-rw-r-- 1 jenkins jenkins 3266 Feb 22 04:32 go.mod 04:34:07 -rw-rw-r-- 1 jenkins jenkins 32794 Feb 22 04:32 go.sum 04:34:07 drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 04:32 internal 04:34:07 drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 04:32 openapi 04:34:07 drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 04:32 pkg 04:34:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:32 snap 04:34:07 -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 04:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:07 + 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=3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 --label arch=amd64 --label version=3.0.0-dev.35 . 04:34:07 Sending build context to Docker daemon 10.63MB 04:34:07 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:34:07 Step 2/23 : FROM ${BASE} AS builder 04:34:07 ---> 58c146a5b751 04:34:07 Step 3/23 : ARG MAKE=make build 04:34:07 ---> Running in 8857da0641c0 04:34:07 Removing intermediate container 8857da0641c0 04:34:07 ---> 1a75446a56fe 04:34:07 Step 4/23 : WORKDIR /device-sdk-go 04:34:07 ---> Running in 111e1887a6c4 04:34:08 Removing intermediate container 111e1887a6c4 04:34:08 ---> 040e17cd5b8e 04:34:08 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:34:08 ---> Running in 8e7f966be231 04:34:08 Removing intermediate container 8e7f966be231 04:34:08 ---> 6f7a636b4605 04:34:08 Step 6/23 : RUN apk add --update --no-cache make git 04:34:08 ---> Running in 1d493c1d78e7 04:34:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:34:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:34:08 OK: 211 MiB in 51 packages 04:34:09 Removing intermediate container 1d493c1d78e7 04:34:09 ---> cf79e970f4c6 04:34:09 Step 7/23 : COPY go.mod vendor* ./ 04:34:09 ---> 3b905411b93d 04:34:09 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:34:09 ---> Running in 029a4f8080b4 04:34:10 Removing intermediate container 029a4f8080b4 04:34:10 ---> fded63b6051c 04:34:10 Step 9/23 : COPY . . 04:34:10 ---> ee6c6b1d6333 04:34:10 Step 10/23 : RUN ${MAKE} 04:34:10 ---> Running in e5c9ab325292 04:34:10 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.35" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:34:32 Removing intermediate container e5c9ab325292 04:34:32 ---> a8ce330ebc34 04:34:32 Step 11/23 : FROM alpine:3.16 04:34:32 3.16: Pulling from library/alpine 04:34:32 ef5531b6e74e: Pulling fs layer 04:34:32 ef5531b6e74e: Verifying Checksum 04:34:32 ef5531b6e74e: Download complete 04:34:32 ef5531b6e74e: Pull complete 04:34:32 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 04:34:32 Status: Downloaded newer image for alpine:3.16 04:34:32 ---> dfd21b5a31f5 04:34:32 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:34:33 ---> Running in 5a2c235ed10f 04:34:33 Removing intermediate container 5a2c235ed10f 04:34:33 ---> 0d729332ec3e 04:34:33 Step 13/23 : RUN apk add --update --no-cache 04:34:33 ---> Running in 1f168619ff5e 04:34:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:34:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:34:33 OK: 6 MiB in 14 packages 04:34:33 Removing intermediate container 1f168619ff5e 04:34:33 ---> ad113caa7452 04:34:33 Step 14/23 : WORKDIR / 04:34:33 ---> Running in acbf3db5cd66 04:34:34 Removing intermediate container acbf3db5cd66 04:34:34 ---> b12dddb73e26 04:34:34 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:34:34 ---> ef8f2f5dcf45 04:34:34 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:34:35 ---> ad95cc6626e4 04:34:35 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:34:35 ---> 0226dad7869d 04:34:35 Step 18/23 : EXPOSE 59999 04:34:35 ---> Running in e2917c3c320d 04:34:35 Removing intermediate container e2917c3c320d 04:34:35 ---> 6a7b834867ad 04:34:35 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:34:35 ---> Running in 4946060fb4cb 04:34:35 Removing intermediate container 4946060fb4cb 04:34:35 ---> aa3099e1d947 04:34:35 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:34:35 ---> Running in 0e888756580d 04:34:35 Removing intermediate container 0e888756580d 04:34:35 ---> 5f85ce317eff 04:34:35 Step 21/23 : LABEL arch=amd64 04:34:35 ---> Running in 603f16100756 04:34:35 Removing intermediate container 603f16100756 04:34:35 ---> 0a9a9d4d954c 04:34:35 Step 22/23 : LABEL git_sha=3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 04:34:35 ---> Running in e3551fb1dd72 04:34:35 Removing intermediate container e3551fb1dd72 04:34:35 ---> f13f16844e63 04:34:35 Step 23/23 : LABEL version=3.0.0-dev.35 04:34:35 ---> Running in 9e4a8fa256d1 04:34:35 Removing intermediate container 9e4a8fa256d1 04:34:35 ---> fc1c7c47fdaa 04:34:35 [Warning] One or more build-args [ARCH] were not consumed 04:34:35 Successfully built fc1c7c47fdaa 04:34:35 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:34:36 04:34:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:34:36 latest: Pulling from edgex-lftools-log-publisher 04:34:36 5eb5b503b376: Pulling fs layer 04:34:36 5c69ac0246d0: Pulling fs layer 04:34:36 ec43610c2a17: Pulling fs layer 04:34:36 3a2ae6a8a46f: Pulling fs layer 04:34:36 33b1e0a273af: Pulling fs layer 04:34:36 5d3b04190fa2: Pulling fs layer 04:34:36 3a2ae6a8a46f: Waiting 04:34:36 33b1e0a273af: Waiting 04:34:36 2f39f015ded8: Pulling fs layer 04:34:36 5d3b04190fa2: Waiting 04:34:36 2f39f015ded8: Waiting 04:34:36 5c69ac0246d0: Verifying Checksum 04:34:36 5c69ac0246d0: Download complete 04:34:36 3a2ae6a8a46f: Verifying Checksum 04:34:36 3a2ae6a8a46f: Download complete 04:34:36 33b1e0a273af: Verifying Checksum 04:34:36 33b1e0a273af: Download complete 04:34:36 ec43610c2a17: Verifying Checksum 04:34:36 ec43610c2a17: Download complete 04:34:36 5d3b04190fa2: Verifying Checksum 04:34:36 5d3b04190fa2: Download complete 04:34:36 5eb5b503b376: Download complete 04:34:37 2f39f015ded8: Download complete 04:34:37 5eb5b503b376: Pull complete 04:34:37 5c69ac0246d0: Pull complete 04:34:38 ec43610c2a17: Pull complete 04:34:38 3a2ae6a8a46f: Pull complete 04:34:38 33b1e0a273af: Pull complete 04:34:38 5d3b04190fa2: Pull complete 04:34:42 2f39f015ded8: Pull complete 04:34:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:34:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:34:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:42 prd-ubuntu20.04-docker-8c-8g-6991 does not seem to be running inside a container 04:34:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:34:45 Removing intermediate container 58e0681c95df 04:34:45 ---> c490843b3eb3 04:34:45 Step 9/10 : COPY . . 04:34:45 ---> 8cac23d0e129 04:34:45 Step 10/10 : RUN ${MAKE} 04:34:45 ---> Running in 9eaef409f2d3 04:34:45 noop 04:34:45 Removing intermediate container 9eaef409f2d3 04:34:45 ---> caaa84319373 04:34:45 Successfully built caaa84319373 04:34:45 Successfully tagged ci-base-image-arm64:latest 04:34:47 $ docker top 4f000938b9a96d5887393af1545038ed601616335bf08d38b1c1a92908e4c773 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:47 ---> job-cost.sh 04:34:47 lf-activate-venv: SKIPPING 04:34:47 INFO: No Stack... 04:34:47 + docker inspect -f . ci-base-image-arm64 04:34:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:47 prd-ubuntu20.04-docker-arm64-4c-16g-6998 does not seem to be running inside a container 04:34:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/165 -v /w/workspace/device-sdk-go/165:/w/workspace/device-sdk-go/165:rw,z -v /w/workspace/device-sdk-go/165@tmp:/w/workspace/device-sdk-go/165@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 04:34:48 INFO: Retrieving Pricing Info for: v3-standard-8 04:34:48 INFO: Archiving Costs 04:34:49 $ docker top 7174327e58bdf33375fed7d2e972f1da9029ec2ed8d6126a6e982e2dfa05be4a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 04:34:49 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:34:49 + cut -d, -f6 [Pipeline] lock 04:34:49 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-165-stack-cost] 04:34:49 Resource [jenkins-edgexfoundry-device-sdk-go-main-165-stack-cost] did not exist. Created. 04:34:49 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-165-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:34:50 + echo total: 0.2199999988079071 [Pipeline] stash 04:34:50 Stashed 1 file(s) [Pipeline] } 04:34:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-165-stack-cost] [Pipeline] // lock [Pipeline] } 04:34:50 + go version 04:34:50 go version go1.18.7 linux/arm64 04:34:50 $ docker stop --time=1 4f000938b9a96d5887393af1545038ed601616335bf08d38b1c1a92908e4c773 04:34:51 $ docker rm -f --volumes 4f000938b9a96d5887393af1545038ed601616335bf08d38b1c1a92908e4c773 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 04:34:51 $ docker stop --time=1 7174327e58bdf33375fed7d2e972f1da9029ec2ed8d6126a6e982e2dfa05be4a 04:34:53 $ docker rm -f --volumes 7174327e58bdf33375fed7d2e972f1da9029ec2ed8d6126a6e982e2dfa05be4a [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:53 + docker inspect -f . ci-base-image-arm64 04:34:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:53 prd-ubuntu20.04-docker-arm64-4c-16g-6998 does not seem to be running inside a container 04:34:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/165 -v /w/workspace/device-sdk-go/165:/w/workspace/device-sdk-go/165:rw,z -v /w/workspace/device-sdk-go/165@tmp:/w/workspace/device-sdk-go/165@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 04:34:55 $ docker top f286fcb69c2971977d152deef0c1224c4c9ead80dc0a514108305fbaa0f2a7e4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:34:55 + git config --global --add safe.directory /w/workspace/device-sdk-go/165 [Pipeline] fileExists [Pipeline] sh 04:34:56 + make test 04:34:56 go test -race -coverprofile=coverage.out ./... 04:35:35 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:37:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:37:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:37:27 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:37:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:37:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:37:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.261s coverage: 27.6% of statements 04:37:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.299s coverage: 78.9% of statements 04:37:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:37:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.462s coverage: 86.0% of statements 04:37:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:37:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:37:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.516s coverage: 77.0% of statements 04:37:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:37:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:37:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:37:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.418s coverage: 65.2% of statements 04:37:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:37:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:37:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.178s coverage: 89.2% of statements 04:37:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:37:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.273s coverage: 4.7% of statements 04:37:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:37:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:37:38 GO111MODULE=on go vet ./... 04:39:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:39:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:39:15 ./bin/test-attribution-txt.sh [Pipeline] echo 04:39:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:39:15 $ docker stop --time=1 f286fcb69c2971977d152deef0c1224c4c9ead80dc0a514108305fbaa0f2a7e4 04:39:17 $ docker rm -f --volumes f286fcb69c2971977d152deef0c1224c4c9ead80dc0a514108305fbaa0f2a7e4 [Pipeline] // withDockerContainer [Pipeline] sh 04:39:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:39:18 Warning: overwriting stash ‘coverage-report’ 04:39:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:39:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:39:19 + ls -al . 04:39:19 total 268 04:39:19 drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 04:34 . 04:39:19 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:32 .. 04:39:19 -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 04:32 .dockerignore 04:39:19 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 04:32 .git 04:39:19 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:32 .github 04:39:19 -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 04:32 .gitignore 04:39:19 -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 04:32 .golangci.yml 04:39:19 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 22 04:32 CHANGELOG.md 04:39:19 -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 04:32 GOVERNANCE.md 04:39:19 -rw-rw-r-- 1 jenkins jenkins 885 Feb 22 04:32 Jenkinsfile 04:39:19 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 04:32 LICENSE 04:39:19 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 22 04:32 Makefile 04:39:19 -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 04:32 OWNERS.md 04:39:19 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 22 04:32 README.md 04:39:19 -rw-rw-r-- 1 jenkins jenkins 12 Feb 22 04:32 VERSION 04:39:19 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:32 bin 04:39:19 -rw-r--r-- 1 jenkins jenkins 98530 Feb 22 04:37 coverage.out 04:39:19 drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 04:32 example 04:39:19 -rw-rw-r-- 1 jenkins jenkins 3266 Feb 22 04:32 go.mod 04:39:19 -rw-rw-r-- 1 jenkins jenkins 32794 Feb 22 04:32 go.sum 04:39:19 drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 04:32 internal 04:39:19 drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 04:32 openapi 04:39:19 drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 04:32 pkg 04:39:19 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:32 snap 04:39:19 -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 04:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:20 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 --label arch=arm64 --label version=3.0.0-dev.35 . 04:39:20 Sending build context to Docker daemon 5.755MB 04:39:20 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:39:20 Step 2/23 : FROM ${BASE} AS builder 04:39:20 ---> caaa84319373 04:39:20 Step 3/23 : ARG MAKE=make build 04:39:20 ---> Running in 5a855ba13375 04:39:21 Removing intermediate container 5a855ba13375 04:39:21 ---> 4bcd16e4af25 04:39:21 Step 4/23 : WORKDIR /device-sdk-go 04:39:21 ---> Running in 83c3c6c00f51 04:39:21 Removing intermediate container 83c3c6c00f51 04:39:21 ---> 8430b3f2ec5b 04:39:21 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:39:21 ---> Running in 446ee030bf36 04:39:21 Removing intermediate container 446ee030bf36 04:39:21 ---> 42ba9918371c 04:39:21 Step 6/23 : RUN apk add --update --no-cache make git 04:39:22 ---> Running in 18815fd34809 04:39:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:39:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:39:24 OK: 221 MiB in 51 packages 04:39:25 Removing intermediate container 18815fd34809 04:39:25 ---> e02c71d0eaff 04:39:25 Step 7/23 : COPY go.mod vendor* ./ 04:39:25 ---> 003a116bbd65 04:39:25 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:39:25 ---> Running in 22659a23280c 04:39:28 Removing intermediate container 22659a23280c 04:39:28 ---> 3929a4b9a217 04:39:28 Step 9/23 : COPY . . 04:39:29 ---> c5237f4638b1 04:39:29 Step 10/23 : RUN ${MAKE} 04:39:29 ---> Running in 9c5f92b1de4e 04:39:30 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.35" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:41:52 Removing intermediate container 9c5f92b1de4e 04:41:52 ---> 6778826ba462 04:41:52 Step 11/23 : FROM alpine:3.16 04:41:52 3.16: Pulling from library/alpine 04:41:52 3760b48202b3: Pulling fs layer 04:41:52 3760b48202b3: Verifying Checksum 04:41:52 3760b48202b3: Download complete 04:41:52 3760b48202b3: Pull complete 04:41:52 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 04:41:52 Status: Downloaded newer image for alpine:3.16 04:41:52 ---> 4c81e5bf8899 04:41:52 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:41:52 ---> Running in e74d23f24fd5 04:41:52 Removing intermediate container e74d23f24fd5 04:41:52 ---> eef4b24e0ab4 04:41:52 Step 13/23 : RUN apk add --update --no-cache 04:41:52 ---> Running in 0c5ccd5fc337 04:41:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:41:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:41:52 OK: 5 MiB in 14 packages 04:41:52 Removing intermediate container 0c5ccd5fc337 04:41:52 ---> ea9afcbdc914 04:41:52 Step 14/23 : WORKDIR / 04:41:52 ---> Running in aa14bc4264e4 04:41:52 Removing intermediate container aa14bc4264e4 04:41:52 ---> 7598a2a8dcab 04:41:52 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:41:52 ---> a95652098d64 04:41:52 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:41:52 ---> d6da8466f95d 04:41:52 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:41:52 ---> 2c807090be9a 04:41:52 Step 18/23 : EXPOSE 59999 04:41:52 ---> Running in ce4ad6c942fa 04:41:52 Removing intermediate container ce4ad6c942fa 04:41:52 ---> 06f9d913ceba 04:41:52 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:41:52 ---> Running in 87d6ebcf327a 04:41:52 Removing intermediate container 87d6ebcf327a 04:41:52 ---> 9db539ccefe6 04:41:52 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:41:52 ---> Running in 07b503272619 04:41:52 Removing intermediate container 07b503272619 04:41:52 ---> 13c896c5b875 04:41:52 Step 21/23 : LABEL arch=arm64 04:41:52 ---> Running in 8b83888f7c0e 04:41:53 Removing intermediate container 8b83888f7c0e 04:41:53 ---> 87e62097c950 04:41:53 Step 22/23 : LABEL git_sha=3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 04:41:53 ---> Running in 03dc914cb159 04:41:53 Removing intermediate container 03dc914cb159 04:41:53 ---> 0ca0c1571d69 04:41:53 Step 23/23 : LABEL version=3.0.0-dev.35 04:41:53 ---> Running in 5a2e29d8da24 04:41:53 Removing intermediate container 5a2e29d8da24 04:41:53 ---> 6c0887c39a65 04:41:53 [Warning] One or more build-args [ARCH] were not consumed 04:41:53 Successfully built 6c0887c39a65 04:41:53 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:41:54 04:41:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:41:54 arm64: Pulling from edgex-lftools-log-publisher 04:41:54 8998bd30e6a1: Pulling fs layer 04:41:54 04944245beec: Pulling fs layer 04:41:54 699f458cf7ca: Pulling fs layer 04:41:54 765212b225bb: Pulling fs layer 04:41:54 f23df028b6ca: Pulling fs layer 04:41:54 765212b225bb: Waiting 04:41:54 d65c8cfc05b1: Pulling fs layer 04:41:54 2437ff75d9bd: Pulling fs layer 04:41:54 f23df028b6ca: Waiting 04:41:54 d65c8cfc05b1: Waiting 04:41:54 2437ff75d9bd: Waiting 04:41:54 04944245beec: Verifying Checksum 04:41:54 04944245beec: Download complete 04:41:54 765212b225bb: Verifying Checksum 04:41:54 765212b225bb: Download complete 04:41:54 f23df028b6ca: Verifying Checksum 04:41:54 f23df028b6ca: Download complete 04:41:54 d65c8cfc05b1: Verifying Checksum 04:41:55 d65c8cfc05b1: Download complete 04:41:55 699f458cf7ca: Verifying Checksum 04:41:55 699f458cf7ca: Download complete 04:41:55 8998bd30e6a1: Verifying Checksum 04:41:55 8998bd30e6a1: Download complete 04:41:58 2437ff75d9bd: Verifying Checksum 04:41:58 2437ff75d9bd: Download complete 04:41:59 8998bd30e6a1: Pull complete 04:41:59 04944245beec: Pull complete 04:42:01 699f458cf7ca: Pull complete 04:42:01 765212b225bb: Pull complete 04:42:02 f23df028b6ca: Pull complete 04:42:02 d65c8cfc05b1: Pull complete 04:42:17 2437ff75d9bd: Pull complete 04:42:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:42:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:42:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:17 prd-ubuntu20.04-docker-arm64-4c-16g-6998 does not seem to be running inside a container 04:42:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/165 -v /w/workspace/device-sdk-go/165:/w/workspace/device-sdk-go/165:rw,z -v /w/workspace/device-sdk-go/165@tmp:/w/workspace/device-sdk-go/165@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 04:42:20 $ docker top ea9d93acbb5eb11612374fe1b6985562b31eca0f8786be71961eac51ffa8d674 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:42:21 ---> job-cost.sh 04:42:21 lf-activate-venv: SKIPPING 04:42:21 INFO: No Stack... 04:42:22 INFO: Retrieving Pricing Info for: v3-standard-4 04:42:22 INFO: Archiving Costs [Pipeline] sh 04:42:23 + + cat /w/workspace/device-sdk-go/165/archives/cost.csv 04:42:23 cut -d, -f6 [Pipeline] lock 04:42:23 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-165-stack-cost] 04:42:23 Resource [jenkins-edgexfoundry-device-sdk-go-main-165-stack-cost] did not exist. Created. 04:42:23 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-165-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:42:23 /w/workspace/device-sdk-go/165@tmp/durable-ddf5453d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:42:24 + echo total: 0.10999999940395355 [Pipeline] stash 04:42:24 Warning: overwriting stash ‘stack-cost’ 04:42:24 Stashed 1 file(s) [Pipeline] } 04:42:24 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-165-stack-cost] [Pipeline] // lock [Pipeline] } 04:42:24 $ docker stop --time=1 ea9d93acbb5eb11612374fe1b6985562b31eca0f8786be71961eac51ffa8d674 04:42:26 $ docker rm -f --volumes ea9d93acbb5eb11612374fe1b6985562b31eca0f8786be71961eac51ffa8d674 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:42:26 provisioning config files... 04:42:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4878093422629267332tmp [Pipeline] { [Pipeline] sh 04:42:26 + set +x 04:42:26 + curl -s https://codecov.io/bash 04:42:26 + bash -s -- 04:42:26 04:42:26 _____ _ 04:42:26 / ____| | | 04:42:26 | | ___ __| | ___ ___ _____ __ 04:42:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:42:26 | |___| (_) | (_| | __/ (_| (_) \ V / 04:42:26 \_____\___/ \__,_|\___|\___\___/ \_/ 04:42:26 Bash-1.0.6 04:42:26 04:42:26 04:42:26 ==> git version 2.25.1 found 04:42:26 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:42:26 Release-Date: 2020-01-08 04:42:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:42:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:42:26 ==> Jenkins CI detected. 04:42:26 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 04:42:26 project root: . 04:42:26 --> token set from env 04:42:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:42:26 ==> Running gcov in . (disable via -X gcov) 04:42:26 ==> Python coveragepy not found 04:42:26 ==> Searching for coverage reports in: 04:42:26 + . 04:42:26 -> Found 1 reports 04:42:26 ==> Detecting git/mercurial file structure 04:42:26 ==> Reading reports 04:42:26 + ./coverage.out bytes=98530 04:42:26 ==> Appending adjustments 04:42:26 https://docs.codecov.io/docs/fixing-reports 04:42:27 + Found adjustments 04:42:27 ==> Gzipping contents 04:42:27 16K /tmp/codecov.ZCKxSj.gz 04:42:27 ==> Uploading reports 04:42:27 url: https://codecov.io 04:42:27 query: branch=main&commit=3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5&build=165&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F165%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:42:27 -> Pinging Codecov 04:42:27 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=3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5&build=165&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F165%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:42:27 -> Uploading to 04:42:27 https://storage.googleapis.com/codecov/v4/raw/2023-02-22/7E55EF52A471D76F132DFD9A03CDDE97/3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5/2edb10b5-cdb2-4c17-af40-b2b7500905fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230222T044227Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=be8db5b9228b0b9e40f2c66004de6f565c0c5b895a615dc501b0f703138d62db 04:42:27 % Total % Received % Xferd Average Speed Time Time Time Current 04:42:27 Dload Upload Total Spent Left Speed 04:42:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14338 0 0 100 14338 0 70630 --:--:-- --:--:-- --:--:-- 70284 100 14338 0 0 100 14338 0 60497 --:--:-- --:--:-- --:--:-- 60243 04:42:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 [Pipeline] } 04:42:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:42:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:42:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:42:28 04:42:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:42:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:42:28 df9b9388f04a: Pulling fs layer 04:42:28 52dc419b0ee2: Pulling fs layer 04:42:28 25bc292e5bac: Pulling fs layer 04:42:28 114826534d7a: Pulling fs layer 04:42:28 4657fd5d0bcf: Pulling fs layer 04:42:28 6ad1cebc031e: Pulling fs layer 04:42:28 8a3aa393b2d8: Pulling fs layer 04:42:28 4657fd5d0bcf: Waiting 04:42:28 6ad1cebc031e: Waiting 04:42:28 8a3aa393b2d8: Waiting 04:42:28 114826534d7a: Waiting 04:42:28 25bc292e5bac: Verifying Checksum 04:42:28 25bc292e5bac: Download complete 04:42:28 52dc419b0ee2: Verifying Checksum 04:42:28 52dc419b0ee2: Download complete 04:42:28 4657fd5d0bcf: Verifying Checksum 04:42:28 4657fd5d0bcf: Download complete 04:42:28 df9b9388f04a: Download complete 04:42:28 df9b9388f04a: Pull complete 04:42:28 6ad1cebc031e: Verifying Checksum 04:42:28 6ad1cebc031e: Download complete 04:42:28 52dc419b0ee2: Pull complete 04:42:28 25bc292e5bac: Pull complete 04:42:29 114826534d7a: Verifying Checksum 04:42:29 114826534d7a: Download complete 04:42:29 8a3aa393b2d8: Verifying Checksum 04:42:29 8a3aa393b2d8: Download complete 04:42:32 114826534d7a: Pull complete 04:42:32 4657fd5d0bcf: Pull complete 04:42:32 6ad1cebc031e: Pull complete 04:42:35 8a3aa393b2d8: Pull complete 04:42:35 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:42:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:42:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:35 prd-ubuntu20.04-docker-8c-8g-6991 does not seem to be running inside a container 04:42:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:42:40 $ docker top 40c1ee2abd53d0677fda00df240ec001d46dec226eef7b203bb37614f6f8c077 -eo pid,comm [Pipeline] { [Pipeline] echo 04:42:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 04:42:41 + set -o pipefail 04:42:41 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 04:42:45 04:42:45 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 04:42:45 04:42:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/3c4bdee9-1fcc-4200-9ecb-57d4e3012a0f 04:42:45 04:42:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:42:45 04:42:45 04:42:45 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:42:45 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:42:45 More details here: https://snyk.co/ue1NS [Pipeline] } 04:42:45 $ docker stop --time=1 40c1ee2abd53d0677fda00df240ec001d46dec226eef7b203bb37614f6f8c077 04:42:49 $ docker rm -f --volumes 40c1ee2abd53d0677fda00df240ec001d46dec226eef7b203bb37614f6f8c077 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 04:42:49 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:42:49 provisioning config files... 04:42:49 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6032615756808434094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:42:49 --> edgex-publish-swagger.sh 04:42:49 === Publish openapi/v3 API === 04:42:49 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 04:42:49 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 04:42:49 % Total % Received % Xferd Average Speed Time Time Time Current 04:42:49 Dload Upload Total Spent Left Speed 04:42:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 24713 0 0 100 24713 0 43129 --:--:-- --:--:-- --:--:-- 43129 04:42:50 04:42:50 [Pipeline] } 04:42:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:42:50 + git log --format=format:%s -1 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 [Pipeline] sh 04:42:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:42:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:42:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:51 prd-ubuntu20.04-docker-8c-8g-6991 does not seem to be running inside a container 04:42:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:42:52 $ docker top 3d7c99cf9c8bccd15341b638a7f78ab64ca5ad283202871f1dbd7cf3864658aa -eo pid,comm 04:42: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). 04:42:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:42:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:42:52 [ssh-agent] Looking for ssh-agent implementation... 04:42:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:42:52 $ docker exec 3d7c99cf9c8bccd15341b638a7f78ab64ca5ad283202871f1dbd7cf3864658aa ssh-agent 04:42:52 SSH_AUTH_SOCK=/tmp/ssh-j9PoEvjLoQXQ/agent.33 04:42:52 SSH_AGENT_PID=39 04:42:52 Running ssh-add (command line suppressed) 04:42:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15656256108925146599.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15656256108925146599.key) 04:42:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:42:52 + git semver tag 04:42:52 2023-02-22 04:42:52,866 [run_tag] DEBUG tag force:False 04:42:52 2023-02-22 04:42:52,866 [check_head_tag] DEBUG check head tag 04:42:52 2023-02-22 04:42:52,867 [execute] INFO git cat-file --batch-check 04:42:52 2023-02-22 04:42:52,867 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:42:52 2023-02-22 04:42:52,870 [execute] INFO git cat-file --batch 04:42:52 2023-02-22 04:42:52,871 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:42:52 2023-02-22 04:42:52,898 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:42:52 2023-02-22 04:42:52,899 [execute] INFO git tag -a v3.0.0-dev.35 -m v3.0.0-dev.35 04:42:52 2023-02-22 04:42:52,899 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.35', '-m', 'v3.0.0-dev.35'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:42:52 2023-02-22 04:42:52,903 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:42:52 3.0.0-dev.35 [Pipeline] } 04:42:52 $ docker exec --env ******** --env ******** 3d7c99cf9c8bccd15341b638a7f78ab64ca5ad283202871f1dbd7cf3864658aa ssh-agent -k 04:42:53 unset SSH_AUTH_SOCK; 04:42:53 unset SSH_AGENT_PID; 04:42:53 echo Agent pid 39 killed; 04:42:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:42:53 + git semver [Pipeline] } 04:42:53 $ docker stop --time=1 3d7c99cf9c8bccd15341b638a7f78ab64ca5ad283202871f1dbd7cf3864658aa 04:42:54 $ docker rm -f --volumes 3d7c99cf9c8bccd15341b638a7f78ab64ca5ad283202871f1dbd7cf3864658aa [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:42:55 04:42:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:42:55 0.23.1-centos7: Pulling from edgex-lftools 04:42:55 ab5ef0e58194: Pulling fs layer 04:42:55 9712f1f96733: Pulling fs layer 04:42:55 63f879dbbcfc: Pulling fs layer 04:42:55 0d9ebad4ef96: Pulling fs layer 04:42:55 e9a5061849ea: Pulling fs layer 04:42:55 d747dcd14b5f: Pulling fs layer 04:42:55 2de7ff778b66: Pulling fs layer 04:42:55 0d9ebad4ef96: Waiting 04:42:55 e9a5061849ea: Waiting 04:42:55 d747dcd14b5f: Waiting 04:42:55 2de7ff778b66: Waiting 04:42:55 9712f1f96733: Verifying Checksum 04:42:55 9712f1f96733: Download complete 04:42:56 63f879dbbcfc: Verifying Checksum 04:42:56 63f879dbbcfc: Download complete 04:42:56 0d9ebad4ef96: Verifying Checksum 04:42:56 0d9ebad4ef96: Download complete 04:42:56 e9a5061849ea: Verifying Checksum 04:42:56 e9a5061849ea: Download complete 04:42:56 d747dcd14b5f: Verifying Checksum 04:42:56 d747dcd14b5f: Download complete 04:42:56 ab5ef0e58194: Verifying Checksum 04:42:56 ab5ef0e58194: Download complete 04:42:56 2de7ff778b66: Verifying Checksum 04:42:56 2de7ff778b66: Download complete 04:42:58 ab5ef0e58194: Pull complete 04:42:58 9712f1f96733: Pull complete 04:42:59 63f879dbbcfc: Pull complete 04:43:02 0d9ebad4ef96: Pull complete 04:43:02 e9a5061849ea: Pull complete 04:43:02 d747dcd14b5f: Pull complete 04:43:03 2de7ff778b66: Pull complete 04:43:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:43:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:43:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:43:03 prd-ubuntu20.04-docker-8c-8g-6991 does not seem to be running inside a container 04:43: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:43:10 $ docker top 54246d5b45aa8d8a521ce93f6eb4d8379d2a02fc1adbc2e98a667d491c659ea1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:43:10 provisioning config files... 04:43:10 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11297122414846143320tmp 04:43:10 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3424264367060658806tmp 04:43:10 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14512650047242889009tmp [Pipeline] { [Pipeline] echo 04:43:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:43:10 ---> sigul-configuration.sh 04:43:10 gpg: directory `/root/.gnupg' created 04:43:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:43:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:43:10 gpg: keyring `/root/.gnupg/secring.gpg' created 04:43:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:43:10 gpg: CAST5 encrypted data 04:43:10 gpg: encrypted with 1 passphrase 04:43:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:43:11 + mkdir /home/jenkins 04:43:11 + mkdir /home/jenkins/sigul [Pipeline] sh 04:43:11 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 04:43:11 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:43:11 ---> sigul-install.sh 04:43:11 Sigul already installed; skipping installation. [Pipeline] sh 04:43:12 + git tag --list 04:43:12 0.7.1 04:43:12 delhi-tag 04:43:12 v1.0.0 04:43:12 v1.1.0 04:43:12 v1.1.1 04:43:12 v1.1.2 04:43:12 v1.2.0 04:43:12 v1.2.1 04:43:12 v1.2.2 04:43:12 v1.2.3 04:43:12 v1.3.0 04:43:12 v1.4.0 04:43:12 v2.0.0 04:43:12 v2.1.0 04:43:12 v2.1.1 04:43:12 v2.1.1-dev.2 04:43:12 v2.1.1-dev.3 04:43:12 v2.2.0 04:43:12 v2.2.1-dev.1 04:43:12 v2.2.1-dev.10 04:43:12 v2.2.1-dev.11 04:43:12 v2.2.1-dev.12 04:43:12 v2.2.1-dev.13 04:43:12 v2.2.1-dev.14 04:43:12 v2.2.1-dev.2 04:43:12 v2.2.1-dev.3 04:43:12 v2.2.1-dev.4 04:43:12 v2.2.1-dev.5 04:43:12 v2.2.1-dev.6 04:43:12 v2.2.1-dev.7 04:43:12 v2.2.1-dev.8 04:43:12 v2.2.1-dev.9 04:43:12 v2.3.0 04:43:12 v2.3.0-dev.14 04:43:12 v2.3.0-dev.15 04:43:12 v2.3.0-dev.16 04:43:12 v2.3.0-dev.17 04:43:12 v2.3.0-dev.18 04:43:12 v2.3.0-dev.19 04:43:12 v2.3.0-dev.20 04:43:12 v2.3.0-dev.21 04:43:12 v2.3.0-dev.22 04:43:12 v2.3.0-dev.23 04:43:12 v2.3.0-dev.24 04:43:12 v2.3.0-dev.25 04:43:12 v2.3.0-dev.26 04:43:12 v2.3.0-dev.27 04:43:12 v2.3.0-dev.28 04:43:12 v2.3.0-dev.29 04:43:12 v2.3.0-dev.30 04:43:12 v2.3.0-dev.31 04:43:12 v2.3.0-dev.32 04:43:12 v2.3.0-dev.33 04:43:12 v2.3.0-dev.34 04:43:12 v2.3.0-dev.35 04:43:12 v2.3.0-dev.36 04:43:12 v2.3.0-dev.37 04:43:12 v2.3.0-dev.38 04:43:12 v2.3.0-dev.39 04:43:12 v2.3.0-dev.40 04:43:12 v2.3.0-dev.41 04:43:12 v2.3.0-dev.42 04:43:12 v2.3.0-dev.43 04:43:12 v2.3.0-dev.44 04:43:12 v2.3.0-dev.45 04:43:12 v2.3.0-dev.46 04:43:12 v2.3.0-dev.47 04:43:12 v2.3.0-dev.48 04:43:12 v2.3.0-dev.49 04:43:12 v2.3.0-dev.50 04:43:12 v2.3.0-dev.51 04:43:12 v2.3.1-dev.1 04:43:12 v2.3.1-dev.2 04:43:12 v3.0.0-dev.1 04:43:12 v3.0.0-dev.10 04:43:12 v3.0.0-dev.11 04:43:12 v3.0.0-dev.12 04:43:12 v3.0.0-dev.13 04:43:12 v3.0.0-dev.14 04:43:12 v3.0.0-dev.15 04:43:12 v3.0.0-dev.16 04:43:12 v3.0.0-dev.17 04:43:12 v3.0.0-dev.18 04:43:12 v3.0.0-dev.19 04:43:12 v3.0.0-dev.2 04:43:12 v3.0.0-dev.20 04:43:12 v3.0.0-dev.21 04:43:12 v3.0.0-dev.22 04:43:12 v3.0.0-dev.23 04:43:12 v3.0.0-dev.24 04:43:12 v3.0.0-dev.25 04:43:12 v3.0.0-dev.26 04:43:12 v3.0.0-dev.27 04:43:12 v3.0.0-dev.28 04:43:12 v3.0.0-dev.29 04:43:12 v3.0.0-dev.3 04:43:12 v3.0.0-dev.30 04:43:12 v3.0.0-dev.31 04:43:12 v3.0.0-dev.32 04:43:12 v3.0.0-dev.33 04:43:12 v3.0.0-dev.34 04:43:12 v3.0.0-dev.35 04:43:12 v3.0.0-dev.4 04:43:12 v3.0.0-dev.5 04:43:12 v3.0.0-dev.6 04:43:12 v3.0.0-dev.7 04:43:12 v3.0.0-dev.8 04:43:12 v3.0.0-dev.9 [Pipeline] sh 04:43:12 + lftools sign git-tag v3.0.0-dev.35 04:43:13 Signing Git tag with Sigul... 04:43:13 Signing v3.0.0-dev.35 [Pipeline] echo 04:43:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:43:13 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:43:13 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:43:13 $ docker stop --time=1 54246d5b45aa8d8a521ce93f6eb4d8379d2a02fc1adbc2e98a667d491c659ea1 04:43:14 $ docker rm -f --volumes 54246d5b45aa8d8a521ce93f6eb4d8379d2a02fc1adbc2e98a667d491c659ea1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:43:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:43:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:43:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:43:15 prd-ubuntu20.04-docker-8c-8g-6991 does not seem to be running inside a container 04:43:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:43:15 $ docker top ee7c2b864aae2bc708bc7c64d6bf3a0509983c4b65dd04158aeaebf194e694b4 -eo pid,comm 04:43:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:43:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:43:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:43:16 [ssh-agent] Looking for ssh-agent implementation... 04:43:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:43:16 $ docker exec ee7c2b864aae2bc708bc7c64d6bf3a0509983c4b65dd04158aeaebf194e694b4 ssh-agent 04:43:16 SSH_AUTH_SOCK=/tmp/ssh-FfuJ5HOGcdJe/agent.31 04:43:16 SSH_AGENT_PID=37 04:43:16 Running ssh-add (command line suppressed) 04:43:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6412377366594972268.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6412377366594972268.key) 04:43:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:43:16 + git semver bump pre 04:43:16 2023-02-22 04:43:16,777 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:43:16 2023-02-22 04:43:16,777 [bump_version] DEBUG bumping version:3.0.0-dev.35 on axis:pre with prefix:dev 04:43:16 2023-02-22 04:43:16,777 [bump_version] DEBUG bumped version:3.0.0-dev.36 04:43:16 2023-02-22 04:43:16,777 [write_version] DEBUG write version:3.0.0-dev.36 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 04:43:16 2023-02-22 04:43:16,777 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:43:16 2023-02-22 04:43:16,777 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:43:16 2023-02-22 04:43:16,780 [execute] INFO git cat-file --batch-check 04:43:16 2023-02-22 04:43:16,780 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:43:16 2023-02-22 04:43:16,785 [execute] INFO git cat-file --batch 04:43:16 2023-02-22 04:43:16,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:43:16 2023-02-22 04:43:16,789 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:43:16 3.0.0-dev.36 [Pipeline] } 04:43:16 $ docker exec --env ******** --env ******** ee7c2b864aae2bc708bc7c64d6bf3a0509983c4b65dd04158aeaebf194e694b4 ssh-agent -k 04:43:16 unset SSH_AUTH_SOCK; 04:43:16 unset SSH_AGENT_PID; 04:43:16 echo Agent pid 37 killed; 04:43:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:43:17 + git semver [Pipeline] } 04:43:17 $ docker stop --time=1 ee7c2b864aae2bc708bc7c64d6bf3a0509983c4b65dd04158aeaebf194e694b4 04:43:18 $ docker rm -f --volumes ee7c2b864aae2bc708bc7c64d6bf3a0509983c4b65dd04158aeaebf194e694b4 [Pipeline] // withDockerContainer [Pipeline] sh 04:43:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:43:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:43:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:43:19 prd-ubuntu20.04-docker-8c-8g-6991 does not seem to be running inside a container 04:43:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:43:19 $ docker top dbd4681c19ac25ea72027977ffedd907c68e9a1f86c2f315b9cf2ff4e20b14a4 -eo pid,comm 04:43:19 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:43:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:43:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:43:19 [ssh-agent] Looking for ssh-agent implementation... 04:43:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:43:20 $ docker exec dbd4681c19ac25ea72027977ffedd907c68e9a1f86c2f315b9cf2ff4e20b14a4 ssh-agent 04:43:20 SSH_AUTH_SOCK=/tmp/ssh-dubd2cYYqKpU/agent.31 04:43:20 SSH_AGENT_PID=37 04:43:20 Running ssh-add (command line suppressed) 04:43:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8585764257114278674.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8585764257114278674.key) 04:43:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:43:20 + git semver push 04:43:20 2023-02-22 04:43:20,720 [run_push] DEBUG push 04:43:20 2023-02-22 04:43:20,721 [execute] INFO git cat-file --batch-check 04:43:20 2023-02-22 04:43:20,721 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:43:20 2023-02-22 04:43:20,725 [execute] INFO git rev-list 0accbc3b615ccfa518fc6ade7b2841fdc0445edb -- 04:43:20 2023-02-22 04:43:20,725 [execute] DEBUG Popen(['git', 'rev-list', '0accbc3b615ccfa518fc6ade7b2841fdc0445edb', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:43:20 2023-02-22 04:43:20,735 [execute] INFO git fetch -v origin 04:43:20 2023-02-22 04:43:20,736 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:43:21 2023-02-22 04:43:21,380 [run_push] DEBUG no remote changes detected 04:43:21 2023-02-22 04:43:21,380 [execute] INFO git push origin semver 04:43:21 2023-02-22 04:43:21,381 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:43:22 2023-02-22 04:43:22,194 [run_push] DEBUG push all version tags 04:43:22 2023-02-22 04:43:22,195 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:43:22 2023-02-22 04:43:22,195 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:43:23 2023-02-22 04:43:23,035 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:43:23 3.0.0-dev.36 [Pipeline] } 04:43:23 $ docker exec --env ******** --env ******** dbd4681c19ac25ea72027977ffedd907c68e9a1f86c2f315b9cf2ff4e20b14a4 ssh-agent -k 04:43:23 unset SSH_AUTH_SOCK; 04:43:23 unset SSH_AGENT_PID; 04:43:23 echo Agent pid 37 killed; 04:43:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:43:23 + git semver [Pipeline] } 04:43:23 $ docker stop --time=1 dbd4681c19ac25ea72027977ffedd907c68e9a1f86c2f315b9cf2ff4e20b14a4 04:43:25 $ docker rm -f --volumes dbd4681c19ac25ea72027977ffedd907c68e9a1f86c2f315b9cf2ff4e20b14a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:43:25 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 04:43:25 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:43:25 total 16 04:43:25 drwxr-xr-x 3 root root 4096 Feb 22 04:34 . 04:43:25 drwxrwxr-x 12 jenkins jenkins 4096 Feb 22 04:43 .. 04:43:25 drwxr-xr-x 2 root root 4096 Feb 22 04:34 cost 04:43:25 -rw-r--r-- 1 root root 86 Feb 22 04:34 cost.csv 04:43:25 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:43:25 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:43:25 total 16 04:43:25 drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 04:34 . 04:43:25 drwxrwxr-x 12 jenkins jenkins 4096 Feb 22 04:43 .. 04:43:25 drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 04:34 cost 04:43:25 -rw-r--r-- 1 jenkins jenkins 86 Feb 22 04:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:43:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:43:26 ---> package-listing.sh 04:43:26 ++ tr '[:upper:]' '[:lower:]' 04:43:26 ++ facter osfamily 04:43:27 + OS_FAMILY=debian 04:43:27 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 04:43:27 + START_PACKAGES=/tmp/packages_start.txt 04:43:27 + END_PACKAGES=/tmp/packages_end.txt 04:43:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:43:27 + PACKAGES=/tmp/packages_start.txt 04:43:27 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:43:27 + PACKAGES=/tmp/packages_end.txt 04:43:27 + case "${OS_FAMILY}" in 04:43:27 + dpkg -l 04:43:27 + grep '^ii' 04:43:27 + '[' -f /tmp/packages_start.txt ']' 04:43:27 + '[' -f /tmp/packages_end.txt ']' 04:43:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:43:27 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:43:27 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 04:43:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 04:43:27 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:43:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:43:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:43:28 prd-ubuntu20.04-docker-8c-8g-6991 does not seem to be running inside a container 04:43:28 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:43:28 $ docker top ebedb3396e53c536b9cc9c4909d861bf15eeb5bea869b8fea09537c6ddd8bdc2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:43:28 + touch /tmp/pre-build-complete [Pipeline] sh 04:43:28 + mkdir -p /var/log/sysstat [Pipeline] sh 04:43:29 + ls /var/log/sa-host 04:43:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:43:29 provisioning config files... 04:43:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6228647435989965635tmp [Pipeline] { [Pipeline] echo 04:43:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:43:29 ---> create-netrc.sh [Pipeline] } 04:43:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:43:30 ---> python-tools-install.sh [Pipeline] echo 04:43:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:43:30 ---> sudo-logs.sh 04:43:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:43:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:43:30 ---> job-cost.sh 04:43:30 lf-activate-venv: SKIPPING 04:43:30 DEBUG: total: 0.2199999988079071 04:43:30 INFO: Retrieving Stack Cost... 04:43:30 INFO: Retrieving Pricing Info for: v3-standard-8 04:43:31 INFO: Archiving Costs [Pipeline] echo 04:43:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:43:31 ---> logs-deploy.sh 04:43:31 lf-activate-venv: SKIPPING 04:43:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/165 04:43:31 INFO: archiving workspace using pattern(s): 04:43:32 Archives upload complete. 04:43:32 INFO: archiving logs to Nexus