Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from afe3ff62d3fd920c33d9e36f21752c88d9373351 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-ssh10392674001403687460.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-ssh8705311614488349449.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-ssh16061312487039317402.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-ssh9183549354003762101.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-ssh7268228025342809356.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-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7638’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7640 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 afe3ff62d3fd920c33d9e36f21752c88d9373351 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1518)" > git checkout -f afe3ff62d3fd920c33d9e36f21752c88d9373351 # timeout=10 > git rev-list --no-walk 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:45:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:45:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:45:56 ========================================================= 21:45:56 EdgeX Global Pipelines Version Info 21:45:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:45:57 ------------------- 21:45:57 stable info: 21:45:57 ------------------- 21:45:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:45:57 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:45:57 Message: update stable to v1.0.254 21:45:57 ------------------- 21:45:57 experimental info: 21:45:57 ------------------- 21:45:57 Commited By: **** collab-it+edgex@linuxfoundation.org 21:45:57 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:45:57 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = afe3ff62d3fd920c33d9e36f21752c88d9373351 [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = afe3ff6 [Pipeline] echo 21:45:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:45:58 provisioning config files... 21:45:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7318355491118264213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:45:58 ---> docker-login.sh 21:45:58 nexus3.edgexfoundry.org:10001 21:45:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:45:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:45:59 Configure a credential helper to remove this warning. See 21:45:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:45:59 21:45:59 Login Succeeded 21:45:59 nexus3.edgexfoundry.org:10002 21:45:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:45:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:45:59 Configure a credential helper to remove this warning. See 21:45:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:45:59 21:45:59 Login Succeeded 21:45:59 nexus3.edgexfoundry.org:10003 21:45:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:45:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:45:59 Configure a credential helper to remove this warning. See 21:45:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:45:59 21:45:59 Login Succeeded 21:45:59 nexus3.edgexfoundry.org:10004 21:45:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:45:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:45:59 Configure a credential helper to remove this warning. See 21:45:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:45:59 21:45:59 Login Succeeded 21:45:59 docker.io 21:45:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:45:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:45:59 Configure a credential helper to remove this warning. See 21:45:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:45:59 21:45:59 Login Succeeded 21:45:59 ---> docker-login.sh ends [Pipeline] } 21:45:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:46:00 + git rev-list -1 --merges afe3ff62d3fd920c33d9e36f21752c88d9373351~1..afe3ff62d3fd920c33d9e36f21752c88d9373351 [Pipeline] echo 21:46:00 -----------> git rev-list -1 --merges afe3ff62d3fd920c33d9e36f21752c88d9373351~1..afe3ff62d3fd920c33d9e36f21752c88d9373351 afe3ff62d3fd920c33d9e36f21752c88d9373351 [false] [Pipeline] sh 21:46:00 + git log --format=format:%s -1 afe3ff62d3fd920c33d9e36f21752c88d9373351 [Pipeline] echo 21:46:00 ========================================================= 21:46:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:46:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:46:01 + git log --format=format:%s -1 afe3ff62d3fd920c33d9e36f21752c88d9373351 [Pipeline] echo 21:46:01 [semverPrep] GIT_COMMIT: afe3ff62d3fd920c33d9e36f21752c88d9373351, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1518) [Pipeline] echo 21:46:01 [semverPrep] This is not a build commit. [Pipeline] sh 21:46:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:46:01 + grep -v github /etc/ssh/ssh_known_hosts 21:46:01 + [ -e /tmp/ssh_known_hosts ] 21:46:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:46:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:46:01 + sudo tee -a /etc/ssh/ssh_known_hosts 21:46:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:46:01 21:46:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:46:02 0.1.4: Pulling from edgex-devops/py-git-semver 21:46:02 b85a868b505f: Pulling fs layer 21:46:02 e2be974225ed: Pulling fs layer 21:46:02 339a4e72a1f5: Pulling fs layer 21:46:02 988bab9f4d93: Pulling fs layer 21:46:02 1469e6f7b9e6: Pulling fs layer 21:46:02 eaf3925da568: Pulling fs layer 21:46:02 bab4dde63d76: Pulling fs layer 21:46:02 bde34c3a00c8: Pulling fs layer 21:46:02 b352a97aabf1: Pulling fs layer 21:46:02 4872d77fe225: Pulling fs layer 21:46:02 5851b861e8e6: Pulling fs layer 21:46:02 988bab9f4d93: Waiting 21:46:02 eaf3925da568: Waiting 21:46:02 1469e6f7b9e6: Waiting 21:46:02 bab4dde63d76: Waiting 21:46:02 4872d77fe225: Waiting 21:46:02 bde34c3a00c8: Waiting 21:46:02 5851b861e8e6: Waiting 21:46:02 b352a97aabf1: Waiting 21:46:02 e2be974225ed: Verifying Checksum 21:46:02 e2be974225ed: Download complete 21:46:02 988bab9f4d93: Verifying Checksum 21:46:02 988bab9f4d93: Download complete 21:46:02 1469e6f7b9e6: Verifying Checksum 21:46:02 1469e6f7b9e6: Download complete 21:46:02 339a4e72a1f5: Verifying Checksum 21:46:02 339a4e72a1f5: Download complete 21:46:02 eaf3925da568: Verifying Checksum 21:46:02 eaf3925da568: Download complete 21:46:02 bde34c3a00c8: Verifying Checksum 21:46:02 bde34c3a00c8: Download complete 21:46:02 b352a97aabf1: Verifying Checksum 21:46:02 b352a97aabf1: Download complete 21:46:02 4872d77fe225: Download complete 21:46:02 5851b861e8e6: Download complete 21:46:02 b85a868b505f: Download complete 21:46:02 bab4dde63d76: Verifying Checksum 21:46:02 bab4dde63d76: Download complete 21:46:03 b85a868b505f: Pull complete 21:46:03 e2be974225ed: Pull complete 21:46:04 339a4e72a1f5: Pull complete 21:46:04 988bab9f4d93: Pull complete 21:46:04 1469e6f7b9e6: Pull complete 21:46:04 eaf3925da568: Pull complete 21:46:06 bab4dde63d76: Pull complete 21:46:06 bde34c3a00c8: Pull complete 21:46:06 b352a97aabf1: Pull complete 21:46:06 4872d77fe225: Pull complete 21:46:06 5851b861e8e6: Pull complete 21:46:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:46:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:46:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:46:06 prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container 21:46: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:46:08 $ docker top 17b805c0b7355f3e7c7a47c7b8b37e9dffa0755ebceb9ad64319afbb4c29b61b -eo pid,comm 21:46:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:46:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:46:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:46:08 [ssh-agent] Looking for ssh-agent implementation... 21:46:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:46:08 $ docker exec 17b805c0b7355f3e7c7a47c7b8b37e9dffa0755ebceb9ad64319afbb4c29b61b ssh-agent 21:46:08 SSH_AUTH_SOCK=/tmp/ssh-GmwPRCXxTqNv/agent.33 21:46:08 SSH_AGENT_PID=39 21:46:08 Running ssh-add (command line suppressed) 21:46:08 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13590508346156646293.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13590508346156646293.key) 21:46:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:46:08 + git tag --points-at HEAD [Pipeline] } 21:46:08 $ docker exec --env ******** --env ******** 17b805c0b7355f3e7c7a47c7b8b37e9dffa0755ebceb9ad64319afbb4c29b61b ssh-agent -k 21:46:08 unset SSH_AUTH_SOCK; 21:46:08 unset SSH_AGENT_PID; 21:46:08 echo Agent pid 39 killed; 21:46:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:46:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:46:08 [ssh-agent] Looking for ssh-agent implementation... 21:46:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:46:09 $ docker exec 17b805c0b7355f3e7c7a47c7b8b37e9dffa0755ebceb9ad64319afbb4c29b61b ssh-agent 21:46:09 SSH_AUTH_SOCK=/tmp/ssh-NhN1qBtQLLL4/agent.71 21:46:09 SSH_AGENT_PID=77 21:46:09 Running ssh-add (command line suppressed) 21:46:09 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2245418290285271687.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2245418290285271687.key) 21:46:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:46:09 + git semver init 21:46:09 2023-09-22 21:46:09,802 [run_init] DEBUG init version:0.0.0 force:False 21:46:09 2023-09-22 21:46:09,803 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 21:46:09 2023-09-22 21:46:09,803 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 21:46:09 2023-09-22 21:46:09,804 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:46:10 2023-09-22 21:46:10,710 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 21:46:10 2023-09-22 21:46:10,710 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 21:46:10 2023-09-22 21:46:10,711 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:46:10 2023-09-22 21:46:10,711 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:46:10 3.1.0-dev.30 [Pipeline] } 21:46:10 $ docker exec --env ******** --env ******** 17b805c0b7355f3e7c7a47c7b8b37e9dffa0755ebceb9ad64319afbb4c29b61b ssh-agent -k 21:46:10 unset SSH_AUTH_SOCK; 21:46:10 unset SSH_AGENT_PID; 21:46:10 echo Agent pid 77 killed; 21:46:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:46:11 + git semver [Pipeline] } 21:46:11 $ docker stop --time=1 17b805c0b7355f3e7c7a47c7b8b37e9dffa0755ebceb9ad64319afbb4c29b61b 21:46:12 $ docker rm -f --volumes 17b805c0b7355f3e7c7a47c7b8b37e9dffa0755ebceb9ad64319afbb4c29b61b [Pipeline] // withDockerContainer [Pipeline] sh 21:46:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:46:13 Stashed 1 file(s) [Pipeline] echo 21:46:13 [edgeXSemver]: initialized semver on version 3.1.0-dev.30 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:46:13 provisioning config files... 21:46:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13806174219784226158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:46:13 ---> docker-login.sh 21:46:13 nexus3.edgexfoundry.org:10001 21:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:13 Configure a credential helper to remove this warning. See 21:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:13 21:46:13 Login Succeeded 21:46:13 nexus3.edgexfoundry.org:10002 21:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:13 Configure a credential helper to remove this warning. See 21:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:13 21:46:13 Login Succeeded 21:46:13 nexus3.edgexfoundry.org:10003 21:46:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:14 Configure a credential helper to remove this warning. See 21:46:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:14 21:46:14 Login Succeeded 21:46:14 nexus3.edgexfoundry.org:10004 21:46:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:14 Configure a credential helper to remove this warning. See 21:46:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:14 21:46:14 Login Succeeded 21:46:14 docker.io 21:46:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:14 Configure a credential helper to remove this warning. See 21:46:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:14 21:46:14 Login Succeeded 21:46:14 ---> docker-login.sh ends [Pipeline] } 21:46:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:46:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:46:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:46:14 ========================================================= 21:46:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:46:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:14 + 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 . 21:46:14 Sending build context to Docker daemon 11.17MB 21:46:14 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 21:46:14 Step 2/10 : FROM ${BASE} AS builder 21:46:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:46:15 7264a8db6415: Pulling fs layer 21:46:15 c4d48a809fc2: Pulling fs layer 21:46:15 4f1c88b9dad5: Pulling fs layer 21:46:15 ad3a456e5733: Pulling fs layer 21:46:15 33e27b845d1e: Pulling fs layer 21:46:15 c68163c4e522: Pulling fs layer 21:46:15 50da416c3ac9: Pulling fs layer 21:46:15 23d2d4c4bb30: Pulling fs layer 21:46:15 33e27b845d1e: Waiting 21:46:15 c68163c4e522: Waiting 21:46:15 50da416c3ac9: Waiting 21:46:15 23d2d4c4bb30: Waiting 21:46:15 ad3a456e5733: Waiting 21:46:15 c4d48a809fc2: Verifying Checksum 21:46:15 c4d48a809fc2: Download complete 21:46:15 ad3a456e5733: Verifying Checksum 21:46:15 ad3a456e5733: Download complete 21:46:15 33e27b845d1e: Verifying Checksum 21:46:15 33e27b845d1e: Download complete 21:46:15 7264a8db6415: Download complete 21:46:15 c68163c4e522: Verifying Checksum 21:46:15 c68163c4e522: Download complete 21:46:15 7264a8db6415: Pull complete 21:46:15 23d2d4c4bb30: Verifying Checksum 21:46:15 23d2d4c4bb30: Download complete 21:46:15 c4d48a809fc2: Pull complete 21:46:15 4f1c88b9dad5: Verifying Checksum 21:46:15 4f1c88b9dad5: Download complete 21:46:15 50da416c3ac9: Verifying Checksum 21:46:15 50da416c3ac9: Download complete 21:46:19 4f1c88b9dad5: Pull complete 21:46:19 ad3a456e5733: Pull complete 21:46:19 33e27b845d1e: Pull complete 21:46:19 c68163c4e522: Pull complete 21:46:21 50da416c3ac9: Pull complete 21:46:21 23d2d4c4bb30: Pull complete 21:46:21 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:46:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:46:21 ---> 0786185ac409 21:46:21 Step 3/10 : ARG MAKE=make build 21:46:23 ---> Running in 8e63686744d9 21:46:23 Removing intermediate container 8e63686744d9 21:46:23 ---> 78a32c5ab4fe 21:46:23 Step 4/10 : WORKDIR /device-sdk-go 21:46:23 ---> Running in 34dad8997979 21:46:23 Removing intermediate container 34dad8997979 21:46:23 ---> 7c87efde5fb4 21:46:23 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:46:23 ---> Running in 6183ed9a2ee2 21:46:23 Removing intermediate container 6183ed9a2ee2 21:46:23 ---> e4bacd7445f0 21:46:23 Step 6/10 : RUN apk add --update --no-cache make git 21:46:23 ---> Running in 33a1bb0f1e96 21:46:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:46:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:46:24 OK: 264 MiB in 52 packages 21:46:24 Removing intermediate container 33a1bb0f1e96 21:46:24 ---> fa2236ff1685 21:46:24 Step 7/10 : COPY go.mod vendor* ./ 21:46:24 ---> 43208322a775 21:46:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:46:24 ---> Running in 43b6e1fa5d00 21:46:28 Still waiting to schedule task 21:46:28 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 21:46:28 ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 21:46:28 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7641’ is offline 21:46:51 Removing intermediate container 43b6e1fa5d00 21:46:51 ---> bef114464c76 21:46:51 Step 9/10 : COPY . . 21:46:51 ---> ad8a9d7c09a4 21:46:51 Step 10/10 : RUN ${MAKE} 21:46:51 ---> Running in 1a320a2b8ec6 21:46:51 noop 21:46:51 Removing intermediate container 1a320a2b8ec6 21:46:51 ---> 389a48c993f8 21:46:51 Successfully built 389a48c993f8 21:46:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:51 + docker inspect -f . ci-base-image-x86_64 21:46:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:46:51 prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container 21:46:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:46:51 $ docker top b0f6b210e44ba45da38e7dd5ae876f5e8de6d6e5d628c772ea3c0f8c0aca19c7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:46:52 + go version 21:46:52 go version go1.21.0 linux/amd64 [Pipeline] } 21:46:52 $ docker stop --time=1 b0f6b210e44ba45da38e7dd5ae876f5e8de6d6e5d628c772ea3c0f8c0aca19c7 21:46:53 $ docker rm -f --volumes b0f6b210e44ba45da38e7dd5ae876f5e8de6d6e5d628c772ea3c0f8c0aca19c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:54 + docker inspect -f . ci-base-image-x86_64 21:46:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:46:54 prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container 21:46:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:46:54 $ docker top 5ee60976e3e9f8acd90ead4f95e456d5be2f868dacc019b77951391039cc513d -eo pid,comm [Pipeline] { [Pipeline] sh 21:46:54 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 21:46:55 + make test 21:46:55 go test -race -coverprofile=coverage.out ./... 21:47:03 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 21:47:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 21:47:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 21:47:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 21:47:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 21:47:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 21:47:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 21:47:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 21:47:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.053s coverage: 27.6% of statements 21:47:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.042s coverage: 80.2% of statements 21:47:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.068s coverage: 86.0% of statements 21:47:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 21:47:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 21:47:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 21:47:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.101s coverage: 71.8% of statements 21:47:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 21:47:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.055s coverage: 14.4% of statements 21:47:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.995s coverage: 45.9% of statements 21:47:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.075s coverage: 68.5% of statements 21:47:23 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.100s coverage: 89.2% of statements 21:47:23 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements 21:47:43 GO111MODULE=on go vet ./... 21:47:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:47:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:47:44 ./bin/test-attribution-txt.sh [Pipeline] echo 21:47:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:47:45 $ docker stop --time=1 5ee60976e3e9f8acd90ead4f95e456d5be2f868dacc019b77951391039cc513d 21:47:48 $ docker rm -f --volumes 5ee60976e3e9f8acd90ead4f95e456d5be2f868dacc019b77951391039cc513d [Pipeline] // withDockerContainer [Pipeline] sh 21:47:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:47:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:47:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:47:50 + ls -al . 21:47:50 total 304 21:47:50 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 21:46 . 21:47:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:45 .. 21:47:50 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 21:45 .dockerignore 21:47:50 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 21:47 .git 21:47:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:45 .github 21:47:50 -rw-rw-r-- 1 jenkins jenkins 137 Sep 22 21:45 .gitignore 21:47:50 -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 21:45 .golangci.yml 21:47:50 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 21:46 .semver 21:47:50 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 22 21:45 CHANGELOG.md 21:47:50 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 21:45 GOVERNANCE.md 21:47:50 -rw-rw-r-- 1 jenkins jenkins 885 Sep 22 21:45 Jenkinsfile 21:47:50 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 21:45 LICENSE 21:47:50 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 22 21:45 Makefile 21:47:50 -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 21:45 OWNERS.md 21:47:50 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 22 21:45 README.md 21:47:50 -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 21:46 VERSION 21:47:50 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 21:45 bin 21:47:50 -rw-r--r-- 1 jenkins jenkins 121385 Sep 22 21:47 coverage.out 21:47:50 drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 21:45 example 21:47:50 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 22 21:45 go.mod 21:47:50 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 22 21:45 go.sum 21:47:50 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 21:45 internal 21:47:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:45 openapi 21:47:50 drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 21:45 pkg 21:47:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:45 snap 21:47:50 -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 21:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:50 + 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=afe3ff62d3fd920c33d9e36f21752c88d9373351 --label arch=amd64 --label version=3.1.0-dev.30 . 21:47:50 Sending build context to Docker daemon 11.29MB 21:47:50 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 21:47:50 Step 2/23 : FROM ${BASE} AS builder 21:47:50 ---> 389a48c993f8 21:47:50 Step 3/23 : ARG MAKE=make build 21:47:50 ---> Running in 2e7a802ebca5 21:47:50 Removing intermediate container 2e7a802ebca5 21:47:50 ---> 18287401d448 21:47:50 Step 4/23 : WORKDIR /device-sdk-go 21:47:50 ---> Running in 499998755ae4 21:47:50 Removing intermediate container 499998755ae4 21:47:50 ---> 1765f2d65acf 21:47:50 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:47:50 ---> Running in 16de57c8638d 21:47:50 Removing intermediate container 16de57c8638d 21:47:50 ---> a0e340065967 21:47:50 Step 6/23 : RUN apk add --update --no-cache make git 21:47:50 ---> Running in 3e3d01e24f58 21:47:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:47:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:47:51 OK: 264 MiB in 52 packages 21:47:51 Removing intermediate container 3e3d01e24f58 21:47:51 ---> f652201d1199 21:47:51 Step 7/23 : COPY go.mod vendor* ./ 21:47:52 ---> 7d54733e77f5 21:47:52 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:47:52 ---> Running in 029f333ddece 21:47:52 Removing intermediate container 029f333ddece 21:47:52 ---> a1307d83bb43 21:47:52 Step 9/23 : COPY . . 21:47:53 ---> 20dae99e7b5d 21:47:53 Step 10/23 : RUN ${MAKE} 21:47:53 ---> Running in aa9ed382d811 21:47:53 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.30 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.30" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:48:15 Removing intermediate container aa9ed382d811 21:48:15 ---> cd4cc7953914 21:48:15 Step 11/23 : FROM alpine:3.18 21:48:15 3.18: Pulling from library/alpine 21:48:15 7264a8db6415: Already exists 21:48:15 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:48:15 Status: Downloaded newer image for alpine:3.18 21:48:15 ---> 7e01a0d0a1dc 21:48:15 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:48:15 ---> Running in ece81c330e09 21:48:15 Removing intermediate container ece81c330e09 21:48:15 ---> 84b0bdc40cae 21:48:15 Step 13/23 : RUN apk add --update --no-cache 21:48:15 ---> Running in d70bd4498e31 21:48:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:48:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:48:15 OK: 7 MiB in 15 packages 21:48:16 Removing intermediate container d70bd4498e31 21:48:16 ---> 1a455021192d 21:48:16 Step 14/23 : WORKDIR / 21:48:16 ---> Running in 15b7d842e60c 21:48:16 Removing intermediate container 15b7d842e60c 21:48:16 ---> d10f42eae05e 21:48:16 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:48:16 ---> f8eb9ac87d62 21:48:16 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:48:17 ---> 51698e3b06cc 21:48:17 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:48:17 ---> 73fa8c7e6072 21:48:17 Step 18/23 : EXPOSE 59999 21:48:17 ---> Running in c855f4fc7c8d 21:48:17 Removing intermediate container c855f4fc7c8d 21:48:17 ---> c9d55bdf4e7e 21:48:17 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:48:17 ---> Running in 3956ba15d3ce 21:48:17 Removing intermediate container 3956ba15d3ce 21:48:17 ---> 29f76e46bbf3 21:48:17 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:48:17 ---> Running in 14a7feb57dfe 21:48:17 Removing intermediate container 14a7feb57dfe 21:48:17 ---> ad8bb80bbdaa 21:48:17 Step 21/23 : LABEL arch=amd64 21:48:17 ---> Running in c8d9f3c46144 21:48:17 Removing intermediate container c8d9f3c46144 21:48:17 ---> 917831c1d99d 21:48:17 Step 22/23 : LABEL git_sha=afe3ff62d3fd920c33d9e36f21752c88d9373351 21:48:17 ---> Running in 7aa81a4932ba 21:48:17 Removing intermediate container 7aa81a4932ba 21:48:17 ---> ed026f33e6bd 21:48:17 Step 23/23 : LABEL version=3.1.0-dev.30 21:48:17 ---> Running in 9a2e9873a503 21:48:18 Removing intermediate container 9a2e9873a503 21:48:18 ---> c64eddf9d917 21:48:18 [Warning] One or more build-args [ARCH] were not consumed 21:48:18 Successfully built c64eddf9d917 21:48:18 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:48:18 21:48:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:48:18 latest: Pulling from edgex-lftools-log-publisher 21:48:18 5eb5b503b376: Pulling fs layer 21:48:18 5c69ac0246d0: Pulling fs layer 21:48:18 ec43610c2a17: Pulling fs layer 21:48:18 3a2ae6a8a46f: Pulling fs layer 21:48:18 33b1e0a273af: Pulling fs layer 21:48:18 5d3b04190fa2: Pulling fs layer 21:48:18 2f39f015ded8: Pulling fs layer 21:48:18 3a2ae6a8a46f: Waiting 21:48:18 33b1e0a273af: Waiting 21:48:18 5d3b04190fa2: Waiting 21:48:18 2f39f015ded8: Waiting 21:48:18 5c69ac0246d0: Verifying Checksum 21:48:18 5c69ac0246d0: Download complete 21:48:18 3a2ae6a8a46f: Verifying Checksum 21:48:18 3a2ae6a8a46f: Download complete 21:48:18 33b1e0a273af: Verifying Checksum 21:48:18 33b1e0a273af: Download complete 21:48:18 5d3b04190fa2: Download complete 21:48:18 ec43610c2a17: Verifying Checksum 21:48:18 ec43610c2a17: Download complete 21:48:19 5eb5b503b376: Verifying Checksum 21:48:19 5eb5b503b376: Download complete 21:48:19 2f39f015ded8: Download complete 21:48:20 5eb5b503b376: Pull complete 21:48:20 5c69ac0246d0: Pull complete 21:48:20 ec43610c2a17: Pull complete 21:48:20 3a2ae6a8a46f: Pull complete 21:48:20 33b1e0a273af: Pull complete 21:48:20 5d3b04190fa2: Pull complete 21:48:26 2f39f015ded8: Pull complete 21:48:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:48:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:48:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:26 prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container 21:48:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:48:31 $ docker top 29629a78b9afab07aaa08eefe961a2f90544702b7e824dd6f6055c64f85224b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:48:31 ---> job-cost.sh 21:48:31 lf-activate-venv: SKIPPING 21:48:31 INFO: No Stack... 21:48:31 INFO: Retrieving Pricing Info for: v3-standard-8 21:48:32 INFO: Archiving Costs [Pipeline] sh 21:48:32 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 21:48:32 + cut -d, -f6 [Pipeline] lock 21:48:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-259-stack-cost] 21:48:32 Resource [jenkins-edgexfoundry-device-sdk-go-main-259-stack-cost] did not exist. Created. 21:48:32 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-259-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:48:32 + echo total: 0.2199999988079071 [Pipeline] stash 21:48:32 Stashed 1 file(s) [Pipeline] } 21:48:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-259-stack-cost] [Pipeline] // lock [Pipeline] } 21:48:32 $ docker stop --time=1 29629a78b9afab07aaa08eefe961a2f90544702b7e824dd6f6055c64f85224b8 21:48:33 $ docker rm -f --volumes 29629a78b9afab07aaa08eefe961a2f90544702b7e824dd6f6055c64f85224b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:49:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7645 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 21:49:02 Running in /w/workspace/device-sdk-go/259 [Pipeline] { [Pipeline] checkout 21:49:02 The recommended git tool is: git 21:49:09 using credential edgex-jenkins-ssh 21:49:09 Cloning the remote Git repository 21:49:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:49:09 > git init /w/workspace/device-sdk-go/259 # timeout=10 21:49:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:49:09 > git --version # timeout=10 21:49:09 > git --version # 'git version 2.25.1' 21:49:09 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:49:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:49:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:49:12 Avoid second fetch 21:49:12 Checking out Revision afe3ff62d3fd920c33d9e36f21752c88d9373351 (main) 21:49:12 > git config core.sparsecheckout # timeout=10 21:49:12 > git checkout -f afe3ff62d3fd920c33d9e36f21752c88d9373351 # timeout=10 21:49:13 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1518)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:49:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:49:14 % Total % Received % Xferd Average Speed Time Time Time Current 21:49:14 Dload Upload Total Spent Left Speed 21:49:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 168k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh 21:49:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:49:15 + sudo tee /etc/docker/daemon.new 21:49:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:49:15 { 21:49:15 "registry-mirrors": [ 21:49:15 "https://nexus3.edgexfoundry.org:10001" 21:49:15 ], 21:49:15 "bip": "10.250.0.254/24", 21:49:15 "hosts": [ 21:49:15 "tcp://0.0.0.0:5555", 21:49:15 "unix:///var/run/docker.sock" 21:49:15 ], 21:49:15 "mtu": 1458, 21:49:15 "selinux-enabled": true, 21:49:15 "seccomp-profile": "/etc/docker/seccomp.json" 21:49:15 } [Pipeline] sh 21:49:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:49:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:34 provisioning config files... 21:49:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/259@tmp/config14757069277081183446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:34 ---> docker-login.sh 21:49:34 nexus3.edgexfoundry.org:10001 21:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:35 Configure a credential helper to remove this warning. See 21:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:35 21:49:35 Login Succeeded 21:49:35 nexus3.edgexfoundry.org:10002 21:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:35 Configure a credential helper to remove this warning. See 21:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:35 21:49:35 Login Succeeded 21:49:35 nexus3.edgexfoundry.org:10003 21:49:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:36 Configure a credential helper to remove this warning. See 21:49:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:36 21:49:36 Login Succeeded 21:49:36 nexus3.edgexfoundry.org:10004 21:49:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:36 Configure a credential helper to remove this warning. See 21:49:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:36 21:49:36 Login Succeeded 21:49:36 docker.io 21:49:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:37 Configure a credential helper to remove this warning. See 21:49:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:37 21:49:37 Login Succeeded 21:49:37 ---> docker-login.sh ends [Pipeline] } 21:49:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:49:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:49:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:49:37 ========================================================= 21:49:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:49:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:38 + 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 . 21:49:38 Sending build context to Docker daemon 5.968MB 21:49:38 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 21:49:38 Step 2/10 : FROM ${BASE} AS builder 21:49:40 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:49:40 9fda8d8052c6: Pulling fs layer 21:49:40 5d54e960e981: Pulling fs layer 21:49:40 c4a7e357bf2a: Pulling fs layer 21:49:40 f0e02332f6b5: Pulling fs layer 21:49:40 cefa15bbcfad: Pulling fs layer 21:49:40 17808c966233: Pulling fs layer 21:49:40 f4c1fc716caa: Pulling fs layer 21:49:40 cefa15bbcfad: Waiting 21:49:40 17808c966233: Waiting 21:49:40 f4c1fc716caa: Waiting 21:49:40 f0e02332f6b5: Waiting 21:49:40 5d54e960e981: Verifying Checksum 21:49:40 5d54e960e981: Download complete 21:49:40 f0e02332f6b5: Verifying Checksum 21:49:40 f0e02332f6b5: Download complete 21:49:40 cefa15bbcfad: Verifying Checksum 21:49:40 cefa15bbcfad: Download complete 21:49:40 9fda8d8052c6: Verifying Checksum 21:49:40 9fda8d8052c6: Download complete 21:49:41 f4c1fc716caa: Verifying Checksum 21:49:41 f4c1fc716caa: Download complete 21:49:41 9fda8d8052c6: Pull complete 21:49:42 5d54e960e981: Pull complete 21:49:42 c4a7e357bf2a: Download complete 21:49:43 17808c966233: Verifying Checksum 21:49:43 17808c966233: Download complete 21:49:54 c4a7e357bf2a: Pull complete 21:49:54 f0e02332f6b5: Pull complete 21:49:54 cefa15bbcfad: Pull complete 21:50:01 17808c966233: Pull complete 21:50:02 f4c1fc716caa: Pull complete 21:50:02 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:50:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:50:02 ---> ea914061e18c 21:50:02 Step 3/10 : ARG MAKE=make build 21:50:04 ---> Running in f0c799d8a2f5 21:50:04 Removing intermediate container f0c799d8a2f5 21:50:04 ---> 6976d090dfd6 21:50:04 Step 4/10 : WORKDIR /device-sdk-go 21:50:04 ---> Running in 8505829c0bc9 21:50:04 Removing intermediate container 8505829c0bc9 21:50:04 ---> 1d46eac02a97 21:50:04 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:50:04 ---> Running in 528b85de906d 21:50:04 Removing intermediate container 528b85de906d 21:50:04 ---> 27e652515d3d 21:50:04 Step 6/10 : RUN apk add --update --no-cache make git 21:50:05 ---> Running in 7aa8dd18b193 21:50:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:50:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:50:11 OK: 266 MiB in 52 packages 21:50:12 Removing intermediate container 7aa8dd18b193 21:50:12 ---> d425a520c8ab 21:50:12 Step 7/10 : COPY go.mod vendor* ./ 21:50:12 ---> 15caec274c8d 21:50:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:50:12 ---> Running in 0c024412fba5 21:51:34 Removing intermediate container 0c024412fba5 21:51:34 ---> 286f5a0abaea 21:51:34 Step 9/10 : COPY . . 21:51:34 ---> 03666443a7b5 21:51:34 Step 10/10 : RUN ${MAKE} 21:51:34 ---> Running in a505286b13d9 21:51:34 noop 21:51:34 Removing intermediate container a505286b13d9 21:51:34 ---> 969dd2be3929 21:51:34 Successfully built 969dd2be3929 21:51:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:35 + docker inspect -f . ci-base-image-arm64 21:51:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:35 prd-ubuntu20.04-docker-arm64-4c-16g-7645 does not seem to be running inside a container 21:51:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/259 -v /w/workspace/device-sdk-go/259:/w/workspace/device-sdk-go/259:rw,z -v /w/workspace/device-sdk-go/259@tmp:/w/workspace/device-sdk-go/259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:51:36 $ docker top 9517058a852a877db6bc9f0ec660b4d9986617649f7c2e4d5e22118bbce9de0a -eo pid,comm [Pipeline] { [Pipeline] sh 21:51:37 + go version 21:51:37 go version go1.21.0 linux/arm64 [Pipeline] } 21:51:37 $ docker stop --time=1 9517058a852a877db6bc9f0ec660b4d9986617649f7c2e4d5e22118bbce9de0a 21:51:39 $ docker rm -f --volumes 9517058a852a877db6bc9f0ec660b4d9986617649f7c2e4d5e22118bbce9de0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:40 + docker inspect -f . ci-base-image-arm64 21:51:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:40 prd-ubuntu20.04-docker-arm64-4c-16g-7645 does not seem to be running inside a container 21:51:40 $ 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/259 -v /w/workspace/device-sdk-go/259:/w/workspace/device-sdk-go/259:rw,z -v /w/workspace/device-sdk-go/259@tmp:/w/workspace/device-sdk-go/259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:51:41 $ docker top bd7d96dbc4c28269ee6ccfdf1a406dc5c9988be1ec23e45e93bd721ec3c805e1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:51:42 + git config --global --add safe.directory /w/workspace/device-sdk-go/259 [Pipeline] fileExists [Pipeline] sh 21:51:43 + make test 21:51:43 go test -race -coverprofile=coverage.out ./... 21:52:30 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 21:54:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 21:54:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 21:54:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 21:54:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 21:54:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 21:54:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.225s coverage: 27.6% of statements 21:55:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.256s coverage: 80.2% of statements 21:55:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 21:55:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 21:55:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.335s coverage: 86.0% of statements 21:55:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 21:55:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.537s coverage: 71.8% of statements 21:55:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.276s coverage: 14.4% of statements 21:55:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.741s coverage: 45.9% of statements 21:55:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 21:55:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 21:55:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.426s coverage: 68.5% of statements 21:55:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.474s coverage: 89.2% of statements 21:55:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 21:55:33 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.244s coverage: 5.5% of statements 21:55:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:55:34 GO111MODULE=on go vet ./... 21:57:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:57:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:57:25 ./bin/test-attribution-txt.sh [Pipeline] echo 21:57:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:57:25 $ docker stop --time=1 bd7d96dbc4c28269ee6ccfdf1a406dc5c9988be1ec23e45e93bd721ec3c805e1 21:57:27 $ docker rm -f --volumes bd7d96dbc4c28269ee6ccfdf1a406dc5c9988be1ec23e45e93bd721ec3c805e1 [Pipeline] // withDockerContainer [Pipeline] sh 21:57:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:57:29 Warning: overwriting stash ‘coverage-report’ 21:57:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:57:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:57:30 + ls -al . 21:57:30 total 300 21:57:30 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 21:51 . 21:57:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:49 .. 21:57:30 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 21:49 .dockerignore 21:57:30 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 21:49 .git 21:57:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:49 .github 21:57:30 -rw-rw-r-- 1 jenkins jenkins 137 Sep 22 21:49 .gitignore 21:57:30 -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 21:49 .golangci.yml 21:57:30 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 22 21:49 CHANGELOG.md 21:57:30 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 21:49 GOVERNANCE.md 21:57:30 -rw-rw-r-- 1 jenkins jenkins 885 Sep 22 21:49 Jenkinsfile 21:57:30 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 21:49 LICENSE 21:57:30 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 22 21:49 Makefile 21:57:30 -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 21:49 OWNERS.md 21:57:30 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 22 21:49 README.md 21:57:30 -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 21:46 VERSION 21:57:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 21:49 bin 21:57:30 -rw-r--r-- 1 jenkins jenkins 121385 Sep 22 21:55 coverage.out 21:57:30 drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 21:49 example 21:57:30 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 22 21:49 go.mod 21:57:30 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 22 21:49 go.sum 21:57:30 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 21:49 internal 21:57:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 21:49 openapi 21:57:30 drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 21:49 pkg 21:57:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 21:49 snap 21:57:30 -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 21:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:31 + 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=afe3ff62d3fd920c33d9e36f21752c88d9373351 --label arch=arm64 --label version=3.1.0-dev.30 . 21:57:31 Sending build context to Docker daemon 6.091MB 21:57:31 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 21:57:31 Step 2/23 : FROM ${BASE} AS builder 21:57:31 ---> 969dd2be3929 21:57:31 Step 3/23 : ARG MAKE=make build 21:57:31 ---> Running in a8ef5fe9abfd 21:57:32 Removing intermediate container a8ef5fe9abfd 21:57:32 ---> 7a4867367e6a 21:57:32 Step 4/23 : WORKDIR /device-sdk-go 21:57:32 ---> Running in 867e10daea40 21:57:32 Removing intermediate container 867e10daea40 21:57:32 ---> 11c9b49d979e 21:57:32 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:57:32 ---> Running in a1612c2a205c 21:57:33 Removing intermediate container a1612c2a205c 21:57:33 ---> 42bb21033517 21:57:33 Step 6/23 : RUN apk add --update --no-cache make git 21:57:33 ---> Running in d278f7a24bee 21:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:57:36 OK: 266 MiB in 52 packages 21:57:36 Removing intermediate container d278f7a24bee 21:57:36 ---> a56c0909ad86 21:57:36 Step 7/23 : COPY go.mod vendor* ./ 21:57:37 ---> 5cb77920b9a3 21:57:37 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:57:37 ---> Running in 532fea66a440 21:57:40 Removing intermediate container 532fea66a440 21:57:40 ---> b9f31507abe1 21:57:40 Step 9/23 : COPY . . 21:57:41 ---> ff23db82f2d1 21:57:41 Step 10/23 : RUN ${MAKE} 21:57:41 ---> Running in fc24aaddb5cf 21:57:41 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.30 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.30" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:59:33 Removing intermediate container fc24aaddb5cf 21:59:33 ---> 54a8ce7c1f4c 21:59:33 Step 11/23 : FROM alpine:3.18 21:59:33 3.18: Pulling from library/alpine 21:59:33 9fda8d8052c6: Already exists 21:59:33 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:59:33 Status: Downloaded newer image for alpine:3.18 21:59:33 ---> f6648c04cd6c 21:59:33 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:59:33 ---> Running in 47b42593d4a4 21:59:33 Removing intermediate container 47b42593d4a4 21:59:33 ---> fb2a2e64dfab 21:59:33 Step 13/23 : RUN apk add --update --no-cache 21:59:33 ---> Running in 4a418a2f6965 21:59:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:59:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:59:33 OK: 8 MiB in 15 packages 21:59:33 Removing intermediate container 4a418a2f6965 21:59:33 ---> 6ddbbfe8c9c2 21:59:33 Step 14/23 : WORKDIR / 21:59:33 ---> Running in d13748b8060d 21:59:33 Removing intermediate container d13748b8060d 21:59:33 ---> 64f3a5ce3067 21:59:33 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:59:34 ---> ab8453970e3b 21:59:34 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:59:35 ---> b1190688fc72 21:59:35 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:59:36 ---> 220ab1faf8ac 21:59:36 Step 18/23 : EXPOSE 59999 21:59:36 ---> Running in d9d2290208cc 21:59:36 Removing intermediate container d9d2290208cc 21:59:36 ---> 895ed1f9b54a 21:59:36 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:59:36 ---> Running in ced7de9af9cc 21:59:36 Removing intermediate container ced7de9af9cc 21:59:36 ---> 45ad17bce0e3 21:59:36 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:59:37 ---> Running in bf5970480bcf 21:59:37 Removing intermediate container bf5970480bcf 21:59:37 ---> 7f67b9abc9d0 21:59:37 Step 21/23 : LABEL arch=arm64 21:59:37 ---> Running in 8edaa3ba9b3b 21:59:37 Removing intermediate container 8edaa3ba9b3b 21:59:37 ---> 4c44f96026bb 21:59:37 Step 22/23 : LABEL git_sha=afe3ff62d3fd920c33d9e36f21752c88d9373351 21:59:37 ---> Running in e0b30da6480f 21:59:37 Removing intermediate container e0b30da6480f 21:59:37 ---> 6234febbdb20 21:59:37 Step 23/23 : LABEL version=3.1.0-dev.30 21:59:38 ---> Running in 842f273ef612 21:59:38 Removing intermediate container 842f273ef612 21:59:38 ---> 7dc49f37098b 21:59:38 [Warning] One or more build-args [ARCH] were not consumed 21:59:38 Successfully built 7dc49f37098b 21:59:38 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:59:38 21:59:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:59:39 arm64: Pulling from edgex-lftools-log-publisher 21:59:39 8998bd30e6a1: Pulling fs layer 21:59:39 04944245beec: Pulling fs layer 21:59:39 699f458cf7ca: Pulling fs layer 21:59:39 765212b225bb: Pulling fs layer 21:59:39 f23df028b6ca: Pulling fs layer 21:59:39 d65c8cfc05b1: Pulling fs layer 21:59:39 2437ff75d9bd: Pulling fs layer 21:59:39 f23df028b6ca: Waiting 21:59:39 d65c8cfc05b1: Waiting 21:59:39 2437ff75d9bd: Waiting 21:59:39 765212b225bb: Waiting 21:59:39 04944245beec: Verifying Checksum 21:59:39 04944245beec: Download complete 21:59:39 765212b225bb: Verifying Checksum 21:59:39 765212b225bb: Download complete 21:59:39 f23df028b6ca: Verifying Checksum 21:59:39 f23df028b6ca: Download complete 21:59:39 d65c8cfc05b1: Verifying Checksum 21:59:39 d65c8cfc05b1: Download complete 21:59:39 699f458cf7ca: Verifying Checksum 21:59:39 699f458cf7ca: Download complete 21:59:39 8998bd30e6a1: Verifying Checksum 21:59:39 8998bd30e6a1: Download complete 21:59:42 2437ff75d9bd: Verifying Checksum 21:59:42 2437ff75d9bd: Download complete 21:59:43 8998bd30e6a1: Pull complete 21:59:44 04944245beec: Pull complete 21:59:45 699f458cf7ca: Pull complete 21:59:45 765212b225bb: Pull complete 21:59:46 f23df028b6ca: Pull complete 21:59:46 d65c8cfc05b1: Pull complete 22:00:01 2437ff75d9bd: Pull complete 22:00:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:00:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:00:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:02 prd-ubuntu20.04-docker-arm64-4c-16g-7645 does not seem to be running inside a container 22:00:02 $ 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/259 -v /w/workspace/device-sdk-go/259:/w/workspace/device-sdk-go/259:rw,z -v /w/workspace/device-sdk-go/259@tmp:/w/workspace/device-sdk-go/259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:00:04 $ docker top d15667319b5b6668f674dd764206205b076b99133b7c773dfd26339e71e71ac7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:00:05 ---> job-cost.sh 22:00:05 lf-activate-venv: SKIPPING 22:00:05 INFO: No Stack... 22:00:05 INFO: Retrieving Pricing Info for: v3-standard-4 22:00:06 INFO: Archiving Costs [Pipeline] sh 22:00:06 + cat /w/workspace/device-sdk-go/259/archives/cost.csv 22:00:06 + cut -d, -f6 [Pipeline] lock 22:00:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-259-stack-cost] 22:00:07 Resource [jenkins-edgexfoundry-device-sdk-go-main-259-stack-cost] did not exist. Created. 22:00:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-259-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:00:07 /w/workspace/device-sdk-go/259@tmp/durable-39952c9f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:00:07 + echo total: 0.10999999940395355 [Pipeline] stash 22:00:07 Warning: overwriting stash ‘stack-cost’ 22:00:07 Stashed 1 file(s) [Pipeline] } 22:00:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-259-stack-cost] [Pipeline] // lock [Pipeline] } 22:00:07 $ docker stop --time=1 d15667319b5b6668f674dd764206205b076b99133b7c773dfd26339e71e71ac7 22:00:09 $ docker rm -f --volumes d15667319b5b6668f674dd764206205b076b99133b7c773dfd26339e71e71ac7 [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 22:00:09 provisioning config files... 22:00:09 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1437666190306718775tmp [Pipeline] { [Pipeline] sh 22:00:10 + set +x 22:00:10 + curl -s https://codecov.io/bash 22:00:10 + bash -s -- 22:00:10 22:00:10 _____ _ 22:00:10 / ____| | | 22:00:10 | | ___ __| | ___ ___ _____ __ 22:00:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:00:10 | |___| (_) | (_| | __/ (_| (_) \ V / 22:00:10 \_____\___/ \__,_|\___|\___\___/ \_/ 22:00:10 Bash-1.0.6 22:00:10 22:00:10 22:00:10 ==> git version 2.25.1 found 22:00:10 ==> 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 22:00:10 Release-Date: 2020-01-08 22:00:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:00:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:00:10 ==> Jenkins CI detected. 22:00:10 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 22:00:10 project root: . 22:00:10 --> token set from env 22:00:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:00:10 ==> Running gcov in . (disable via -X gcov) 22:00:10 ==> Python coveragepy not found 22:00:10 ==> Searching for coverage reports in: 22:00:10 + . 22:00:10 -> Found 1 reports 22:00:10 ==> Detecting git/mercurial file structure 22:00:10 ==> Reading reports 22:00:10 + ./coverage.out bytes=121385 22:00:10 ==> Appending adjustments 22:00:10 https://docs.codecov.io/docs/fixing-reports 22:00:10 + Found adjustments 22:00:10 ==> Gzipping contents 22:00:10 20K /tmp/codecov.uqg996.gz 22:00:10 ==> Uploading reports 22:00:10 url: https://codecov.io 22:00:10 query: branch=main&commit=afe3ff62d3fd920c33d9e36f21752c88d9373351&build=259&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F259%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:00:10 -> Pinging Codecov 22:00:10 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=afe3ff62d3fd920c33d9e36f21752c88d9373351&build=259&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F259%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:00:10 -> Uploading to 22:00:10 https://storage.googleapis.com/codecov/v4/raw/2023-09-22/7E55EF52A471D76F132DFD9A03CDDE97/afe3ff62d3fd920c33d9e36f21752c88d9373351/de020040-652e-434d-a9c3-7a8faf51d2cd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230922T220010Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=57c0412db9150a1933d87d726d6a278ae54f28804ce4d5a06f1d0aadf182e77d 22:00:10 % Total % Received % Xferd Average Speed Time Time Time Current 22:00:10 Dload Upload Total Spent Left Speed 22:00:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16532 0 0 100 16532 0 87936 --:--:-- --:--:-- --:--:-- 87936 22:00:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/afe3ff62d3fd920c33d9e36f21752c88d9373351 [Pipeline] } 22:00:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:00:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:00:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:00:11 22:00:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:00:11 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:00:11 df9b9388f04a: Pulling fs layer 22:00:11 52dc419b0ee2: Pulling fs layer 22:00:11 25bc292e5bac: Pulling fs layer 22:00:11 114826534d7a: Pulling fs layer 22:00:11 4657fd5d0bcf: Pulling fs layer 22:00:11 6ad1cebc031e: Pulling fs layer 22:00:11 8a3aa393b2d8: Pulling fs layer 22:00:11 114826534d7a: Waiting 22:00:11 8a3aa393b2d8: Waiting 22:00:11 4657fd5d0bcf: Waiting 22:00:11 6ad1cebc031e: Waiting 22:00:11 25bc292e5bac: Verifying Checksum 22:00:11 25bc292e5bac: Download complete 22:00:11 52dc419b0ee2: Verifying Checksum 22:00:11 52dc419b0ee2: Download complete 22:00:11 4657fd5d0bcf: Download complete 22:00:11 df9b9388f04a: Verifying Checksum 22:00:11 df9b9388f04a: Download complete 22:00:11 6ad1cebc031e: Verifying Checksum 22:00:11 6ad1cebc031e: Download complete 22:00:11 df9b9388f04a: Pull complete 22:00:11 52dc419b0ee2: Pull complete 22:00:12 25bc292e5bac: Pull complete 22:00:12 114826534d7a: Verifying Checksum 22:00:12 114826534d7a: Download complete 22:00:12 8a3aa393b2d8: Verifying Checksum 22:00:12 8a3aa393b2d8: Download complete 22:00:15 114826534d7a: Pull complete 22:00:15 4657fd5d0bcf: Pull complete 22:00:16 6ad1cebc031e: Pull complete 22:00:19 8a3aa393b2d8: Pull complete 22:00:19 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:00:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:00:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:19 prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container 22:00:19 $ 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 22:00:21 $ docker top c402499b9714a2bd5d9862dde867b46ca432b52c7ae4d81eeb17409b992488e5 -eo pid,comm [Pipeline] { [Pipeline] echo 22:00:21 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 22:00:21 + set -o pipefail 22:00:21 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 22:00:26 22:00:26 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 22:00:26 22:00:26 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/4e96aeb2-7ba5-41ec-89fa-709e550152d4 22:00:26 22:00:26 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:00:26 22:00:27 22:00:27 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:00:27 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:00:27 More details here: https://snyk.co/ue1NS [Pipeline] } 22:00:27 $ docker stop --time=1 c402499b9714a2bd5d9862dde867b46ca432b52c7ae4d81eeb17409b992488e5 22:00:29 $ docker rm -f --volumes c402499b9714a2bd5d9862dde867b46ca432b52c7ae4d81eeb17409b992488e5 [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 22:00:30 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:00:30 provisioning config files... 22:00:30 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config519549932435586363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:00:30 --> edgex-publish-swagger.sh 22:00:30 === Publish openapi/v3 API === 22:00:30 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 22:00:30 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 22:00:30 % Total % Received % Xferd Average Speed Time Time Time Current 22:00:30 Dload Upload Total Spent Left Speed 22:00:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 49945 --:--:-- --:--:-- --:--:-- 49840 100 23674 0 0 100 23674 0 49945 --:--:-- --:--:-- --:--:-- 49840 22:00:30 22:00:30 [Pipeline] } 22:00:30 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 22:00:31 + git log --format=format:%s -1 afe3ff62d3fd920c33d9e36f21752c88d9373351 [Pipeline] sh 22:00:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:00:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:00:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:31 prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container 22:00:31 $ 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 22:00:32 $ docker top 6f8f90c612bb01fb644636bf05cf2ddb82b64b9a4d5df909599074f9ad37359b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:00:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:00:32 [ssh-agent] Looking for ssh-agent implementation... 22:00:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:00:32 $ docker exec 6f8f90c612bb01fb644636bf05cf2ddb82b64b9a4d5df909599074f9ad37359b ssh-agent 22:00:32 SSH_AUTH_SOCK=/tmp/ssh-cizbQRCMiHyq/agent.32 22:00:32 SSH_AGENT_PID=38 22:00:32 Running ssh-add (command line suppressed) 22:00:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4260777558722698832.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4260777558722698832.key) 22:00:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:00:32 + git semver tag 22:00:33 2023-09-22 22:00:33,025 [run_tag] DEBUG tag force:False 22:00:33 2023-09-22 22:00:33,025 [check_head_tag] DEBUG check head tag 22:00:33 2023-09-22 22:00:33,026 [execute] INFO git cat-file --batch-check 22:00:33 2023-09-22 22:00:33,026 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 22:00:33 2023-09-22 22:00:33,029 [execute] INFO git cat-file --batch 22:00:33 2023-09-22 22:00:33,029 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 22:00:33 2023-09-22 22:00:33,045 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:00:33 2023-09-22 22:00:33,045 [execute] INFO git tag -a v3.1.0-dev.30 -m v3.1.0-dev.30 22:00:33 2023-09-22 22:00:33,045 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.30', '-m', 'v3.1.0-dev.30'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 22:00:33 2023-09-22 22:00:33,050 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:00:33 3.1.0-dev.30 [Pipeline] } 22:00:33 $ docker exec --env ******** --env ******** 6f8f90c612bb01fb644636bf05cf2ddb82b64b9a4d5df909599074f9ad37359b ssh-agent -k 22:00:33 unset SSH_AUTH_SOCK; 22:00:33 unset SSH_AGENT_PID; 22:00:33 echo Agent pid 38 killed; 22:00:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:00:33 + git semver [Pipeline] } 22:00:33 $ docker stop --time=1 6f8f90c612bb01fb644636bf05cf2ddb82b64b9a4d5df909599074f9ad37359b 22:00:35 $ docker rm -f --volumes 6f8f90c612bb01fb644636bf05cf2ddb82b64b9a4d5df909599074f9ad37359b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:00:35 22:00:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:00:35 0.23.1-centos7: Pulling from edgex-lftools 22:00:35 ab5ef0e58194: Pulling fs layer 22:00:35 9712f1f96733: Pulling fs layer 22:00:35 63f879dbbcfc: Pulling fs layer 22:00:35 0d9ebad4ef96: Pulling fs layer 22:00:35 e9a5061849ea: Pulling fs layer 22:00:35 d747dcd14b5f: Pulling fs layer 22:00:35 2de7ff778b66: Pulling fs layer 22:00:35 0d9ebad4ef96: Waiting 22:00:35 e9a5061849ea: Waiting 22:00:35 d747dcd14b5f: Waiting 22:00:35 9712f1f96733: Verifying Checksum 22:00:35 9712f1f96733: Download complete 22:00:35 63f879dbbcfc: Verifying Checksum 22:00:35 63f879dbbcfc: Download complete 22:00:36 e9a5061849ea: Verifying Checksum 22:00:36 e9a5061849ea: Download complete 22:00:36 d747dcd14b5f: Verifying Checksum 22:00:36 d747dcd14b5f: Download complete 22:00:36 0d9ebad4ef96: Verifying Checksum 22:00:36 ab5ef0e58194: Download complete 22:00:36 2de7ff778b66: Verifying Checksum 22:00:36 2de7ff778b66: Download complete 22:00:38 ab5ef0e58194: Pull complete 22:00:38 9712f1f96733: Pull complete 22:00:39 63f879dbbcfc: Pull complete 22:00:43 0d9ebad4ef96: Pull complete 22:00:43 e9a5061849ea: Pull complete 22:00:43 d747dcd14b5f: Pull complete 22:00:44 2de7ff778b66: Pull complete 22:00:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:00:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:00:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:44 prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container 22:00:44 $ 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 22:00:46 $ docker top aba05b0a72adee10f1bbe8b404b671d1484f92c9ebc2c56b694a44b037e5664f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:00:46 provisioning config files... 22:00:46 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14691068696980409128tmp 22:00:46 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3983631000653289436tmp 22:00:46 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18394694477307625590tmp [Pipeline] { [Pipeline] echo 22:00:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:00:47 ---> sigul-configuration.sh 22:00:47 gpg: directory `/root/.gnupg' created 22:00:47 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:00:47 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:00:47 gpg: keyring `/root/.gnupg/secring.gpg' created 22:00:47 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:00:47 gpg: CAST5 encrypted data 22:00:47 gpg: encrypted with 1 passphrase 22:00:47 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:00:47 + mkdir /home/jenkins 22:00:47 + mkdir /home/jenkins/sigul [Pipeline] sh 22:00:47 + 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 22:00:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:00:47 ---> sigul-install.sh 22:00:47 Sigul already installed; skipping installation. [Pipeline] sh 22:00:48 + git tag --list 22:00:48 0.7.1 22:00:48 delhi-tag 22:00:48 v1.0.0 22:00:48 v1.1.0 22:00:48 v1.1.1 22:00:48 v1.1.2 22:00:48 v1.2.0 22:00:48 v1.2.1 22:00:48 v1.2.2 22:00:48 v1.2.3 22:00:48 v1.3.0 22:00:48 v1.4.0 22:00:48 v2.0.0 22:00:48 v2.1.0 22:00:48 v2.1.1 22:00:48 v2.2.0 22:00:48 v2.3.0 22:00:48 v2.3.1 22:00:48 v3.0 22:00:48 v3.0.0 22:00:48 v3.0.1-dev.1 22:00:48 v3.1.0-dev.1 22:00:48 v3.1.0-dev.10 22:00:48 v3.1.0-dev.11 22:00:48 v3.1.0-dev.12 22:00:48 v3.1.0-dev.13 22:00:48 v3.1.0-dev.14 22:00:48 v3.1.0-dev.15 22:00:48 v3.1.0-dev.16 22:00:48 v3.1.0-dev.17 22:00:48 v3.1.0-dev.18 22:00:48 v3.1.0-dev.19 22:00:48 v3.1.0-dev.2 22:00:48 v3.1.0-dev.20 22:00:48 v3.1.0-dev.21 22:00:48 v3.1.0-dev.22 22:00:48 v3.1.0-dev.23 22:00:48 v3.1.0-dev.24 22:00:48 v3.1.0-dev.25 22:00:48 v3.1.0-dev.26 22:00:48 v3.1.0-dev.27 22:00:48 v3.1.0-dev.28 22:00:48 v3.1.0-dev.29 22:00:48 v3.1.0-dev.3 22:00:48 v3.1.0-dev.30 22:00:48 v3.1.0-dev.4 22:00:48 v3.1.0-dev.5 22:00:48 v3.1.0-dev.6 22:00:48 v3.1.0-dev.7 22:00:48 v3.1.0-dev.8 22:00:48 v3.1.0-dev.9 [Pipeline] sh 22:00:48 + lftools sign git-tag v3.1.0-dev.30 22:00:49 Signing Git tag with Sigul... 22:00:49 Signing v3.1.0-dev.30 [Pipeline] echo 22:00:49 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:00:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:00:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:00:49 $ docker stop --time=1 aba05b0a72adee10f1bbe8b404b671d1484f92c9ebc2c56b694a44b037e5664f 22:00:50 $ docker rm -f --volumes aba05b0a72adee10f1bbe8b404b671d1484f92c9ebc2c56b694a44b037e5664f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:00:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:00:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:00:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:51 prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container 22:00:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:00:52 $ docker top 4379d2a7594497833faff9497f8fcc16b73c7e80df61517b796886348b0453e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:00:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:00:52 [ssh-agent] Looking for ssh-agent implementation... 22:00:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:00:52 $ docker exec 4379d2a7594497833faff9497f8fcc16b73c7e80df61517b796886348b0453e7 ssh-agent 22:00:52 SSH_AUTH_SOCK=/tmp/ssh-vr5HoqWREUbs/agent.31 22:00:52 SSH_AGENT_PID=37 22:00:52 Running ssh-add (command line suppressed) 22:00:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13185188063963275796.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13185188063963275796.key) 22:00:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:00:52 + git semver bump pre 22:00:53 2023-09-22 22:00:52,960 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:00:53 2023-09-22 22:00:52,960 [bump_version] DEBUG bumping version:3.1.0-dev.30 on axis:pre with prefix:dev 22:00:53 2023-09-22 22:00:52,960 [bump_version] DEBUG bumped version:3.1.0-dev.31 22:00:53 2023-09-22 22:00:52,960 [write_version] DEBUG write version:3.1.0-dev.31 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 22:00:53 2023-09-22 22:00:52,960 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:00:53 2023-09-22 22:00:52,960 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:00:53 2023-09-22 22:00:52,962 [execute] INFO git cat-file --batch-check 22:00:53 2023-09-22 22:00:52,962 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:00:53 2023-09-22 22:00:52,967 [execute] INFO git cat-file --batch 22:00:53 2023-09-22 22:00:52,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:00:53 2023-09-22 22:00:52,972 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:00:53 3.1.0-dev.31 [Pipeline] } 22:00:53 $ docker exec --env ******** --env ******** 4379d2a7594497833faff9497f8fcc16b73c7e80df61517b796886348b0453e7 ssh-agent -k 22:00:53 unset SSH_AUTH_SOCK; 22:00:53 unset SSH_AGENT_PID; 22:00:53 echo Agent pid 37 killed; 22:00:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:00:53 + git semver [Pipeline] } 22:00:53 $ docker stop --time=1 4379d2a7594497833faff9497f8fcc16b73c7e80df61517b796886348b0453e7 22:00:54 $ docker rm -f --volumes 4379d2a7594497833faff9497f8fcc16b73c7e80df61517b796886348b0453e7 [Pipeline] // withDockerContainer [Pipeline] sh 22:00:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:00:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:00:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:55 prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container 22:00:55 $ 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 22:00:56 $ docker top 2165773469bd2c1e8dec2281605529177c644447788a56615b409f0281253049 -eo pid,comm 22:00:56 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:00:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:00:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:00:56 [ssh-agent] Looking for ssh-agent implementation... 22:00:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:00:56 $ docker exec 2165773469bd2c1e8dec2281605529177c644447788a56615b409f0281253049 ssh-agent 22:00:56 SSH_AUTH_SOCK=/tmp/ssh-9pQFz0z0iGe4/agent.31 22:00:56 SSH_AGENT_PID=37 22:00:56 Running ssh-add (command line suppressed) 22:00:56 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13693145396456112054.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13693145396456112054.key) 22:00:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:00:56 + git semver push 22:00:57 2023-09-22 22:00:57,012 [run_push] DEBUG push 22:00:57 2023-09-22 22:00:57,013 [execute] INFO git cat-file --batch-check 22:00:57 2023-09-22 22:00:57,013 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:00:57 2023-09-22 22:00:57,017 [execute] INFO git rev-list d6ee8933c279482d46323e5c05cdd5dd51c93489 -- 22:00:57 2023-09-22 22:00:57,017 [execute] DEBUG Popen(['git', 'rev-list', 'd6ee8933c279482d46323e5c05cdd5dd51c93489', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:00:57 2023-09-22 22:00:57,030 [execute] INFO git fetch -v origin 22:00:57 2023-09-22 22:00:57,030 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:00:57 2023-09-22 22:00:57,519 [run_push] DEBUG no remote changes detected 22:00:57 2023-09-22 22:00:57,519 [execute] INFO git push origin semver 22:00:57 2023-09-22 22:00:57,520 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:00:58 2023-09-22 22:00:58,277 [run_push] DEBUG push all version tags 22:00:58 2023-09-22 22:00:58,277 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:00:58 2023-09-22 22:00:58,278 [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) 22:00:59 2023-09-22 22:00:59,036 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:00:59 3.1.0-dev.31 [Pipeline] } 22:00:59 $ docker exec --env ******** --env ******** 2165773469bd2c1e8dec2281605529177c644447788a56615b409f0281253049 ssh-agent -k 22:00:59 unset SSH_AUTH_SOCK; 22:00:59 unset SSH_AGENT_PID; 22:00:59 echo Agent pid 37 killed; 22:00:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:00:59 + git semver [Pipeline] } 22:00:59 $ docker stop --time=1 2165773469bd2c1e8dec2281605529177c644447788a56615b409f0281253049 22:01:01 $ docker rm -f --volumes 2165773469bd2c1e8dec2281605529177c644447788a56615b409f0281253049 [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 22:01:01 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 22:01:01 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:01:01 total 16 22:01:01 drwxr-xr-x 3 root root 4096 Sep 22 21:48 . 22:01:01 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 22:00 .. 22:01:01 drwxr-xr-x 2 root root 4096 Sep 22 21:48 cost 22:01:01 -rw-r--r-- 1 root root 85 Sep 22 21:48 cost.csv 22:01:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:01:01 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:01:01 total 16 22:01:01 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 21:48 . 22:01:01 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 22:00 .. 22:01:01 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 21:48 cost 22:01:01 -rw-r--r-- 1 jenkins jenkins 85 Sep 22 21:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:01:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:01:02 ---> package-listing.sh 22:01:02 ++ facter osfamily 22:01:02 ++ tr '[:upper:]' '[:lower:]' 22:01:03 + OS_FAMILY=debian 22:01:03 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 22:01:03 + START_PACKAGES=/tmp/packages_start.txt 22:01:03 + END_PACKAGES=/tmp/packages_end.txt 22:01:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:01:03 + PACKAGES=/tmp/packages_start.txt 22:01:03 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 22:01:03 + PACKAGES=/tmp/packages_end.txt 22:01:03 + case "${OS_FAMILY}" in 22:01:03 + dpkg -l 22:01:03 + grep '^ii' 22:01:03 + '[' -f /tmp/packages_start.txt ']' 22:01:03 + '[' -f /tmp/packages_end.txt ']' 22:01:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:01:03 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 22:01:03 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 22:01:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 22:01:03 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:01:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:01:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:03 prd-ubuntu20.04-docker-8c-8g-7640 does not seem to be running inside a container 22:01:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:01:04 $ docker top 16bf441a97cbebf627e230fdce493c849140a1e879061fb739ab2d4a34f21493 -eo pid,comm [Pipeline] { [Pipeline] sh 22:01:04 + touch /tmp/pre-build-complete [Pipeline] sh 22:01:04 + mkdir -p /var/log/sysstat [Pipeline] sh 22:01:05 + ls /var/log/sa-host 22:01:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:01:05 provisioning config files... 22:01:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12914881878201020181tmp [Pipeline] { [Pipeline] echo 22:01:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:01:05 ---> create-netrc.sh [Pipeline] } 22:01:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:01:05 ---> python-tools-install.sh [Pipeline] echo 22:01:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:01:06 ---> sudo-logs.sh 22:01:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:01:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:01:06 ---> job-cost.sh 22:01:06 lf-activate-venv: SKIPPING 22:01:06 DEBUG: total: 0.2199999988079071 22:01:06 INFO: Retrieving Stack Cost... 22:01:06 INFO: Retrieving Pricing Info for: v3-standard-8 22:01:07 INFO: Archiving Costs [Pipeline] echo 22:01:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:01:07 ---> logs-deploy.sh 22:01:07 lf-activate-venv: SKIPPING 22:01:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/259 22:01:07 INFO: archiving workspace using pattern(s): 22:01:08 Archives upload complete. 22:01:08 INFO: archiving logs to Nexus