Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b107614ee9e0a121be0cc16184ca73267025663e 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-ssh5675108570923934689.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-ssh18250215687109088979.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-ssh9886826317439940338.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-ssh15667006594634469817.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-ssh906909173525208746.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8016 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 b107614ee9e0a121be0cc16184ca73267025663e (main) Commit message: "Merge pull request #1519 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.44" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b107614ee9e0a121be0cc16184ca73267025663e # timeout=10 > git rev-list --no-walk afe3ff62d3fd920c33d9e36f21752c88d9373351 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:56:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:56:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:56:45 ========================================================= 06:56:45 EdgeX Global Pipelines Version Info 06:56:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:56:46 ------------------- 06:56:46 stable info: 06:56:46 ------------------- 06:56:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:56:46 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 06:56:46 Message: update stable to v1.0.254 06:56:46 ------------------- 06:56:46 experimental info: 06:56:46 ------------------- 06:56:46 Commited By: **** collab-it+edgex@linuxfoundation.org 06:56:46 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 06:56:46 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:56:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:56:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:56:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:56:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 06:56:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:56:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:56:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:56:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:56:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:56:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:56:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:56:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:56:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b107614ee9e0a121be0cc16184ca73267025663e [Pipeline] echo 06:56:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b107614 [Pipeline] echo 06:56:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:56:47 provisioning config files... 06:56:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15980951584019839488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:56:47 ---> docker-login.sh 06:56:47 nexus3.edgexfoundry.org:10001 06:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:47 Configure a credential helper to remove this warning. See 06:56:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:47 06:56:47 Login Succeeded 06:56:47 nexus3.edgexfoundry.org:10002 06:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:48 Configure a credential helper to remove this warning. See 06:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:48 06:56:48 Login Succeeded 06:56:48 nexus3.edgexfoundry.org:10003 06:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:48 Configure a credential helper to remove this warning. See 06:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:48 06:56:48 Login Succeeded 06:56:48 nexus3.edgexfoundry.org:10004 06:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:48 Configure a credential helper to remove this warning. See 06:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:48 06:56:48 Login Succeeded 06:56:48 docker.io 06:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:48 Configure a credential helper to remove this warning. See 06:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:48 06:56:48 Login Succeeded 06:56:48 ---> docker-login.sh ends [Pipeline] } 06:56:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:56:48 + git rev-list -1 --merges b107614ee9e0a121be0cc16184ca73267025663e~1..b107614ee9e0a121be0cc16184ca73267025663e [Pipeline] echo 06:56:49 -----------> git rev-list -1 --merges b107614ee9e0a121be0cc16184ca73267025663e~1..b107614ee9e0a121be0cc16184ca73267025663e b107614ee9e0a121be0cc16184ca73267025663e 06:56:49 b107614ee9e0a121be0cc16184ca73267025663e [false] [Pipeline] sh 06:56:49 + git log --format=format:%s -1 b107614ee9e0a121be0cc16184ca73267025663e [Pipeline] echo 06:56:49 ========================================================= 06:56:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:56:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:56:49 + git log --format=format:%s -1 b107614ee9e0a121be0cc16184ca73267025663e [Pipeline] echo 06:56:49 [semverPrep] GIT_COMMIT: b107614ee9e0a121be0cc16184ca73267025663e, Commit Message: Merge pull request #1519 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.44 [Pipeline] echo 06:56:49 [semverPrep] This is not a build commit. [Pipeline] sh 06:56:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:56:50 + grep -v github /etc/ssh/ssh_known_hosts 06:56:50 + [ -e /tmp/ssh_known_hosts ] 06:56:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:56:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:56:50 + sudo tee -a /etc/ssh/ssh_known_hosts 06:56:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:56:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:56:50 06:56:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:56:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:56:50 0.1.4: Pulling from edgex-devops/py-git-semver 06:56:50 b85a868b505f: Pulling fs layer 06:56:50 e2be974225ed: Pulling fs layer 06:56:50 339a4e72a1f5: Pulling fs layer 06:56:50 988bab9f4d93: Pulling fs layer 06:56:50 1469e6f7b9e6: Pulling fs layer 06:56:50 eaf3925da568: Pulling fs layer 06:56:50 bab4dde63d76: Pulling fs layer 06:56:50 bde34c3a00c8: Pulling fs layer 06:56:50 b352a97aabf1: Pulling fs layer 06:56:50 4872d77fe225: Pulling fs layer 06:56:50 5851b861e8e6: Pulling fs layer 06:56:50 bab4dde63d76: Waiting 06:56:50 bde34c3a00c8: Waiting 06:56:50 b352a97aabf1: Waiting 06:56:50 4872d77fe225: Waiting 06:56:50 5851b861e8e6: Waiting 06:56:50 1469e6f7b9e6: Waiting 06:56:50 eaf3925da568: Waiting 06:56:50 e2be974225ed: Verifying Checksum 06:56:50 e2be974225ed: Download complete 06:56:50 988bab9f4d93: Verifying Checksum 06:56:50 988bab9f4d93: Download complete 06:56:51 339a4e72a1f5: Verifying Checksum 06:56:51 339a4e72a1f5: Download complete 06:56:51 1469e6f7b9e6: Verifying Checksum 06:56:51 1469e6f7b9e6: Download complete 06:56:51 eaf3925da568: Verifying Checksum 06:56:51 eaf3925da568: Download complete 06:56:51 bde34c3a00c8: Download complete 06:56:51 b352a97aabf1: Verifying Checksum 06:56:51 b352a97aabf1: Download complete 06:56:51 4872d77fe225: Verifying Checksum 06:56:51 4872d77fe225: Download complete 06:56:51 5851b861e8e6: Verifying Checksum 06:56:51 5851b861e8e6: Download complete 06:56:51 b85a868b505f: Verifying Checksum 06:56:51 b85a868b505f: Download complete 06:56:51 bab4dde63d76: Verifying Checksum 06:56:51 bab4dde63d76: Download complete 06:56:52 b85a868b505f: Pull complete 06:56:52 e2be974225ed: Pull complete 06:56:53 339a4e72a1f5: Pull complete 06:56:53 988bab9f4d93: Pull complete 06:56:53 1469e6f7b9e6: Pull complete 06:56:53 eaf3925da568: Pull complete 06:56:55 bab4dde63d76: Pull complete 06:56:55 bde34c3a00c8: Pull complete 06:56:55 b352a97aabf1: Pull complete 06:56:55 4872d77fe225: Pull complete 06:56:55 5851b861e8e6: Pull complete 06:56:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:56:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:56:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:56:55 prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container 06:56: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:56:57 $ docker top a333c324ca2a1e5fc6cd7f07766719691a0e898e3c9a5c719a1d335db87346d6 -eo pid,comm 06:56:57 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). 06:56:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:56:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:56:58 [ssh-agent] Looking for ssh-agent implementation... 06:56:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:56:58 $ docker exec a333c324ca2a1e5fc6cd7f07766719691a0e898e3c9a5c719a1d335db87346d6 ssh-agent 06:56:58 SSH_AUTH_SOCK=/tmp/ssh-5Qx8OKhRlUQ9/agent.32 06:56:58 SSH_AGENT_PID=38 06:56:58 Running ssh-add (command line suppressed) 06:56:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9719942837998424110.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9719942837998424110.key) 06:56:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:56:58 + git tag --points-at HEAD [Pipeline] } 06:56:58 $ docker exec --env ******** --env ******** a333c324ca2a1e5fc6cd7f07766719691a0e898e3c9a5c719a1d335db87346d6 ssh-agent -k 06:56:58 unset SSH_AUTH_SOCK; 06:56:58 unset SSH_AGENT_PID; 06:56:58 echo Agent pid 38 killed; 06:56:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:56:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:56:58 [ssh-agent] Looking for ssh-agent implementation... 06:56:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:56:58 $ docker exec a333c324ca2a1e5fc6cd7f07766719691a0e898e3c9a5c719a1d335db87346d6 ssh-agent 06:56:59 SSH_AUTH_SOCK=/tmp/ssh-PgQAT6CFz36v/agent.70 06:56:59 SSH_AGENT_PID=76 06:56:59 Running ssh-add (command line suppressed) 06:56:59 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6483927497381026377.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6483927497381026377.key) 06:56:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:56:59 + git semver init 06:56:59 2023-09-27 06:56:59,693 [run_init] DEBUG init version:0.0.0 force:False 06:56:59 2023-09-27 06:56:59,693 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:56:59 2023-09-27 06:56:59,694 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:56:59 2023-09-27 06:56:59,694 [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) 06:57:00 2023-09-27 06:57:00,696 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 06:57:00 2023-09-27 06:57:00,697 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 06:57:00 2023-09-27 06:57:00,697 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:57:00 2023-09-27 06:57:00,697 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:57:00 3.1.0-dev.31 [Pipeline] } 06:57:00 $ docker exec --env ******** --env ******** a333c324ca2a1e5fc6cd7f07766719691a0e898e3c9a5c719a1d335db87346d6 ssh-agent -k 06:57:00 unset SSH_AUTH_SOCK; 06:57:00 unset SSH_AGENT_PID; 06:57:00 echo Agent pid 76 killed; 06:57:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:57:01 + git semver [Pipeline] } 06:57:01 $ docker stop --time=1 a333c324ca2a1e5fc6cd7f07766719691a0e898e3c9a5c719a1d335db87346d6 06:57:02 $ docker rm -f --volumes a333c324ca2a1e5fc6cd7f07766719691a0e898e3c9a5c719a1d335db87346d6 [Pipeline] // withDockerContainer [Pipeline] sh 06:57:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:57:03 Stashed 1 file(s) [Pipeline] echo 06:57:03 [edgeXSemver]: initialized semver on version 3.1.0-dev.31 [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 06:57:03 provisioning config files... 06:57:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11562112622667288674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:57:03 ---> docker-login.sh 06:57:03 nexus3.edgexfoundry.org:10001 06:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:03 Configure a credential helper to remove this warning. See 06:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:03 06:57:03 Login Succeeded 06:57:03 nexus3.edgexfoundry.org:10002 06:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:03 Configure a credential helper to remove this warning. See 06:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:03 06:57:03 Login Succeeded 06:57:03 nexus3.edgexfoundry.org:10003 06:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:04 Configure a credential helper to remove this warning. See 06:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:04 06:57:04 Login Succeeded 06:57:04 nexus3.edgexfoundry.org:10004 06:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:04 Configure a credential helper to remove this warning. See 06:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:04 06:57:04 Login Succeeded 06:57:04 docker.io 06:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:04 Configure a credential helper to remove this warning. See 06:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:04 06:57:04 Login Succeeded 06:57:04 ---> docker-login.sh ends [Pipeline] } 06:57:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:57:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:57:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:57:04 ========================================================= 06:57:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:57:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:04 + 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 . 06:57:04 Sending build context to Docker daemon 11.18MB 06:57:04 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:57:04 Step 2/10 : FROM ${BASE} AS builder 06:57:04 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:57:04 7264a8db6415: Pulling fs layer 06:57:04 c4d48a809fc2: Pulling fs layer 06:57:04 4f1c88b9dad5: Pulling fs layer 06:57:04 ad3a456e5733: Pulling fs layer 06:57:04 33e27b845d1e: Pulling fs layer 06:57:04 c68163c4e522: Pulling fs layer 06:57:04 50da416c3ac9: Pulling fs layer 06:57:04 23d2d4c4bb30: Pulling fs layer 06:57:04 c68163c4e522: Waiting 06:57:04 23d2d4c4bb30: Waiting 06:57:04 50da416c3ac9: Waiting 06:57:04 ad3a456e5733: Waiting 06:57:04 33e27b845d1e: Waiting 06:57:05 c4d48a809fc2: Verifying Checksum 06:57:05 c4d48a809fc2: Download complete 06:57:05 ad3a456e5733: Download complete 06:57:05 33e27b845d1e: Verifying Checksum 06:57:05 33e27b845d1e: Download complete 06:57:05 7264a8db6415: Verifying Checksum 06:57:05 7264a8db6415: Download complete 06:57:05 c68163c4e522: Verifying Checksum 06:57:05 c68163c4e522: Download complete 06:57:05 7264a8db6415: Pull complete 06:57:05 c4d48a809fc2: Pull complete 06:57:05 23d2d4c4bb30: Verifying Checksum 06:57:05 4f1c88b9dad5: Verifying Checksum 06:57:05 4f1c88b9dad5: Download complete 06:57:05 50da416c3ac9: Verifying Checksum 06:57:05 50da416c3ac9: Download complete 06:57:09 4f1c88b9dad5: Pull complete 06:57:09 ad3a456e5733: Pull complete 06:57:09 33e27b845d1e: Pull complete 06:57:09 c68163c4e522: Pull complete 06:57:11 50da416c3ac9: Pull complete 06:57:12 23d2d4c4bb30: Pull complete 06:57:12 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 06:57:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:57:12 ---> 0786185ac409 06:57:12 Step 3/10 : ARG MAKE=make build 06:57:15 ---> Running in cc425f6e6b48 06:57:15 Removing intermediate container cc425f6e6b48 06:57:15 ---> c9bf83e52ec7 06:57:15 Step 4/10 : WORKDIR /device-sdk-go 06:57:15 ---> Running in e6645d5b6e92 06:57:15 Removing intermediate container e6645d5b6e92 06:57:15 ---> 8ff65cff416f 06:57:15 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:57:15 ---> Running in 3467f864eb9c 06:57:15 Removing intermediate container 3467f864eb9c 06:57:15 ---> 8005d594fa1f 06:57:15 Step 6/10 : RUN apk add --update --no-cache make git 06:57:15 ---> Running in 7559a4871d64 06:57:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:57:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:57:16 OK: 264 MiB in 52 packages 06:57:16 Removing intermediate container 7559a4871d64 06:57:16 ---> 954b7a3b5d17 06:57:16 Step 7/10 : COPY go.mod vendor* ./ 06:57:16 ---> 5c80dbaff350 06:57:16 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:57:16 ---> Running in 5baf1010a2f6 06:57:18 Still waiting to schedule task 06:57:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:58:13 Removing intermediate container 5baf1010a2f6 06:58:13 ---> d510668055b4 06:58:13 Step 9/10 : COPY . . 06:58:13 ---> 0dc91e61456f 06:58:13 Step 10/10 : RUN ${MAKE} 06:58:13 ---> Running in 9d67a2d966a3 06:58:13 noop 06:58:13 Removing intermediate container 9d67a2d966a3 06:58:13 ---> 83897f001477 06:58:13 Successfully built 83897f001477 06:58:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:13 + docker inspect -f . ci-base-image-x86_64 06:58:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:58:13 prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container 06:58:13 $ 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 06:58:13 $ docker top 3abc57eef0f6304f3fe142ad7c16a3ed00000a42433d1945b49b0ebdf81546d4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:58:14 + go version 06:58:14 go version go1.21.0 linux/amd64 [Pipeline] } 06:58:14 $ docker stop --time=1 3abc57eef0f6304f3fe142ad7c16a3ed00000a42433d1945b49b0ebdf81546d4 06:58:15 $ docker rm -f --volumes 3abc57eef0f6304f3fe142ad7c16a3ed00000a42433d1945b49b0ebdf81546d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:15 + docker inspect -f . ci-base-image-x86_64 06:58:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:58:15 prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container 06:58:15 $ 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 06:58:16 $ docker top 6f75f98e4d4a1cf5fd77dbd5ff9144563b148d95ffd4b822933b6825a140fa55 -eo pid,comm [Pipeline] { [Pipeline] sh 06:58:16 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 06:58:16 + make test 06:58:16 go test -race -coverprofile=coverage.out ./... 06:58:23 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:58:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:58:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:58:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:58:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:58:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:58:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:58:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:58:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.039s coverage: 27.6% of statements 06:58:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.044s coverage: 80.2% of statements 06:58:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.057s coverage: 86.0% of statements 06:58:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:58:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:58:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:58:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.074s coverage: 71.8% of statements 06:58:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:58:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.076s coverage: 14.4% of statements 06:58:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.850s coverage: 45.9% of statements 06:58:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.082s coverage: 68.5% of statements 06:58:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.095s coverage: 89.2% of statements 06:58:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.045s coverage: 5.5% of statements 06:58:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8017 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 06:58:47 Running in /w/workspace/device-sdk-go/260 [Pipeline] { [Pipeline] checkout 06:58:47 The recommended git tool is: git 06:58:52 using credential edgex-jenkins-ssh 06:58:52 Cloning the remote Git repository 06:58:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:58:52 > git init /w/workspace/device-sdk-go/260 # timeout=10 06:58:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:58:52 > git --version # timeout=10 06:58:53 > git --version # 'git version 2.25.1' 06:58:53 using GIT_SSH to set credentials SSH Credentials for GitHub 06:58:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:58:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:58:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:58:55 Avoid second fetch 06:58:55 Checking out Revision b107614ee9e0a121be0cc16184ca73267025663e (main) 06:58:56 Commit message: "Merge pull request #1519 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.44" 06:58:55 > git config core.sparsecheckout # timeout=10 06:58:55 > git checkout -f b107614ee9e0a121be0cc16184ca73267025663e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:58:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:58:57 % Total % Received % Xferd Average Speed Time Time Time Current 06:58:57 Dload Upload Total Spent Left Speed 06:58:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 06:58:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:58:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 06:58:58 sudo tee /etc/docker/daemon.new 06:58:58 { 06:58:58 "registry-mirrors": [ 06:58:58 "https://nexus3.edgexfoundry.org:10001" 06:58:58 ], 06:58:58 "bip": "10.250.0.254/24", 06:58:58 "hosts": [ 06:58:58 "tcp://0.0.0.0:5555", 06:58:58 "unix:///var/run/docker.sock" 06:58:58 ], 06:58:58 "mtu": 1458, 06:58:58 "selinux-enabled": true, 06:58:58 "seccomp-profile": "/etc/docker/seccomp.json" 06:58:58 } [Pipeline] sh 06:58:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:58:58 + sudo service docker restart 06:59:06 GO111MODULE=on go vet ./... 06:59:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:59:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:59:08 ./bin/test-attribution-txt.sh [Pipeline] echo 06:59:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:59:08 $ docker stop --time=1 6f75f98e4d4a1cf5fd77dbd5ff9144563b148d95ffd4b822933b6825a140fa55 06:59:12 $ docker rm -f --volumes 6f75f98e4d4a1cf5fd77dbd5ff9144563b148d95ffd4b822933b6825a140fa55 [Pipeline] // withDockerContainer [Pipeline] sh 06:59:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:59:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:59:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:59:13 + ls -al . 06:59:13 total 304 06:59:13 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 06:58 . 06:59:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 06:56 .. 06:59:13 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 06:56 .dockerignore 06:59:13 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 06:58 .git 06:59:13 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 06:56 .github 06:59:13 -rw-rw-r-- 1 jenkins jenkins 137 Sep 27 06:56 .gitignore 06:59:13 -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 06:56 .golangci.yml 06:59:13 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 06:57 .semver 06:59:13 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 27 06:56 CHANGELOG.md 06:59:13 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 06:56 GOVERNANCE.md 06:59:13 -rw-rw-r-- 1 jenkins jenkins 885 Sep 27 06:56 Jenkinsfile 06:59:13 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 06:56 LICENSE 06:59:13 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 27 06:56 Makefile 06:59:13 -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 06:56 OWNERS.md 06:59:13 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 27 06:56 README.md 06:59:13 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 06:57 VERSION 06:59:13 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 06:56 bin 06:59:13 -rw-r--r-- 1 jenkins jenkins 121385 Sep 27 06:58 coverage.out 06:59:13 drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 06:56 example 06:59:13 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 27 06:56 go.mod 06:59:13 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 27 06:56 go.sum 06:59:13 drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 06:56 internal 06:59:13 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 06:56 openapi 06:59:13 drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 06:56 pkg 06:59:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 06:56 snap 06:59:13 -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 06:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:14 + 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=b107614ee9e0a121be0cc16184ca73267025663e --label arch=amd64 --label version=3.1.0-dev.31 . 06:59:14 Sending build context to Docker daemon 11.3MB 06:59:14 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:59:14 Step 2/23 : FROM ${BASE} AS builder 06:59:14 ---> 83897f001477 06:59:14 Step 3/23 : ARG MAKE=make build 06:59:14 ---> Running in 9d10e840d11d 06:59:14 Removing intermediate container 9d10e840d11d 06:59:14 ---> 4024f5e5fc1d 06:59:14 Step 4/23 : WORKDIR /device-sdk-go 06:59:14 ---> Running in fac4db35d1b7 06:59:14 Removing intermediate container fac4db35d1b7 06:59:14 ---> 2e4c7b1eaca1 06:59:14 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:59:14 ---> Running in 54c7fd566252 06:59:14 Removing intermediate container 54c7fd566252 06:59:14 ---> 51700e8853e3 06:59:14 Step 6/23 : RUN apk add --update --no-cache make git 06:59:14 ---> Running in 09cd075ec7a8 06:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:59:15 OK: 264 MiB in 52 packages 06:59:15 Removing intermediate container 09cd075ec7a8 06:59:15 ---> 0975b0363698 06:59:15 Step 7/23 : COPY go.mod vendor* ./ 06:59:15 ---> a6eddc6a33db 06:59:15 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:59:15 ---> Running in 069080601f36 06:59:16 Removing intermediate container 069080601f36 06:59:16 ---> c226124c6d1d 06:59:16 Step 9/23 : COPY . . 06:59:16 ---> 2a02f67a8662 06:59:16 Step 10/23 : RUN ${MAKE} 06:59:16 ---> Running in 03ec5a7c6e8f 06:59:17 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.31 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.31" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:59:17 provisioning config files... 06:59:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/260@tmp/config4231962022374510754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:59:17 ---> docker-login.sh 06:59:17 nexus3.edgexfoundry.org:10001 06:59:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:17 Configure a credential helper to remove this warning. See 06:59:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:17 06:59:17 Login Succeeded 06:59:17 nexus3.edgexfoundry.org:10002 06:59:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:18 Configure a credential helper to remove this warning. See 06:59:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:18 06:59:18 Login Succeeded 06:59:18 nexus3.edgexfoundry.org:10003 06:59:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:18 Configure a credential helper to remove this warning. See 06:59:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:18 06:59:18 Login Succeeded 06:59:18 nexus3.edgexfoundry.org:10004 06:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:19 Configure a credential helper to remove this warning. See 06:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:19 06:59:19 Login Succeeded 06:59:19 docker.io 06:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:19 Configure a credential helper to remove this warning. See 06:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:19 06:59:19 Login Succeeded 06:59:19 ---> docker-login.sh ends [Pipeline] } 06:59:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:59:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:59:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:59:19 ========================================================= 06:59:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:59:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:20 + 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 . 06:59:20 Sending build context to Docker daemon 5.972MB 06:59:20 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:59:20 Step 2/10 : FROM ${BASE} AS builder 06:59:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:59:20 9fda8d8052c6: Pulling fs layer 06:59:20 5d54e960e981: Pulling fs layer 06:59:20 c4a7e357bf2a: Pulling fs layer 06:59:20 f0e02332f6b5: Pulling fs layer 06:59:20 cefa15bbcfad: Pulling fs layer 06:59:20 17808c966233: Pulling fs layer 06:59:20 f4c1fc716caa: Pulling fs layer 06:59:20 f0e02332f6b5: Waiting 06:59:20 cefa15bbcfad: Waiting 06:59:20 17808c966233: Waiting 06:59:20 f4c1fc716caa: Waiting 06:59:20 5d54e960e981: Verifying Checksum 06:59:20 5d54e960e981: Download complete 06:59:20 f0e02332f6b5: Verifying Checksum 06:59:20 f0e02332f6b5: Download complete 06:59:20 cefa15bbcfad: Verifying Checksum 06:59:20 cefa15bbcfad: Download complete 06:59:20 9fda8d8052c6: Verifying Checksum 06:59:20 9fda8d8052c6: Download complete 06:59:21 f4c1fc716caa: Verifying Checksum 06:59:21 f4c1fc716caa: Download complete 06:59:21 9fda8d8052c6: Pull complete 06:59:22 5d54e960e981: Pull complete 06:59:22 c4a7e357bf2a: Download complete 06:59:23 17808c966233: Verifying Checksum 06:59:23 17808c966233: Download complete 06:59:33 c4a7e357bf2a: Pull complete 06:59:33 f0e02332f6b5: Pull complete 06:59:33 cefa15bbcfad: Pull complete 06:59:35 Removing intermediate container 03ec5a7c6e8f 06:59:35 ---> b6dcd384c68d 06:59:35 Step 11/23 : FROM alpine:3.18 06:59:35 3.18: Pulling from library/alpine 06:59:35 7264a8db6415: Already exists 06:59:35 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 06:59:35 Status: Downloaded newer image for alpine:3.18 06:59:35 ---> 7e01a0d0a1dc 06:59:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:59:35 ---> Running in 263139cf61b5 06:59:35 Removing intermediate container 263139cf61b5 06:59:35 ---> 0dc8fe908bd9 06:59:35 Step 13/23 : RUN apk add --update --no-cache 06:59:35 ---> Running in bdcccaf04f66 06:59:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:59:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:59:35 OK: 7 MiB in 15 packages 06:59:36 Removing intermediate container bdcccaf04f66 06:59:36 ---> 9966a8ce4070 06:59:36 Step 14/23 : WORKDIR / 06:59:36 ---> Running in 5eb158a8b327 06:59:36 Removing intermediate container 5eb158a8b327 06:59:36 ---> 9ba57b7e9586 06:59:36 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:59:36 ---> d6f20f3886f5 06:59:36 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:59:37 ---> 118c9a500e9a 06:59:37 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:59:37 ---> 3036b06f9fdf 06:59:37 Step 18/23 : EXPOSE 59999 06:59:37 ---> Running in cafb2deb6443 06:59:37 Removing intermediate container cafb2deb6443 06:59:37 ---> 7127bb93a4ed 06:59:37 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:59:37 ---> Running in 1daa74e055d7 06:59:37 Removing intermediate container 1daa74e055d7 06:59:37 ---> 7074c8bedfb0 06:59:37 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:59:37 ---> Running in 0f011f010bf4 06:59:37 Removing intermediate container 0f011f010bf4 06:59:37 ---> 0c57daccc994 06:59:37 Step 21/23 : LABEL arch=amd64 06:59:37 ---> Running in 16d69d3820c0 06:59:37 Removing intermediate container 16d69d3820c0 06:59:37 ---> fccf6858f974 06:59:37 Step 22/23 : LABEL git_sha=b107614ee9e0a121be0cc16184ca73267025663e 06:59:37 ---> Running in f2930a8002f5 06:59:37 Removing intermediate container f2930a8002f5 06:59:37 ---> c1af67053832 06:59:37 Step 23/23 : LABEL version=3.1.0-dev.31 06:59:37 ---> Running in b72cb52e2200 06:59:37 Removing intermediate container b72cb52e2200 06:59:37 ---> d6696d54aba2 06:59:37 [Warning] One or more build-args [ARCH] were not consumed 06:59:37 Successfully built d6696d54aba2 06:59:37 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 06:59:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:59:38 06:59:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:59:38 latest: Pulling from edgex-lftools-log-publisher 06:59:38 5eb5b503b376: Pulling fs layer 06:59:38 5c69ac0246d0: Pulling fs layer 06:59:38 ec43610c2a17: Pulling fs layer 06:59:38 3a2ae6a8a46f: Pulling fs layer 06:59:38 33b1e0a273af: Pulling fs layer 06:59:38 5d3b04190fa2: Pulling fs layer 06:59:38 2f39f015ded8: Pulling fs layer 06:59:38 5d3b04190fa2: Waiting 06:59:38 3a2ae6a8a46f: Waiting 06:59:38 33b1e0a273af: Waiting 06:59:38 2f39f015ded8: Waiting 06:59:38 5c69ac0246d0: Verifying Checksum 06:59:38 5c69ac0246d0: Download complete 06:59:38 3a2ae6a8a46f: Download complete 06:59:38 33b1e0a273af: Verifying Checksum 06:59:38 33b1e0a273af: Download complete 06:59:38 ec43610c2a17: Verifying Checksum 06:59:38 ec43610c2a17: Download complete 06:59:38 5d3b04190fa2: Download complete 06:59:38 5eb5b503b376: Verifying Checksum 06:59:38 5eb5b503b376: Download complete 06:59:39 2f39f015ded8: Download complete 06:59:40 5eb5b503b376: Pull complete 06:59:40 5c69ac0246d0: Pull complete 06:59:40 17808c966233: Pull complete 06:59:40 ec43610c2a17: Pull complete 06:59:40 3a2ae6a8a46f: Pull complete 06:59:40 33b1e0a273af: Pull complete 06:59:40 5d3b04190fa2: Pull complete 06:59:42 f4c1fc716caa: Pull complete 06:59:42 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 06:59:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:59:42 ---> ea914061e18c 06:59:42 Step 3/10 : ARG MAKE=make build 06:59:44 ---> Running in bd2a93ab819b 06:59:44 Removing intermediate container bd2a93ab819b 06:59:44 ---> 01875a7daa55 06:59:44 Step 4/10 : WORKDIR /device-sdk-go 06:59:44 ---> Running in 571eae06afcd 06:59:44 Removing intermediate container 571eae06afcd 06:59:44 ---> 6918355de42a 06:59:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:59:44 ---> Running in d1f25e3954af 06:59:44 Removing intermediate container d1f25e3954af 06:59:44 ---> d813ef7b8612 06:59:44 Step 6/10 : RUN apk add --update --no-cache make git 06:59:45 2f39f015ded8: Pull complete 06:59:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:59:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:59:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:59:45 ---> Running in 921e5dde4d8c [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:59:45 prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container 06:59:45 $ 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 06:59:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:59:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:59:47 OK: 266 MiB in 52 packages 06:59:48 Removing intermediate container 921e5dde4d8c 06:59:48 ---> 647b54c9ff35 06:59:48 Step 7/10 : COPY go.mod vendor* ./ 06:59:48 ---> 7f8e23a2a670 06:59:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:59:48 ---> Running in 2b6f44327edc 06:59:49 $ docker top aa1f1332635de30691c1a1bde308c9f6aca495ce4e76e9c1d2a79bf9d5dcb2b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:59:49 ---> job-cost.sh 06:59:49 lf-activate-venv: SKIPPING 06:59:49 INFO: No Stack... 06:59:49 INFO: Retrieving Pricing Info for: v3-standard-8 06:59:49 INFO: Archiving Costs [Pipeline] sh 06:59:50 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 06:59:50 + cut -d, -f6 [Pipeline] lock 06:59:50 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-260-stack-cost] 06:59:50 Resource [jenkins-edgexfoundry-device-sdk-go-main-260-stack-cost] did not exist. Created. 06:59:50 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-260-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:59:50 + echo total: 0.2199999988079071 [Pipeline] stash 06:59:50 Stashed 1 file(s) [Pipeline] } 06:59:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-260-stack-cost] [Pipeline] // lock [Pipeline] } 06:59:50 $ docker stop --time=1 aa1f1332635de30691c1a1bde308c9f6aca495ce4e76e9c1d2a79bf9d5dcb2b8 06:59:51 $ docker rm -f --volumes aa1f1332635de30691c1a1bde308c9f6aca495ce4e76e9c1d2a79bf9d5dcb2b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:00:58 Removing intermediate container 2b6f44327edc 07:00:58 ---> 510c1c5f0e8a 07:00:58 Step 9/10 : COPY . . 07:00:58 ---> f11be5cca59f 07:00:58 Step 10/10 : RUN ${MAKE} 07:00:58 ---> Running in 648c7723b409 07:00:58 noop 07:00:58 Removing intermediate container 648c7723b409 07:00:58 ---> f52aa856ff1a 07:00:58 Successfully built f52aa856ff1a 07:00:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:58 + docker inspect -f . ci-base-image-arm64 07:00:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:00:59 prd-ubuntu20.04-docker-arm64-4c-16g-8017 does not seem to be running inside a container 07:00:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/260 -v /w/workspace/device-sdk-go/260:/w/workspace/device-sdk-go/260:rw,z -v /w/workspace/device-sdk-go/260@tmp:/w/workspace/device-sdk-go/260@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:01:00 $ docker top 9905ae3472e0dd19c18a130fea57820ea73e5df47de76c06beab62b0d03e6b0a -eo pid,comm [Pipeline] { [Pipeline] sh 07:01:01 + go version 07:01:01 go version go1.21.0 linux/arm64 [Pipeline] } 07:01:01 $ docker stop --time=1 9905ae3472e0dd19c18a130fea57820ea73e5df47de76c06beab62b0d03e6b0a 07:01:02 $ docker rm -f --volumes 9905ae3472e0dd19c18a130fea57820ea73e5df47de76c06beab62b0d03e6b0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:03 + docker inspect -f . ci-base-image-arm64 07:01:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:03 prd-ubuntu20.04-docker-arm64-4c-16g-8017 does not seem to be running inside a container 07:01:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/260 -v /w/workspace/device-sdk-go/260:/w/workspace/device-sdk-go/260:rw,z -v /w/workspace/device-sdk-go/260@tmp:/w/workspace/device-sdk-go/260@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:01:04 $ docker top 6e5129764fbdfb6656cf0b54ee6333ad9533913c0c73fec046a55c1ee1f97e79 -eo pid,comm [Pipeline] { [Pipeline] sh 07:01:05 + git config --global --add safe.directory /w/workspace/device-sdk-go/260 [Pipeline] fileExists [Pipeline] sh 07:01:05 + make test 07:01:05 go test -race -coverprofile=coverage.out ./... 07:01:38 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:03:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:03:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:03:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:03:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:03:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:03:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.225s coverage: 27.6% of statements 07:03:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.235s coverage: 80.2% of statements 07:03:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:03:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:03:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.351s coverage: 86.0% of statements 07:03:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:03:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.636s coverage: 71.8% of statements 07:03:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:03:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:03:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.268s coverage: 14.4% of statements 07:03:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.871s coverage: 45.9% of statements 07:03:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.427s coverage: 68.5% of statements 07:03:42 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.417s coverage: 89.2% of statements 07:03:43 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:03:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.218s coverage: 5.5% of statements 07:03:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:03:45 GO111MODULE=on go vet ./... 07:05:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:05:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:05:36 ./bin/test-attribution-txt.sh [Pipeline] echo 07:05:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:05:36 $ docker stop --time=1 6e5129764fbdfb6656cf0b54ee6333ad9533913c0c73fec046a55c1ee1f97e79 07:05:38 $ docker rm -f --volumes 6e5129764fbdfb6656cf0b54ee6333ad9533913c0c73fec046a55c1ee1f97e79 [Pipeline] // withDockerContainer [Pipeline] sh 07:05:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:05:40 Warning: overwriting stash ‘coverage-report’ 07:05:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:05:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:05:41 + ls -al . 07:05:41 total 300 07:05:41 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 07:01 . 07:05:41 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 06:58 .. 07:05:41 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 06:58 .dockerignore 07:05:41 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 06:58 .git 07:05:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 06:58 .github 07:05:41 -rw-rw-r-- 1 jenkins jenkins 137 Sep 27 06:58 .gitignore 07:05:41 -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 06:58 .golangci.yml 07:05:41 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 27 06:58 CHANGELOG.md 07:05:41 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 06:58 GOVERNANCE.md 07:05:41 -rw-rw-r-- 1 jenkins jenkins 885 Sep 27 06:58 Jenkinsfile 07:05:41 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 06:58 LICENSE 07:05:41 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 27 06:58 Makefile 07:05:41 -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 06:58 OWNERS.md 07:05:41 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 27 06:58 README.md 07:05:41 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 06:57 VERSION 07:05:41 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 06:58 bin 07:05:41 -rw-r--r-- 1 jenkins jenkins 121387 Sep 27 07:03 coverage.out 07:05:41 drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 06:58 example 07:05:41 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 27 06:58 go.mod 07:05:41 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 27 06:58 go.sum 07:05:41 drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 06:58 internal 07:05:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 06:58 openapi 07:05:41 drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 06:58 pkg 07:05:41 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 06:58 snap 07:05:41 -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 06:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:05:41 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b107614ee9e0a121be0cc16184ca73267025663e --label arch=arm64 --label version=3.1.0-dev.31 . 07:05:41 Sending build context to Docker daemon 6.095MB 07:05:41 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 07:05:41 Step 2/23 : FROM ${BASE} AS builder 07:05:41 ---> f52aa856ff1a 07:05:41 Step 3/23 : ARG MAKE=make build 07:05:42 ---> Running in 3fca239f4991 07:05:42 Removing intermediate container 3fca239f4991 07:05:42 ---> 4854337cbcae 07:05:42 Step 4/23 : WORKDIR /device-sdk-go 07:05:42 ---> Running in da73c569de5a 07:05:42 Removing intermediate container da73c569de5a 07:05:42 ---> 4882acadde8f 07:05:42 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:05:43 ---> Running in e16c0fd11306 07:05:43 Removing intermediate container e16c0fd11306 07:05:43 ---> 4af968759579 07:05:43 Step 6/23 : RUN apk add --update --no-cache make git 07:05:43 ---> Running in 7fae6e669d01 07:05:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:05:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:05:45 OK: 266 MiB in 52 packages 07:05:46 Removing intermediate container 7fae6e669d01 07:05:46 ---> d08c4cbcda1f 07:05:46 Step 7/23 : COPY go.mod vendor* ./ 07:05:47 ---> f352937a3fa5 07:05:47 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:05:47 ---> Running in 821e1d064a28 07:05:49 Removing intermediate container 821e1d064a28 07:05:49 ---> b587c6a3a877 07:05:49 Step 9/23 : COPY . . 07:05:50 ---> fc3466714f98 07:05:50 Step 10/23 : RUN ${MAKE} 07:05:50 ---> Running in 246ff5f3e239 07:05:51 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.31 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.31" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:07:31 Removing intermediate container 246ff5f3e239 07:07:31 ---> 852a9118f975 07:07:31 Step 11/23 : FROM alpine:3.18 07:07:31 3.18: Pulling from library/alpine 07:07:31 9fda8d8052c6: Already exists 07:07:31 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 07:07:31 Status: Downloaded newer image for alpine:3.18 07:07:31 ---> f6648c04cd6c 07:07:31 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:07:31 ---> Running in f41e3b66d854 07:07:32 Removing intermediate container f41e3b66d854 07:07:32 ---> aa43cd3eba0a 07:07:32 Step 13/23 : RUN apk add --update --no-cache 07:07:32 ---> Running in 475c97f3b36a 07:07:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:07:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:07:34 OK: 8 MiB in 15 packages 07:07:35 Removing intermediate container 475c97f3b36a 07:07:35 ---> 91a668e170e3 07:07:35 Step 14/23 : WORKDIR / 07:07:35 ---> Running in 6e8056d3b768 07:07:35 Removing intermediate container 6e8056d3b768 07:07:35 ---> ba9406b75104 07:07:35 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:07:36 ---> 19b0efb04ea5 07:07:36 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:07:37 ---> ad2506f147d7 07:07:37 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:07:37 ---> 69a59a802bab 07:07:37 Step 18/23 : EXPOSE 59999 07:07:37 ---> Running in 67404cafc36f 07:07:38 Removing intermediate container 67404cafc36f 07:07:38 ---> 72352c23ff46 07:07:38 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:07:38 ---> Running in 47a715a02254 07:07:38 Removing intermediate container 47a715a02254 07:07:38 ---> 37d72ac8c368 07:07:38 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:07:38 ---> Running in acb6f109f99e 07:07:39 Removing intermediate container acb6f109f99e 07:07:39 ---> 97d26f4a796e 07:07:39 Step 21/23 : LABEL arch=arm64 07:07:39 ---> Running in bfdeac453bb8 07:07:39 Removing intermediate container bfdeac453bb8 07:07:39 ---> 4962044a317c 07:07:39 Step 22/23 : LABEL git_sha=b107614ee9e0a121be0cc16184ca73267025663e 07:07:39 ---> Running in d2bf534a903c 07:07:39 Removing intermediate container d2bf534a903c 07:07:39 ---> cb02929e55f3 07:07:39 Step 23/23 : LABEL version=3.1.0-dev.31 07:07:39 ---> Running in 1e22ee08a614 07:07:39 Removing intermediate container 1e22ee08a614 07:07:39 ---> d39fecb0ed22 07:07:39 [Warning] One or more build-args [ARCH] were not consumed 07:07:40 Successfully built d39fecb0ed22 07:07:40 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 07:07:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:07:40 07:07:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:07:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:07:41 arm64: Pulling from edgex-lftools-log-publisher 07:07:41 8998bd30e6a1: Pulling fs layer 07:07:41 04944245beec: Pulling fs layer 07:07:41 699f458cf7ca: Pulling fs layer 07:07:41 765212b225bb: Pulling fs layer 07:07:41 f23df028b6ca: Pulling fs layer 07:07:41 d65c8cfc05b1: Pulling fs layer 07:07:41 2437ff75d9bd: Pulling fs layer 07:07:41 765212b225bb: Waiting 07:07:41 f23df028b6ca: Waiting 07:07:41 d65c8cfc05b1: Waiting 07:07:41 2437ff75d9bd: Waiting 07:07:41 04944245beec: Verifying Checksum 07:07:41 04944245beec: Download complete 07:07:41 765212b225bb: Verifying Checksum 07:07:41 765212b225bb: Download complete 07:07:41 f23df028b6ca: Verifying Checksum 07:07:41 f23df028b6ca: Download complete 07:07:41 d65c8cfc05b1: Verifying Checksum 07:07:41 d65c8cfc05b1: Download complete 07:07:41 699f458cf7ca: Verifying Checksum 07:07:41 699f458cf7ca: Download complete 07:07:41 8998bd30e6a1: Verifying Checksum 07:07:41 8998bd30e6a1: Download complete 07:07:44 2437ff75d9bd: Verifying Checksum 07:07:44 2437ff75d9bd: Download complete 07:07:47 8998bd30e6a1: Pull complete 07:07:48 04944245beec: Pull complete 07:07:49 699f458cf7ca: Pull complete 07:07:49 765212b225bb: Pull complete 07:07:50 f23df028b6ca: Pull complete 07:07:50 d65c8cfc05b1: Pull complete 07:08:05 2437ff75d9bd: Pull complete 07:08:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:08:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:08:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:05 prd-ubuntu20.04-docker-arm64-4c-16g-8017 does not seem to be running inside a container 07:08:06 $ 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/260 -v /w/workspace/device-sdk-go/260:/w/workspace/device-sdk-go/260:rw,z -v /w/workspace/device-sdk-go/260@tmp:/w/workspace/device-sdk-go/260@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:08:08 $ docker top 9ad31eece1338df9f2de2143f9d9d66c8680408bc875b71067b130e6777563e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:08:08 ---> job-cost.sh 07:08:09 lf-activate-venv: SKIPPING 07:08:09 INFO: No Stack... 07:08:09 INFO: Retrieving Pricing Info for: v3-standard-4 07:08:10 INFO: Archiving Costs [Pipeline] sh 07:08:10 + cat /w/workspace/device-sdk-go/260/archives/cost.csv 07:08:10 + cut -d, -f6 [Pipeline] lock 07:08:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-260-stack-cost] 07:08:11 Resource [jenkins-edgexfoundry-device-sdk-go-main-260-stack-cost] did not exist. Created. 07:08:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-260-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:08:11 /w/workspace/device-sdk-go/260@tmp/durable-fd6273da/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:08:11 + echo total: 0.10999999940395355 [Pipeline] stash 07:08:11 Warning: overwriting stash ‘stack-cost’ 07:08:11 Stashed 1 file(s) [Pipeline] } 07:08:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-260-stack-cost] [Pipeline] // lock [Pipeline] } 07:08:11 $ docker stop --time=1 9ad31eece1338df9f2de2143f9d9d66c8680408bc875b71067b130e6777563e9 07:08:16 $ docker rm -f --volumes 9ad31eece1338df9f2de2143f9d9d66c8680408bc875b71067b130e6777563e9 [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 07:08:16 provisioning config files... 07:08:16 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17602365512027051151tmp [Pipeline] { [Pipeline] sh 07:08:17 + set +x 07:08:17 + curl -s https://codecov.io/bash 07:08:17 + bash -s -- 07:08:17 07:08:17 _____ _ 07:08:17 / ____| | | 07:08:17 | | ___ __| | ___ ___ _____ __ 07:08:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:08:17 | |___| (_) | (_| | __/ (_| (_) \ V / 07:08:17 \_____\___/ \__,_|\___|\___\___/ \_/ 07:08:17 Bash-1.0.6 07:08:17 07:08:17 07:08:17 ==> git version 2.25.1 found 07:08:17 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:08:17 Release-Date: 2020-01-08 07:08:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:08:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:08:17 ==> Jenkins CI detected. 07:08:17 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 07:08:17 project root: . 07:08:17 --> token set from env 07:08:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:08:17 ==> Running gcov in . (disable via -X gcov) 07:08:17 ==> Python coveragepy not found 07:08:17 ==> Searching for coverage reports in: 07:08:17 + . 07:08:17 -> Found 1 reports 07:08:17 ==> Detecting git/mercurial file structure 07:08:17 ==> Reading reports 07:08:17 + ./coverage.out bytes=121387 07:08:17 ==> Appending adjustments 07:08:17 https://docs.codecov.io/docs/fixing-reports 07:08:17 + Found adjustments 07:08:17 ==> Gzipping contents 07:08:17 20K /tmp/codecov.oFomfA.gz 07:08:17 ==> Uploading reports 07:08:17 url: https://codecov.io 07:08:17 query: branch=main&commit=b107614ee9e0a121be0cc16184ca73267025663e&build=260&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F260%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:08:17 -> Pinging Codecov 07:08:17 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=b107614ee9e0a121be0cc16184ca73267025663e&build=260&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F260%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:08:17 -> Uploading to 07:08:17 https://storage.googleapis.com/codecov/v4/raw/2023-09-27/7E55EF52A471D76F132DFD9A03CDDE97/b107614ee9e0a121be0cc16184ca73267025663e/42e14c41-bb5f-433f-bd4b-d06b34a32d23.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230927T070817Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e57e485967b02b3fcd6dec8541582c26d0f820525d46bfb180ace81e0906d06c 07:08:17 % Total % Received % Xferd Average Speed Time Time Time Current 07:08:17 Dload Upload Total Spent Left Speed 07:08:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16533 0 0 100 16533 0 62388 --:--:-- --:--:-- --:--:-- 62388 07:08:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b107614ee9e0a121be0cc16184ca73267025663e [Pipeline] } 07:08:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:08:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:08:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:08:18 07:08:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:08:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:08:18 df9b9388f04a: Pulling fs layer 07:08:18 52dc419b0ee2: Pulling fs layer 07:08:18 25bc292e5bac: Pulling fs layer 07:08:18 114826534d7a: Pulling fs layer 07:08:18 4657fd5d0bcf: Pulling fs layer 07:08:18 6ad1cebc031e: Pulling fs layer 07:08:18 8a3aa393b2d8: Pulling fs layer 07:08:18 114826534d7a: Waiting 07:08:18 6ad1cebc031e: Waiting 07:08:18 4657fd5d0bcf: Waiting 07:08:18 8a3aa393b2d8: Waiting 07:08:18 25bc292e5bac: Verifying Checksum 07:08:18 25bc292e5bac: Download complete 07:08:18 52dc419b0ee2: Verifying Checksum 07:08:18 52dc419b0ee2: Download complete 07:08:18 4657fd5d0bcf: Verifying Checksum 07:08:18 4657fd5d0bcf: Download complete 07:08:18 df9b9388f04a: Verifying Checksum 07:08:18 df9b9388f04a: Download complete 07:08:18 6ad1cebc031e: Verifying Checksum 07:08:18 6ad1cebc031e: Download complete 07:08:19 df9b9388f04a: Pull complete 07:08:19 52dc419b0ee2: Pull complete 07:08:19 25bc292e5bac: Pull complete 07:08:19 114826534d7a: Verifying Checksum 07:08:19 114826534d7a: Download complete 07:08:19 8a3aa393b2d8: Verifying Checksum 07:08:19 8a3aa393b2d8: Download complete 07:08:23 114826534d7a: Pull complete 07:08:23 4657fd5d0bcf: Pull complete 07:08:23 6ad1cebc031e: Pull complete 07:08:26 8a3aa393b2d8: Pull complete 07:08:26 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:08:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:08:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:26 prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container 07:08:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:08:31 $ docker top bb9225a9d73a5b2a044799a1022a68db50e3650028ec864dae2213ecc5dd41cf -eo pid,comm [Pipeline] { [Pipeline] echo 07:08:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 07:08:31 + set -o pipefail 07:08:31 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 07:08:36 07:08:36 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 07:08:36 07:08:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/68d37cfd-6833-4c18-aae8-15c8dfbddfc2 07:08:36 07:08:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:08:36 07:08:37 07:08:37 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:08:37 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:08:37 More details here: https://snyk.co/ue1NS [Pipeline] } 07:08:37 $ docker stop --time=1 bb9225a9d73a5b2a044799a1022a68db50e3650028ec864dae2213ecc5dd41cf 07:08:40 $ docker rm -f --volumes bb9225a9d73a5b2a044799a1022a68db50e3650028ec864dae2213ecc5dd41cf [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 07:08:41 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:08:41 provisioning config files... 07:08:41 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17829825292863985629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:08:41 --> edgex-publish-swagger.sh 07:08:41 === Publish openapi/v3 API === 07:08:41 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 07:08:41 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 07:08:41 % Total % Received % Xferd Average Speed Time Time Time Current 07:08:41 Dload Upload Total Spent Left Speed 07:08:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 49014 --:--:-- --:--:-- --:--:-- 49014 07:08:41 07:08:41 [Pipeline] } 07:08:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:08:42 + git log --format=format:%s -1 b107614ee9e0a121be0cc16184ca73267025663e [Pipeline] sh 07:08:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:08:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:08:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:42 prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container 07:08:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:08:43 $ docker top 50d3c8225374e71921806ad5f7c74b1a51add83cfe00fab7989e4b0f58aeb2d2 -eo pid,comm 07:08:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:08:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:08:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:08:43 [ssh-agent] Looking for ssh-agent implementation... 07:08:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:43 $ docker exec 50d3c8225374e71921806ad5f7c74b1a51add83cfe00fab7989e4b0f58aeb2d2 ssh-agent 07:08:43 SSH_AUTH_SOCK=/tmp/ssh-qN7Km0tE1zaX/agent.32 07:08:43 SSH_AGENT_PID=38 07:08:43 Running ssh-add (command line suppressed) 07:08:43 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_478608762737453276.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_478608762737453276.key) 07:08:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:08:44 + git semver tag 07:08:44 2023-09-27 07:08:44,271 [run_tag] DEBUG tag force:False 07:08:44 2023-09-27 07:08:44,271 [check_head_tag] DEBUG check head tag 07:08:44 2023-09-27 07:08:44,272 [execute] INFO git cat-file --batch-check 07:08:44 2023-09-27 07:08:44,272 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:08:44 2023-09-27 07:08:44,276 [execute] INFO git cat-file --batch 07:08:44 2023-09-27 07:08:44,276 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:08:44 2023-09-27 07:08:44,294 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:08:44 2023-09-27 07:08:44,294 [execute] INFO git tag -a v3.1.0-dev.31 -m v3.1.0-dev.31 07:08:44 2023-09-27 07:08:44,294 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.31', '-m', 'v3.1.0-dev.31'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 07:08:44 2023-09-27 07:08:44,298 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:08:44 3.1.0-dev.31 [Pipeline] } 07:08:44 $ docker exec --env ******** --env ******** 50d3c8225374e71921806ad5f7c74b1a51add83cfe00fab7989e4b0f58aeb2d2 ssh-agent -k 07:08:44 unset SSH_AUTH_SOCK; 07:08:44 unset SSH_AGENT_PID; 07:08:44 echo Agent pid 38 killed; 07:08:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:08:44 + git semver [Pipeline] } 07:08:45 $ docker stop --time=1 50d3c8225374e71921806ad5f7c74b1a51add83cfe00fab7989e4b0f58aeb2d2 07:08:46 $ docker rm -f --volumes 50d3c8225374e71921806ad5f7c74b1a51add83cfe00fab7989e4b0f58aeb2d2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:08:46 07:08:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:08:47 0.23.1-centos7: Pulling from edgex-lftools 07:08:47 ab5ef0e58194: Pulling fs layer 07:08:47 9712f1f96733: Pulling fs layer 07:08:47 63f879dbbcfc: Pulling fs layer 07:08:47 0d9ebad4ef96: Pulling fs layer 07:08:47 e9a5061849ea: Pulling fs layer 07:08:47 d747dcd14b5f: Pulling fs layer 07:08:47 2de7ff778b66: Pulling fs layer 07:08:47 e9a5061849ea: Waiting 07:08:47 d747dcd14b5f: Waiting 07:08:47 0d9ebad4ef96: Waiting 07:08:47 9712f1f96733: Verifying Checksum 07:08:47 9712f1f96733: Download complete 07:08:47 63f879dbbcfc: Verifying Checksum 07:08:47 63f879dbbcfc: Download complete 07:08:47 0d9ebad4ef96: Verifying Checksum 07:08:47 0d9ebad4ef96: Download complete 07:08:47 ab5ef0e58194: Verifying Checksum 07:08:47 ab5ef0e58194: Download complete 07:08:47 d747dcd14b5f: Verifying Checksum 07:08:47 d747dcd14b5f: Download complete 07:08:47 e9a5061849ea: Verifying Checksum 07:08:47 e9a5061849ea: Download complete 07:08:47 2de7ff778b66: Verifying Checksum 07:08:47 2de7ff778b66: Download complete 07:08:50 ab5ef0e58194: Pull complete 07:08:50 9712f1f96733: Pull complete 07:08:50 63f879dbbcfc: Pull complete 07:08:55 0d9ebad4ef96: Pull complete 07:08:55 e9a5061849ea: Pull complete 07:08:55 d747dcd14b5f: Pull complete 07:08:55 2de7ff778b66: Pull complete 07:08:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:08:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:08:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:55 prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container 07:08:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:09:00 $ docker top bd9dab94c5e33703b5f8cbab412b485ee2428d7cb6c8787969aa16d3f81081a0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:09:00 provisioning config files... 07:09:00 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3696146652864242264tmp 07:09:00 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7745326894264556380tmp 07:09:00 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6060531291602767404tmp [Pipeline] { [Pipeline] echo 07:09:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:09:00 ---> sigul-configuration.sh 07:09:00 gpg: directory `/root/.gnupg' created 07:09:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:09:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:09:00 gpg: keyring `/root/.gnupg/secring.gpg' created 07:09:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:09:00 gpg: CAST5 encrypted data 07:09:00 gpg: encrypted with 1 passphrase 07:09:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:09:01 + mkdir /home/jenkins 07:09:01 + mkdir /home/jenkins/sigul [Pipeline] sh 07:09:01 + 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 07:09:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:09:01 ---> sigul-install.sh 07:09:01 Sigul already installed; skipping installation. [Pipeline] sh 07:09:02 + git tag --list 07:09:02 0.7.1 07:09:02 delhi-tag 07:09:02 v1.0.0 07:09:02 v1.1.0 07:09:02 v1.1.1 07:09:02 v1.1.2 07:09:02 v1.2.0 07:09:02 v1.2.1 07:09:02 v1.2.2 07:09:02 v1.2.3 07:09:02 v1.3.0 07:09:02 v1.4.0 07:09:02 v2.0.0 07:09:02 v2.1.0 07:09:02 v2.1.1 07:09:02 v2.2.0 07:09:02 v2.3.0 07:09:02 v2.3.1 07:09:02 v3.0 07:09:02 v3.0.0 07:09:02 v3.0.1-dev.1 07:09:02 v3.1.0-dev.1 07:09:02 v3.1.0-dev.10 07:09:02 v3.1.0-dev.11 07:09:02 v3.1.0-dev.12 07:09:02 v3.1.0-dev.13 07:09:02 v3.1.0-dev.14 07:09:02 v3.1.0-dev.15 07:09:02 v3.1.0-dev.16 07:09:02 v3.1.0-dev.17 07:09:02 v3.1.0-dev.18 07:09:02 v3.1.0-dev.19 07:09:02 v3.1.0-dev.2 07:09:02 v3.1.0-dev.20 07:09:02 v3.1.0-dev.21 07:09:02 v3.1.0-dev.22 07:09:02 v3.1.0-dev.23 07:09:02 v3.1.0-dev.24 07:09:02 v3.1.0-dev.25 07:09:02 v3.1.0-dev.26 07:09:02 v3.1.0-dev.27 07:09:02 v3.1.0-dev.28 07:09:02 v3.1.0-dev.29 07:09:02 v3.1.0-dev.3 07:09:02 v3.1.0-dev.30 07:09:02 v3.1.0-dev.31 07:09:02 v3.1.0-dev.4 07:09:02 v3.1.0-dev.5 07:09:02 v3.1.0-dev.6 07:09:02 v3.1.0-dev.7 07:09:02 v3.1.0-dev.8 07:09:02 v3.1.0-dev.9 [Pipeline] sh 07:09:02 + lftools sign git-tag v3.1.0-dev.31 07:09:02 Signing Git tag with Sigul... 07:09:02 Signing v3.1.0-dev.31 [Pipeline] echo 07:09:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:09:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:09:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:09:03 $ docker stop --time=1 bd9dab94c5e33703b5f8cbab412b485ee2428d7cb6c8787969aa16d3f81081a0 07:09:05 $ docker rm -f --volumes bd9dab94c5e33703b5f8cbab412b485ee2428d7cb6c8787969aa16d3f81081a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:09:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:09:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:09:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:07 prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container 07:09:07 $ 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 07:09:07 $ docker top c8b865897ce785ffe235739a2f1566e32ef151c56e1d804bada9550dca818f45 -eo pid,comm 07:09:07 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). 07:09:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:09:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:09:07 [ssh-agent] Looking for ssh-agent implementation... 07:09:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:09:07 $ docker exec c8b865897ce785ffe235739a2f1566e32ef151c56e1d804bada9550dca818f45 ssh-agent 07:09:07 SSH_AUTH_SOCK=/tmp/ssh-TJMxhSa4BS7X/agent.32 07:09:07 SSH_AGENT_PID=38 07:09:07 Running ssh-add (command line suppressed) 07:09:07 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8427617575527369724.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8427617575527369724.key) 07:09:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:09:08 + git semver bump pre 07:09:08 2023-09-27 07:09:08,430 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:09:08 2023-09-27 07:09:08,430 [bump_version] DEBUG bumping version:3.1.0-dev.31 on axis:pre with prefix:dev 07:09:08 2023-09-27 07:09:08,431 [bump_version] DEBUG bumped version:3.1.0-dev.32 07:09:08 2023-09-27 07:09:08,431 [write_version] DEBUG write version:3.1.0-dev.32 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 07:09:08 2023-09-27 07:09:08,431 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:09:08 2023-09-27 07:09:08,431 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:09:08 2023-09-27 07:09:08,433 [execute] INFO git cat-file --batch-check 07:09:08 2023-09-27 07:09:08,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:09:08 2023-09-27 07:09:08,438 [execute] INFO git cat-file --batch 07:09:08 2023-09-27 07:09:08,438 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:09:08 2023-09-27 07:09:08,442 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:09:08 3.1.0-dev.32 [Pipeline] } 07:09:08 $ docker exec --env ******** --env ******** c8b865897ce785ffe235739a2f1566e32ef151c56e1d804bada9550dca818f45 ssh-agent -k 07:09:08 unset SSH_AUTH_SOCK; 07:09:08 unset SSH_AGENT_PID; 07:09:08 echo Agent pid 38 killed; 07:09:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:09:08 + git semver [Pipeline] } 07:09:09 $ docker stop --time=1 c8b865897ce785ffe235739a2f1566e32ef151c56e1d804bada9550dca818f45 07:09:10 $ docker rm -f --volumes c8b865897ce785ffe235739a2f1566e32ef151c56e1d804bada9550dca818f45 [Pipeline] // withDockerContainer [Pipeline] sh 07:09:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:09:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:09:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:11 prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container 07:09:11 $ 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 07:09:11 $ docker top 43db54c016fca1e2aab33888b88baba62292d37fda66e4d63ba631c0e5455384 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:09:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:09:11 [ssh-agent] Looking for ssh-agent implementation... 07:09:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:09:12 $ docker exec 43db54c016fca1e2aab33888b88baba62292d37fda66e4d63ba631c0e5455384 ssh-agent 07:09:12 SSH_AUTH_SOCK=/tmp/ssh-VIekarKp2cnr/agent.31 07:09:12 SSH_AGENT_PID=37 07:09:12 Running ssh-add (command line suppressed) 07:09:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17801141054764769069.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17801141054764769069.key) 07:09:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:09:12 + git semver push 07:09:12 2023-09-27 07:09:12,780 [run_push] DEBUG push 07:09:12 2023-09-27 07:09:12,781 [execute] INFO git cat-file --batch-check 07:09:12 2023-09-27 07:09:12,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:09:12 2023-09-27 07:09:12,785 [execute] INFO git rev-list 9bdfa151dbbc2890361fe270bc141d39bc928e83 -- 07:09:12 2023-09-27 07:09:12,786 [execute] DEBUG Popen(['git', 'rev-list', '9bdfa151dbbc2890361fe270bc141d39bc928e83', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:09:12 2023-09-27 07:09:12,799 [execute] INFO git fetch -v origin 07:09:12 2023-09-27 07:09:12,799 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:09:13 2023-09-27 07:09:13,339 [run_push] DEBUG no remote changes detected 07:09:13 2023-09-27 07:09:13,340 [execute] INFO git push origin semver 07:09:13 2023-09-27 07:09:13,340 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:09:14 2023-09-27 07:09:14,360 [run_push] DEBUG push all version tags 07:09:14 2023-09-27 07:09:14,360 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:09:14 2023-09-27 07:09:14,361 [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) 07:09:15 2023-09-27 07:09:15,156 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:09:15 3.1.0-dev.32 [Pipeline] } 07:09:15 $ docker exec --env ******** --env ******** 43db54c016fca1e2aab33888b88baba62292d37fda66e4d63ba631c0e5455384 ssh-agent -k 07:09:15 unset SSH_AUTH_SOCK; 07:09:15 unset SSH_AGENT_PID; 07:09:15 echo Agent pid 37 killed; 07:09:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:09:15 + git semver [Pipeline] } 07:09:15 $ docker stop --time=1 43db54c016fca1e2aab33888b88baba62292d37fda66e4d63ba631c0e5455384 07:09:17 $ docker rm -f --volumes 43db54c016fca1e2aab33888b88baba62292d37fda66e4d63ba631c0e5455384 [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 07:09:17 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 07:09:17 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:09:17 total 16 07:09:17 drwxr-xr-x 3 root root 4096 Sep 27 06:59 . 07:09:17 drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 07:09 .. 07:09:17 drwxr-xr-x 2 root root 4096 Sep 27 06:59 cost 07:09:17 -rw-r--r-- 1 root root 85 Sep 27 06:59 cost.csv 07:09:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:09:17 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:09:17 total 16 07:09:17 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 06:59 . 07:09:17 drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 07:09 .. 07:09:17 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 06:59 cost 07:09:17 -rw-r--r-- 1 jenkins jenkins 85 Sep 27 06:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:09:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:09:19 ---> package-listing.sh 07:09:19 ++ facter osfamily 07:09:19 ++ tr '[:upper:]' '[:lower:]' 07:09:19 + OS_FAMILY=debian 07:09:19 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 07:09:19 + START_PACKAGES=/tmp/packages_start.txt 07:09:19 + END_PACKAGES=/tmp/packages_end.txt 07:09:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:09:19 + PACKAGES=/tmp/packages_start.txt 07:09:19 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:09:19 + PACKAGES=/tmp/packages_end.txt 07:09:19 + case "${OS_FAMILY}" in 07:09:19 + dpkg -l 07:09:19 + grep '^ii' 07:09:19 + '[' -f /tmp/packages_start.txt ']' 07:09:19 + '[' -f /tmp/packages_end.txt ']' 07:09:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:09:19 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:09:19 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 07:09:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 07:09:19 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 07:09:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:09:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:20 prd-ubuntu20.04-docker-8c-8g-8016 does not seem to be running inside a container 07:09:20 $ 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 07:09:20 $ docker top 2420df59b2d6f54fb0a6c2ed5e9bc62571745267c9daebdd2cfb52d6a0da64d0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:20 + touch /tmp/pre-build-complete [Pipeline] sh 07:09:21 + mkdir -p /var/log/sysstat [Pipeline] sh 07:09:21 + ls /var/log/sa-host 07:09:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:09:21 provisioning config files... 07:09:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7971350598495784395tmp [Pipeline] { [Pipeline] echo 07:09:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:09:21 ---> create-netrc.sh [Pipeline] } 07:09:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:09:22 ---> python-tools-install.sh [Pipeline] echo 07:09:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:09:22 ---> sudo-logs.sh 07:09:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:09:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:09:22 ---> job-cost.sh 07:09:22 lf-activate-venv: SKIPPING 07:09:22 DEBUG: total: 0.2199999988079071 07:09:22 INFO: Retrieving Stack Cost... 07:09:23 INFO: Retrieving Pricing Info for: v3-standard-8 07:09:23 INFO: Archiving Costs [Pipeline] echo 07:09:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:09:24 ---> logs-deploy.sh 07:09:24 lf-activate-venv: SKIPPING 07:09:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/260 07:09:24 INFO: archiving workspace using pattern(s): 07:09:25 Archives upload complete. 07:09:25 INFO: archiving logs to Nexus