Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fda9b37df1b1ddb72445924cae920f416e370c84 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-ssh14517590226381269788.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh8575847958992775295.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh16229112095093133178.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh12491755271332718392.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-ssh10539185828284686888.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.21 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 ‘prd-ubuntu20.04-docker-8c-8g-5959’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5960 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 fda9b37df1b1ddb72445924cae920f416e370c84 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Commit message: "build: Consume latest go-mod-bootstrap with RemoveHosts flag (#1510)" > git config core.sparsecheckout # timeout=10 > git checkout -f fda9b37df1b1ddb72445924cae920f416e370c84 # timeout=10 > git rev-list --no-walk 8e06685c5bed515b18a4f19b1b2841e63869493f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:06:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:06:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:06:51 ========================================================= 19:06:51 EdgeX Global Pipelines Version Info 19:06:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:06:53 ------------------- 19:06:53 stable info: 19:06:53 ------------------- 19:06:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:06:53 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 19:06:53 Message: update stable to v1.0.254 19:06:54 ------------------- 19:06:54 experimental info: 19:06:54 ------------------- 19:06:54 Commited By: **** collab-it+edgex@linuxfoundation.org 19:06:54 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 19:06:54 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fda9b37df1b1ddb72445924cae920f416e370c84 [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fda9b37 [Pipeline] echo 19:06:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:06:54 provisioning config files... 19:06:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8085482832002915745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:06:55 ---> docker-login.sh 19:06:55 nexus3.edgexfoundry.org:10001 19:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:55 Configure a credential helper to remove this warning. See 19:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:55 19:06:55 Login Succeeded 19:06:55 nexus3.edgexfoundry.org:10002 19:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:55 Configure a credential helper to remove this warning. See 19:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:55 19:06:55 Login Succeeded 19:06:55 nexus3.edgexfoundry.org:10003 19:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:55 Configure a credential helper to remove this warning. See 19:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:55 19:06:55 Login Succeeded 19:06:55 nexus3.edgexfoundry.org:10004 19:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:55 Configure a credential helper to remove this warning. See 19:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:55 19:06:55 Login Succeeded 19:06:55 docker.io 19:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:06:56 Configure a credential helper to remove this warning. See 19:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:06:56 19:06:56 Login Succeeded 19:06:56 ---> docker-login.sh ends [Pipeline] } 19:06:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:06:56 + git rev-list -1 --merges fda9b37df1b1ddb72445924cae920f416e370c84~1..fda9b37df1b1ddb72445924cae920f416e370c84 [Pipeline] echo 19:06:56 -----------> git rev-list -1 --merges fda9b37df1b1ddb72445924cae920f416e370c84~1..fda9b37df1b1ddb72445924cae920f416e370c84 fda9b37df1b1ddb72445924cae920f416e370c84 [false] [Pipeline] sh 19:06:57 + git log --format=format:%s -1 fda9b37df1b1ddb72445924cae920f416e370c84 [Pipeline] echo 19:06:57 ========================================================= 19:06:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:06:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:06:57 + git log --format=format:%s -1 fda9b37df1b1ddb72445924cae920f416e370c84 [Pipeline] echo 19:06:57 [semverPrep] GIT_COMMIT: fda9b37df1b1ddb72445924cae920f416e370c84, Commit Message: build: Consume latest go-mod-bootstrap with RemoveHosts flag (#1510) [Pipeline] echo 19:06:57 [semverPrep] This is not a build commit. [Pipeline] sh 19:06:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:06:57 + grep -v github /etc/ssh/ssh_known_hosts 19:06:57 + [ -e /tmp/ssh_known_hosts ] 19:06:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:06:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:06:57 + sudo tee -a /etc/ssh/ssh_known_hosts 19:06:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:06:58 19:06:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:06:58 0.1.4: Pulling from edgex-devops/py-git-semver 19:06:58 b85a868b505f: Pulling fs layer 19:06:58 e2be974225ed: Pulling fs layer 19:06:58 339a4e72a1f5: Pulling fs layer 19:06:58 988bab9f4d93: Pulling fs layer 19:06:58 1469e6f7b9e6: Pulling fs layer 19:06:58 eaf3925da568: Pulling fs layer 19:06:58 bab4dde63d76: Pulling fs layer 19:06:58 bde34c3a00c8: Pulling fs layer 19:06:58 b352a97aabf1: Pulling fs layer 19:06:58 4872d77fe225: Pulling fs layer 19:06:58 5851b861e8e6: Pulling fs layer 19:06:58 988bab9f4d93: Waiting 19:06:58 1469e6f7b9e6: Waiting 19:06:58 eaf3925da568: Waiting 19:06:58 bab4dde63d76: Waiting 19:06:58 bde34c3a00c8: Waiting 19:06:58 b352a97aabf1: Waiting 19:06:58 4872d77fe225: Waiting 19:06:58 5851b861e8e6: Waiting 19:06:58 e2be974225ed: Download complete 19:06:58 988bab9f4d93: Verifying Checksum 19:06:58 988bab9f4d93: Download complete 19:06:58 1469e6f7b9e6: Verifying Checksum 19:06:58 1469e6f7b9e6: Download complete 19:06:58 eaf3925da568: Verifying Checksum 19:06:58 eaf3925da568: Download complete 19:06:58 339a4e72a1f5: Verifying Checksum 19:06:58 339a4e72a1f5: Download complete 19:06:58 bde34c3a00c8: Download complete 19:06:58 b352a97aabf1: Verifying Checksum 19:06:58 b352a97aabf1: Download complete 19:06:58 4872d77fe225: Download complete 19:06:58 5851b861e8e6: Verifying Checksum 19:06:58 5851b861e8e6: Download complete 19:06:58 b85a868b505f: Verifying Checksum 19:06:58 b85a868b505f: Download complete 19:06:58 bab4dde63d76: Verifying Checksum 19:06:58 bab4dde63d76: Download complete 19:06:59 b85a868b505f: Pull complete 19:07:00 e2be974225ed: Pull complete 19:07:00 339a4e72a1f5: Pull complete 19:07:00 988bab9f4d93: Pull complete 19:07:00 1469e6f7b9e6: Pull complete 19:07:00 eaf3925da568: Pull complete 19:07:02 bab4dde63d76: Pull complete 19:07:02 bde34c3a00c8: Pull complete 19:07:02 b352a97aabf1: Pull complete 19:07:02 4872d77fe225: Pull complete 19:07:02 5851b861e8e6: Pull complete 19:07:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:07:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:02 prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container 19:07:02 $ 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 19:07:05 $ docker top b0ce509c3663c64e7c7de2341d498e90d0af2d55dd98fc997e225105a3d97cc1 -eo pid,comm 19:07:05 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). 19:07:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:07:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:05 [ssh-agent] Looking for ssh-agent implementation... 19:07:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:05 $ docker exec b0ce509c3663c64e7c7de2341d498e90d0af2d55dd98fc997e225105a3d97cc1 ssh-agent 19:07:06 SSH_AUTH_SOCK=/tmp/ssh-LZUzcWQwV8Ey/agent.32 19:07:06 SSH_AGENT_PID=37 19:07:06 Running ssh-add (command line suppressed) 19:07:06 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16135304187371744646.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16135304187371744646.key) 19:07:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:06 + git tag --points-at HEAD [Pipeline] } 19:07:06 $ docker exec --env ******** --env ******** b0ce509c3663c64e7c7de2341d498e90d0af2d55dd98fc997e225105a3d97cc1 ssh-agent -k 19:07:06 unset SSH_AUTH_SOCK; 19:07:06 unset SSH_AGENT_PID; 19:07:06 echo Agent pid 37 killed; 19:07:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:07:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:06 [ssh-agent] Looking for ssh-agent implementation... 19:07:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:06 $ docker exec b0ce509c3663c64e7c7de2341d498e90d0af2d55dd98fc997e225105a3d97cc1 ssh-agent 19:07:06 SSH_AUTH_SOCK=/tmp/ssh-W437xLMZp70Z/agent.69 19:07:06 SSH_AGENT_PID=75 19:07:06 Running ssh-add (command line suppressed) 19:07:07 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2432899683701259438.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2432899683701259438.key) 19:07:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:07 + git semver init 19:07:07 2023-09-12 19:07:07,551 [run_init] DEBUG init version:0.0.0 force:False 19:07:07 2023-09-12 19:07:07,552 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 19:07:07 2023-09-12 19:07:07,552 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 19:07:07 2023-09-12 19:07:07,552 [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) 19:07:08 2023-09-12 19:07:08,525 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 19:07:08 2023-09-12 19:07:08,525 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 19:07:08 2023-09-12 19:07:08,525 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:07:08 2023-09-12 19:07:08,526 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:07:08 3.1.0-dev.22 [Pipeline] } 19:07:08 $ docker exec --env ******** --env ******** b0ce509c3663c64e7c7de2341d498e90d0af2d55dd98fc997e225105a3d97cc1 ssh-agent -k 19:07:08 unset SSH_AUTH_SOCK; 19:07:08 unset SSH_AGENT_PID; 19:07:08 echo Agent pid 75 killed; 19:07:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:07:09 + git semver [Pipeline] } 19:07:09 $ docker stop --time=1 b0ce509c3663c64e7c7de2341d498e90d0af2d55dd98fc997e225105a3d97cc1 19:07:10 $ docker rm -f --volumes b0ce509c3663c64e7c7de2341d498e90d0af2d55dd98fc997e225105a3d97cc1 [Pipeline] // withDockerContainer [Pipeline] sh 19:07:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:07:11 Stashed 1 file(s) [Pipeline] echo 19:07:11 [edgeXSemver]: initialized semver on version 3.1.0-dev.22 [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 19:07:11 provisioning config files... 19:07:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2128457822599544158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:11 ---> docker-login.sh 19:07:11 nexus3.edgexfoundry.org:10001 19:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:11 Configure a credential helper to remove this warning. See 19:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:11 19:07:11 Login Succeeded 19:07:11 nexus3.edgexfoundry.org:10002 19:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:11 Configure a credential helper to remove this warning. See 19:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:11 19:07:11 Login Succeeded 19:07:11 nexus3.edgexfoundry.org:10003 19:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:12 Configure a credential helper to remove this warning. See 19:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:12 19:07:12 Login Succeeded 19:07:12 nexus3.edgexfoundry.org:10004 19:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:12 Configure a credential helper to remove this warning. See 19:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:12 19:07:12 Login Succeeded 19:07:12 docker.io 19:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:12 Configure a credential helper to remove this warning. See 19:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:12 19:07:12 Login Succeeded 19:07:12 ---> docker-login.sh ends [Pipeline] } 19:07:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:07:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:07:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:07:12 ========================================================= 19:07:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 19:07:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:12 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 19:07:12 Sending build context to Docker daemon 11.09MB 19:07:12 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 19:07:12 Step 2/10 : FROM ${BASE} AS builder 19:07:12 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 19:07:12 7264a8db6415: Pulling fs layer 19:07:12 c4d48a809fc2: Pulling fs layer 19:07:12 4f1c88b9dad5: Pulling fs layer 19:07:12 ad3a456e5733: Pulling fs layer 19:07:12 9e4f439ed901: Pulling fs layer 19:07:12 feaf6a47b606: Pulling fs layer 19:07:12 5e8b037d7d82: Pulling fs layer 19:07:12 8ac70367396e: Pulling fs layer 19:07:12 6db16350a2e2: Pulling fs layer 19:07:12 9250d5d63582: Pulling fs layer 19:07:12 feaf6a47b606: Waiting 19:07:12 9e4f439ed901: Waiting 19:07:12 5e8b037d7d82: Waiting 19:07:12 6db16350a2e2: Waiting 19:07:12 9250d5d63582: Waiting 19:07:12 ad3a456e5733: Waiting 19:07:12 8ac70367396e: Waiting 19:07:13 c4d48a809fc2: Download complete 19:07:13 ad3a456e5733: Verifying Checksum 19:07:13 ad3a456e5733: Download complete 19:07:13 9e4f439ed901: Verifying Checksum 19:07:13 9e4f439ed901: Download complete 19:07:13 7264a8db6415: Verifying Checksum 19:07:13 7264a8db6415: Download complete 19:07:13 feaf6a47b606: Verifying Checksum 19:07:13 feaf6a47b606: Download complete 19:07:13 7264a8db6415: Pull complete 19:07:13 8ac70367396e: Verifying Checksum 19:07:13 8ac70367396e: Download complete 19:07:13 c4d48a809fc2: Pull complete 19:07:13 4f1c88b9dad5: Verifying Checksum 19:07:13 4f1c88b9dad5: Download complete 19:07:13 6db16350a2e2: Verifying Checksum 19:07:13 6db16350a2e2: Download complete 19:07:13 5e8b037d7d82: Verifying Checksum 19:07:13 5e8b037d7d82: Download complete 19:07:13 9250d5d63582: Verifying Checksum 19:07:13 9250d5d63582: Download complete 19:07:16 4f1c88b9dad5: Pull complete 19:07:16 ad3a456e5733: Pull complete 19:07:16 9e4f439ed901: Pull complete 19:07:16 feaf6a47b606: Pull complete 19:07:18 5e8b037d7d82: Pull complete 19:07:19 8ac70367396e: Pull complete 19:07:19 6db16350a2e2: Pull complete 19:07:20 9250d5d63582: Pull complete 19:07:20 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 19:07:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 19:07:20 ---> fa269f55d9b9 19:07:20 Step 3/10 : ARG MAKE=make build 19:07:25 ---> Running in 2aff439cbb78 19:07:25 Removing intermediate container 2aff439cbb78 19:07:25 ---> 79f1247ab947 19:07:25 Step 4/10 : WORKDIR /device-sdk-go 19:07:25 ---> Running in 12d7b3a46670 19:07:25 Removing intermediate container 12d7b3a46670 19:07:25 ---> 0c4b620b1f14 19:07:25 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:07:25 ---> Running in f2bc1b67aa90 19:07:25 Removing intermediate container f2bc1b67aa90 19:07:25 ---> 01d0f1ec6b8e 19:07:25 Step 6/10 : RUN apk add --update --no-cache make git 19:07:25 ---> Running in fd91f94d2466 19:07:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:07:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:07:26 OK: 265 MiB in 56 packages 19:07:26 Removing intermediate container fd91f94d2466 19:07:26 ---> 42b46e226bd0 19:07:26 Step 7/10 : COPY go.mod vendor* ./ 19:07:26 Still waiting to schedule task 19:07:26 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5961’ is offline 19:07:26 ---> 81a89e17b80c 19:07:26 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:07:26 ---> Running in 3bcc694cbccc 19:07:58 Removing intermediate container 3bcc694cbccc 19:07:58 ---> e67ec0f35bbc 19:07:58 Step 9/10 : COPY . . 19:07:58 ---> 61ca4544acec 19:07:58 Step 10/10 : RUN ${MAKE} 19:07:58 ---> Running in b9fa04c6d17c 19:07:58 noop 19:07:58 Removing intermediate container b9fa04c6d17c 19:07:58 ---> ae832f35c491 19:07:58 Successfully built ae832f35c491 19:07:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:58 + docker inspect -f . ci-base-image-x86_64 19:07:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:59 prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container 19:07:59 $ 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 19:07:59 $ docker top 77b0cab40dad7ac21239eba04b63867601b36b9c55d1f92ffa8051bc8f8ccafb -eo pid,comm [Pipeline] { [Pipeline] sh 19:07:59 + go version 19:07:59 go version go1.21.0 linux/amd64 [Pipeline] } 19:07:59 $ docker stop --time=1 77b0cab40dad7ac21239eba04b63867601b36b9c55d1f92ffa8051bc8f8ccafb 19:08:01 $ docker rm -f --volumes 77b0cab40dad7ac21239eba04b63867601b36b9c55d1f92ffa8051bc8f8ccafb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:01 + docker inspect -f . ci-base-image-x86_64 19:08:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:01 prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container 19:08:01 $ 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 19:08:01 $ docker top c37bd8673122fb5a65a71379e13dee2a8cd481f1fb21a3d56d65b81f3ce0e6ea -eo pid,comm [Pipeline] { [Pipeline] sh 19:08:02 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 19:08:02 + make test 19:08:02 go test -race -coverprofile=coverage.out ./... 19:08:09 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 19:08:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 19:08:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 19:08:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 19:08:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 19:08:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 19:08:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 19:08:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 19:08:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.050s coverage: 27.6% of statements 19:08:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.054s coverage: 80.2% of statements 19:08:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.062s coverage: 86.0% of statements 19:08:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 19:08:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.084s coverage: 71.8% of statements 19:08:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 19:08:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 19:08:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 19:08:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.051s coverage: 14.1% of statements 19:08:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.907s coverage: 44.2% of statements 19:08:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.087s coverage: 68.5% of statements 19:08:29 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.111s coverage: 89.2% of statements 19:08:29 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements 19:08:47 GO111MODULE=on go vet ./... 19:08:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:08:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:08:49 ./bin/test-attribution-txt.sh [Pipeline] echo 19:08:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:08:49 $ docker stop --time=1 c37bd8673122fb5a65a71379e13dee2a8cd481f1fb21a3d56d65b81f3ce0e6ea 19:08:53 $ docker rm -f --volumes c37bd8673122fb5a65a71379e13dee2a8cd481f1fb21a3d56d65b81f3ce0e6ea [Pipeline] // withDockerContainer [Pipeline] sh 19:08:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:08:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:08:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:08:55 + ls -al . 19:08:55 total 304 19:08:55 drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 19:08 . 19:08:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 19:06 .. 19:08:55 -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 19:06 .dockerignore 19:08:55 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 19:08 .git 19:08:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 19:06 .github 19:08:55 -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 19:06 .gitignore 19:08:55 -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 19:06 .golangci.yml 19:08:55 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 19:07 .semver 19:08:55 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 19:06 CHANGELOG.md 19:08:55 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 19:06 GOVERNANCE.md 19:08:55 -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 19:06 Jenkinsfile 19:08:55 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 19:06 LICENSE 19:08:55 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 19:06 Makefile 19:08:55 -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 19:06 OWNERS.md 19:08:55 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 19:06 README.md 19:08:55 -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 19:07 VERSION 19:08:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 19:06 bin 19:08:55 -rw-r--r-- 1 jenkins jenkins 120470 Sep 12 19:08 coverage.out 19:08:55 drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 19:06 example 19:08:55 -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 19:06 go.mod 19:08:55 -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 19:06 go.sum 19:08:55 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 19:06 internal 19:08:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 19:06 openapi 19:08:55 drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 19:06 pkg 19:08:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 19:06 snap 19:08:55 -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 19:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:55 + 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=fda9b37df1b1ddb72445924cae920f416e370c84 --label arch=amd64 --label version=3.1.0-dev.22 . 19:08:55 Sending build context to Docker daemon 11.22MB 19:08:55 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 19:08:55 Step 2/23 : FROM ${BASE} AS builder 19:08:55 ---> ae832f35c491 19:08:55 Step 3/23 : ARG MAKE=make build 19:08:56 ---> Running in 9428a838928e 19:08:56 Removing intermediate container 9428a838928e 19:08:56 ---> af763f480f84 19:08:56 Step 4/23 : WORKDIR /device-sdk-go 19:08:56 ---> Running in 83259e742b07 19:08:56 Removing intermediate container 83259e742b07 19:08:56 ---> aac17145864c 19:08:56 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:08:56 ---> Running in 2ccee519c352 19:08:56 Removing intermediate container 2ccee519c352 19:08:56 ---> 518b4bc46df2 19:08:56 Step 6/23 : RUN apk add --update --no-cache make git 19:08:56 ---> Running in 73b7c79369e9 19:08:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:08:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:08:56 OK: 265 MiB in 56 packages 19:08:57 Removing intermediate container 73b7c79369e9 19:08:57 ---> 3550c1e97b0f 19:08:57 Step 7/23 : COPY go.mod vendor* ./ 19:08:57 ---> 4a17f466b11b 19:08:57 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:08:57 ---> Running in 1aa2d16cab2f 19:08:58 Removing intermediate container 1aa2d16cab2f 19:08:58 ---> 7f7c64a86000 19:08:58 Step 9/23 : COPY . . 19:08:58 ---> e19602bff925 19:08:58 Step 10/23 : RUN ${MAKE} 19:08:58 ---> Running in 1a73615ebc35 19:08:59 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.22" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:09:21 Removing intermediate container 1a73615ebc35 19:09:21 ---> bc6d7da72d49 19:09:21 Step 11/23 : FROM alpine:3.17 19:09:21 3.17: Pulling from library/alpine 19:09:21 9398808236ff: Pulling fs layer 19:09:21 9398808236ff: Verifying Checksum 19:09:21 9398808236ff: Download complete 19:09:21 9398808236ff: Pull complete 19:09:21 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 19:09:21 Status: Downloaded newer image for alpine:3.17 19:09:21 ---> 1e0b8b5322fc 19:09:21 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:09:21 ---> Running in 08b98b09b1cf 19:09:21 Removing intermediate container 08b98b09b1cf 19:09:21 ---> 6ec0c606735c 19:09:21 Step 13/23 : RUN apk add --update --no-cache 19:09:21 ---> Running in 096f990138a2 19:09:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:09:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:09:21 OK: 7 MiB in 15 packages 19:09:21 Removing intermediate container 096f990138a2 19:09:21 ---> 7a10cae80796 19:09:21 Step 14/23 : WORKDIR / 19:09:21 ---> Running in 9d7f9302478f 19:09:21 Removing intermediate container 9d7f9302478f 19:09:21 ---> 912c7d0948ba 19:09:21 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:09:21 ---> deb54d1f1460 19:09:21 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:09:22 ---> 6c7892f81774 19:09:22 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:09:22 ---> c1269bc42946 19:09:22 Step 18/23 : EXPOSE 59999 19:09:22 ---> Running in a9d7d02f42fd 19:09:22 Removing intermediate container a9d7d02f42fd 19:09:22 ---> be140e2446ab 19:09:22 Step 19/23 : ENTRYPOINT ["/device-simple"] 19:09:22 ---> Running in 99ca491440e3 19:09:22 Removing intermediate container 99ca491440e3 19:09:22 ---> 984023500f4b 19:09:22 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:09:22 ---> Running in 871301f8ebf9 19:09:22 Removing intermediate container 871301f8ebf9 19:09:22 ---> 443b4f0750a3 19:09:22 Step 21/23 : LABEL arch=amd64 19:09:22 ---> Running in c893ce4c3349 19:09:22 Removing intermediate container c893ce4c3349 19:09:22 ---> 8a193e0fd586 19:09:22 Step 22/23 : LABEL git_sha=fda9b37df1b1ddb72445924cae920f416e370c84 19:09:22 ---> Running in 4d521a30d406 19:09:22 Removing intermediate container 4d521a30d406 19:09:22 ---> fc39a42fccc2 19:09:22 Step 23/23 : LABEL version=3.1.0-dev.22 19:09:22 ---> Running in bc51b0b09b91 19:09:22 Removing intermediate container bc51b0b09b91 19:09:22 ---> 439af1e2c2b8 19:09:22 [Warning] One or more build-args [ARCH] were not consumed 19:09:22 Successfully built 439af1e2c2b8 19:09:22 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 19:09:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:09:22 19:09:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:09:23 latest: Pulling from edgex-lftools-log-publisher 19:09:23 5eb5b503b376: Pulling fs layer 19:09:23 5c69ac0246d0: Pulling fs layer 19:09:23 ec43610c2a17: Pulling fs layer 19:09:23 3a2ae6a8a46f: Pulling fs layer 19:09:23 33b1e0a273af: Pulling fs layer 19:09:23 5d3b04190fa2: Pulling fs layer 19:09:23 2f39f015ded8: Pulling fs layer 19:09:23 3a2ae6a8a46f: Waiting 19:09:23 33b1e0a273af: Waiting 19:09:23 5d3b04190fa2: Waiting 19:09:23 2f39f015ded8: Waiting 19:09:23 5c69ac0246d0: Verifying Checksum 19:09:23 5c69ac0246d0: Download complete 19:09:23 3a2ae6a8a46f: Verifying Checksum 19:09:23 3a2ae6a8a46f: Download complete 19:09:23 33b1e0a273af: Verifying Checksum 19:09:23 33b1e0a273af: Download complete 19:09:23 ec43610c2a17: Verifying Checksum 19:09:23 ec43610c2a17: Download complete 19:09:23 5d3b04190fa2: Download complete 19:09:23 5eb5b503b376: Verifying Checksum 19:09:23 5eb5b503b376: Download complete 19:09:24 2f39f015ded8: Download complete 19:09:24 5eb5b503b376: Pull complete 19:09:24 5c69ac0246d0: Pull complete 19:09:25 ec43610c2a17: Pull complete 19:09:25 3a2ae6a8a46f: Pull complete 19:09:25 33b1e0a273af: Pull complete 19:09:25 5d3b04190fa2: Pull complete 19:09:29 2f39f015ded8: Pull complete 19:09:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:09:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:09:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:29 prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container 19:09:29 $ 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 19:09:33 $ docker top 4f08e4bcefe883c81186cc882e88cc90cb4c9fd147e6a41c8a71157d7b52b97d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:09:34 ---> job-cost.sh 19:09:34 lf-activate-venv: SKIPPING 19:09:34 INFO: No Stack... 19:09:34 INFO: Retrieving Pricing Info for: v3-standard-8 19:09:34 INFO: Archiving Costs [Pipeline] sh 19:09:35 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 19:09:35 + cut -d, -f6 [Pipeline] lock 19:09:35 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-251-stack-cost] 19:09:35 Resource [jenkins-edgexfoundry-device-sdk-go-main-251-stack-cost] did not exist. Created. 19:09:35 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-251-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:09:35 + echo total: 0.2199999988079071 [Pipeline] stash 19:09:35 Stashed 1 file(s) [Pipeline] } 19:09:35 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-251-stack-cost] [Pipeline] // lock [Pipeline] } 19:09:35 $ docker stop --time=1 4f08e4bcefe883c81186cc882e88cc90cb4c9fd147e6a41c8a71157d7b52b97d 19:09:36 $ docker rm -f --volumes 4f08e4bcefe883c81186cc882e88cc90cb4c9fd147e6a41c8a71157d7b52b97d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:09:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5962 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 19:09:44 Running in /w/workspace/device-sdk-go/251 [Pipeline] { [Pipeline] checkout 19:09:44 The recommended git tool is: git 19:09:49 using credential edgex-jenkins-ssh 19:09:49 Cloning the remote Git repository 19:09:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 19:09:50 > git init /w/workspace/device-sdk-go/251 # timeout=10 19:09:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:09:50 > git --version # timeout=10 19:09:50 > git --version # 'git version 2.25.1' 19:09:50 using GIT_SSH to set credentials SSH Credentials for GitHub 19:09:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:09:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:09:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:09:52 Avoid second fetch 19:09:52 Checking out Revision fda9b37df1b1ddb72445924cae920f416e370c84 (main) 19:09:53 Commit message: "build: Consume latest go-mod-bootstrap with RemoveHosts flag (#1510)" 19:09:52 > git config core.sparsecheckout # timeout=10 19:09:52 > git checkout -f fda9b37df1b1ddb72445924cae920f416e370c84 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:09:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:09:54 % Total % Received % Xferd Average Speed Time Time Time Current 19:09:54 Dload Upload Total Spent Left Speed 19:09:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 244k 0 --:--:-- --:--:-- --:--:-- 244k [Pipeline] sh 19:09:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:09:55 + + sudo tee /etc/docker/daemon.new 19:09:55 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:09:55 { 19:09:55 "registry-mirrors": [ 19:09:55 "https://nexus3.edgexfoundry.org:10001" 19:09:55 ], 19:09:55 "bip": "10.250.0.254/24", 19:09:55 "hosts": [ 19:09:55 "tcp://0.0.0.0:5555", 19:09:55 "unix:///var/run/docker.sock" 19:09:55 ], 19:09:55 "mtu": 1458, 19:09:55 "selinux-enabled": true, 19:09:55 "seccomp-profile": "/etc/docker/seccomp.json" 19:09:55 } [Pipeline] sh 19:09:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:09:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:10:14 provisioning config files... 19:10:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/251@tmp/config3577025331883221169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:10:14 ---> docker-login.sh 19:10:14 nexus3.edgexfoundry.org:10001 19:10:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:15 Configure a credential helper to remove this warning. See 19:10:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:15 19:10:15 Login Succeeded 19:10:15 nexus3.edgexfoundry.org:10002 19:10:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:15 Configure a credential helper to remove this warning. See 19:10:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:15 19:10:15 Login Succeeded 19:10:15 nexus3.edgexfoundry.org:10003 19:10:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:15 Configure a credential helper to remove this warning. See 19:10:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:15 19:10:15 Login Succeeded 19:10:15 nexus3.edgexfoundry.org:10004 19:10:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:16 Configure a credential helper to remove this warning. See 19:10:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:16 19:10:16 Login Succeeded 19:10:16 docker.io 19:10:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:16 Configure a credential helper to remove this warning. See 19:10:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:16 19:10:16 Login Succeeded 19:10:16 ---> docker-login.sh ends [Pipeline] } 19:10:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:10:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:10:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:10:16 ========================================================= 19:10:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 19:10:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:17 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 19:10:17 Sending build context to Docker daemon 5.929MB 19:10:17 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 19:10:17 Step 2/10 : FROM ${BASE} AS builder 19:10:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:10:17 9fda8d8052c6: Pulling fs layer 19:10:17 5d54e960e981: Pulling fs layer 19:10:17 c4a7e357bf2a: Pulling fs layer 19:10:17 f0e02332f6b5: Pulling fs layer 19:10:17 66412af1f25a: Pulling fs layer 19:10:17 1baf3a5c0e64: Pulling fs layer 19:10:17 9a37bb91b891: Pulling fs layer 19:10:17 a29adfc67d43: Pulling fs layer 19:10:17 d5de9f91c1a4: Pulling fs layer 19:10:17 f0e02332f6b5: Waiting 19:10:17 66412af1f25a: Waiting 19:10:17 1baf3a5c0e64: Waiting 19:10:17 9a37bb91b891: Waiting 19:10:17 a29adfc67d43: Waiting 19:10:17 d5de9f91c1a4: Waiting 19:10:17 5d54e960e981: Verifying Checksum 19:10:17 5d54e960e981: Download complete 19:10:17 f0e02332f6b5: Verifying Checksum 19:10:17 f0e02332f6b5: Download complete 19:10:17 66412af1f25a: Verifying Checksum 19:10:17 66412af1f25a: Download complete 19:10:17 9fda8d8052c6: Download complete 19:10:18 9a37bb91b891: Verifying Checksum 19:10:18 9a37bb91b891: Download complete 19:10:19 a29adfc67d43: Verifying Checksum 19:10:19 a29adfc67d43: Download complete 19:10:19 9fda8d8052c6: Pull complete 19:10:19 5d54e960e981: Pull complete 19:10:19 d5de9f91c1a4: Verifying Checksum 19:10:19 d5de9f91c1a4: Download complete 19:10:19 c4a7e357bf2a: Download complete 19:10:20 1baf3a5c0e64: Verifying Checksum 19:10:20 1baf3a5c0e64: Download complete 19:10:30 c4a7e357bf2a: Pull complete 19:10:30 f0e02332f6b5: Pull complete 19:10:30 66412af1f25a: Pull complete 19:10:38 1baf3a5c0e64: Pull complete 19:10:38 9a37bb91b891: Pull complete 19:10:40 a29adfc67d43: Pull complete 19:10:41 d5de9f91c1a4: Pull complete 19:10:41 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 19:10:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 19:10:41 ---> 746ca1b523b5 19:10:41 Step 3/10 : ARG MAKE=make build 19:10:43 ---> Running in fdf5d5f7e09b 19:10:44 Removing intermediate container fdf5d5f7e09b 19:10:44 ---> 8e1c36eaa6eb 19:10:44 Step 4/10 : WORKDIR /device-sdk-go 19:10:44 ---> Running in a3b3447e71af 19:10:44 Removing intermediate container a3b3447e71af 19:10:44 ---> 800e6e946f54 19:10:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:10:44 ---> Running in c1a1d63a55e9 19:10:44 Removing intermediate container c1a1d63a55e9 19:10:44 ---> 6dcbe08d2147 19:10:44 Step 6/10 : RUN apk add --update --no-cache make git 19:10:44 ---> Running in b2b2ba0a0f18 19:10:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:10:47 OK: 267 MiB in 56 packages 19:10:50 Removing intermediate container b2b2ba0a0f18 19:10:50 ---> 11c032980ef9 19:10:50 Step 7/10 : COPY go.mod vendor* ./ 19:10:50 ---> 67952ef7170a 19:10:50 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:10:51 ---> Running in 8ee7f41f4bc6 19:11:58 Removing intermediate container 8ee7f41f4bc6 19:11:58 ---> 250245d90c25 19:11:58 Step 9/10 : COPY . . 19:11:58 ---> 41e6cf171a07 19:11:58 Step 10/10 : RUN ${MAKE} 19:11:58 ---> Running in 14bea0e66d06 19:11:58 noop 19:11:58 Removing intermediate container 14bea0e66d06 19:11:58 ---> ba72c10c69d1 19:11:58 Successfully built ba72c10c69d1 19:11:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:59 + docker inspect -f . ci-base-image-arm64 19:11:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:11:59 prd-ubuntu20.04-docker-arm64-4c-16g-5962 does not seem to be running inside a container 19:11:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/251 -v /w/workspace/device-sdk-go/251:/w/workspace/device-sdk-go/251:rw,z -v /w/workspace/device-sdk-go/251@tmp:/w/workspace/device-sdk-go/251@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 19:12:00 $ docker top a5e6c8ce393b002f83c4218e014c4b4e52cbf6085321c14f19e93eff39e8affe -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:01 + go version 19:12:01 go version go1.21.0 linux/arm64 [Pipeline] } 19:12:01 $ docker stop --time=1 a5e6c8ce393b002f83c4218e014c4b4e52cbf6085321c14f19e93eff39e8affe 19:12:03 $ docker rm -f --volumes a5e6c8ce393b002f83c4218e014c4b4e52cbf6085321c14f19e93eff39e8affe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:03 + docker inspect -f . ci-base-image-arm64 19:12:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:03 prd-ubuntu20.04-docker-arm64-4c-16g-5962 does not seem to be running inside a container 19:12:03 $ 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/251 -v /w/workspace/device-sdk-go/251:/w/workspace/device-sdk-go/251:rw,z -v /w/workspace/device-sdk-go/251@tmp:/w/workspace/device-sdk-go/251@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 19:12:05 $ docker top a90a373c525c0cc0ab370ad5b78d67db49a6cff464cc36426c9e45deb21ad132 -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:05 + git config --global --add safe.directory /w/workspace/device-sdk-go/251 [Pipeline] fileExists [Pipeline] sh 19:12:06 + make test 19:12:06 go test -race -coverprofile=coverage.out ./... 19:12:45 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 19:14:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 19:14:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 19:14:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 19:14:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 19:14:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 19:14:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.216s coverage: 27.6% of statements 19:14:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.231s coverage: 80.2% of statements 19:14:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 19:14:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 19:14:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.302s coverage: 86.0% of statements 19:14:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 19:14:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.386s coverage: 71.8% of statements 19:14:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.241s coverage: 14.1% of statements 19:14:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.837s coverage: 44.2% of statements 19:14:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 19:14:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 19:14:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.383s coverage: 68.5% of statements 19:14:57 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.477s coverage: 89.2% of statements 19:14:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 19:15:00 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.234s coverage: 5.5% of statements 19:15:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:15:00 GO111MODULE=on go vet ./... 19:16:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:16:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:16:37 ./bin/test-attribution-txt.sh [Pipeline] echo 19:16:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:16:37 $ docker stop --time=1 a90a373c525c0cc0ab370ad5b78d67db49a6cff464cc36426c9e45deb21ad132 19:16:39 $ docker rm -f --volumes a90a373c525c0cc0ab370ad5b78d67db49a6cff464cc36426c9e45deb21ad132 [Pipeline] // withDockerContainer [Pipeline] sh 19:16:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:16:41 Warning: overwriting stash ‘coverage-report’ 19:16:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:16:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:16:42 + ls -al . 19:16:42 total 300 19:16:42 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 19:12 . 19:16:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 19:09 .. 19:16:42 -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 19:09 .dockerignore 19:16:42 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 19:09 .git 19:16:42 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 19:09 .github 19:16:42 -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 19:09 .gitignore 19:16:42 -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 19:09 .golangci.yml 19:16:42 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 19:09 CHANGELOG.md 19:16:42 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 19:09 GOVERNANCE.md 19:16:42 -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 19:09 Jenkinsfile 19:16:42 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 19:09 LICENSE 19:16:42 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 19:09 Makefile 19:16:42 -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 19:09 OWNERS.md 19:16:42 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 19:09 README.md 19:16:42 -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 19:07 VERSION 19:16:42 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 19:09 bin 19:16:42 -rw-r--r-- 1 jenkins jenkins 120468 Sep 12 19:14 coverage.out 19:16:42 drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 19:09 example 19:16:42 -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 19:09 go.mod 19:16:42 -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 19:09 go.sum 19:16:42 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 19:09 internal 19:16:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 19:09 openapi 19:16:42 drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 19:09 pkg 19:16:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 19:09 snap 19:16:42 -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 19:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:42 + 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=fda9b37df1b1ddb72445924cae920f416e370c84 --label arch=arm64 --label version=3.1.0-dev.22 . 19:16:42 Sending build context to Docker daemon 6.051MB 19:16:42 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 19:16:42 Step 2/23 : FROM ${BASE} AS builder 19:16:42 ---> ba72c10c69d1 19:16:42 Step 3/23 : ARG MAKE=make build 19:16:43 ---> Running in 71ecd00467c6 19:16:43 Removing intermediate container 71ecd00467c6 19:16:43 ---> d1eaad39b623 19:16:43 Step 4/23 : WORKDIR /device-sdk-go 19:16:43 ---> Running in 8d0a8f9cb251 19:16:44 Removing intermediate container 8d0a8f9cb251 19:16:44 ---> ac825f70ed35 19:16:44 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:16:44 ---> Running in da660aec805e 19:16:44 Removing intermediate container da660aec805e 19:16:44 ---> 23c6bbba6417 19:16:44 Step 6/23 : RUN apk add --update --no-cache make git 19:16:44 ---> Running in cec597c4e57d 19:16:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:16:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:16:46 OK: 267 MiB in 56 packages 19:16:47 Removing intermediate container cec597c4e57d 19:16:47 ---> af7da39e2384 19:16:47 Step 7/23 : COPY go.mod vendor* ./ 19:16:48 ---> 7bd970b921fc 19:16:48 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:16:48 ---> Running in 009c03c2a708 19:16:51 Removing intermediate container 009c03c2a708 19:16:51 ---> 90ab3d71dded 19:16:51 Step 9/23 : COPY . . 19:16:52 ---> a6566cc738f6 19:16:52 Step 10/23 : RUN ${MAKE} 19:16:52 ---> Running in 6321376a6b79 19:16:53 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.22" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:18:45 Removing intermediate container 6321376a6b79 19:18:45 ---> 743aeb57837a 19:18:45 Step 11/23 : FROM alpine:3.17 19:18:45 3.17: Pulling from library/alpine 19:18:45 4060ece20d7a: Pulling fs layer 19:18:45 4060ece20d7a: Verifying Checksum 19:18:45 4060ece20d7a: Download complete 19:18:45 4060ece20d7a: Pull complete 19:18:45 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 19:18:45 Status: Downloaded newer image for alpine:3.17 19:18:45 ---> 8650cd65339b 19:18:45 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:18:45 ---> Running in 169026da7dfa 19:18:45 Removing intermediate container 169026da7dfa 19:18:45 ---> a5fb80c34aef 19:18:45 Step 13/23 : RUN apk add --update --no-cache 19:18:45 ---> Running in b678be313631 19:18:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:18:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:18:45 OK: 7 MiB in 15 packages 19:18:45 Removing intermediate container b678be313631 19:18:45 ---> c4ca01461e39 19:18:45 Step 14/23 : WORKDIR / 19:18:45 ---> Running in 0f3723476546 19:18:45 Removing intermediate container 0f3723476546 19:18:45 ---> 193aa340f26e 19:18:45 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:18:45 ---> 390214c39af4 19:18:45 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:18:45 ---> 5ff7e79d938b 19:18:45 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:18:45 ---> 1c360a0af02e 19:18:45 Step 18/23 : EXPOSE 59999 19:18:45 ---> Running in 8597c400fefc 19:18:45 Removing intermediate container 8597c400fefc 19:18:45 ---> eb54a665e141 19:18:45 Step 19/23 : ENTRYPOINT ["/device-simple"] 19:18:45 ---> Running in eda9caa90749 19:18:45 Removing intermediate container eda9caa90749 19:18:45 ---> 32bb5d8d2b00 19:18:45 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:18:45 ---> Running in 237adeaebabf 19:18:45 Removing intermediate container 237adeaebabf 19:18:45 ---> a24bdc45bb68 19:18:45 Step 21/23 : LABEL arch=arm64 19:18:45 ---> Running in b330a816af75 19:18:45 Removing intermediate container b330a816af75 19:18:45 ---> 7fea1224e22e 19:18:45 Step 22/23 : LABEL git_sha=fda9b37df1b1ddb72445924cae920f416e370c84 19:18:45 ---> Running in eb6b674ea990 19:18:45 Removing intermediate container eb6b674ea990 19:18:45 ---> 2d63b4ea2067 19:18:45 Step 23/23 : LABEL version=3.1.0-dev.22 19:18:45 ---> Running in 99d4a5a00097 19:18:45 Removing intermediate container 99d4a5a00097 19:18:45 ---> e7da626c09ab 19:18:45 [Warning] One or more build-args [ARCH] were not consumed 19:18:45 Successfully built e7da626c09ab 19:18:45 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:18:45 19:18:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:18:46 arm64: Pulling from edgex-lftools-log-publisher 19:18:46 8998bd30e6a1: Pulling fs layer 19:18:46 04944245beec: Pulling fs layer 19:18:46 699f458cf7ca: Pulling fs layer 19:18:46 765212b225bb: Pulling fs layer 19:18:46 f23df028b6ca: Pulling fs layer 19:18:46 d65c8cfc05b1: Pulling fs layer 19:18:46 2437ff75d9bd: Pulling fs layer 19:18:46 f23df028b6ca: Waiting 19:18:46 d65c8cfc05b1: Waiting 19:18:46 2437ff75d9bd: Waiting 19:18:46 765212b225bb: Waiting 19:18:46 04944245beec: Verifying Checksum 19:18:46 04944245beec: Download complete 19:18:46 765212b225bb: Verifying Checksum 19:18:46 765212b225bb: Download complete 19:18:47 f23df028b6ca: Verifying Checksum 19:18:47 f23df028b6ca: Download complete 19:18:47 d65c8cfc05b1: Verifying Checksum 19:18:47 d65c8cfc05b1: Download complete 19:18:47 699f458cf7ca: Verifying Checksum 19:18:47 699f458cf7ca: Download complete 19:18:47 8998bd30e6a1: Verifying Checksum 19:18:47 8998bd30e6a1: Download complete 19:18:49 2437ff75d9bd: Download complete 19:18:51 8998bd30e6a1: Pull complete 19:18:52 04944245beec: Pull complete 19:18:53 699f458cf7ca: Pull complete 19:18:53 765212b225bb: Pull complete 19:18:54 f23df028b6ca: Pull complete 19:18:54 d65c8cfc05b1: Pull complete 19:19:09 2437ff75d9bd: Pull complete 19:19:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:19:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:19:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:09 prd-ubuntu20.04-docker-arm64-4c-16g-5962 does not seem to be running inside a container 19:19:09 $ 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/251 -v /w/workspace/device-sdk-go/251:/w/workspace/device-sdk-go/251:rw,z -v /w/workspace/device-sdk-go/251@tmp:/w/workspace/device-sdk-go/251@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 19:19:12 $ docker top 34e3b446de1564579243fb6ee88cbe9551d0fe0a715567259f63260b3b25728c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:13 ---> job-cost.sh 19:19:13 lf-activate-venv: SKIPPING 19:19:13 INFO: No Stack... 19:19:13 INFO: Retrieving Pricing Info for: v3-standard-4 19:19:14 INFO: Archiving Costs [Pipeline] sh 19:19:14 + cat /w/workspace/device-sdk-go/251/archives/cost.csv 19:19:14 + cut -d, -f6 [Pipeline] lock 19:19:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-251-stack-cost] 19:19:14 Resource [jenkins-edgexfoundry-device-sdk-go-main-251-stack-cost] did not exist. Created. 19:19:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-251-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:19:14 /w/workspace/device-sdk-go/251@tmp/durable-1a907827/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:19:15 + echo total: 0.10999999940395355 [Pipeline] stash 19:19:15 Warning: overwriting stash ‘stack-cost’ 19:19:15 Stashed 1 file(s) [Pipeline] } 19:19:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-251-stack-cost] [Pipeline] // lock [Pipeline] } 19:19:15 $ docker stop --time=1 34e3b446de1564579243fb6ee88cbe9551d0fe0a715567259f63260b3b25728c 19:19:16 $ docker rm -f --volumes 34e3b446de1564579243fb6ee88cbe9551d0fe0a715567259f63260b3b25728c [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 19:19:17 provisioning config files... 19:19:17 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8082669084238266577tmp [Pipeline] { [Pipeline] sh 19:19:17 + set +x 19:19:17 + curl -s https://codecov.io/bash 19:19:17 + bash -s -- 19:19:17 19:19:17 _____ _ 19:19:17 / ____| | | 19:19:17 | | ___ __| | ___ ___ _____ __ 19:19:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:19:17 | |___| (_) | (_| | __/ (_| (_) \ V / 19:19:17 \_____\___/ \__,_|\___|\___\___/ \_/ 19:19:17 Bash-1.0.6 19:19:17 19:19:17 19:19:17 ==> git version 2.25.1 found 19:19:17 ==> 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 19:19:17 Release-Date: 2020-01-08 19:19:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:19:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:19:17 ==> Jenkins CI detected. 19:19:17 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 19:19:17 project root: . 19:19:17 --> token set from env 19:19:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:19:17 ==> Running gcov in . (disable via -X gcov) 19:19:17 ==> Python coveragepy not found 19:19:17 ==> Searching for coverage reports in: 19:19:17 + . 19:19:17 -> Found 1 reports 19:19:17 ==> Detecting git/mercurial file structure 19:19:17 ==> Reading reports 19:19:17 + ./coverage.out bytes=120468 19:19:17 ==> Appending adjustments 19:19:17 https://docs.codecov.io/docs/fixing-reports 19:19:17 + Found adjustments 19:19:17 ==> Gzipping contents 19:19:18 20K /tmp/codecov.U3eiwc.gz 19:19:18 ==> Uploading reports 19:19:18 url: https://codecov.io 19:19:18 query: branch=main&commit=fda9b37df1b1ddb72445924cae920f416e370c84&build=251&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F251%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:19:18 -> Pinging Codecov 19:19:18 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=fda9b37df1b1ddb72445924cae920f416e370c84&build=251&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F251%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:19:18 -> Uploading to 19:19:18 https://storage.googleapis.com/codecov/v4/raw/2023-09-12/7E55EF52A471D76F132DFD9A03CDDE97/fda9b37df1b1ddb72445924cae920f416e370c84/ae3822e2-7537-41b7-82a3-6924c86c792d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T191917Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0294047fe63a61192314b9290a9acd1a511e294b4ed77c2addb4915983b7cc0 19:19:18 % Total % Received % Xferd Average Speed Time Time Time Current 19:19:18 Dload Upload Total Spent Left Speed 19:19:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16430 0 0 100 16430 0 88333 --:--:-- --:--:-- --:--:-- 88333 19:19:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/fda9b37df1b1ddb72445924cae920f416e370c84 [Pipeline] } 19:19:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:19:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:19:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:19:18 19:19:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:19:19 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:19:19 df9b9388f04a: Pulling fs layer 19:19:19 52dc419b0ee2: Pulling fs layer 19:19:19 25bc292e5bac: Pulling fs layer 19:19:19 114826534d7a: Pulling fs layer 19:19:19 4657fd5d0bcf: Pulling fs layer 19:19:19 6ad1cebc031e: Pulling fs layer 19:19:19 8a3aa393b2d8: Pulling fs layer 19:19:19 6ad1cebc031e: Waiting 19:19:19 114826534d7a: Waiting 19:19:19 4657fd5d0bcf: Waiting 19:19:19 8a3aa393b2d8: Waiting 19:19:19 25bc292e5bac: Verifying Checksum 19:19:19 25bc292e5bac: Download complete 19:19:19 52dc419b0ee2: Verifying Checksum 19:19:19 52dc419b0ee2: Download complete 19:19:19 4657fd5d0bcf: Verifying Checksum 19:19:19 4657fd5d0bcf: Download complete 19:19:19 df9b9388f04a: Download complete 19:19:19 6ad1cebc031e: Verifying Checksum 19:19:19 6ad1cebc031e: Download complete 19:19:19 df9b9388f04a: Pull complete 19:19:19 52dc419b0ee2: Pull complete 19:19:19 25bc292e5bac: Pull complete 19:19:19 114826534d7a: Verifying Checksum 19:19:19 114826534d7a: Download complete 19:19:19 8a3aa393b2d8: Verifying Checksum 19:19:19 8a3aa393b2d8: Download complete 19:19:23 114826534d7a: Pull complete 19:19:23 4657fd5d0bcf: Pull complete 19:19:23 6ad1cebc031e: Pull complete 19:19:26 8a3aa393b2d8: Pull complete 19:19:26 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:19:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:19:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:26 prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container 19:19:26 $ 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 19:19:32 $ docker top 688f2c773b8c9ec05a8db31de9160340b6c8e814ca3b40df706142d27533248c -eo pid,comm [Pipeline] { [Pipeline] echo 19:19:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 19:19:32 + set -o pipefail 19:19:32 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 19:19:36 19:19:36 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 19:19:36 19:19:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/a1a2ceb0-2ce1-45e5-92ad-08b68abe7a25 19:19:36 19:19:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:19:36 19:19:36 19:19:36 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:19:36 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:19:36 More details here: https://snyk.co/ue1NS 19:19:36 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 19:19:36 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 19:19:36 $ docker stop --time=1 688f2c773b8c9ec05a8db31de9160340b6c8e814ca3b40df706142d27533248c 19:19:40 $ docker rm -f --volumes 688f2c773b8c9ec05a8db31de9160340b6c8e814ca3b40df706142d27533248c [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 19:19:41 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:41 provisioning config files... 19:19:41 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18222649587438170459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:41 --> edgex-publish-swagger.sh 19:19:41 === Publish openapi/v3 API === 19:19:41 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 19:19:41 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 19:19:41 % Total % Received % Xferd Average Speed Time Time Time Current 19:19:41 Dload Upload Total Spent Left Speed 19:19:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 110k --:--:-- --:--:-- --:--:-- 110k 100 23674 0 0 100 23674 0 52726 --:--:-- --:--:-- --:--:-- 52608 19:19:41 19:19:41 [Pipeline] } 19:19:41 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 19:19:42 + git log --format=format:%s -1 fda9b37df1b1ddb72445924cae920f416e370c84 [Pipeline] sh 19:19:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:19:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:19:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:42 prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container 19:19:42 $ 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 19:19:43 $ docker top 4a749081d58d45ab04eda3fc66f02149604538769b6daa99238030c8db605c1b -eo pid,comm 19:19:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:19:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:19:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:19:43 [ssh-agent] Looking for ssh-agent implementation... 19:19:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:19:43 $ docker exec 4a749081d58d45ab04eda3fc66f02149604538769b6daa99238030c8db605c1b ssh-agent 19:19:43 SSH_AUTH_SOCK=/tmp/ssh-PQ4ONjNXsfjf/agent.32 19:19:43 SSH_AGENT_PID=38 19:19:43 Running ssh-add (command line suppressed) 19:19:43 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6292083903469470040.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6292083903469470040.key) 19:19:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:19:43 + git semver tag 19:19:44 2023-09-12 19:19:44,066 [run_tag] DEBUG tag force:False 19:19:44 2023-09-12 19:19:44,066 [check_head_tag] DEBUG check head tag 19:19:44 2023-09-12 19:19:44,067 [execute] INFO git cat-file --batch-check 19:19:44 2023-09-12 19:19:44,068 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 19:19:44 2023-09-12 19:19:44,071 [execute] INFO git cat-file --batch 19:19:44 2023-09-12 19:19:44,071 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 19:19:44 2023-09-12 19:19:44,085 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:19:44 2023-09-12 19:19:44,085 [execute] INFO git tag -a v3.1.0-dev.22 -m v3.1.0-dev.22 19:19:44 2023-09-12 19:19:44,085 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.22', '-m', 'v3.1.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 19:19:44 2023-09-12 19:19:44,091 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:19:44 3.1.0-dev.22 [Pipeline] } 19:19:44 $ docker exec --env ******** --env ******** 4a749081d58d45ab04eda3fc66f02149604538769b6daa99238030c8db605c1b ssh-agent -k 19:19:44 unset SSH_AUTH_SOCK; 19:19:44 unset SSH_AGENT_PID; 19:19:44 echo Agent pid 38 killed; 19:19:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:19:44 + git semver [Pipeline] } 19:19:44 $ docker stop --time=1 4a749081d58d45ab04eda3fc66f02149604538769b6daa99238030c8db605c1b 19:19:46 $ docker rm -f --volumes 4a749081d58d45ab04eda3fc66f02149604538769b6daa99238030c8db605c1b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:19:46 19:19:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:19:46 0.23.1-centos7: Pulling from edgex-lftools 19:19:46 ab5ef0e58194: Pulling fs layer 19:19:46 9712f1f96733: Pulling fs layer 19:19:46 63f879dbbcfc: Pulling fs layer 19:19:46 0d9ebad4ef96: Pulling fs layer 19:19:46 e9a5061849ea: Pulling fs layer 19:19:46 d747dcd14b5f: Pulling fs layer 19:19:46 2de7ff778b66: Pulling fs layer 19:19:46 e9a5061849ea: Waiting 19:19:46 d747dcd14b5f: Waiting 19:19:46 2de7ff778b66: Waiting 19:19:46 0d9ebad4ef96: Waiting 19:19:46 9712f1f96733: Verifying Checksum 19:19:46 9712f1f96733: Download complete 19:19:47 63f879dbbcfc: Verifying Checksum 19:19:47 63f879dbbcfc: Download complete 19:19:47 e9a5061849ea: Verifying Checksum 19:19:47 e9a5061849ea: Download complete 19:19:47 d747dcd14b5f: Verifying Checksum 19:19:47 d747dcd14b5f: Download complete 19:19:47 0d9ebad4ef96: Verifying Checksum 19:19:47 0d9ebad4ef96: Download complete 19:19:47 ab5ef0e58194: Verifying Checksum 19:19:47 ab5ef0e58194: Download complete 19:19:47 2de7ff778b66: Verifying Checksum 19:19:47 2de7ff778b66: Download complete 19:19:49 ab5ef0e58194: Pull complete 19:19:49 9712f1f96733: Pull complete 19:19:50 63f879dbbcfc: Pull complete 19:19:54 0d9ebad4ef96: Pull complete 19:19:54 e9a5061849ea: Pull complete 19:19:54 d747dcd14b5f: Pull complete 19:19:55 2de7ff778b66: Pull complete 19:19:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:19:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:19:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:55 prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container 19:19:55 $ 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 19:20:01 $ docker top 2100ae5e4170a362fe7c2dcefa18abf9093ce3c658478f2308cc9be63862b3e4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:20:01 provisioning config files... 19:20:01 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6481676820697371142tmp 19:20:01 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10763290825887267619tmp 19:20:01 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18411881695610963961tmp [Pipeline] { [Pipeline] echo 19:20:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:20:02 ---> sigul-configuration.sh 19:20:02 gpg: directory `/root/.gnupg' created 19:20:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:20:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:20:02 gpg: keyring `/root/.gnupg/secring.gpg' created 19:20:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:20:02 gpg: CAST5 encrypted data 19:20:02 gpg: encrypted with 1 passphrase 19:20:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:20:02 + mkdir /home/jenkins 19:20:02 + mkdir /home/jenkins/sigul [Pipeline] sh 19:20:02 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 19:20:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:20:03 ---> sigul-install.sh 19:20:03 Sigul already installed; skipping installation. [Pipeline] sh 19:20:03 + git tag --list 19:20:03 0.7.1 19:20:03 delhi-tag 19:20:03 v1.0.0 19:20:03 v1.1.0 19:20:03 v1.1.1 19:20:03 v1.1.2 19:20:03 v1.2.0 19:20:03 v1.2.1 19:20:03 v1.2.2 19:20:03 v1.2.3 19:20:03 v1.3.0 19:20:03 v1.4.0 19:20:03 v2.0.0 19:20:03 v2.1.0 19:20:03 v2.1.1 19:20:03 v2.2.0 19:20:03 v2.3.0 19:20:03 v2.3.1 19:20:03 v3.0 19:20:03 v3.0.0 19:20:03 v3.0.1-dev.1 19:20:03 v3.1.0-dev.1 19:20:03 v3.1.0-dev.10 19:20:03 v3.1.0-dev.11 19:20:03 v3.1.0-dev.12 19:20:03 v3.1.0-dev.13 19:20:03 v3.1.0-dev.14 19:20:03 v3.1.0-dev.15 19:20:03 v3.1.0-dev.16 19:20:03 v3.1.0-dev.17 19:20:03 v3.1.0-dev.18 19:20:03 v3.1.0-dev.19 19:20:03 v3.1.0-dev.2 19:20:03 v3.1.0-dev.20 19:20:03 v3.1.0-dev.21 19:20:03 v3.1.0-dev.22 19:20:03 v3.1.0-dev.3 19:20:03 v3.1.0-dev.4 19:20:03 v3.1.0-dev.5 19:20:03 v3.1.0-dev.6 19:20:03 v3.1.0-dev.7 19:20:03 v3.1.0-dev.8 19:20:03 v3.1.0-dev.9 [Pipeline] sh 19:20:03 + lftools sign git-tag v3.1.0-dev.22 19:20:04 Signing Git tag with Sigul... 19:20:04 Signing v3.1.0-dev.22 [Pipeline] echo 19:20:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:20:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:20:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:20:04 $ docker stop --time=1 2100ae5e4170a362fe7c2dcefa18abf9093ce3c658478f2308cc9be63862b3e4 19:20:06 $ docker rm -f --volumes 2100ae5e4170a362fe7c2dcefa18abf9093ce3c658478f2308cc9be63862b3e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:20:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:20:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:20:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:06 prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container 19:20:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:20:07 $ docker top 2629e4456237e9c2e975f5494d00bd8fbe1021ec09d04fbd47fa77ace58e13a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:20:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:20:07 [ssh-agent] Looking for ssh-agent implementation... 19:20:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:20:07 $ docker exec 2629e4456237e9c2e975f5494d00bd8fbe1021ec09d04fbd47fa77ace58e13a5 ssh-agent 19:20:07 SSH_AUTH_SOCK=/tmp/ssh-8xWVBKTaAHO0/agent.32 19:20:07 SSH_AGENT_PID=38 19:20:07 Running ssh-add (command line suppressed) 19:20:07 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4804749441022607528.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4804749441022607528.key) 19:20:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:20:07 + git semver bump pre 19:20:08 2023-09-12 19:20:07,998 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:20:08 2023-09-12 19:20:07,998 [bump_version] DEBUG bumping version:3.1.0-dev.22 on axis:pre with prefix:dev 19:20:08 2023-09-12 19:20:07,998 [bump_version] DEBUG bumped version:3.1.0-dev.23 19:20:08 2023-09-12 19:20:07,998 [write_version] DEBUG write version:3.1.0-dev.23 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 19:20:08 2023-09-12 19:20:07,998 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:20:08 2023-09-12 19:20:07,999 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:20:08 2023-09-12 19:20:08,000 [execute] INFO git cat-file --batch-check 19:20:08 2023-09-12 19:20:08,000 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:20:08 2023-09-12 19:20:08,006 [execute] INFO git cat-file --batch 19:20:08 2023-09-12 19:20:08,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:20:08 2023-09-12 19:20:08,012 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:20:08 3.1.0-dev.23 [Pipeline] } 19:20:08 $ docker exec --env ******** --env ******** 2629e4456237e9c2e975f5494d00bd8fbe1021ec09d04fbd47fa77ace58e13a5 ssh-agent -k 19:20:08 unset SSH_AUTH_SOCK; 19:20:08 unset SSH_AGENT_PID; 19:20:08 echo Agent pid 38 killed; 19:20:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:20:08 + git semver [Pipeline] } 19:20:08 $ docker stop --time=1 2629e4456237e9c2e975f5494d00bd8fbe1021ec09d04fbd47fa77ace58e13a5 19:20:10 $ docker rm -f --volumes 2629e4456237e9c2e975f5494d00bd8fbe1021ec09d04fbd47fa77ace58e13a5 [Pipeline] // withDockerContainer [Pipeline] sh 19:20:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:20:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:20:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:10 prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container 19:20:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:20:11 $ docker top 6ef32c948d6e5b4016bf2acfd73e0db0c7b146d59fab528cf19b0e616272b4ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:20:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:20:11 [ssh-agent] Looking for ssh-agent implementation... 19:20:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:20:11 $ docker exec 6ef32c948d6e5b4016bf2acfd73e0db0c7b146d59fab528cf19b0e616272b4ac ssh-agent 19:20:11 SSH_AUTH_SOCK=/tmp/ssh-TfctVFDxbrVI/agent.32 19:20:11 SSH_AGENT_PID=38 19:20:11 Running ssh-add (command line suppressed) 19:20:11 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4852157187695858928.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4852157187695858928.key) 19:20:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:20:11 + git semver push 19:20:12 2023-09-12 19:20:11,965 [run_push] DEBUG push 19:20:12 2023-09-12 19:20:11,966 [execute] INFO git cat-file --batch-check 19:20:12 2023-09-12 19:20:11,966 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:20:12 2023-09-12 19:20:11,970 [execute] INFO git rev-list 02b2b16e228efde7fe60904d38af080f0815cdb9 -- 19:20:12 2023-09-12 19:20:11,970 [execute] DEBUG Popen(['git', 'rev-list', '02b2b16e228efde7fe60904d38af080f0815cdb9', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:20:12 2023-09-12 19:20:11,985 [execute] INFO git fetch -v origin 19:20:12 2023-09-12 19:20:11,985 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 19:20:12 2023-09-12 19:20:12,465 [run_push] DEBUG no remote changes detected 19:20:12 2023-09-12 19:20:12,466 [execute] INFO git push origin semver 19:20:12 2023-09-12 19:20:12,466 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:20:14 2023-09-12 19:20:13,825 [run_push] DEBUG push all version tags 19:20:14 2023-09-12 19:20:13,826 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:20:14 2023-09-12 19:20:13,826 [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) 19:20:14 2023-09-12 19:20:14,615 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:20:14 3.1.0-dev.23 [Pipeline] } 19:20:14 $ docker exec --env ******** --env ******** 6ef32c948d6e5b4016bf2acfd73e0db0c7b146d59fab528cf19b0e616272b4ac ssh-agent -k 19:20:15 unset SSH_AUTH_SOCK; 19:20:15 unset SSH_AGENT_PID; 19:20:15 echo Agent pid 38 killed; 19:20:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:20:15 + git semver [Pipeline] } 19:20:15 $ docker stop --time=1 6ef32c948d6e5b4016bf2acfd73e0db0c7b146d59fab528cf19b0e616272b4ac 19:20:16 $ docker rm -f --volumes 6ef32c948d6e5b4016bf2acfd73e0db0c7b146d59fab528cf19b0e616272b4ac [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 19:20:17 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 19:20:17 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:20:17 total 16 19:20:17 drwxr-xr-x 3 root root 4096 Sep 12 19:09 . 19:20:17 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 19:20 .. 19:20:17 drwxr-xr-x 2 root root 4096 Sep 12 19:09 cost 19:20:17 -rw-r--r-- 1 root root 85 Sep 12 19:09 cost.csv 19:20:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:20:17 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:20:17 total 16 19:20:17 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 19:09 . 19:20:17 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 19:20 .. 19:20:17 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 19:09 cost 19:20:17 -rw-r--r-- 1 jenkins jenkins 85 Sep 12 19:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:20:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:20:18 ---> package-listing.sh 19:20:18 ++ facter osfamily 19:20:18 ++ tr '[:upper:]' '[:lower:]' 19:20:18 + OS_FAMILY=debian 19:20:18 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 19:20:18 + START_PACKAGES=/tmp/packages_start.txt 19:20:18 + END_PACKAGES=/tmp/packages_end.txt 19:20:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:20:18 + PACKAGES=/tmp/packages_start.txt 19:20:18 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 19:20:18 + PACKAGES=/tmp/packages_end.txt 19:20:18 + case "${OS_FAMILY}" in 19:20:18 + dpkg -l 19:20:18 + grep '^ii' 19:20:18 + '[' -f /tmp/packages_start.txt ']' 19:20:18 + '[' -f /tmp/packages_end.txt ']' 19:20:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:20:18 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 19:20:18 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 19:20:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 19:20:18 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:20:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:20:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:19 prd-ubuntu20.04-docker-8c-8g-5960 does not seem to be running inside a container 19:20:19 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:20:20 $ docker top ab2cd3ad75f0da4ac4eea6ddfb4cfe89130a72e717cdbc5cbc400dc47e11f5a2 -eo pid,comm [Pipeline] { [Pipeline] sh 19:20:20 + touch /tmp/pre-build-complete [Pipeline] sh 19:20:20 + mkdir -p /var/log/sysstat [Pipeline] sh 19:20:21 + ls /var/log/sa-host 19:20:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:20:21 provisioning config files... 19:20:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13703721994724740380tmp [Pipeline] { [Pipeline] echo 19:20:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:20:21 ---> create-netrc.sh [Pipeline] } 19:20:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:20:21 ---> python-tools-install.sh [Pipeline] echo 19:20:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:20:22 ---> sudo-logs.sh 19:20:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:20:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:20:22 ---> job-cost.sh 19:20:22 lf-activate-venv: SKIPPING 19:20:22 DEBUG: total: 0.2199999988079071 19:20:22 INFO: Retrieving Stack Cost... 19:20:23 INFO: Retrieving Pricing Info for: v3-standard-8 19:20:23 INFO: Archiving Costs [Pipeline] echo 19:20:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:20:23 ---> logs-deploy.sh 19:20:23 lf-activate-venv: SKIPPING 19:20:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/251 19:20:23 INFO: archiving workspace using pattern(s): 19:20:24 Archives upload complete. 19:20:24 INFO: archiving logs to Nexus