Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 33fe8b615815503aada03d5ced23786186fa4554 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-ssh12590045281360314291.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh8288740516350044015.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh4264320668021829602.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh16991492659620279546.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-ssh8630419977181617463.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.20 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-2869 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 33fe8b615815503aada03d5ced23786186fa4554 (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 33fe8b615815503aada03d5ced23786186fa4554 # timeout=10 Commit message: "Merge pull request #1491 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.17" > git rev-list --no-walk 9643316300e59272a09f9c1d01562286ee215d0b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:14:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:14:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:14:43 ========================================================= 01:14:43 EdgeX Global Pipelines Version Info 01:14:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:14:44 ------------------- 01:14:44 stable info: 01:14:44 ------------------- 01:14:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:14:44 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 01:14:44 Message: update stable to v1.0.250 01:14:44 ------------------- 01:14:44 experimental info: 01:14:44 ------------------- 01:14:44 Commited By: **** collab-it+edgex@linuxfoundation.org 01:14:44 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 01:14:44 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:14:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:14:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:14:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:14:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:14:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 01:14:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:14:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:14:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:14:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:14:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:14:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:14:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:14:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:14:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 33fe8b615815503aada03d5ced23786186fa4554 [Pipeline] echo 01:14:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 33fe8b6 [Pipeline] echo 01:14:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:14:45 provisioning config files... 01:14:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15624109658310906177tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:14:45 ---> docker-login.sh 01:14:45 nexus3.edgexfoundry.org:10001 01:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:45 Configure a credential helper to remove this warning. See 01:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:45 01:14:45 Login Succeeded 01:14:45 nexus3.edgexfoundry.org:10002 01:14:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:45 Configure a credential helper to remove this warning. See 01:14:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:45 01:14:45 Login Succeeded 01:14:45 nexus3.edgexfoundry.org:10003 01:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:46 Configure a credential helper to remove this warning. See 01:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:46 01:14:46 Login Succeeded 01:14:46 nexus3.edgexfoundry.org:10004 01:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:46 Configure a credential helper to remove this warning. See 01:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:46 01:14:46 Login Succeeded 01:14:46 docker.io 01:14:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:46 Configure a credential helper to remove this warning. See 01:14:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:46 01:14:46 Login Succeeded 01:14:46 ---> docker-login.sh ends [Pipeline] } 01:14:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:14:46 + git rev-list -1 --merges 33fe8b615815503aada03d5ced23786186fa4554~1..33fe8b615815503aada03d5ced23786186fa4554 [Pipeline] echo 01:14:46 -----------> git rev-list -1 --merges 33fe8b615815503aada03d5ced23786186fa4554~1..33fe8b615815503aada03d5ced23786186fa4554 33fe8b615815503aada03d5ced23786186fa4554 01:14:46 33fe8b615815503aada03d5ced23786186fa4554 [false] [Pipeline] sh 01:14:47 + git log --format=format:%s -1 33fe8b615815503aada03d5ced23786186fa4554 [Pipeline] echo 01:14:47 ========================================================= 01:14:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:14:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:14:47 + git log --format=format:%s -1 33fe8b615815503aada03d5ced23786186fa4554 [Pipeline] echo 01:14:47 [semverPrep] GIT_COMMIT: 33fe8b615815503aada03d5ced23786186fa4554, Commit Message: Merge pull request #1491 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.17 [Pipeline] echo 01:14:47 [semverPrep] This is not a build commit. [Pipeline] sh 01:14:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:14:47 + grep -v github /etc/ssh/ssh_known_hosts 01:14:47 + [ -e /tmp/ssh_known_hosts ] 01:14:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:14:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:14:47 + sudo tee -a /etc/ssh/ssh_known_hosts 01:14:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:14:48 01:14:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:14:48 0.1.4: Pulling from edgex-devops/py-git-semver 01:14:48 b85a868b505f: Pulling fs layer 01:14:48 e2be974225ed: Pulling fs layer 01:14:48 339a4e72a1f5: Pulling fs layer 01:14:48 988bab9f4d93: Pulling fs layer 01:14:48 1469e6f7b9e6: Pulling fs layer 01:14:48 eaf3925da568: Pulling fs layer 01:14:48 bab4dde63d76: Pulling fs layer 01:14:48 bde34c3a00c8: Pulling fs layer 01:14:48 b352a97aabf1: Pulling fs layer 01:14:48 4872d77fe225: Pulling fs layer 01:14:48 5851b861e8e6: Pulling fs layer 01:14:48 eaf3925da568: Waiting 01:14:48 bab4dde63d76: Waiting 01:14:48 bde34c3a00c8: Waiting 01:14:48 b352a97aabf1: Waiting 01:14:48 4872d77fe225: Waiting 01:14:48 5851b861e8e6: Waiting 01:14:48 988bab9f4d93: Waiting 01:14:48 1469e6f7b9e6: Waiting 01:14:48 e2be974225ed: Download complete 01:14:48 988bab9f4d93: Verifying Checksum 01:14:48 988bab9f4d93: Download complete 01:14:48 1469e6f7b9e6: Verifying Checksum 01:14:48 1469e6f7b9e6: Download complete 01:14:48 eaf3925da568: Verifying Checksum 01:14:48 eaf3925da568: Download complete 01:14:48 339a4e72a1f5: Verifying Checksum 01:14:48 339a4e72a1f5: Download complete 01:14:48 bde34c3a00c8: Download complete 01:14:48 b352a97aabf1: Download complete 01:14:48 4872d77fe225: Verifying Checksum 01:14:48 4872d77fe225: Download complete 01:14:48 5851b861e8e6: Download complete 01:14:48 b85a868b505f: Verifying Checksum 01:14:48 b85a868b505f: Download complete 01:14:49 bab4dde63d76: Verifying Checksum 01:14:49 bab4dde63d76: Download complete 01:14:50 b85a868b505f: Pull complete 01:14:50 e2be974225ed: Pull complete 01:14:50 339a4e72a1f5: Pull complete 01:14:50 988bab9f4d93: Pull complete 01:14:51 1469e6f7b9e6: Pull complete 01:14:51 eaf3925da568: Pull complete 01:14:53 bab4dde63d76: Pull complete 01:14:53 bde34c3a00c8: Pull complete 01:14:53 b352a97aabf1: Pull complete 01:14:53 4872d77fe225: Pull complete 01:14:53 5851b861e8e6: Pull complete 01:14:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:14:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:14:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:53 prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container 01:14:53 $ 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 01:14:56 $ docker top 2d409086db3cfbbfad8296a60baf492a46f23a7ced78f810c5cc8f8f437153a0 -eo pid,comm 01:14:56 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:14:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:14:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:14:56 [ssh-agent] Looking for ssh-agent implementation... 01:14:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:14:56 $ docker exec 2d409086db3cfbbfad8296a60baf492a46f23a7ced78f810c5cc8f8f437153a0 ssh-agent 01:14:56 SSH_AUTH_SOCK=/tmp/ssh-6aik9WDKII4p/agent.32 01:14:56 SSH_AGENT_PID=38 01:14:56 Running ssh-add (command line suppressed) 01:14:56 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_930325753365040291.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_930325753365040291.key) 01:14:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:14:56 + git tag --points-at HEAD [Pipeline] } 01:14:56 $ docker exec --env ******** --env ******** 2d409086db3cfbbfad8296a60baf492a46f23a7ced78f810c5cc8f8f437153a0 ssh-agent -k 01:14:56 unset SSH_AUTH_SOCK; 01:14:56 unset SSH_AGENT_PID; 01:14:56 echo Agent pid 38 killed; 01:14:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:14:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:14:57 [ssh-agent] Looking for ssh-agent implementation... 01:14:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:14:57 $ docker exec 2d409086db3cfbbfad8296a60baf492a46f23a7ced78f810c5cc8f8f437153a0 ssh-agent 01:14:57 SSH_AUTH_SOCK=/tmp/ssh-WhwRN2YUVLer/agent.70 01:14:57 SSH_AGENT_PID=76 01:14:57 Running ssh-add (command line suppressed) 01:14:57 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12581433534387151323.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12581433534387151323.key) 01:14:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:14:57 + git semver init 01:14:57 2023-08-04 01:14:57,842 [run_init] DEBUG init version:0.0.0 force:False 01:14:57 2023-08-04 01:14:57,842 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 01:14:57 2023-08-04 01:14:57,843 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 01:14:57 2023-08-04 01:14:57,843 [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) 01:14:59 2023-08-04 01:14:58,932 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 01:14:59 2023-08-04 01:14:58,932 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 01:14:59 2023-08-04 01:14:58,932 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:14:59 2023-08-04 01:14:58,933 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:14:59 3.1.0-dev.10 [Pipeline] } 01:14:59 $ docker exec --env ******** --env ******** 2d409086db3cfbbfad8296a60baf492a46f23a7ced78f810c5cc8f8f437153a0 ssh-agent -k 01:14:59 unset SSH_AUTH_SOCK; 01:14:59 unset SSH_AGENT_PID; 01:14:59 echo Agent pid 76 killed; 01:14:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:14:59 + git semver [Pipeline] } 01:14:59 $ docker stop --time=1 2d409086db3cfbbfad8296a60baf492a46f23a7ced78f810c5cc8f8f437153a0 01:15:01 $ docker rm -f --volumes 2d409086db3cfbbfad8296a60baf492a46f23a7ced78f810c5cc8f8f437153a0 [Pipeline] // withDockerContainer [Pipeline] sh 01:15:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:15:01 Stashed 1 file(s) [Pipeline] echo 01:15:01 [edgeXSemver]: initialized semver on version 3.1.0-dev.10 [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 01:15:02 provisioning config files... 01:15:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11106760896373003429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:02 ---> docker-login.sh 01:15:02 nexus3.edgexfoundry.org:10001 01:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:02 Configure a credential helper to remove this warning. See 01:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:02 01:15:02 Login Succeeded 01:15:02 nexus3.edgexfoundry.org:10002 01:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:02 Configure a credential helper to remove this warning. See 01:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:02 01:15:02 Login Succeeded 01:15:02 nexus3.edgexfoundry.org:10003 01:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:02 Configure a credential helper to remove this warning. See 01:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:02 01:15:02 Login Succeeded 01:15:02 nexus3.edgexfoundry.org:10004 01:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:02 Configure a credential helper to remove this warning. See 01:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:02 01:15:02 Login Succeeded 01:15:02 docker.io 01:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:03 Configure a credential helper to remove this warning. See 01:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:03 01:15:03 Login Succeeded 01:15:03 ---> docker-login.sh ends [Pipeline] } 01:15:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:15:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:15:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:15:03 ========================================================= 01:15:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:15:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:03 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 01:15:03 Sending build context to Docker daemon 11.03MB 01:15:03 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 01:15:03 Step 2/10 : FROM ${BASE} AS builder 01:15:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:15:03 4db1b89c0bd1: Pulling fs layer 01:15:03 6911f1a30b25: Pulling fs layer 01:15:03 e194b8c5c2a9: Pulling fs layer 01:15:03 6863d3e3a2b1: Pulling fs layer 01:15:03 ec0bb842ea78: Pulling fs layer 01:15:03 40a00589a448: Pulling fs layer 01:15:03 6c08303d61cc: Pulling fs layer 01:15:03 798269fcf238: Pulling fs layer 01:15:03 ec0bb842ea78: Waiting 01:15:03 40a00589a448: Waiting 01:15:03 6863d3e3a2b1: Waiting 01:15:03 6c08303d61cc: Waiting 01:15:03 6911f1a30b25: Download complete 01:15:03 6863d3e3a2b1: Verifying Checksum 01:15:03 6863d3e3a2b1: Download complete 01:15:03 ec0bb842ea78: Verifying Checksum 01:15:03 ec0bb842ea78: Download complete 01:15:03 4db1b89c0bd1: Verifying Checksum 01:15:03 4db1b89c0bd1: Download complete 01:15:03 40a00589a448: Verifying Checksum 01:15:03 40a00589a448: Download complete 01:15:03 4db1b89c0bd1: Pull complete 01:15:04 6911f1a30b25: Pull complete 01:15:04 798269fcf238: Verifying Checksum 01:15:04 798269fcf238: Download complete 01:15:04 e194b8c5c2a9: Verifying Checksum 01:15:04 e194b8c5c2a9: Download complete 01:15:04 6c08303d61cc: Verifying Checksum 01:15:04 6c08303d61cc: Download complete 01:15:07 e194b8c5c2a9: Pull complete 01:15:07 6863d3e3a2b1: Pull complete 01:15:07 ec0bb842ea78: Pull complete 01:15:07 40a00589a448: Pull complete 01:15:09 6c08303d61cc: Pull complete 01:15:11 798269fcf238: Pull complete 01:15:11 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 01:15:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:15:11 ---> ec979cd7f677 01:15:11 Step 3/10 : ARG MAKE=make build 01:15:16 ---> Running in 8acb1b8e5900 01:15:16 Removing intermediate container 8acb1b8e5900 01:15:16 ---> ef8f52322cb5 01:15:16 Step 4/10 : WORKDIR /device-sdk-go 01:15:16 ---> Running in ab52b108118a 01:15:16 Removing intermediate container ab52b108118a 01:15:16 ---> a79b629a734f 01:15:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:15:16 ---> Running in 4b969b350174 01:15:16 Removing intermediate container 4b969b350174 01:15:16 ---> f885b8499ea9 01:15:16 Step 6/10 : RUN apk add --update --no-cache make git 01:15:16 ---> Running in 7cf97a7bc94a 01:15:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:15:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:15:16 OK: 265 MiB in 53 packages 01:15:16 Still waiting to schedule task 01:15:16 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2872’ 01:15:17 Removing intermediate container 7cf97a7bc94a 01:15:17 ---> 8766171d843b 01:15:17 Step 7/10 : COPY go.mod vendor* ./ 01:15:17 ---> 8479bac71757 01:15:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:15:17 ---> Running in 005fd7f414ca 01:15:49 Removing intermediate container 005fd7f414ca 01:15:49 ---> f99d11aee6aa 01:15:49 Step 9/10 : COPY . . 01:15:49 ---> e554351adc82 01:15:49 Step 10/10 : RUN ${MAKE} 01:15:49 ---> Running in 7d0b1c8f0c43 01:15:49 noop 01:15:49 Removing intermediate container 7d0b1c8f0c43 01:15:49 ---> 7f1ab3ee3b25 01:15:49 Successfully built 7f1ab3ee3b25 01:15:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:50 + docker inspect -f . ci-base-image-x86_64 01:15:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:50 prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container 01:15:50 $ 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 01:15:50 $ docker top 594cce857cdd82c86e125560e4a40641e260898fb26e058e65d148e4e3ac21fd -eo pid,comm [Pipeline] { [Pipeline] sh 01:15:50 + go version 01:15:50 go version go1.20.6 linux/amd64 [Pipeline] } 01:15:50 $ docker stop --time=1 594cce857cdd82c86e125560e4a40641e260898fb26e058e65d148e4e3ac21fd 01:15:52 $ docker rm -f --volumes 594cce857cdd82c86e125560e4a40641e260898fb26e058e65d148e4e3ac21fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:52 + docker inspect -f . ci-base-image-x86_64 01:15:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:52 prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container 01:15:52 $ 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 01:15:53 $ docker top abea18177cf5e251788fb3154c0af876a1132a715b0a007755efba265d86df3f -eo pid,comm [Pipeline] { [Pipeline] sh 01:15:53 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 01:15:53 + make test 01:15:53 go test -race -coverprofile=coverage.out ./... 01:16:00 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 01:16:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 01:16:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 01:16:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 01:16:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 01:16:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 01:16:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.057s coverage: 27.6% of statements 01:16:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.058s coverage: 80.2% of statements 01:16:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 01:16:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 01:16:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.105s coverage: 86.0% of statements 01:16:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 01:16:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.080s coverage: 71.8% of statements 01:16:15 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 01:16:15 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 01:16:15 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 01:16:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.063s coverage: 14.3% of statements 01:16:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.210s coverage: 43.8% of statements 01:16:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.080s coverage: 68.5% of statements 01:16:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.127s coverage: 89.2% of statements 01:16:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.5% of statements 01:16:39 GO111MODULE=on go vet ./... 01:16:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:16:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:16:41 ./bin/test-attribution-txt.sh 01:16:41 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 01:16:41 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 01:16:41 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 01:16:41 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 01:16:41 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 01:16:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:16:41 $ docker stop --time=1 abea18177cf5e251788fb3154c0af876a1132a715b0a007755efba265d86df3f 01:16:45 $ docker rm -f --volumes abea18177cf5e251788fb3154c0af876a1132a715b0a007755efba265d86df3f [Pipeline] // withDockerContainer [Pipeline] sh 01:16:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:16:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:16:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:16:47 + ls -al . 01:16:47 total 304 01:16:47 drwxrwxr-x 11 jenkins jenkins 4096 Aug 4 01:15 . 01:16:47 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 01:14 .. 01:16:47 -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 01:14 .dockerignore 01:16:47 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 01:14 .git 01:16:47 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 01:14 .github 01:16:47 -rw-rw-r-- 1 jenkins jenkins 137 Aug 4 01:14 .gitignore 01:16:47 -rw-rw-r-- 1 jenkins jenkins 42 Aug 4 01:14 .golangci.yml 01:16:47 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 01:14 .semver 01:16:47 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 4 01:14 CHANGELOG.md 01:16:47 -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 01:14 GOVERNANCE.md 01:16:47 -rw-rw-r-- 1 jenkins jenkins 885 Aug 4 01:14 Jenkinsfile 01:16:47 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 4 01:14 LICENSE 01:16:47 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 4 01:14 Makefile 01:16:47 -rw-rw-r-- 1 jenkins jenkins 619 Aug 4 01:14 OWNERS.md 01:16:47 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 4 01:14 README.md 01:16:47 -rw-rw-r-- 1 jenkins jenkins 12 Aug 4 01:15 VERSION 01:16:47 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 01:14 bin 01:16:47 -rw-r--r-- 1 jenkins jenkins 120271 Aug 4 01:16 coverage.out 01:16:47 drwxrwxr-x 5 jenkins jenkins 4096 Aug 4 01:14 example 01:16:47 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 4 01:14 go.mod 01:16:47 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 4 01:14 go.sum 01:16:47 drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 01:14 internal 01:16:47 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 01:14 openapi 01:16:47 drwxrwxr-x 6 jenkins jenkins 4096 Aug 4 01:14 pkg 01:16:47 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 01:14 snap 01:16:47 -rw-rw-r-- 1 jenkins jenkins 222 Aug 4 01:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:47 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=33fe8b615815503aada03d5ced23786186fa4554 --label arch=amd64 --label version=3.1.0-dev.10 . 01:16:47 Sending build context to Docker daemon 11.15MB 01:16:47 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 01:16:47 Step 2/23 : FROM ${BASE} AS builder 01:16:47 ---> 7f1ab3ee3b25 01:16:47 Step 3/23 : ARG MAKE=make build 01:16:47 ---> Running in e1ea104bc834 01:16:48 Removing intermediate container e1ea104bc834 01:16:48 ---> 49069a3eab94 01:16:48 Step 4/23 : WORKDIR /device-sdk-go 01:16:48 ---> Running in f228383f437e 01:16:48 Removing intermediate container f228383f437e 01:16:48 ---> a60fc4b886b1 01:16:48 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:16:48 ---> Running in aac8c963d80e 01:16:48 Removing intermediate container aac8c963d80e 01:16:48 ---> 3932272a8bfa 01:16:48 Step 6/23 : RUN apk add --update --no-cache make git 01:16:48 ---> Running in 56bbf17a4c15 01:16:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:16:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:16:48 OK: 265 MiB in 53 packages 01:16:49 Removing intermediate container 56bbf17a4c15 01:16:49 ---> d0deed859745 01:16:49 Step 7/23 : COPY go.mod vendor* ./ 01:16:49 ---> 4a84739b2d29 01:16:49 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:16:49 ---> Running in d3bb6c1e2b1b 01:16:49 Removing intermediate container d3bb6c1e2b1b 01:16:49 ---> 26125090b490 01:16:49 Step 9/23 : COPY . . 01:16:50 ---> 8db5e572a038 01:16:50 Step 10/23 : RUN ${MAKE} 01:16:50 ---> Running in 19ff12e1ef63 01:16:50 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.10" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:17:17 Removing intermediate container 19ff12e1ef63 01:17:17 ---> 0e889bcbc8b6 01:17:17 Step 11/23 : FROM alpine:3.17 01:17:17 3.17: Pulling from library/alpine 01:17:17 4db1b89c0bd1: Already exists 01:17:17 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 01:17:17 Status: Downloaded newer image for alpine:3.17 01:17:17 ---> 1f73a9d63274 01:17:17 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:17:17 ---> Running in 191ee30710df 01:17:17 Removing intermediate container 191ee30710df 01:17:17 ---> 1d25f42889f9 01:17:17 Step 13/23 : RUN apk add --update --no-cache 01:17:17 ---> Running in 0d849c210ca3 01:17:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:17:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:17:17 OK: 7 MiB in 15 packages 01:17:17 Removing intermediate container 0d849c210ca3 01:17:17 ---> 98cd69c7c10b 01:17:17 Step 14/23 : WORKDIR / 01:17:17 ---> Running in 9fec0da92d11 01:17:17 Removing intermediate container 9fec0da92d11 01:17:17 ---> 3b42ea525c05 01:17:17 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:17:17 ---> 80cb04303016 01:17:17 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:17:17 ---> 8e7306a2dd92 01:17:17 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:17:17 ---> 8f6d0e982a31 01:17:17 Step 18/23 : EXPOSE 59999 01:17:17 ---> Running in 79a321965657 01:17:17 Removing intermediate container 79a321965657 01:17:17 ---> cbc54bcacc1e 01:17:17 Step 19/23 : ENTRYPOINT ["/device-simple"] 01:17:17 ---> Running in f90fff003928 01:17:17 Removing intermediate container f90fff003928 01:17:17 ---> 10c46b6d5184 01:17:17 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:17:17 ---> Running in 17a180e42c26 01:17:17 Removing intermediate container 17a180e42c26 01:17:17 ---> 6892b61240f6 01:17:17 Step 21/23 : LABEL arch=amd64 01:17:17 ---> Running in ee408ecb9d2a 01:17:17 Removing intermediate container ee408ecb9d2a 01:17:17 ---> 8d5bdfb67569 01:17:17 Step 22/23 : LABEL git_sha=33fe8b615815503aada03d5ced23786186fa4554 01:17:17 ---> Running in 8154fc065e5c 01:17:17 Removing intermediate container 8154fc065e5c 01:17:17 ---> 239e3894d1ef 01:17:17 Step 23/23 : LABEL version=3.1.0-dev.10 01:17:17 ---> Running in 07d43e9b0251 01:17:17 Removing intermediate container 07d43e9b0251 01:17:17 ---> cebc7e2076f3 01:17:17 [Warning] One or more build-args [ARCH] were not consumed 01:17:17 Successfully built cebc7e2076f3 01:17:17 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 01:17:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:17:18 01:17:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:17:18 latest: Pulling from edgex-lftools-log-publisher 01:17:18 5eb5b503b376: Pulling fs layer 01:17:18 5c69ac0246d0: Pulling fs layer 01:17:18 ec43610c2a17: Pulling fs layer 01:17:18 3a2ae6a8a46f: Pulling fs layer 01:17:18 33b1e0a273af: Pulling fs layer 01:17:18 5d3b04190fa2: Pulling fs layer 01:17:18 2f39f015ded8: Pulling fs layer 01:17:18 33b1e0a273af: Waiting 01:17:18 5d3b04190fa2: Waiting 01:17:18 2f39f015ded8: Waiting 01:17:18 3a2ae6a8a46f: Waiting 01:17:18 5c69ac0246d0: Download complete 01:17:18 3a2ae6a8a46f: Verifying Checksum 01:17:18 3a2ae6a8a46f: Download complete 01:17:18 33b1e0a273af: Verifying Checksum 01:17:18 33b1e0a273af: Download complete 01:17:18 5d3b04190fa2: Verifying Checksum 01:17:18 5d3b04190fa2: Download complete 01:17:18 ec43610c2a17: Verifying Checksum 01:17:18 ec43610c2a17: Download complete 01:17:18 5eb5b503b376: Verifying Checksum 01:17:18 5eb5b503b376: Download complete 01:17:19 2f39f015ded8: Verifying Checksum 01:17:19 2f39f015ded8: Download complete 01:17:19 5eb5b503b376: Pull complete 01:17:19 5c69ac0246d0: Pull complete 01:17:20 ec43610c2a17: Pull complete 01:17:20 3a2ae6a8a46f: Pull complete 01:17:20 33b1e0a273af: Pull complete 01:17:20 5d3b04190fa2: Pull complete 01:17:24 2f39f015ded8: Pull complete 01:17:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:17:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:17:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:17:24 prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container 01:17:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:17:29 $ docker top d67173a5b5ec5b85f93cafde718f62d3fd7dffd40b627582907c61befb1f0504 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:17:30 ---> job-cost.sh 01:17:30 lf-activate-venv: SKIPPING 01:17:30 INFO: No Stack... 01:17:30 INFO: Retrieving Pricing Info for: v3-standard-8 01:17:30 INFO: Archiving Costs [Pipeline] sh 01:17:31 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 01:17:31 + cut -d, -f6 [Pipeline] lock 01:17:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-239-stack-cost] 01:17:31 Resource [jenkins-edgexfoundry-device-sdk-go-main-239-stack-cost] did not exist. Created. 01:17:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-239-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:17:31 + echo total: 0.2199999988079071 [Pipeline] stash 01:17:31 Stashed 1 file(s) [Pipeline] } 01:17:31 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-239-stack-cost] [Pipeline] // lock [Pipeline] } 01:17:31 $ docker stop --time=1 d67173a5b5ec5b85f93cafde718f62d3fd7dffd40b627582907c61befb1f0504 01:17:32 $ docker rm -f --volumes d67173a5b5ec5b85f93cafde718f62d3fd7dffd40b627582907c61befb1f0504 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:18:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2874 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 01:18:50 Running in /w/workspace/device-sdk-go/239 [Pipeline] { [Pipeline] checkout 01:18:51 The recommended git tool is: git 01:18:56 using credential edgex-jenkins-ssh 01:18:56 Cloning the remote Git repository 01:18:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:18:56 > git init /w/workspace/device-sdk-go/239 # timeout=10 01:18:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:18:56 > git --version # timeout=10 01:18:56 > git --version # 'git version 2.25.1' 01:18:56 using GIT_SSH to set credentials SSH Credentials for GitHub 01:18:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:18:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:18:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:18:59 Avoid second fetch 01:18:59 Checking out Revision 33fe8b615815503aada03d5ced23786186fa4554 (main) 01:18:59 > git config core.sparsecheckout # timeout=10 01:18:59 > git checkout -f 33fe8b615815503aada03d5ced23786186fa4554 # timeout=10 01:18:59 Commit message: "Merge pull request #1491 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.17" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:19:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:19:00 % Total % Received % Xferd Average Speed Time Time Time Current 01:19:00 Dload Upload Total Spent Left Speed 01:19:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 01:19:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:19:01 + sudo tee /etc/docker/daemon.new 01:19:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:19:01 { 01:19:01 "registry-mirrors": [ 01:19:01 "https://nexus3.edgexfoundry.org:10001" 01:19:01 ], 01:19:01 "bip": "10.250.0.254/24", 01:19:01 "hosts": [ 01:19:01 "tcp://0.0.0.0:5555", 01:19:01 "unix:///var/run/docker.sock" 01:19:01 ], 01:19:01 "mtu": 1458, 01:19:01 "selinux-enabled": true, 01:19:01 "seccomp-profile": "/etc/docker/seccomp.json" 01:19:01 } [Pipeline] sh 01:19:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:19:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:19:20 provisioning config files... 01:19:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/239@tmp/config5685627775371886690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:19:21 ---> docker-login.sh 01:19:21 nexus3.edgexfoundry.org:10001 01:19:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:21 Configure a credential helper to remove this warning. See 01:19:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:21 01:19:21 Login Succeeded 01:19:21 nexus3.edgexfoundry.org:10002 01:19:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:21 Configure a credential helper to remove this warning. See 01:19:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:21 01:19:21 Login Succeeded 01:19:21 nexus3.edgexfoundry.org:10003 01:19:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:22 Configure a credential helper to remove this warning. See 01:19:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:22 01:19:22 Login Succeeded 01:19:22 nexus3.edgexfoundry.org:10004 01:19:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:22 Configure a credential helper to remove this warning. See 01:19:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:22 01:19:22 Login Succeeded 01:19:22 docker.io 01:19:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:23 Configure a credential helper to remove this warning. See 01:19:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:23 01:19:23 Login Succeeded 01:19:23 ---> docker-login.sh ends [Pipeline] } 01:19:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:19:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:19:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:19:23 ========================================================= 01:19:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:19:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:23 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:19:24 Sending build context to Docker daemon 5.885MB 01:19:24 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 01:19:24 Step 2/10 : FROM ${BASE} AS builder 01:19:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:19:24 edb6bdbacee9: Pulling fs layer 01:19:24 5f9638ab2659: Pulling fs layer 01:19:24 8d51d6327a98: Pulling fs layer 01:19:24 8b374f2dd631: Pulling fs layer 01:19:24 ec14aa9079de: Pulling fs layer 01:19:24 2f466654f4bb: Pulling fs layer 01:19:24 554e91adad29: Pulling fs layer 01:19:24 8b374f2dd631: Waiting 01:19:24 ec14aa9079de: Waiting 01:19:24 2f466654f4bb: Waiting 01:19:24 554e91adad29: Waiting 01:19:24 5f9638ab2659: Verifying Checksum 01:19:24 5f9638ab2659: Download complete 01:19:24 8b374f2dd631: Verifying Checksum 01:19:24 8b374f2dd631: Download complete 01:19:24 ec14aa9079de: Verifying Checksum 01:19:24 ec14aa9079de: Download complete 01:19:24 edb6bdbacee9: Verifying Checksum 01:19:25 edb6bdbacee9: Pull complete 01:19:25 554e91adad29: Verifying Checksum 01:19:25 554e91adad29: Download complete 01:19:26 5f9638ab2659: Pull complete 01:19:27 2f466654f4bb: Verifying Checksum 01:19:27 2f466654f4bb: Download complete 01:19:27 8d51d6327a98: Verifying Checksum 01:19:27 8d51d6327a98: Download complete 01:19:39 8d51d6327a98: Pull complete 01:19:39 8b374f2dd631: Pull complete 01:19:39 ec14aa9079de: Pull complete 01:19:46 2f466654f4bb: Pull complete 01:19:48 554e91adad29: Pull complete 01:19:48 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 01:19:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:19:48 ---> 1e15ea492957 01:19:48 Step 3/10 : ARG MAKE=make build 01:19:49 ---> Running in 8543695af7e9 01:19:49 Removing intermediate container 8543695af7e9 01:19:49 ---> ea295830f2f9 01:19:49 Step 4/10 : WORKDIR /device-sdk-go 01:19:49 ---> Running in db1febca0561 01:19:50 Removing intermediate container db1febca0561 01:19:50 ---> 18eb25cde044 01:19:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:19:50 ---> Running in b4fd1461c2a2 01:19:50 Removing intermediate container b4fd1461c2a2 01:19:50 ---> c09d944ea7c0 01:19:50 Step 6/10 : RUN apk add --update --no-cache make git 01:19:50 ---> Running in 25c0918fc40f 01:19:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:19:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:19:53 OK: 263 MiB in 53 packages 01:19:54 Removing intermediate container 25c0918fc40f 01:19:54 ---> 4797858f96cf 01:19:54 Step 7/10 : COPY go.mod vendor* ./ 01:19:54 ---> 65c29c37ee2b 01:19:54 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:19:54 ---> Running in 4a10c340f240 01:21:02 Removing intermediate container 4a10c340f240 01:21:02 ---> 658f7cb4112f 01:21:02 Step 9/10 : COPY . . 01:21:02 ---> 73dcd21c206d 01:21:02 Step 10/10 : RUN ${MAKE} 01:21:02 ---> Running in 1517c11153e9 01:21:02 noop 01:21:02 Removing intermediate container 1517c11153e9 01:21:02 ---> 9953453e55e2 01:21:02 Successfully built 9953453e55e2 01:21:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:03 + docker inspect -f . ci-base-image-arm64 01:21:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:21:03 prd-ubuntu20.04-docker-arm64-4c-16g-2874 does not seem to be running inside a container 01:21:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/239 -v /w/workspace/device-sdk-go/239:/w/workspace/device-sdk-go/239:rw,z -v /w/workspace/device-sdk-go/239@tmp:/w/workspace/device-sdk-go/239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:21:04 $ docker top aea83c3892d856a73bee9ab9445a00eb6f0ac137455d346fb2c02cd48fb7270c -eo pid,comm [Pipeline] { [Pipeline] sh 01:21:05 + go version 01:21:05 go version go1.20.6 linux/arm64 [Pipeline] } 01:21:05 $ docker stop --time=1 aea83c3892d856a73bee9ab9445a00eb6f0ac137455d346fb2c02cd48fb7270c 01:21:08 $ docker rm -f --volumes aea83c3892d856a73bee9ab9445a00eb6f0ac137455d346fb2c02cd48fb7270c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:08 + docker inspect -f . ci-base-image-arm64 01:21:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:21:08 prd-ubuntu20.04-docker-arm64-4c-16g-2874 does not seem to be running inside a container 01:21:08 $ 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/239 -v /w/workspace/device-sdk-go/239:/w/workspace/device-sdk-go/239:rw,z -v /w/workspace/device-sdk-go/239@tmp:/w/workspace/device-sdk-go/239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:21:09 $ docker top f34783d0e0321831b54311c0c74a9ba72e13e6279bab31037b4aea31dd8f963e -eo pid,comm [Pipeline] { [Pipeline] sh 01:21:10 + git config --global --add safe.directory /w/workspace/device-sdk-go/239 [Pipeline] fileExists [Pipeline] sh 01:21:10 + make test 01:21:10 go test -race -coverprofile=coverage.out ./... 01:21:57 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 01:24:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 01:24:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 01:24:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 01:24:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 01:24:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 01:24:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.213s coverage: 27.6% of statements 01:24:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.302s coverage: 80.2% of statements 01:24:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 01:24:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 01:24:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.349s coverage: 86.0% of statements 01:24:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 01:24:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.509s coverage: 71.8% of statements 01:24:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.286s coverage: 14.3% of statements 01:24:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 01:24:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 01:24:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.534s coverage: 43.8% of statements 01:24:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.454s coverage: 68.5% of statements 01:24:57 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.424s coverage: 89.2% of statements 01:24:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 01:24:59 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.248s coverage: 5.5% of statements 01:24:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:24:59 GO111MODULE=on go vet ./... 01:27:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:27:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:27:36 ./bin/test-attribution-txt.sh 01:27:36 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 01:27:36 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 01:27:36 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 01:27:36 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 01:27:36 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 01:27:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:27:36 $ docker stop --time=1 f34783d0e0321831b54311c0c74a9ba72e13e6279bab31037b4aea31dd8f963e 01:27:38 $ docker rm -f --volumes f34783d0e0321831b54311c0c74a9ba72e13e6279bab31037b4aea31dd8f963e [Pipeline] // withDockerContainer [Pipeline] sh 01:27:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:27:40 Warning: overwriting stash ‘coverage-report’ 01:27:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:27:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:27:41 + ls -al . 01:27:41 total 300 01:27:41 drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 01:21 . 01:27:41 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 01:18 .. 01:27:41 -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 01:18 .dockerignore 01:27:41 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 01:18 .git 01:27:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 01:18 .github 01:27:41 -rw-rw-r-- 1 jenkins jenkins 137 Aug 4 01:18 .gitignore 01:27:41 -rw-rw-r-- 1 jenkins jenkins 42 Aug 4 01:18 .golangci.yml 01:27:41 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 4 01:18 CHANGELOG.md 01:27:41 -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 01:18 GOVERNANCE.md 01:27:41 -rw-rw-r-- 1 jenkins jenkins 885 Aug 4 01:18 Jenkinsfile 01:27:41 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 4 01:18 LICENSE 01:27:41 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 4 01:18 Makefile 01:27:41 -rw-rw-r-- 1 jenkins jenkins 619 Aug 4 01:18 OWNERS.md 01:27:41 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 4 01:18 README.md 01:27:41 -rw-rw-r-- 1 jenkins jenkins 12 Aug 4 01:15 VERSION 01:27:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 01:18 bin 01:27:41 -rw-r--r-- 1 jenkins jenkins 120273 Aug 4 01:24 coverage.out 01:27:41 drwxrwxr-x 5 jenkins jenkins 4096 Aug 4 01:18 example 01:27:41 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 4 01:18 go.mod 01:27:41 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 4 01:18 go.sum 01:27:41 drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 01:18 internal 01:27:41 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 01:18 openapi 01:27:41 drwxrwxr-x 6 jenkins jenkins 4096 Aug 4 01:18 pkg 01:27:41 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 01:18 snap 01:27:41 -rw-rw-r-- 1 jenkins jenkins 222 Aug 4 01:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:41 + 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=33fe8b615815503aada03d5ced23786186fa4554 --label arch=arm64 --label version=3.1.0-dev.10 . 01:27:41 Sending build context to Docker daemon 6.006MB 01:27:42 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 01:27:42 Step 2/23 : FROM ${BASE} AS builder 01:27:42 ---> 9953453e55e2 01:27:42 Step 3/23 : ARG MAKE=make build 01:27:42 ---> Running in ca5ec027ec18 01:27:42 Removing intermediate container ca5ec027ec18 01:27:42 ---> 3bbfbf5518cd 01:27:42 Step 4/23 : WORKDIR /device-sdk-go 01:27:42 ---> Running in b35e0a328a46 01:27:43 Removing intermediate container b35e0a328a46 01:27:43 ---> 36c10fcf3b68 01:27:43 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:27:43 ---> Running in 2f839bdb92c5 01:27:43 Removing intermediate container 2f839bdb92c5 01:27:43 ---> e2a3a374a505 01:27:43 Step 6/23 : RUN apk add --update --no-cache make git 01:27:43 ---> Running in 3d9ed318d22b 01:27:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:27:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:27:45 OK: 263 MiB in 53 packages 01:27:46 Removing intermediate container 3d9ed318d22b 01:27:46 ---> 618ad7a38c32 01:27:46 Step 7/23 : COPY go.mod vendor* ./ 01:27:47 ---> 231cf2322f2b 01:27:47 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:27:47 ---> Running in 1ee4e745b9e2 01:27:49 Removing intermediate container 1ee4e745b9e2 01:27:49 ---> f3b833a362c2 01:27:49 Step 9/23 : COPY . . 01:27:50 ---> f93938157a26 01:27:50 Step 10/23 : RUN ${MAKE} 01:27:50 ---> Running in 07b15bc6c7b3 01:27:51 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.10" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:30:13 Removing intermediate container 07b15bc6c7b3 01:30:13 ---> 5279ed3f9c96 01:30:13 Step 11/23 : FROM alpine:3.17 01:30:13 3.17: Pulling from library/alpine 01:30:13 edb6bdbacee9: Already exists 01:30:13 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 01:30:13 Status: Downloaded newer image for alpine:3.17 01:30:13 ---> 779605e5fbc0 01:30:13 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:30:13 ---> Running in 6549f9ddb6ae 01:30:13 Removing intermediate container 6549f9ddb6ae 01:30:13 ---> 9a71dfb0c0a4 01:30:13 Step 13/23 : RUN apk add --update --no-cache 01:30:13 ---> Running in 32c7f0c593be 01:30:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:30:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:30:13 OK: 7 MiB in 15 packages 01:30:13 Removing intermediate container 32c7f0c593be 01:30:13 ---> 5bb4e332884a 01:30:13 Step 14/23 : WORKDIR / 01:30:13 ---> Running in 13364ac8eee8 01:30:13 Removing intermediate container 13364ac8eee8 01:30:13 ---> 35c3a0a81903 01:30:13 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:30:13 ---> e50b4750f16f 01:30:13 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:30:15 ---> c8f589e1ea42 01:30:15 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:30:15 ---> 433ec3895b3d 01:30:15 Step 18/23 : EXPOSE 59999 01:30:15 ---> Running in c3a38e08b690 01:30:16 Removing intermediate container c3a38e08b690 01:30:16 ---> e9e68c990a13 01:30:16 Step 19/23 : ENTRYPOINT ["/device-simple"] 01:30:16 ---> Running in aa705f4c09e9 01:30:16 Removing intermediate container aa705f4c09e9 01:30:16 ---> 6bb9c1aaa50f 01:30:16 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:30:16 ---> Running in 08fcab96a7e4 01:30:16 Removing intermediate container 08fcab96a7e4 01:30:16 ---> 2ab62bfbf6c1 01:30:16 Step 21/23 : LABEL arch=arm64 01:30:16 ---> Running in a0d3fc6ea63d 01:30:16 Removing intermediate container a0d3fc6ea63d 01:30:16 ---> 320394e8c527 01:30:16 Step 22/23 : LABEL git_sha=33fe8b615815503aada03d5ced23786186fa4554 01:30:17 ---> Running in d5bdcd2df08d 01:30:17 Removing intermediate container d5bdcd2df08d 01:30:17 ---> 35583cacb971 01:30:17 Step 23/23 : LABEL version=3.1.0-dev.10 01:30:17 ---> Running in 729bae97b026 01:30:17 Removing intermediate container 729bae97b026 01:30:17 ---> 1370c7cc8633 01:30:17 [Warning] One or more build-args [ARCH] were not consumed 01:30:17 Successfully built 1370c7cc8633 01:30:17 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 01:30:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:30:18 01:30:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:30:18 arm64: Pulling from edgex-lftools-log-publisher 01:30:18 8998bd30e6a1: Pulling fs layer 01:30:18 04944245beec: Pulling fs layer 01:30:18 699f458cf7ca: Pulling fs layer 01:30:18 765212b225bb: Pulling fs layer 01:30:18 f23df028b6ca: Pulling fs layer 01:30:18 d65c8cfc05b1: Pulling fs layer 01:30:18 2437ff75d9bd: Pulling fs layer 01:30:18 f23df028b6ca: Waiting 01:30:18 d65c8cfc05b1: Waiting 01:30:18 2437ff75d9bd: Waiting 01:30:18 765212b225bb: Waiting 01:30:18 04944245beec: Verifying Checksum 01:30:18 04944245beec: Download complete 01:30:18 765212b225bb: Verifying Checksum 01:30:18 765212b225bb: Download complete 01:30:18 f23df028b6ca: Verifying Checksum 01:30:18 f23df028b6ca: Download complete 01:30:18 d65c8cfc05b1: Verifying Checksum 01:30:18 d65c8cfc05b1: Download complete 01:30:18 699f458cf7ca: Download complete 01:30:19 8998bd30e6a1: Verifying Checksum 01:30:19 8998bd30e6a1: Download complete 01:30:21 2437ff75d9bd: Verifying Checksum 01:30:21 2437ff75d9bd: Download complete 01:30:23 8998bd30e6a1: Pull complete 01:30:23 04944245beec: Pull complete 01:30:25 699f458cf7ca: Pull complete 01:30:25 765212b225bb: Pull complete 01:30:25 f23df028b6ca: Pull complete 01:30:26 d65c8cfc05b1: Pull complete 01:30:41 2437ff75d9bd: Pull complete 01:30:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:30:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:30:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:41 prd-ubuntu20.04-docker-arm64-4c-16g-2874 does not seem to be running inside a container 01:30:41 $ 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/239 -v /w/workspace/device-sdk-go/239:/w/workspace/device-sdk-go/239:rw,z -v /w/workspace/device-sdk-go/239@tmp:/w/workspace/device-sdk-go/239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:30:43 $ docker top e9aae19da7b28b935dbbabf314223c25d0c325d33f2c1e2ced47cfda2d89e116 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:44 ---> job-cost.sh 01:30:44 lf-activate-venv: SKIPPING 01:30:44 INFO: No Stack... 01:30:45 INFO: Retrieving Pricing Info for: v3-standard-4 01:30:45 INFO: Archiving Costs [Pipeline] sh 01:30:46 + cat /w/workspace/device-sdk-go/239/archives/cost.csv 01:30:46 + cut -d, -f6 [Pipeline] lock 01:30:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-239-stack-cost] 01:30:46 Resource [jenkins-edgexfoundry-device-sdk-go-main-239-stack-cost] did not exist. Created. 01:30:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-239-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:30:46 /w/workspace/device-sdk-go/239@tmp/durable-73758ef4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:30:47 + echo total: 0.10999999940395355 [Pipeline] stash 01:30:47 Warning: overwriting stash ‘stack-cost’ 01:30:47 Stashed 1 file(s) [Pipeline] } 01:30:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-239-stack-cost] [Pipeline] // lock [Pipeline] } 01:30:47 $ docker stop --time=1 e9aae19da7b28b935dbbabf314223c25d0c325d33f2c1e2ced47cfda2d89e116 01:30:48 $ docker rm -f --volumes e9aae19da7b28b935dbbabf314223c25d0c325d33f2c1e2ced47cfda2d89e116 [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 01:30:49 provisioning config files... 01:30:49 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6364890732479866808tmp [Pipeline] { [Pipeline] sh 01:30:49 + set +x 01:30:49 + + bash -scurl -- -s 01:30:49 https://codecov.io/bash 01:30:49 01:30:49 _____ _ 01:30:49 / ____| | | 01:30:49 | | ___ __| | ___ ___ _____ __ 01:30:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:30:49 | |___| (_) | (_| | __/ (_| (_) \ V / 01:30:49 \_____\___/ \__,_|\___|\___\___/ \_/ 01:30:49 Bash-1.0.6 01:30:49 01:30:49 01:30:49 ==> git version 2.25.1 found 01:30:49 ==> 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 01:30:49 Release-Date: 2020-01-08 01:30:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:30:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:30:49 ==> Jenkins CI detected. 01:30:49 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 01:30:49 project root: . 01:30:49 --> token set from env 01:30:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:30:49 ==> Running gcov in . (disable via -X gcov) 01:30:49 ==> Python coveragepy not found 01:30:49 ==> Searching for coverage reports in: 01:30:49 + . 01:30:49 -> Found 1 reports 01:30:49 ==> Detecting git/mercurial file structure 01:30:49 ==> Reading reports 01:30:49 + ./coverage.out bytes=120273 01:30:49 ==> Appending adjustments 01:30:49 https://docs.codecov.io/docs/fixing-reports 01:30:49 + Found adjustments 01:30:49 ==> Gzipping contents 01:30:49 20K /tmp/codecov.7Qwws2.gz 01:30:49 ==> Uploading reports 01:30:49 url: https://codecov.io 01:30:49 query: branch=main&commit=33fe8b615815503aada03d5ced23786186fa4554&build=239&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F239%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:30:49 -> Pinging Codecov 01:30:49 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=33fe8b615815503aada03d5ced23786186fa4554&build=239&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F239%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:30:49 -> Uploading to 01:30:49 https://storage.googleapis.com/codecov/v4/raw/2023-08-04/7E55EF52A471D76F132DFD9A03CDDE97/33fe8b615815503aada03d5ced23786186fa4554/d46a23b1-a8d6-49ce-8469-382ca6187194.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230804%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230804T013049Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e60da175e72e565926c0944608e935ca6f722c1c422d5283c044c4ca53f5b39 01:30:49 % Total % Received % Xferd Average Speed Time Time Time Current 01:30:49 Dload Upload Total Spent Left Speed 01:30:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16435 0 0 100 16435 0 85598 --:--:-- --:--:-- --:--:-- 85155 100 16435 0 0 100 16435 0 85155 --:--:-- --:--:-- --:--:-- 85155 01:30:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/33fe8b615815503aada03d5ced23786186fa4554 [Pipeline] } 01:30:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:30:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:30:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:30:50 01:30:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:30:51 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:30:51 df9b9388f04a: Pulling fs layer 01:30:51 52dc419b0ee2: Pulling fs layer 01:30:51 25bc292e5bac: Pulling fs layer 01:30:51 114826534d7a: Pulling fs layer 01:30:51 4657fd5d0bcf: Pulling fs layer 01:30:51 6ad1cebc031e: Pulling fs layer 01:30:51 8a3aa393b2d8: Pulling fs layer 01:30:51 4657fd5d0bcf: Waiting 01:30:51 6ad1cebc031e: Waiting 01:30:51 8a3aa393b2d8: Waiting 01:30:51 114826534d7a: Waiting 01:30:51 25bc292e5bac: Verifying Checksum 01:30:51 25bc292e5bac: Download complete 01:30:51 52dc419b0ee2: Verifying Checksum 01:30:51 52dc419b0ee2: Download complete 01:30:51 4657fd5d0bcf: Verifying Checksum 01:30:51 4657fd5d0bcf: Download complete 01:30:51 df9b9388f04a: Download complete 01:30:51 6ad1cebc031e: Verifying Checksum 01:30:51 6ad1cebc031e: Download complete 01:30:51 df9b9388f04a: Pull complete 01:30:51 52dc419b0ee2: Pull complete 01:30:51 25bc292e5bac: Pull complete 01:30:51 114826534d7a: Verifying Checksum 01:30:51 114826534d7a: Download complete 01:30:51 8a3aa393b2d8: Verifying Checksum 01:30:55 114826534d7a: Pull complete 01:30:55 4657fd5d0bcf: Pull complete 01:30:55 6ad1cebc031e: Pull complete 01:30:58 8a3aa393b2d8: Pull complete 01:30:58 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:30:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:30:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:58 prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container 01:30:58 $ 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 01:31:03 $ docker top 4988c3a621bd1c4c35a8ebbe2c1e769313cce19f89a9cdcbdcc50a1abaf898c6 -eo pid,comm [Pipeline] { [Pipeline] echo 01:31:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 01:31:04 + set -o pipefail 01:31:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 01:31:14 01:31:14 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 01:31:14 01:31:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/ebda8e04-568e-4af8-aaf9-78c5c2d9ad4b 01:31:14 01:31:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:31:14 01:31:15 01:31:15 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:31:15 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:31:15 More details here: https://snyk.co/ue1NS 01:31:15 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 01:31:15 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 01:31:15 $ docker stop --time=1 4988c3a621bd1c4c35a8ebbe2c1e769313cce19f89a9cdcbdcc50a1abaf898c6 01:31:19 $ docker rm -f --volumes 4988c3a621bd1c4c35a8ebbe2c1e769313cce19f89a9cdcbdcc50a1abaf898c6 [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 01:31:20 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:31:20 provisioning config files... 01:31:20 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13479921366616028908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:31:20 --> edgex-publish-swagger.sh 01:31:20 === Publish openapi/v3 API === 01:31:20 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 01:31:20 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 01:31:20 % Total % Received % Xferd Average Speed Time Time Time Current 01:31:20 Dload Upload Total Spent Left Speed 01:31:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 45702 --:--:-- --:--:-- --:--:-- 45702 01:31:20 01:31:20 [Pipeline] } 01:31:20 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 01:31:21 + git log --format=format:%s -1 33fe8b615815503aada03d5ced23786186fa4554 [Pipeline] sh 01:31:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:31:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:31:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:22 prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container 01:31:22 $ 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 01:31:22 $ docker top 6184b78fc94c712fa771798d17becb3aac53b46fa540f7f8176cfdff628fb247 -eo pid,comm 01:31:22 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). 01:31:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:31:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:31:22 [ssh-agent] Looking for ssh-agent implementation... 01:31:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:31:22 $ docker exec 6184b78fc94c712fa771798d17becb3aac53b46fa540f7f8176cfdff628fb247 ssh-agent 01:31:23 SSH_AUTH_SOCK=/tmp/ssh-VXQWJIhZuTDI/agent.34 01:31:23 SSH_AGENT_PID=40 01:31:23 Running ssh-add (command line suppressed) 01:31:23 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10961200966449284104.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10961200966449284104.key) 01:31:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:31:23 + git semver tag 01:31:23 2023-08-04 01:31:23,630 [run_tag] DEBUG tag force:False 01:31:23 2023-08-04 01:31:23,630 [check_head_tag] DEBUG check head tag 01:31:23 2023-08-04 01:31:23,631 [execute] INFO git cat-file --batch-check 01:31:23 2023-08-04 01:31:23,632 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 01:31:23 2023-08-04 01:31:23,637 [execute] INFO git cat-file --batch 01:31:23 2023-08-04 01:31:23,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 01:31:23 2023-08-04 01:31:23,651 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:31:23 2023-08-04 01:31:23,652 [execute] INFO git tag -a v3.1.0-dev.10 -m v3.1.0-dev.10 01:31:23 2023-08-04 01:31:23,652 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.10', '-m', 'v3.1.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 01:31:23 2023-08-04 01:31:23,657 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:31:23 3.1.0-dev.10 [Pipeline] } 01:31:23 $ docker exec --env ******** --env ******** 6184b78fc94c712fa771798d17becb3aac53b46fa540f7f8176cfdff628fb247 ssh-agent -k 01:31:23 unset SSH_AUTH_SOCK; 01:31:23 unset SSH_AGENT_PID; 01:31:23 echo Agent pid 40 killed; 01:31:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:31:24 + git semver [Pipeline] } 01:31:24 $ docker stop --time=1 6184b78fc94c712fa771798d17becb3aac53b46fa540f7f8176cfdff628fb247 01:31:25 $ docker rm -f --volumes 6184b78fc94c712fa771798d17becb3aac53b46fa540f7f8176cfdff628fb247 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:31:26 01:31:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:31:26 0.23.1-centos7: Pulling from edgex-lftools 01:31:26 ab5ef0e58194: Pulling fs layer 01:31:26 9712f1f96733: Pulling fs layer 01:31:26 63f879dbbcfc: Pulling fs layer 01:31:26 0d9ebad4ef96: Pulling fs layer 01:31:26 e9a5061849ea: Pulling fs layer 01:31:26 d747dcd14b5f: Pulling fs layer 01:31:26 2de7ff778b66: Pulling fs layer 01:31:26 e9a5061849ea: Waiting 01:31:26 d747dcd14b5f: Waiting 01:31:26 2de7ff778b66: Waiting 01:31:26 0d9ebad4ef96: Waiting 01:31:26 9712f1f96733: Download complete 01:31:26 63f879dbbcfc: Verifying Checksum 01:31:26 63f879dbbcfc: Download complete 01:31:26 e9a5061849ea: Verifying Checksum 01:31:26 e9a5061849ea: Download complete 01:31:26 d747dcd14b5f: Verifying Checksum 01:31:26 d747dcd14b5f: Download complete 01:31:26 0d9ebad4ef96: Verifying Checksum 01:31:26 0d9ebad4ef96: Download complete 01:31:27 ab5ef0e58194: Verifying Checksum 01:31:27 ab5ef0e58194: Download complete 01:31:27 2de7ff778b66: Verifying Checksum 01:31:27 2de7ff778b66: Download complete 01:31:29 ab5ef0e58194: Pull complete 01:31:29 9712f1f96733: Pull complete 01:31:30 63f879dbbcfc: Pull complete 01:31:33 0d9ebad4ef96: Pull complete 01:31:33 e9a5061849ea: Pull complete 01:31:33 d747dcd14b5f: Pull complete 01:31:34 2de7ff778b66: Pull complete 01:31:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:31:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:31:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:34 prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container 01:31:34 $ 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 01:31:41 $ docker top 3204b41093af3bedea2cefd50dd49cb5cb2a7b7c235550d2301b84a9e1948ffc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:31:41 provisioning config files... 01:31:41 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4062258808767470166tmp 01:31:41 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12035084430664837216tmp 01:31:41 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3458448062829822690tmp [Pipeline] { [Pipeline] echo 01:31:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:31:41 ---> sigul-configuration.sh 01:31:41 gpg: directory `/root/.gnupg' created 01:31:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:31:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:31:41 gpg: keyring `/root/.gnupg/secring.gpg' created 01:31:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:31:41 gpg: CAST5 encrypted data 01:31:41 gpg: encrypted with 1 passphrase 01:31:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:31:42 + mkdir /home/jenkins 01:31:42 + mkdir /home/jenkins/sigul [Pipeline] sh 01:31:42 + 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 01:31:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:31:42 ---> sigul-install.sh 01:31:42 Sigul already installed; skipping installation. [Pipeline] sh 01:31:43 + git tag --list 01:31:43 0.7.1 01:31:43 delhi-tag 01:31:43 v1.0.0 01:31:43 v1.1.0 01:31:43 v1.1.1 01:31:43 v1.1.2 01:31:43 v1.2.0 01:31:43 v1.2.1 01:31:43 v1.2.2 01:31:43 v1.2.3 01:31:43 v1.3.0 01:31:43 v1.4.0 01:31:43 v2.0.0 01:31:43 v2.1.0 01:31:43 v2.1.1 01:31:43 v2.2.0 01:31:43 v2.3.0 01:31:43 v2.3.1 01:31:43 v3.0 01:31:43 v3.0.0 01:31:43 v3.0.1-dev.1 01:31:43 v3.1.0-dev.1 01:31:43 v3.1.0-dev.10 01:31:43 v3.1.0-dev.2 01:31:43 v3.1.0-dev.3 01:31:43 v3.1.0-dev.4 01:31:43 v3.1.0-dev.5 01:31:43 v3.1.0-dev.6 01:31:43 v3.1.0-dev.7 01:31:43 v3.1.0-dev.8 01:31:43 v3.1.0-dev.9 [Pipeline] sh 01:31:43 + lftools sign git-tag v3.1.0-dev.10 01:31:43 Signing Git tag with Sigul... 01:31:43 Signing v3.1.0-dev.10 [Pipeline] echo 01:31:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:31:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:31:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:31:44 $ docker stop --time=1 3204b41093af3bedea2cefd50dd49cb5cb2a7b7c235550d2301b84a9e1948ffc 01:31:46 $ docker rm -f --volumes 3204b41093af3bedea2cefd50dd49cb5cb2a7b7c235550d2301b84a9e1948ffc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:31:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:31:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:31:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:46 prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container 01:31:46 $ 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 01:31:47 $ docker top 89404b3b1d214c635d927419096dbf88fc965b1df1aedfb66a35fa364db3f344 -eo pid,comm 01:31:47 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). 01:31:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:31:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:31:47 [ssh-agent] Looking for ssh-agent implementation... 01:31:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:31:47 $ docker exec 89404b3b1d214c635d927419096dbf88fc965b1df1aedfb66a35fa364db3f344 ssh-agent 01:31:47 SSH_AUTH_SOCK=/tmp/ssh-eSiJ1PHvwd9X/agent.31 01:31:47 SSH_AGENT_PID=37 01:31:47 Running ssh-add (command line suppressed) 01:31:47 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11675014594984984962.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11675014594984984962.key) 01:31:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:31:47 + git semver bump pre 01:31:48 2023-08-04 01:31:48,113 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:31:48 2023-08-04 01:31:48,113 [bump_version] DEBUG bumping version:3.1.0-dev.10 on axis:pre with prefix:dev 01:31:48 2023-08-04 01:31:48,113 [bump_version] DEBUG bumped version:3.1.0-dev.11 01:31:48 2023-08-04 01:31:48,113 [write_version] DEBUG write version:3.1.0-dev.11 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 01:31:48 2023-08-04 01:31:48,113 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:31:48 2023-08-04 01:31:48,114 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:31:48 2023-08-04 01:31:48,116 [execute] INFO git cat-file --batch-check 01:31:48 2023-08-04 01:31:48,116 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:31:48 2023-08-04 01:31:48,121 [execute] INFO git cat-file --batch 01:31:48 2023-08-04 01:31:48,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:31:48 2023-08-04 01:31:48,126 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:31:48 3.1.0-dev.11 [Pipeline] } 01:31:48 $ docker exec --env ******** --env ******** 89404b3b1d214c635d927419096dbf88fc965b1df1aedfb66a35fa364db3f344 ssh-agent -k 01:31:48 unset SSH_AUTH_SOCK; 01:31:48 unset SSH_AGENT_PID; 01:31:48 echo Agent pid 37 killed; 01:31:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:31:48 + git semver [Pipeline] } 01:31:48 $ docker stop --time=1 89404b3b1d214c635d927419096dbf88fc965b1df1aedfb66a35fa364db3f344 01:31:50 $ docker rm -f --volumes 89404b3b1d214c635d927419096dbf88fc965b1df1aedfb66a35fa364db3f344 [Pipeline] // withDockerContainer [Pipeline] sh 01:31:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:31:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:31:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:50 prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container 01:31:50 $ 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 01:31:51 $ docker top 85f26ec9d3d072ca89fa17dfb64e4546075c86c78280e396765efe5bffea8c15 -eo pid,comm 01:31:51 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). 01:31:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:31:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:31:51 [ssh-agent] Looking for ssh-agent implementation... 01:31:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:31:51 $ docker exec 85f26ec9d3d072ca89fa17dfb64e4546075c86c78280e396765efe5bffea8c15 ssh-agent 01:31:51 SSH_AUTH_SOCK=/tmp/ssh-7mfemR8aQc9L/agent.33 01:31:51 SSH_AGENT_PID=39 01:31:51 Running ssh-add (command line suppressed) 01:31:51 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1719201542875746930.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1719201542875746930.key) 01:31:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:31:51 + git semver push 01:31:52 2023-08-04 01:31:52,042 [run_push] DEBUG push 01:31:52 2023-08-04 01:31:52,043 [execute] INFO git cat-file --batch-check 01:31:52 2023-08-04 01:31:52,043 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:31:52 2023-08-04 01:31:52,047 [execute] INFO git rev-list 4b364ca0dbd47f3779c00e4b9fe195c949e072d8 -- 01:31:52 2023-08-04 01:31:52,047 [execute] DEBUG Popen(['git', 'rev-list', '4b364ca0dbd47f3779c00e4b9fe195c949e072d8', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:31:52 2023-08-04 01:31:52,060 [execute] INFO git fetch -v origin 01:31:52 2023-08-04 01:31:52,061 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 01:31:52 2023-08-04 01:31:52,606 [run_push] DEBUG no remote changes detected 01:31:52 2023-08-04 01:31:52,606 [execute] INFO git push origin semver 01:31:52 2023-08-04 01:31:52,607 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:31:53 2023-08-04 01:31:53,407 [run_push] DEBUG push all version tags 01:31:53 2023-08-04 01:31:53,407 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:31:53 2023-08-04 01:31:53,408 [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) 01:31:54 2023-08-04 01:31:54,337 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:31:54 3.1.0-dev.11 [Pipeline] } 01:31:54 $ docker exec --env ******** --env ******** 85f26ec9d3d072ca89fa17dfb64e4546075c86c78280e396765efe5bffea8c15 ssh-agent -k 01:31:54 unset SSH_AUTH_SOCK; 01:31:54 unset SSH_AGENT_PID; 01:31:54 echo Agent pid 39 killed; 01:31:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:31:55 + git semver [Pipeline] } 01:31:55 $ docker stop --time=1 85f26ec9d3d072ca89fa17dfb64e4546075c86c78280e396765efe5bffea8c15 01:31:56 $ docker rm -f --volumes 85f26ec9d3d072ca89fa17dfb64e4546075c86c78280e396765efe5bffea8c15 [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 01:31:57 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 01:31:57 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 01:31:57 total 16 01:31:57 drwxr-xr-x 3 root root 4096 Aug 4 01:17 . 01:31:57 drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 01:31 .. 01:31:57 drwxr-xr-x 2 root root 4096 Aug 4 01:17 cost 01:31:57 -rw-r--r-- 1 root root 86 Aug 4 01:17 cost.csv 01:31:57 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 01:31:57 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 01:31:57 total 16 01:31:57 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 01:17 . 01:31:57 drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 01:31 .. 01:31:57 drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 01:17 cost 01:31:57 -rw-r--r-- 1 jenkins jenkins 86 Aug 4 01:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:31:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:31:58 ---> package-listing.sh 01:31:58 ++ facter osfamily 01:31:58 ++ tr '[:upper:]' '[:lower:]' 01:31:58 + OS_FAMILY=debian 01:31:58 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 01:31:58 + START_PACKAGES=/tmp/packages_start.txt 01:31:58 + END_PACKAGES=/tmp/packages_end.txt 01:31:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:31:58 + PACKAGES=/tmp/packages_start.txt 01:31:58 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 01:31:58 + PACKAGES=/tmp/packages_end.txt 01:31:58 + case "${OS_FAMILY}" in 01:31:58 + dpkg -l 01:31:58 + grep '^ii' 01:31:58 + '[' -f /tmp/packages_start.txt ']' 01:31:58 + '[' -f /tmp/packages_end.txt ']' 01:31:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:31:58 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 01:31:58 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 01:31:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 01:31:58 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 01:31:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:31:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:59 prd-ubuntu20.04-docker-8c-8g-2869 does not seem to be running inside a container 01:31:59 $ 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 01:31:59 $ docker top 4b2f0a26719f1782b79ddb4adaf64c562d8916c4cff1580a5e4c630f09f10d22 -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:00 + touch /tmp/pre-build-complete [Pipeline] sh 01:32:00 + mkdir -p /var/log/sysstat [Pipeline] sh 01:32:00 + ls /var/log/sa-host 01:32:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:32:00 provisioning config files... 01:32:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7560831186321683886tmp [Pipeline] { [Pipeline] echo 01:32:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:32:01 ---> create-netrc.sh [Pipeline] } 01:32:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:32:01 ---> python-tools-install.sh [Pipeline] echo 01:32:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:32:01 ---> sudo-logs.sh 01:32:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:32:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:32:02 ---> job-cost.sh 01:32:02 lf-activate-venv: SKIPPING 01:32:02 DEBUG: total: 0.2199999988079071 01:32:02 INFO: Retrieving Stack Cost... 01:32:02 INFO: Retrieving Pricing Info for: v3-standard-8 01:32:02 INFO: Archiving Costs [Pipeline] echo 01:32:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:32:03 ---> logs-deploy.sh 01:32:03 lf-activate-venv: SKIPPING 01:32:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/239 01:32:03 INFO: archiving workspace using pattern(s): 01:32:04 Archives upload complete. 01:32:04 INFO: archiving logs to Nexus