Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 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-ssh18064406669627871594.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-ssh369303345737480862.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-ssh658075318817382630.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-ssh8719101258733812835.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-ssh17135094878384578992.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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-780 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 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 (main) Commit message: "build: Update to latest go-mods (#1473)" > 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 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 # timeout=10 > git rev-list --no-walk 2d1a40f8b95de1d6d37730263f65300101497f92 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:07:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:07:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:07:21 ========================================================= 21:07:21 EdgeX Global Pipelines Version Info 21:07:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:07:22 ------------------- 21:07:22 stable info: 21:07:22 ------------------- 21:07:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:07:22 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:07:22 Message: update stable to v1.0.250 21:07:23 ------------------- 21:07:23 experimental info: 21:07:23 ------------------- 21:07:23 Commited By: **** collab-it+edgex@linuxfoundation.org 21:07:23 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:07:23 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c436aa [Pipeline] echo 21:07:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:23 provisioning config files... 21:07:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6481905803445907390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:24 ---> docker-login.sh 21:07:24 nexus3.edgexfoundry.org:10001 21:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:24 Configure a credential helper to remove this warning. See 21:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:24 21:07:24 Login Succeeded 21:07:24 nexus3.edgexfoundry.org:10002 21:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:24 Configure a credential helper to remove this warning. See 21:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:24 21:07:24 Login Succeeded 21:07:24 nexus3.edgexfoundry.org:10003 21:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:24 Configure a credential helper to remove this warning. See 21:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:24 21:07:24 Login Succeeded 21:07:24 nexus3.edgexfoundry.org:10004 21:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:24 Configure a credential helper to remove this warning. See 21:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:24 21:07:24 Login Succeeded 21:07:24 docker.io 21:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:25 Configure a credential helper to remove this warning. See 21:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:25 21:07:25 Login Succeeded 21:07:25 ---> docker-login.sh ends [Pipeline] } 21:07:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:07:25 + git rev-list -1 --merges 1c436aae64ba04d8b406a209c24bbc2f99c23ca9~1..1c436aae64ba04d8b406a209c24bbc2f99c23ca9 [Pipeline] echo 21:07:25 -----------> git rev-list -1 --merges 1c436aae64ba04d8b406a209c24bbc2f99c23ca9~1..1c436aae64ba04d8b406a209c24bbc2f99c23ca9 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 [false] [Pipeline] sh 21:07:25 + git log --format=format:%s -1 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 [Pipeline] echo 21:07:25 ========================================================= 21:07:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:07:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:07:26 + git log --format=format:%s -1 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 [Pipeline] echo 21:07:26 [semverPrep] GIT_COMMIT: 1c436aae64ba04d8b406a209c24bbc2f99c23ca9, Commit Message: build: Update to latest go-mods (#1473) [Pipeline] echo 21:07:26 [semverPrep] This is not a build commit. [Pipeline] sh 21:07:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:07:26 + grep -v github /etc/ssh/ssh_known_hosts 21:07:26 + [ -e /tmp/ssh_known_hosts ] 21:07:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:07:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:07:26 + sudo tee -a /etc/ssh/ssh_known_hosts 21:07:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:26 21:07:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:27 0.1.4: Pulling from edgex-devops/py-git-semver 21:07:27 b85a868b505f: Pulling fs layer 21:07:27 e2be974225ed: Pulling fs layer 21:07:27 339a4e72a1f5: Pulling fs layer 21:07:27 988bab9f4d93: Pulling fs layer 21:07:27 1469e6f7b9e6: Pulling fs layer 21:07:27 eaf3925da568: Pulling fs layer 21:07:27 bab4dde63d76: Pulling fs layer 21:07:27 bde34c3a00c8: Pulling fs layer 21:07:27 b352a97aabf1: Pulling fs layer 21:07:27 4872d77fe225: Pulling fs layer 21:07:27 5851b861e8e6: Pulling fs layer 21:07:27 988bab9f4d93: Waiting 21:07:27 1469e6f7b9e6: Waiting 21:07:27 eaf3925da568: Waiting 21:07:27 bab4dde63d76: Waiting 21:07:27 bde34c3a00c8: Waiting 21:07:27 b352a97aabf1: Waiting 21:07:27 e2be974225ed: Download complete 21:07:27 988bab9f4d93: Verifying Checksum 21:07:27 988bab9f4d93: Download complete 21:07:27 1469e6f7b9e6: Verifying Checksum 21:07:27 1469e6f7b9e6: Download complete 21:07:27 eaf3925da568: Verifying Checksum 21:07:27 eaf3925da568: Download complete 21:07:27 339a4e72a1f5: Verifying Checksum 21:07:27 339a4e72a1f5: Download complete 21:07:27 bde34c3a00c8: Verifying Checksum 21:07:27 bde34c3a00c8: Download complete 21:07:27 b352a97aabf1: Verifying Checksum 21:07:27 b352a97aabf1: Download complete 21:07:27 4872d77fe225: Verifying Checksum 21:07:27 4872d77fe225: Download complete 21:07:27 5851b861e8e6: Verifying Checksum 21:07:27 5851b861e8e6: Download complete 21:07:27 b85a868b505f: Verifying Checksum 21:07:27 b85a868b505f: Download complete 21:07:27 bab4dde63d76: Verifying Checksum 21:07:27 bab4dde63d76: Download complete 21:07:28 b85a868b505f: Pull complete 21:07:28 e2be974225ed: Pull complete 21:07:29 339a4e72a1f5: Pull complete 21:07:29 988bab9f4d93: Pull complete 21:07:29 1469e6f7b9e6: Pull complete 21:07:29 eaf3925da568: Pull complete 21:07:31 bab4dde63d76: Pull complete 21:07:31 bde34c3a00c8: Pull complete 21:07:31 b352a97aabf1: Pull complete 21:07:31 4872d77fe225: Pull complete 21:07:31 5851b861e8e6: Pull complete 21:07:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:07:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:31 prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container 21:07:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:07:33 $ docker top d71a4173f2f511cac5b8ff5cc27bb840a90d13e438cd8cccc78a7df2e5a936cc -eo pid,comm 21:07:33 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). 21:07:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:07:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:33 [ssh-agent] Looking for ssh-agent implementation... 21:07:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:33 $ docker exec d71a4173f2f511cac5b8ff5cc27bb840a90d13e438cd8cccc78a7df2e5a936cc ssh-agent 21:07:33 SSH_AUTH_SOCK=/tmp/ssh-RCZ8goRlmZY1/agent.34 21:07:33 SSH_AGENT_PID=40 21:07:33 Running ssh-add (command line suppressed) 21:07:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9257709373314967774.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9257709373314967774.key) 21:07:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:34 + git tag --points-at HEAD [Pipeline] } 21:07:34 $ docker exec --env ******** --env ******** d71a4173f2f511cac5b8ff5cc27bb840a90d13e438cd8cccc78a7df2e5a936cc ssh-agent -k 21:07:34 unset SSH_AUTH_SOCK; 21:07:34 unset SSH_AGENT_PID; 21:07:34 echo Agent pid 40 killed; 21:07:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:07:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:34 [ssh-agent] Looking for ssh-agent implementation... 21:07:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:34 $ docker exec d71a4173f2f511cac5b8ff5cc27bb840a90d13e438cd8cccc78a7df2e5a936cc ssh-agent 21:07:34 SSH_AUTH_SOCK=/tmp/ssh-MMcZHBqwVCxy/agent.72 21:07:34 SSH_AGENT_PID=78 21:07:34 Running ssh-add (command line suppressed) 21:07:34 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8496882941132709969.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8496882941132709969.key) 21:07:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:34 + git semver init 21:07:35 2023-07-10 21:07:35,049 [run_init] DEBUG init version:0.0.0 force:False 21:07:35 2023-07-10 21:07:35,050 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 21:07:35 2023-07-10 21:07:35,051 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 21:07:35 2023-07-10 21:07:35,051 [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) 21:07:36 2023-07-10 21:07:35,904 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 21:07:36 2023-07-10 21:07:35,905 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 21:07:36 2023-07-10 21:07:35,905 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:07:36 2023-07-10 21:07:35,905 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:07:36 3.1.0-dev.2 [Pipeline] } 21:07:36 $ docker exec --env ******** --env ******** d71a4173f2f511cac5b8ff5cc27bb840a90d13e438cd8cccc78a7df2e5a936cc ssh-agent -k 21:07:36 unset SSH_AUTH_SOCK; 21:07:36 unset SSH_AGENT_PID; 21:07:36 echo Agent pid 78 killed; 21:07:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:07:36 + git semver [Pipeline] } 21:07:36 $ docker stop --time=1 d71a4173f2f511cac5b8ff5cc27bb840a90d13e438cd8cccc78a7df2e5a936cc 21:07:38 $ docker rm -f --volumes d71a4173f2f511cac5b8ff5cc27bb840a90d13e438cd8cccc78a7df2e5a936cc [Pipeline] // withDockerContainer [Pipeline] sh 21:07:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:07:38 Stashed 1 file(s) [Pipeline] echo 21:07:38 [edgeXSemver]: initialized semver on version 3.1.0-dev.2 [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 21:07:38 provisioning config files... 21:07:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1366896922576551268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:39 ---> docker-login.sh 21:07:39 nexus3.edgexfoundry.org:10001 21:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:39 Configure a credential helper to remove this warning. See 21:07:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:39 21:07:39 Login Succeeded 21:07:39 nexus3.edgexfoundry.org:10002 21:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:39 Configure a credential helper to remove this warning. See 21:07:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:39 21:07:39 Login Succeeded 21:07:39 nexus3.edgexfoundry.org:10003 21:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:39 Configure a credential helper to remove this warning. See 21:07:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:39 21:07:39 Login Succeeded 21:07:39 nexus3.edgexfoundry.org:10004 21:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:39 Configure a credential helper to remove this warning. See 21:07:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:39 21:07:39 Login Succeeded 21:07:39 docker.io 21:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:39 Configure a credential helper to remove this warning. See 21:07:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:39 21:07:39 Login Succeeded 21:07:39 ---> docker-login.sh ends [Pipeline] } 21:07:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:07:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:39 ========================================================= 21:07:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:07:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:39 + 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 . 21:07:39 Sending build context to Docker daemon 10.88MB 21:07:39 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:07:39 Step 2/10 : FROM ${BASE} AS builder 21:07:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:07:39 f56be85fc22e: Pulling fs layer 21:07:39 85791d961cd3: Pulling fs layer 21:07:39 d694b5ae8c79: Pulling fs layer 21:07:39 9f32a84ed3da: Pulling fs layer 21:07:39 4d19c01a9841: Pulling fs layer 21:07:39 9325e15d5711: Pulling fs layer 21:07:39 556b6ee489ea: Pulling fs layer 21:07:39 c5a4b2cf53e6: Pulling fs layer 21:07:39 556b6ee489ea: Waiting 21:07:39 9f32a84ed3da: Waiting 21:07:39 c5a4b2cf53e6: Waiting 21:07:39 4d19c01a9841: Waiting 21:07:39 9325e15d5711: Waiting 21:07:39 85791d961cd3: Verifying Checksum 21:07:39 85791d961cd3: Download complete 21:07:39 9f32a84ed3da: Verifying Checksum 21:07:39 9f32a84ed3da: Download complete 21:07:39 4d19c01a9841: Verifying Checksum 21:07:39 4d19c01a9841: Download complete 21:07:40 f56be85fc22e: Verifying Checksum 21:07:40 f56be85fc22e: Download complete 21:07:40 9325e15d5711: Verifying Checksum 21:07:40 9325e15d5711: Download complete 21:07:40 f56be85fc22e: Pull complete 21:07:40 85791d961cd3: Pull complete 21:07:40 c5a4b2cf53e6: Verifying Checksum 21:07:40 c5a4b2cf53e6: Download complete 21:07:40 d694b5ae8c79: Verifying Checksum 21:07:40 d694b5ae8c79: Download complete 21:07:40 556b6ee489ea: Verifying Checksum 21:07:40 556b6ee489ea: Download complete 21:07:44 d694b5ae8c79: Pull complete 21:07:44 9f32a84ed3da: Pull complete 21:07:44 4d19c01a9841: Pull complete 21:07:44 9325e15d5711: Pull complete 21:07:46 556b6ee489ea: Pull complete 21:07:47 c5a4b2cf53e6: Pull complete 21:07:47 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:07:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:07:47 ---> c4be618373d6 21:07:47 Step 3/10 : ARG MAKE=make build 21:07:48 ---> Running in 9c7de30b6dbb 21:07:48 Removing intermediate container 9c7de30b6dbb 21:07:48 ---> b7e9364fa770 21:07:48 Step 4/10 : WORKDIR /device-sdk-go 21:07:48 ---> Running in d0c6a9636a5f 21:07:48 Removing intermediate container d0c6a9636a5f 21:07:48 ---> 1f23859d8e50 21:07:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:07:48 ---> Running in 9bee35496c5d 21:07:48 Removing intermediate container 9bee35496c5d 21:07:48 ---> 02c6179e5b98 21:07:48 Step 6/10 : RUN apk add --update --no-cache make git 21:07:48 ---> Running in 43b34bbc42cf 21:07:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:07:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:07:49 OK: 265 MiB in 53 packages 21:07:50 Removing intermediate container 43b34bbc42cf 21:07:50 ---> f0fb6893a464 21:07:50 Step 7/10 : COPY go.mod vendor* ./ 21:07:50 ---> 80d2353241dd 21:07:50 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:50 ---> Running in e378b7893213 21:07:53 Still waiting to schedule task 21:07:53 ‘prd-ubuntu20.04-docker-arm64-4c-16g-781’ is offline 21:08:22 Removing intermediate container e378b7893213 21:08:22 ---> 676444624435 21:08:22 Step 9/10 : COPY . . 21:08:22 ---> 6ddda8961334 21:08:22 Step 10/10 : RUN ${MAKE} 21:08:22 ---> Running in 8557fcee30fe 21:08:22 noop 21:08:22 Removing intermediate container 8557fcee30fe 21:08:22 ---> 562bbb5b015e 21:08:22 Successfully built 562bbb5b015e 21:08:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:22 + docker inspect -f . ci-base-image-x86_64 21:08:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:22 prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container 21:08:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:08:23 $ docker top 2e60738b8234fbac05be00a0eecfc1f4f83cc4f5382710ff39d3f44d37994c74 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:23 + go version 21:08:23 go version go1.20.2 linux/amd64 [Pipeline] } 21:08:23 $ docker stop --time=1 2e60738b8234fbac05be00a0eecfc1f4f83cc4f5382710ff39d3f44d37994c74 21:08:24 $ docker rm -f --volumes 2e60738b8234fbac05be00a0eecfc1f4f83cc4f5382710ff39d3f44d37994c74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:25 + docker inspect -f . ci-base-image-x86_64 21:08:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:25 prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container 21:08:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:08:25 $ docker top 3a7143268d44e4f968009e0d5e5ffcf8e02e53c34b4a4592cb7e7370a4415c3c -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:25 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 21:08:26 + make test 21:08:26 go test -race -coverprofile=coverage.out ./... 21:08:32 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 21:08:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 21:08:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 21:08:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 21:08:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 21:08:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 21:08:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.046s coverage: 27.6% of statements 21:08:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 21:08:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 21:08:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.065s coverage: 80.2% of statements 21:08:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.079s coverage: 86.0% of statements 21:08:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 21:08:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.083s coverage: 77.5% of statements 21:08:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 21:08:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 21:08:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 21:08:47 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 21:08:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.077s coverage: 14.3% of statements 21:08:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.070s coverage: 68.5% of statements 21:08:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.121s coverage: 89.2% of statements 21:08:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.7% of statements 21:09:08 GO111MODULE=on go vet ./... 21:09:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:09:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:09:12 ./bin/test-attribution-txt.sh [Pipeline] echo 21:09:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:09:12 $ docker stop --time=1 3a7143268d44e4f968009e0d5e5ffcf8e02e53c34b4a4592cb7e7370a4415c3c 21:09:15 $ docker rm -f --volumes 3a7143268d44e4f968009e0d5e5ffcf8e02e53c34b4a4592cb7e7370a4415c3c [Pipeline] // withDockerContainer [Pipeline] sh 21:09:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:09:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:09:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:09:17 + ls -al . 21:09:17 total 284 21:09:17 drwxrwxr-x 11 jenkins jenkins 4096 Jul 10 21:08 . 21:09:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 21:07 .. 21:09:17 -rw-rw-r-- 1 jenkins jenkins 140 Jul 10 21:07 .dockerignore 21:09:17 drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 21:07 .git 21:09:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 21:07 .github 21:09:17 -rw-rw-r-- 1 jenkins jenkins 137 Jul 10 21:07 .gitignore 21:09:17 -rw-rw-r-- 1 jenkins jenkins 42 Jul 10 21:07 .golangci.yml 21:09:17 drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 21:07 .semver 21:09:17 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 10 21:07 CHANGELOG.md 21:09:17 -rw-rw-r-- 1 jenkins jenkins 677 Jul 10 21:07 GOVERNANCE.md 21:09:17 -rw-rw-r-- 1 jenkins jenkins 885 Jul 10 21:07 Jenkinsfile 21:09:17 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 10 21:07 LICENSE 21:09:17 -rw-rw-r-- 1 jenkins jenkins 1714 Jul 10 21:07 Makefile 21:09:17 -rw-rw-r-- 1 jenkins jenkins 619 Jul 10 21:07 OWNERS.md 21:09:17 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 10 21:07 README.md 21:09:17 -rw-rw-r-- 1 jenkins jenkins 11 Jul 10 21:07 VERSION 21:09:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 21:07 bin 21:09:17 -rw-r--r-- 1 jenkins jenkins 106150 Jul 10 21:08 coverage.out 21:09:17 drwxrwxr-x 5 jenkins jenkins 4096 Jul 10 21:07 example 21:09:17 -rw-rw-r-- 1 jenkins jenkins 3460 Jul 10 21:07 go.mod 21:09:17 -rw-rw-r-- 1 jenkins jenkins 32141 Jul 10 21:07 go.sum 21:09:17 drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 21:07 internal 21:09:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 10 21:07 openapi 21:09:17 drwxrwxr-x 6 jenkins jenkins 4096 Jul 10 21:07 pkg 21:09:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 21:07 snap 21:09:17 -rw-rw-r-- 1 jenkins jenkins 222 Jul 10 21:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:17 + 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=1c436aae64ba04d8b406a209c24bbc2f99c23ca9 --label arch=amd64 --label version=3.1.0-dev.2 . 21:09:17 Sending build context to Docker daemon 10.98MB 21:09:17 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 21:09:17 Step 2/23 : FROM ${BASE} AS builder 21:09:17 ---> 562bbb5b015e 21:09:17 Step 3/23 : ARG MAKE=make build 21:09:17 ---> Running in adbdfbd477e2 21:09:17 Removing intermediate container adbdfbd477e2 21:09:17 ---> b4cf463e3ba2 21:09:17 Step 4/23 : WORKDIR /device-sdk-go 21:09:17 ---> Running in 9d89d56f1d8a 21:09:17 Removing intermediate container 9d89d56f1d8a 21:09:17 ---> 4777f120c2b6 21:09:17 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:09:17 ---> Running in 753e260fe45e 21:09:17 Removing intermediate container 753e260fe45e 21:09:17 ---> 643a2ca77132 21:09:17 Step 6/23 : RUN apk add --update --no-cache make git 21:09:17 ---> Running in f8b4820d7b93 21:09:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:09:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:09:18 OK: 265 MiB in 53 packages 21:09:18 Removing intermediate container f8b4820d7b93 21:09:18 ---> cd2b00c9268a 21:09:18 Step 7/23 : COPY go.mod vendor* ./ 21:09:18 ---> c01a1123df56 21:09:18 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:18 ---> Running in e86b3b17f1ee 21:09:19 Removing intermediate container e86b3b17f1ee 21:09:19 ---> b14e19396830 21:09:19 Step 9/23 : COPY . . 21:09:20 ---> 68bb2c40100a 21:09:20 Step 10/23 : RUN ${MAKE} 21:09:20 ---> Running in de75b5c275b6 21:09:20 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.2" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:09:38 Removing intermediate container de75b5c275b6 21:09:38 ---> 2439c357c2b8 21:09:38 Step 11/23 : FROM alpine:3.17 21:09:38 3.17: Pulling from library/alpine 21:09:38 4db1b89c0bd1: Pulling fs layer 21:09:38 4db1b89c0bd1: Verifying Checksum 21:09:38 4db1b89c0bd1: Download complete 21:09:38 4db1b89c0bd1: Pull complete 21:09:38 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:09:38 Status: Downloaded newer image for alpine:3.17 21:09:38 ---> 1f73a9d63274 21:09:38 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:09:38 ---> Running in 2bbaa88365a5 21:09:38 Removing intermediate container 2bbaa88365a5 21:09:38 ---> bce715597447 21:09:38 Step 13/23 : RUN apk add --update --no-cache 21:09:38 ---> Running in 69d1c415de38 21:09:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:09:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:09:39 OK: 7 MiB in 15 packages 21:09:39 Removing intermediate container 69d1c415de38 21:09:39 ---> 1340fdd958ef 21:09:39 Step 14/23 : WORKDIR / 21:09:39 ---> Running in 6dc23c829c22 21:09:39 Removing intermediate container 6dc23c829c22 21:09:39 ---> b16e70ef6c55 21:09:39 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:09:39 ---> 2cf9d31d3a35 21:09:39 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:09:40 ---> 78f4054589c8 21:09:40 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:09:40 ---> aead2a3c2520 21:09:40 Step 18/23 : EXPOSE 59999 21:09:40 ---> Running in 0dfd102c3f6e 21:09:40 Removing intermediate container 0dfd102c3f6e 21:09:40 ---> 212549467759 21:09:40 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:09:40 ---> Running in d6aafd766ba9 21:09:40 Removing intermediate container d6aafd766ba9 21:09:40 ---> 9f7cd1fd941a 21:09:40 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:09:40 ---> Running in baa8a14ef1e0 21:09:40 Removing intermediate container baa8a14ef1e0 21:09:40 ---> 6d901cc4c660 21:09:40 Step 21/23 : LABEL arch=amd64 21:09:40 ---> Running in a5f902076945 21:09:40 Removing intermediate container a5f902076945 21:09:40 ---> 720a43c513e4 21:09:40 Step 22/23 : LABEL git_sha=1c436aae64ba04d8b406a209c24bbc2f99c23ca9 21:09:40 ---> Running in 7dac0806cc36 21:09:41 Removing intermediate container 7dac0806cc36 21:09:41 ---> c96c0195dcc4 21:09:41 Step 23/23 : LABEL version=3.1.0-dev.2 21:09:41 ---> Running in aabcf8e8910f 21:09:41 Removing intermediate container aabcf8e8910f 21:09:41 ---> d752add8eb05 21:09:41 [Warning] One or more build-args [ARCH] were not consumed 21:09:41 Successfully built d752add8eb05 21:09:41 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 21:09:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:41 21:09:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:41 latest: Pulling from edgex-lftools-log-publisher 21:09:41 5eb5b503b376: Pulling fs layer 21:09:41 5c69ac0246d0: Pulling fs layer 21:09:41 ec43610c2a17: Pulling fs layer 21:09:41 3a2ae6a8a46f: Pulling fs layer 21:09:41 33b1e0a273af: Pulling fs layer 21:09:41 5d3b04190fa2: Pulling fs layer 21:09:41 2f39f015ded8: Pulling fs layer 21:09:41 33b1e0a273af: Waiting 21:09:41 5d3b04190fa2: Waiting 21:09:41 2f39f015ded8: Waiting 21:09:41 3a2ae6a8a46f: Waiting 21:09:41 5c69ac0246d0: Download complete 21:09:41 3a2ae6a8a46f: Verifying Checksum 21:09:41 3a2ae6a8a46f: Download complete 21:09:41 33b1e0a273af: Verifying Checksum 21:09:41 33b1e0a273af: Download complete 21:09:41 5d3b04190fa2: Verifying Checksum 21:09:41 5d3b04190fa2: Download complete 21:09:41 ec43610c2a17: Verifying Checksum 21:09:41 ec43610c2a17: Download complete 21:09:42 5eb5b503b376: Download complete 21:09:42 2f39f015ded8: Download complete 21:09:43 5eb5b503b376: Pull complete 21:09:43 5c69ac0246d0: Pull complete 21:09:43 ec43610c2a17: Pull complete 21:09:44 3a2ae6a8a46f: Pull complete 21:09:44 33b1e0a273af: Pull complete 21:09:44 5d3b04190fa2: Pull complete 21:09:48 2f39f015ded8: Pull complete 21:09:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:09:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:48 prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container 21:09:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:51 $ docker top 128595939e977f6737b5b309570d3caee1e1af9eaea5ec77f7b3ec2cd721d6bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:51 ---> job-cost.sh 21:09:51 lf-activate-venv: SKIPPING 21:09:51 INFO: No Stack... 21:09:52 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:52 INFO: Archiving Costs [Pipeline] sh 21:09:53 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 21:09:53 + cut -d, -f6 [Pipeline] lock 21:09:53 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-231-stack-cost] 21:09:53 Resource [jenkins-edgexfoundry-device-sdk-go-main-231-stack-cost] did not exist. Created. 21:09:53 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-231-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:53 + echo total: 0.2199999988079071 [Pipeline] stash 21:09:53 Stashed 1 file(s) [Pipeline] } 21:09:53 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-231-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:53 $ docker stop --time=1 128595939e977f6737b5b309570d3caee1e1af9eaea5ec77f7b3ec2cd721d6bf 21:09:54 $ docker rm -f --volumes 128595939e977f6737b5b309570d3caee1e1af9eaea5ec77f7b3ec2cd721d6bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:10:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-782 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 21:10:18 Running in /w/workspace/device-sdk-go/231 [Pipeline] { [Pipeline] checkout 21:10:18 The recommended git tool is: git 21:10:24 using credential edgex-jenkins-ssh 21:10:24 Cloning the remote Git repository 21:10:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:10:24 > git init /w/workspace/device-sdk-go/231 # timeout=10 21:10:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:10:24 > git --version # timeout=10 21:10:24 > git --version # 'git version 2.25.1' 21:10:24 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:10:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:29 Avoid second fetch 21:10:29 Checking out Revision 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 (main) 21:10:29 Commit message: "build: Update to latest go-mods (#1473)" 21:10:29 > git config core.sparsecheckout # timeout=10 21:10:29 > git checkout -f 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:10:30 % Total % Received % Xferd Average Speed Time Time Time Current 21:10:30 Dload Upload Total Spent Left Speed 21:10:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 21:10:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:10:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:10:31 + sudo tee /etc/docker/daemon.new 21:10:31 { 21:10:31 "registry-mirrors": [ 21:10:31 "https://nexus3.edgexfoundry.org:10001" 21:10:31 ], 21:10:31 "bip": "10.250.0.254/24", 21:10:31 "hosts": [ 21:10:31 "tcp://0.0.0.0:5555", 21:10:31 "unix:///var/run/docker.sock" 21:10:31 ], 21:10:31 "mtu": 1458, 21:10:31 "selinux-enabled": true, 21:10:31 "seccomp-profile": "/etc/docker/seccomp.json" 21:10:31 } [Pipeline] sh 21:10:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:10:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:50 provisioning config files... 21:10:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/231@tmp/config272299943925792322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:51 ---> docker-login.sh 21:10:51 nexus3.edgexfoundry.org:10001 21:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:51 Configure a credential helper to remove this warning. See 21:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:51 21:10:51 Login Succeeded 21:10:51 nexus3.edgexfoundry.org:10002 21:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:52 Configure a credential helper to remove this warning. See 21:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:52 21:10:52 Login Succeeded 21:10:52 nexus3.edgexfoundry.org:10003 21:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:52 Configure a credential helper to remove this warning. See 21:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:52 21:10:52 Login Succeeded 21:10:52 nexus3.edgexfoundry.org:10004 21:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:52 Configure a credential helper to remove this warning. See 21:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:52 21:10:52 Login Succeeded 21:10:52 docker.io 21:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:53 Configure a credential helper to remove this warning. See 21:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:53 21:10:53 Login Succeeded 21:10:53 ---> docker-login.sh ends [Pipeline] } 21:10:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:10:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:53 ========================================================= 21:10:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:10:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:54 + 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 . 21:10:54 Sending build context to Docker daemon 5.793MB 21:10:54 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:10:54 Step 2/10 : FROM ${BASE} AS builder 21:10:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:10:55 c41833b44d91: Pulling fs layer 21:10:55 ed15518f5707: Pulling fs layer 21:10:55 feae8fd75edb: Pulling fs layer 21:10:55 242c74f7c9fa: Pulling fs layer 21:10:55 3cdef696dda3: Pulling fs layer 21:10:55 2ced38df9373: Pulling fs layer 21:10:55 58f1dce35555: Pulling fs layer 21:10:55 242c74f7c9fa: Waiting 21:10:55 3cdef696dda3: Waiting 21:10:55 2ced38df9373: Waiting 21:10:55 58f1dce35555: Waiting 21:10:55 ed15518f5707: Verifying Checksum 21:10:55 ed15518f5707: Download complete 21:10:55 242c74f7c9fa: Verifying Checksum 21:10:55 242c74f7c9fa: Download complete 21:10:55 3cdef696dda3: Verifying Checksum 21:10:55 3cdef696dda3: Download complete 21:10:55 c41833b44d91: Verifying Checksum 21:10:55 c41833b44d91: Download complete 21:10:56 c41833b44d91: Pull complete 21:10:56 58f1dce35555: Verifying Checksum 21:10:56 58f1dce35555: Download complete 21:10:57 ed15518f5707: Pull complete 21:10:58 feae8fd75edb: Verifying Checksum 21:10:58 feae8fd75edb: Download complete 21:10:58 2ced38df9373: Verifying Checksum 21:10:58 2ced38df9373: Download complete 21:11:10 feae8fd75edb: Pull complete 21:11:10 242c74f7c9fa: Pull complete 21:11:10 3cdef696dda3: Pull complete 21:11:15 2ced38df9373: Pull complete 21:11:17 58f1dce35555: Pull complete 21:11:17 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:11:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:11:17 ---> fadd8f120f05 21:11:17 Step 3/10 : ARG MAKE=make build 21:11:19 ---> Running in abb42299c658 21:11:19 Removing intermediate container abb42299c658 21:11:19 ---> f26922d0fea6 21:11:19 Step 4/10 : WORKDIR /device-sdk-go 21:11:19 ---> Running in 0bdead36225d 21:11:20 Removing intermediate container 0bdead36225d 21:11:20 ---> db94f76a6c68 21:11:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:11:20 ---> Running in fd059f87dbd8 21:11:20 Removing intermediate container fd059f87dbd8 21:11:20 ---> 0b5a0a789305 21:11:20 Step 6/10 : RUN apk add --update --no-cache make git 21:11:20 ---> Running in 4514a46fd1f8 21:11:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:11:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:11:23 OK: 263 MiB in 53 packages 21:11:24 Removing intermediate container 4514a46fd1f8 21:11:24 ---> a746edea9fd6 21:11:24 Step 7/10 : COPY go.mod vendor* ./ 21:11:24 ---> 1b516639dcd0 21:11:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:24 ---> Running in 9271ba1ff579 21:12:32 Removing intermediate container 9271ba1ff579 21:12:32 ---> 03806a756261 21:12:32 Step 9/10 : COPY . . 21:12:32 ---> e7545b02c237 21:12:32 Step 10/10 : RUN ${MAKE} 21:12:32 ---> Running in 754e065089dc 21:12:32 noop 21:12:32 Removing intermediate container 754e065089dc 21:12:32 ---> 3b9c68daa332 21:12:32 Successfully built 3b9c68daa332 21:12:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:33 + docker inspect -f . ci-base-image-arm64 21:12:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:33 prd-ubuntu20.04-docker-arm64-4c-16g-782 does not seem to be running inside a container 21:12:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/231 -v /w/workspace/device-sdk-go/231:/w/workspace/device-sdk-go/231:rw,z -v /w/workspace/device-sdk-go/231@tmp:/w/workspace/device-sdk-go/231@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 21:12:34 $ docker top 4ad7ab8c71a28f0976c539c2664fc955bf192312c91c664bbe64067813ef8adf -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:35 + go version 21:12:35 go version go1.20.2 linux/arm64 [Pipeline] } 21:12:35 $ docker stop --time=1 4ad7ab8c71a28f0976c539c2664fc955bf192312c91c664bbe64067813ef8adf 21:12:37 $ docker rm -f --volumes 4ad7ab8c71a28f0976c539c2664fc955bf192312c91c664bbe64067813ef8adf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:37 + docker inspect -f . ci-base-image-arm64 21:12:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:37 prd-ubuntu20.04-docker-arm64-4c-16g-782 does not seem to be running inside a container 21:12:37 $ 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/231 -v /w/workspace/device-sdk-go/231:/w/workspace/device-sdk-go/231:rw,z -v /w/workspace/device-sdk-go/231@tmp:/w/workspace/device-sdk-go/231@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 21:12:42 $ docker top 09738bf594127c6badaec44de4fe448ef60b0bd32c0dee843167e56aba5b48ec -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:42 + git config --global --add safe.directory /w/workspace/device-sdk-go/231 [Pipeline] fileExists [Pipeline] sh 21:12:43 + make test 21:12:43 go test -race -coverprofile=coverage.out ./... 21:13:30 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 21:15:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 21:15:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 21:15:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 21:15:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 21:15:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 21:15:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.209s coverage: 27.6% of statements 21:15:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.249s coverage: 80.2% of statements 21:16:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 21:16:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 21:16:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.329s coverage: 86.0% of statements 21:16:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 21:16:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.433s coverage: 77.5% of statements 21:16:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 21:16:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 21:16:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 21:16:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.287s coverage: 14.3% of statements 21:16:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.416s coverage: 68.5% of statements 21:16:16 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.455s coverage: 89.2% of statements 21:16:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 21:16:18 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.251s coverage: 5.7% of statements 21:16:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:16:19 GO111MODULE=on go vet ./... 21:18:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:18:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:18:40 ./bin/test-attribution-txt.sh [Pipeline] echo 21:18:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:18:40 $ docker stop --time=1 09738bf594127c6badaec44de4fe448ef60b0bd32c0dee843167e56aba5b48ec 21:18:42 $ docker rm -f --volumes 09738bf594127c6badaec44de4fe448ef60b0bd32c0dee843167e56aba5b48ec [Pipeline] // withDockerContainer [Pipeline] sh 21:18:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:18:44 Warning: overwriting stash ‘coverage-report’ 21:18:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:18:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:18:45 + ls -al . 21:18:45 total 280 21:18:45 drwxrwxr-x 10 jenkins jenkins 4096 Jul 10 21:12 . 21:18:45 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 21:10 .. 21:18:45 -rw-rw-r-- 1 jenkins jenkins 140 Jul 10 21:10 .dockerignore 21:18:45 drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 21:10 .git 21:18:45 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 21:10 .github 21:18:45 -rw-rw-r-- 1 jenkins jenkins 137 Jul 10 21:10 .gitignore 21:18:45 -rw-rw-r-- 1 jenkins jenkins 42 Jul 10 21:10 .golangci.yml 21:18:45 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 10 21:10 CHANGELOG.md 21:18:45 -rw-rw-r-- 1 jenkins jenkins 677 Jul 10 21:10 GOVERNANCE.md 21:18:45 -rw-rw-r-- 1 jenkins jenkins 885 Jul 10 21:10 Jenkinsfile 21:18:45 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 10 21:10 LICENSE 21:18:45 -rw-rw-r-- 1 jenkins jenkins 1714 Jul 10 21:10 Makefile 21:18:45 -rw-rw-r-- 1 jenkins jenkins 619 Jul 10 21:10 OWNERS.md 21:18:45 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 10 21:10 README.md 21:18:45 -rw-rw-r-- 1 jenkins jenkins 11 Jul 10 21:07 VERSION 21:18:45 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 21:10 bin 21:18:45 -rw-r--r-- 1 jenkins jenkins 106151 Jul 10 21:16 coverage.out 21:18:45 drwxrwxr-x 5 jenkins jenkins 4096 Jul 10 21:10 example 21:18:45 -rw-rw-r-- 1 jenkins jenkins 3460 Jul 10 21:10 go.mod 21:18:45 -rw-rw-r-- 1 jenkins jenkins 32141 Jul 10 21:10 go.sum 21:18:45 drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 21:10 internal 21:18:45 drwxrwxr-x 3 jenkins jenkins 4096 Jul 10 21:10 openapi 21:18:45 drwxrwxr-x 6 jenkins jenkins 4096 Jul 10 21:10 pkg 21:18:45 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 21:10 snap 21:18:45 -rw-rw-r-- 1 jenkins jenkins 222 Jul 10 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:45 + 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=1c436aae64ba04d8b406a209c24bbc2f99c23ca9 --label arch=arm64 --label version=3.1.0-dev.2 . 21:18:46 Sending build context to Docker daemon 5.9MB 21:18:46 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 21:18:46 Step 2/23 : FROM ${BASE} AS builder 21:18:46 ---> 3b9c68daa332 21:18:46 Step 3/23 : ARG MAKE=make build 21:18:46 ---> Running in 37909b346455 21:18:46 Removing intermediate container 37909b346455 21:18:46 ---> 1fe44a017291 21:18:46 Step 4/23 : WORKDIR /device-sdk-go 21:18:46 ---> Running in 0b496e8cf66a 21:18:47 Removing intermediate container 0b496e8cf66a 21:18:47 ---> e1e1257feeb7 21:18:47 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:18:47 ---> Running in d59df85d91ce 21:18:47 Removing intermediate container d59df85d91ce 21:18:47 ---> a34f56211aed 21:18:47 Step 6/23 : RUN apk add --update --no-cache make git 21:18:47 ---> Running in 758e2f6a28b6 21:18:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:18:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:18:50 OK: 263 MiB in 53 packages 21:18:51 Removing intermediate container 758e2f6a28b6 21:18:51 ---> 26cfb271d554 21:18:51 Step 7/23 : COPY go.mod vendor* ./ 21:18:51 ---> 2b4fc78199a7 21:18:51 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:51 ---> Running in 314ae0ac2629 21:18:54 Removing intermediate container 314ae0ac2629 21:18:54 ---> cf3373ac0027 21:18:54 Step 9/23 : COPY . . 21:18:55 ---> 089ebc492717 21:18:55 Step 10/23 : RUN ${MAKE} 21:18:55 ---> Running in 117328595cae 21:18:56 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.2" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:21:18 Removing intermediate container 117328595cae 21:21:18 ---> 192e691fb534 21:21:18 Step 11/23 : FROM alpine:3.17 21:21:18 3.17: Pulling from library/alpine 21:21:18 edb6bdbacee9: Pulling fs layer 21:21:18 edb6bdbacee9: Download complete 21:21:18 edb6bdbacee9: Pull complete 21:21:18 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:21:18 Status: Downloaded newer image for alpine:3.17 21:21:18 ---> 779605e5fbc0 21:21:18 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:21:18 ---> Running in 85db37633ffc 21:21:18 Removing intermediate container 85db37633ffc 21:21:18 ---> 3e42591a15dc 21:21:18 Step 13/23 : RUN apk add --update --no-cache 21:21:18 ---> Running in 11b4bb0210b0 21:21:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:21:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:21:18 OK: 7 MiB in 15 packages 21:21:18 Removing intermediate container 11b4bb0210b0 21:21:18 ---> e6b08896fe5a 21:21:18 Step 14/23 : WORKDIR / 21:21:18 ---> Running in 9f6c88e66520 21:21:18 Removing intermediate container 9f6c88e66520 21:21:18 ---> 0c1200d76730 21:21:18 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:21:18 ---> 88a92f2c644c 21:21:18 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:21:18 ---> d034f21f766b 21:21:18 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:21:18 ---> ca5f1c62c0c8 21:21:18 Step 18/23 : EXPOSE 59999 21:21:18 ---> Running in 9e630244bc6b 21:21:18 Removing intermediate container 9e630244bc6b 21:21:18 ---> 02e9ac79a9f2 21:21:18 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:21:18 ---> Running in 604bc765e23d 21:21:18 Removing intermediate container 604bc765e23d 21:21:18 ---> e203c264b833 21:21:18 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:21:18 ---> Running in 4ac2923d5ab9 21:21:18 Removing intermediate container 4ac2923d5ab9 21:21:18 ---> 788c75cb37f7 21:21:18 Step 21/23 : LABEL arch=arm64 21:21:18 ---> Running in e7d987598b79 21:21:18 Removing intermediate container e7d987598b79 21:21:18 ---> 75bb722cae64 21:21:18 Step 22/23 : LABEL git_sha=1c436aae64ba04d8b406a209c24bbc2f99c23ca9 21:21:18 ---> Running in fa441e953be2 21:21:18 Removing intermediate container fa441e953be2 21:21:18 ---> 8f96672ff7e1 21:21:18 Step 23/23 : LABEL version=3.1.0-dev.2 21:21:18 ---> Running in 04d43b5848e6 21:21:18 Removing intermediate container 04d43b5848e6 21:21:18 ---> cd3a18241d06 21:21:18 [Warning] One or more build-args [ARCH] were not consumed 21:21:18 Successfully built cd3a18241d06 21:21:18 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 21:21:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:21:19 21:21:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:21:19 arm64: Pulling from edgex-lftools-log-publisher 21:21:19 8998bd30e6a1: Pulling fs layer 21:21:19 04944245beec: Pulling fs layer 21:21:19 699f458cf7ca: Pulling fs layer 21:21:19 765212b225bb: Pulling fs layer 21:21:19 f23df028b6ca: Pulling fs layer 21:21:19 d65c8cfc05b1: Pulling fs layer 21:21:19 2437ff75d9bd: Pulling fs layer 21:21:19 765212b225bb: Waiting 21:21:19 f23df028b6ca: Waiting 21:21:19 d65c8cfc05b1: Waiting 21:21:19 2437ff75d9bd: Waiting 21:21:19 04944245beec: Verifying Checksum 21:21:19 04944245beec: Download complete 21:21:19 765212b225bb: Verifying Checksum 21:21:19 765212b225bb: Download complete 21:21:19 f23df028b6ca: Verifying Checksum 21:21:19 f23df028b6ca: Download complete 21:21:19 d65c8cfc05b1: Verifying Checksum 21:21:19 d65c8cfc05b1: Download complete 21:21:19 699f458cf7ca: Verifying Checksum 21:21:19 699f458cf7ca: Download complete 21:21:20 8998bd30e6a1: Verifying Checksum 21:21:20 8998bd30e6a1: Download complete 21:21:22 2437ff75d9bd: Verifying Checksum 21:21:22 2437ff75d9bd: Download complete 21:21:24 8998bd30e6a1: Pull complete 21:21:24 04944245beec: Pull complete 21:21:25 699f458cf7ca: Pull complete 21:21:25 765212b225bb: Pull complete 21:21:26 f23df028b6ca: Pull complete 21:21:26 d65c8cfc05b1: Pull complete 21:21:41 2437ff75d9bd: Pull complete 21:21:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:21:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:21:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:41 prd-ubuntu20.04-docker-arm64-4c-16g-782 does not seem to be running inside a container 21:21: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/231 -v /w/workspace/device-sdk-go/231:/w/workspace/device-sdk-go/231:rw,z -v /w/workspace/device-sdk-go/231@tmp:/w/workspace/device-sdk-go/231@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 21:21:44 $ docker top fb90c5870e8fc48544fcca218672926bb133536cb04022304ecab852d7414fea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:44 ---> job-cost.sh 21:21:45 lf-activate-venv: SKIPPING 21:21:45 INFO: No Stack... 21:21:45 INFO: Retrieving Pricing Info for: v3-standard-4 21:21:46 INFO: Archiving Costs [Pipeline] sh 21:21:46 + cat /w/workspace/device-sdk-go/231/archives/cost.csv 21:21:46 + cut -d, -f6 [Pipeline] lock 21:21:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-231-stack-cost] 21:21:47 Resource [jenkins-edgexfoundry-device-sdk-go-main-231-stack-cost] did not exist. Created. 21:21:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-231-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:21:47 /w/workspace/device-sdk-go/231@tmp/durable-84ad64d6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:21:47 + echo total: 0.10999999940395355 [Pipeline] stash 21:21:48 Warning: overwriting stash ‘stack-cost’ 21:21:48 Stashed 1 file(s) [Pipeline] } 21:21:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-231-stack-cost] [Pipeline] // lock [Pipeline] } 21:21:48 $ docker stop --time=1 fb90c5870e8fc48544fcca218672926bb133536cb04022304ecab852d7414fea 21:21:49 $ docker rm -f --volumes fb90c5870e8fc48544fcca218672926bb133536cb04022304ecab852d7414fea [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 21:21:49 provisioning config files... 21:21:50 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14493376226983993013tmp [Pipeline] { [Pipeline] sh 21:21:50 + set +x 21:21:50 + curl+ -s https://codecov.io/bash 21:21:50 bash -s -- 21:21:50 21:21:50 _____ _ 21:21:50 / ____| | | 21:21:50 | | ___ __| | ___ ___ _____ __ 21:21:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:21:50 | |___| (_) | (_| | __/ (_| (_) \ V / 21:21:50 \_____\___/ \__,_|\___|\___\___/ \_/ 21:21:50 Bash-1.0.6 21:21:50 21:21:50 21:21:50 ==> git version 2.25.1 found 21:21:50 ==> 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 21:21:50 Release-Date: 2020-01-08 21:21:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:21:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:21:50 ==> Jenkins CI detected. 21:21:50 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 21:21:50 project root: . 21:21:50 --> token set from env 21:21:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:21:50 ==> Running gcov in . (disable via -X gcov) 21:21:50 ==> Python coveragepy not found 21:21:50 ==> Searching for coverage reports in: 21:21:50 + . 21:21:50 -> Found 1 reports 21:21:50 ==> Detecting git/mercurial file structure 21:21:50 ==> Reading reports 21:21:50 + ./coverage.out bytes=106151 21:21:50 ==> Appending adjustments 21:21:50 https://docs.codecov.io/docs/fixing-reports 21:21:50 + Found adjustments 21:21:50 ==> Gzipping contents 21:21:50 16K /tmp/codecov.auVDJ6.gz 21:21:50 ==> Uploading reports 21:21:50 url: https://codecov.io 21:21:50 query: branch=main&commit=1c436aae64ba04d8b406a209c24bbc2f99c23ca9&build=231&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F231%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:21:50 -> Pinging Codecov 21:21:50 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=1c436aae64ba04d8b406a209c24bbc2f99c23ca9&build=231&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F231%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:21:50 -> Uploading to 21:21:50 https://storage.googleapis.com/codecov/v4/raw/2023-07-10/7E55EF52A471D76F132DFD9A03CDDE97/1c436aae64ba04d8b406a209c24bbc2f99c23ca9/276021a2-5ba6-451d-9be4-3c1892cb875d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230710%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230710T212150Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=49cd80826eb2f7d396e3a66dc00974acd3c27b8833c8d1062c1508d965db21eb 21:21:50 % Total % Received % Xferd Average Speed Time Time Time Current 21:21:50 Dload Upload Total Spent Left Speed 21:21:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15157 0 0 100 15157 0 71495 --:--:-- --:--:-- --:--:-- 71495 21:21:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1c436aae64ba04d8b406a209c24bbc2f99c23ca9 [Pipeline] } 21:21:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:21:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:21:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:21:51 21:21:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:21:51 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:21:51 df9b9388f04a: Pulling fs layer 21:21:51 52dc419b0ee2: Pulling fs layer 21:21:51 25bc292e5bac: Pulling fs layer 21:21:51 114826534d7a: Pulling fs layer 21:21:51 4657fd5d0bcf: Pulling fs layer 21:21:51 6ad1cebc031e: Pulling fs layer 21:21:51 8a3aa393b2d8: Pulling fs layer 21:21:51 8a3aa393b2d8: Waiting 21:21:51 114826534d7a: Waiting 21:21:51 6ad1cebc031e: Waiting 21:21:51 4657fd5d0bcf: Waiting 21:21:51 25bc292e5bac: Download complete 21:21:51 52dc419b0ee2: Download complete 21:21:51 4657fd5d0bcf: Verifying Checksum 21:21:51 4657fd5d0bcf: Download complete 21:21:51 df9b9388f04a: Verifying Checksum 21:21:51 df9b9388f04a: Download complete 21:21:52 6ad1cebc031e: Verifying Checksum 21:21:52 6ad1cebc031e: Download complete 21:21:52 df9b9388f04a: Pull complete 21:21:52 52dc419b0ee2: Pull complete 21:21:52 25bc292e5bac: Pull complete 21:21:52 114826534d7a: Verifying Checksum 21:21:52 114826534d7a: Download complete 21:21:52 8a3aa393b2d8: Verifying Checksum 21:21:52 8a3aa393b2d8: Download complete 21:21:55 114826534d7a: Pull complete 21:21:55 4657fd5d0bcf: Pull complete 21:21:55 6ad1cebc031e: Pull complete 21:21:59 8a3aa393b2d8: Pull complete 21:21:59 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:21:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:21:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:59 prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container 21:21:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:22:01 $ docker top 39bc7114b0a11ab85e368a5bd75d2229c01358c236b6e63301e300a330b0193e -eo pid,comm [Pipeline] { [Pipeline] echo 21:22:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 21:22:01 + set -o pipefail 21:22:01 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 21:22:05 21:22:05 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 21:22:05 21:22:05 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/35e7e3db-d0c3-4485-a66f-4b215766a2fa 21:22:05 21:22:05 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:22:05 21:22:06 21:22:06 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:22:06 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:22:06 More details here: https://snyk.co/ue1NS 21:22:06 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 21:22:06 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:22:06 $ docker stop --time=1 39bc7114b0a11ab85e368a5bd75d2229c01358c236b6e63301e300a330b0193e 21:22:10 $ docker rm -f --volumes 39bc7114b0a11ab85e368a5bd75d2229c01358c236b6e63301e300a330b0193e [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 21:22:10 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:22:10 provisioning config files... 21:22:10 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15575587124907305983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:22:10 --> edgex-publish-swagger.sh 21:22:10 === Publish openapi/v3 API === 21:22:10 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 21:22:10 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 21:22:10 % Total % Received % Xferd Average Speed Time Time Time Current 21:22:10 Dload Upload Total Spent Left Speed 21:22:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 41243 --:--:-- --:--:-- --:--:-- 41172 21:22:11 21:22:11 [Pipeline] } 21:22:11 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 21:22:11 + git log --format=format:%s -1 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 [Pipeline] sh 21:22:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:22:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:22:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:12 prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container 21:22:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:22:13 $ docker top f1bc00f9bcaa4747cf89e7f6fd6f106c30b52de0d3b5bd0accab2889d51372f0 -eo pid,comm 21:22:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:22:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:22:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:22:13 [ssh-agent] Looking for ssh-agent implementation... 21:22:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:22:13 $ docker exec f1bc00f9bcaa4747cf89e7f6fd6f106c30b52de0d3b5bd0accab2889d51372f0 ssh-agent 21:22:13 SSH_AUTH_SOCK=/tmp/ssh-sg8x3KZ9hQfk/agent.21 21:22:13 SSH_AGENT_PID=38 21:22:13 Running ssh-add (command line suppressed) 21:22:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18004585530216014537.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18004585530216014537.key) 21:22:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:22:13 + git semver tag 21:22:14 2023-07-10 21:22:13,971 [run_tag] DEBUG tag force:False 21:22:14 2023-07-10 21:22:13,971 [check_head_tag] DEBUG check head tag 21:22:14 2023-07-10 21:22:13,972 [execute] INFO git cat-file --batch-check 21:22:14 2023-07-10 21:22:13,972 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:22:14 2023-07-10 21:22:13,977 [execute] INFO git cat-file --batch 21:22:14 2023-07-10 21:22:13,978 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:22:14 2023-07-10 21:22:13,988 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:22:14 2023-07-10 21:22:13,988 [execute] INFO git tag -a v3.1.0-dev.2 -m v3.1.0-dev.2 21:22:14 2023-07-10 21:22:13,988 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.2', '-m', 'v3.1.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:22:14 2023-07-10 21:22:13,994 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:22:14 3.1.0-dev.2 [Pipeline] } 21:22:14 $ docker exec --env ******** --env ******** f1bc00f9bcaa4747cf89e7f6fd6f106c30b52de0d3b5bd0accab2889d51372f0 ssh-agent -k 21:22:14 unset SSH_AUTH_SOCK; 21:22:14 unset SSH_AGENT_PID; 21:22:14 echo Agent pid 38 killed; 21:22:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:22:14 + git semver [Pipeline] } 21:22:14 $ docker stop --time=1 f1bc00f9bcaa4747cf89e7f6fd6f106c30b52de0d3b5bd0accab2889d51372f0 21:22:16 $ docker rm -f --volumes f1bc00f9bcaa4747cf89e7f6fd6f106c30b52de0d3b5bd0accab2889d51372f0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:22:16 21:22:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:22:16 0.23.1-centos7: Pulling from edgex-lftools 21:22:16 ab5ef0e58194: Pulling fs layer 21:22:16 9712f1f96733: Pulling fs layer 21:22:16 63f879dbbcfc: Pulling fs layer 21:22:16 0d9ebad4ef96: Pulling fs layer 21:22:16 e9a5061849ea: Pulling fs layer 21:22:16 d747dcd14b5f: Pulling fs layer 21:22:16 2de7ff778b66: Pulling fs layer 21:22:16 0d9ebad4ef96: Waiting 21:22:16 e9a5061849ea: Waiting 21:22:16 d747dcd14b5f: Waiting 21:22:16 2de7ff778b66: Waiting 21:22:16 9712f1f96733: Download complete 21:22:17 63f879dbbcfc: Verifying Checksum 21:22:17 63f879dbbcfc: Download complete 21:22:17 e9a5061849ea: Verifying Checksum 21:22:17 e9a5061849ea: Download complete 21:22:17 d747dcd14b5f: Download complete 21:22:17 0d9ebad4ef96: Verifying Checksum 21:22:17 0d9ebad4ef96: Download complete 21:22:17 ab5ef0e58194: Verifying Checksum 21:22:17 ab5ef0e58194: Download complete 21:22:17 2de7ff778b66: Verifying Checksum 21:22:17 2de7ff778b66: Download complete 21:22:20 ab5ef0e58194: Pull complete 21:22:20 9712f1f96733: Pull complete 21:22:20 63f879dbbcfc: Pull complete 21:22:25 0d9ebad4ef96: Pull complete 21:22:25 e9a5061849ea: Pull complete 21:22:25 d747dcd14b5f: Pull complete 21:22:25 2de7ff778b66: Pull complete 21:22:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:22:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:22:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:25 prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container 21:22:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:22:28 $ docker top 7f56f2c10145b64844ac9b4131a8c5b129b9cfe9c1441a8e49d56dd422eccf29 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:22:28 provisioning config files... 21:22:28 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7637207882872243290tmp 21:22:28 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3106776283554228606tmp 21:22:28 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9207210785422395001tmp [Pipeline] { [Pipeline] echo 21:22:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:22:29 ---> sigul-configuration.sh 21:22:29 gpg: directory `/root/.gnupg' created 21:22:29 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:22:29 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:22:29 gpg: keyring `/root/.gnupg/secring.gpg' created 21:22:29 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:22:29 gpg: CAST5 encrypted data 21:22:29 gpg: encrypted with 1 passphrase 21:22:29 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:22:29 + mkdir /home/jenkins 21:22:29 + mkdir /home/jenkins/sigul [Pipeline] sh 21:22:29 + 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 21:22:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:22:30 ---> sigul-install.sh 21:22:30 Sigul already installed; skipping installation. [Pipeline] sh 21:22:30 + git tag --list 21:22:30 0.7.1 21:22:30 delhi-tag 21:22:30 v1.0.0 21:22:30 v1.1.0 21:22:30 v1.1.1 21:22:30 v1.1.2 21:22:30 v1.2.0 21:22:30 v1.2.1 21:22:30 v1.2.2 21:22:30 v1.2.3 21:22:30 v1.3.0 21:22:30 v1.4.0 21:22:30 v2.0.0 21:22:30 v2.1.0 21:22:30 v2.1.1 21:22:30 v2.2.0 21:22:30 v2.3.0 21:22:30 v2.3.1 21:22:30 v3.0 21:22:30 v3.0.0 21:22:30 v3.0.1-dev.1 21:22:30 v3.1.0-dev.1 21:22:30 v3.1.0-dev.2 [Pipeline] sh 21:22:30 + lftools sign git-tag v3.1.0-dev.2 21:22:31 Signing Git tag with Sigul... 21:22:31 Signing v3.1.0-dev.2 [Pipeline] echo 21:22:31 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:22:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:22:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:22:32 $ docker stop --time=1 7f56f2c10145b64844ac9b4131a8c5b129b9cfe9c1441a8e49d56dd422eccf29 21:22:33 $ docker rm -f --volumes 7f56f2c10145b64844ac9b4131a8c5b129b9cfe9c1441a8e49d56dd422eccf29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:22:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:22:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:22:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:34 prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container 21:22:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:22:34 $ docker top 8b3023c2dec738cc00cfcf59eddd3e46890a5dcfdde571200fc62d8b28047ef2 -eo pid,comm 21:22:34 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). 21:22:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:22:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:22:34 [ssh-agent] Looking for ssh-agent implementation... 21:22:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:22:34 $ docker exec 8b3023c2dec738cc00cfcf59eddd3e46890a5dcfdde571200fc62d8b28047ef2 ssh-agent 21:22:34 SSH_AUTH_SOCK=/tmp/ssh-ckGwFyFkaf5t/agent.32 21:22:34 SSH_AGENT_PID=37 21:22:34 Running ssh-add (command line suppressed) 21:22:34 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3241060739460400617.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3241060739460400617.key) 21:22:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:22:35 + git semver bump pre 21:22:35 2023-07-10 21:22:35,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:22:35 2023-07-10 21:22:35,345 [bump_version] DEBUG bumping version:3.1.0-dev.2 on axis:pre with prefix:dev 21:22:35 2023-07-10 21:22:35,345 [bump_version] DEBUG bumped version:3.1.0-dev.3 21:22:35 2023-07-10 21:22:35,345 [write_version] DEBUG write version:3.1.0-dev.3 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 21:22:35 2023-07-10 21:22:35,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:22:35 2023-07-10 21:22:35,345 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:22:35 2023-07-10 21:22:35,347 [execute] INFO git cat-file --batch-check 21:22:35 2023-07-10 21:22:35,347 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:22:35 2023-07-10 21:22:35,352 [execute] INFO git cat-file --batch 21:22:35 2023-07-10 21:22:35,352 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:22:35 2023-07-10 21:22:35,357 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:22:35 3.1.0-dev.3 [Pipeline] } 21:22:35 $ docker exec --env ******** --env ******** 8b3023c2dec738cc00cfcf59eddd3e46890a5dcfdde571200fc62d8b28047ef2 ssh-agent -k 21:22:35 unset SSH_AUTH_SOCK; 21:22:35 unset SSH_AGENT_PID; 21:22:35 echo Agent pid 37 killed; 21:22:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:22:35 + git semver [Pipeline] } 21:22:36 $ docker stop --time=1 8b3023c2dec738cc00cfcf59eddd3e46890a5dcfdde571200fc62d8b28047ef2 21:22:37 $ docker rm -f --volumes 8b3023c2dec738cc00cfcf59eddd3e46890a5dcfdde571200fc62d8b28047ef2 [Pipeline] // withDockerContainer [Pipeline] sh 21:22:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:22:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:22:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:38 prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container 21:22:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:22:38 $ docker top 61010c2dbc8b1d503b842b3e2737dc6632210021666ec0fe826e3f18de4bafd9 -eo pid,comm 21:22:38 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). 21:22:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:22:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:22:38 [ssh-agent] Looking for ssh-agent implementation... 21:22:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:22:38 $ docker exec 61010c2dbc8b1d503b842b3e2737dc6632210021666ec0fe826e3f18de4bafd9 ssh-agent 21:22:38 SSH_AUTH_SOCK=/tmp/ssh-Tmo4FdlsiqTJ/agent.31 21:22:38 SSH_AGENT_PID=37 21:22:38 Running ssh-add (command line suppressed) 21:22:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10319356985786307051.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10319356985786307051.key) 21:22:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:22:39 + git semver push 21:22:39 2023-07-10 21:22:39,362 [run_push] DEBUG push 21:22:39 2023-07-10 21:22:39,363 [execute] INFO git cat-file --batch-check 21:22:39 2023-07-10 21:22:39,363 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:22:39 2023-07-10 21:22:39,366 [execute] INFO git rev-list 8947991b9b1133a13ed67e97113488189364d7e6 -- 21:22:39 2023-07-10 21:22:39,367 [execute] DEBUG Popen(['git', 'rev-list', '8947991b9b1133a13ed67e97113488189364d7e6', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:22:39 2023-07-10 21:22:39,378 [execute] INFO git fetch -v origin 21:22:39 2023-07-10 21:22:39,378 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:22:40 2023-07-10 21:22:39,859 [run_push] DEBUG no remote changes detected 21:22:40 2023-07-10 21:22:39,860 [execute] INFO git push origin semver 21:22:40 2023-07-10 21:22:39,860 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:22:40 2023-07-10 21:22:40,664 [run_push] DEBUG push all version tags 21:22:40 2023-07-10 21:22:40,664 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:22:40 2023-07-10 21:22:40,665 [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) 21:22:41 2023-07-10 21:22:41,437 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:22:41 3.1.0-dev.3 [Pipeline] } 21:22:41 $ docker exec --env ******** --env ******** 61010c2dbc8b1d503b842b3e2737dc6632210021666ec0fe826e3f18de4bafd9 ssh-agent -k 21:22:41 unset SSH_AUTH_SOCK; 21:22:41 unset SSH_AGENT_PID; 21:22:41 echo Agent pid 37 killed; 21:22:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:22:41 + git semver [Pipeline] } 21:22:42 $ docker stop --time=1 61010c2dbc8b1d503b842b3e2737dc6632210021666ec0fe826e3f18de4bafd9 21:22:43 $ docker rm -f --volumes 61010c2dbc8b1d503b842b3e2737dc6632210021666ec0fe826e3f18de4bafd9 [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 21:22:44 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 21:22:44 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:22:44 total 16 21:22:44 drwxr-xr-x 3 root root 4096 Jul 10 21:09 . 21:22:44 drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 21:22 .. 21:22:44 drwxr-xr-x 2 root root 4096 Jul 10 21:09 cost 21:22:44 -rw-r--r-- 1 root root 85 Jul 10 21:09 cost.csv 21:22:44 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:22:44 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:22:44 total 16 21:22:44 drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 21:09 . 21:22:44 drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 21:22 .. 21:22:44 drwxr-xr-x 2 jenkins jenkins 4096 Jul 10 21:09 cost 21:22:44 -rw-r--r-- 1 jenkins jenkins 85 Jul 10 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:22:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:22:45 ---> package-listing.sh 21:22:45 ++ facter osfamily 21:22:45 ++ tr '[:upper:]' '[:lower:]' 21:22:45 + OS_FAMILY=debian 21:22:45 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 21:22:45 + START_PACKAGES=/tmp/packages_start.txt 21:22:45 + END_PACKAGES=/tmp/packages_end.txt 21:22:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:22:45 + PACKAGES=/tmp/packages_start.txt 21:22:45 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 21:22:45 + PACKAGES=/tmp/packages_end.txt 21:22:45 + case "${OS_FAMILY}" in 21:22:45 + dpkg -l 21:22:45 + grep '^ii' 21:22:45 + '[' -f /tmp/packages_start.txt ']' 21:22:45 + '[' -f /tmp/packages_end.txt ']' 21:22:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:22:45 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 21:22:45 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 21:22:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 21:22:45 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 21:22:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:22:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:46 prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container 21:22:46 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:22:46 $ docker top 7f3952f633c8e2a79b9cec628772f4e6d079e30d95e43c4e5609d52813d7354d -eo pid,comm [Pipeline] { [Pipeline] sh 21:22:46 + touch /tmp/pre-build-complete [Pipeline] sh 21:22:47 + mkdir -p /var/log/sysstat [Pipeline] sh 21:22:47 + ls /var/log/sa-host 21:22:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:22:47 provisioning config files... 21:22:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15183427060068033605tmp [Pipeline] { [Pipeline] echo 21:22:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:22:47 ---> create-netrc.sh [Pipeline] } 21:22:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:22:48 ---> python-tools-install.sh [Pipeline] echo 21:22:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:22:48 ---> sudo-logs.sh 21:22:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:22:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:22:48 ---> job-cost.sh 21:22:48 lf-activate-venv: SKIPPING 21:22:48 DEBUG: total: 0.2199999988079071 21:22:48 INFO: Retrieving Stack Cost... 21:22:53 INFO: Retrieving Pricing Info for: v3-standard-8 21:22:53 INFO: Archiving Costs [Pipeline] echo 21:22:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:22:53 ---> logs-deploy.sh 21:22:53 lf-activate-venv: SKIPPING 21:22:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/231 21:22:53 INFO: archiving workspace using pattern(s): 21:22:54 Archives upload complete. 21:22:54 INFO: archiving logs to Nexus