Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d 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-ssh4173216107194515154.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh14448803644020234586.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh5481988681801674560.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh8603745609301850196.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-ssh8047202370614642326.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-225 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 > 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 Avoid second fetch Checking out Revision a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d (main) Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 (#1383)" > git config core.sparsecheckout # timeout=10 > git checkout -f a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d # timeout=10 > git rev-list --no-walk 76ea4d1458b486cd84374d1f970a86ad0e64425c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:50:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:50:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:50:49 ========================================================= 18:50:49 EdgeX Global Pipelines Version Info 18:50:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:50:50 ------------------- 18:50:50 stable info: 18:50:50 ------------------- 18:50:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:50:50 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:50:50 Message: update stable to v1.0.245 18:50:50 ------------------- 18:50:50 experimental info: 18:50:50 ------------------- 18:50:50 Commited By: **** collab-it+edgex@linuxfoundation.org 18:50:50 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:50:50 Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:50:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:50:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:50:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:50:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a467ed6 [Pipeline] echo 18:50:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:50:51 provisioning config files... 18:50:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5652815012255683240tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:50:51 ---> docker-login.sh 18:50:51 nexus3.edgexfoundry.org:10001 18:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:51 Configure a credential helper to remove this warning. See 18:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:51 18:50:51 Login Succeeded 18:50:51 nexus3.edgexfoundry.org:10002 18:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:51 Configure a credential helper to remove this warning. See 18:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:51 18:50:51 Login Succeeded 18:50:51 nexus3.edgexfoundry.org:10003 18:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:52 Configure a credential helper to remove this warning. See 18:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:52 18:50:52 Login Succeeded 18:50:52 nexus3.edgexfoundry.org:10004 18:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:52 Configure a credential helper to remove this warning. See 18:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:52 18:50:52 Login Succeeded 18:50:52 docker.io 18:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:52 Configure a credential helper to remove this warning. See 18:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:52 18:50:52 Login Succeeded 18:50:52 ---> docker-login.sh ends [Pipeline] } 18:50:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:50:52 + git rev-list -1 --merges a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d~1..a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d [Pipeline] echo 18:50:52 -----------> git rev-list -1 --merges a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d~1..a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d [false] [Pipeline] sh 18:50:53 + git log --format=format:%s -1 a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d [Pipeline] echo 18:50:53 ========================================================= 18:50:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:50:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:50:53 + git log --format=format:%s -1 a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d [Pipeline] echo 18:50:53 [semverPrep] GIT_COMMIT: a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 (#1383) [Pipeline] echo 18:50:53 [semverPrep] This is not a build commit. [Pipeline] sh 18:50:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:50:53 + grep -v github /etc/ssh/ssh_known_hosts 18:50:53 + [ -e /tmp/ssh_known_hosts ] 18:50:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:50:53 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:50:53 sudo tee -a /etc/ssh/ssh_known_hosts 18:50:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:50:54 18:50:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:50:54 0.1.4: Pulling from edgex-devops/py-git-semver 18:50:54 b85a868b505f: Pulling fs layer 18:50:54 e2be974225ed: Pulling fs layer 18:50:54 339a4e72a1f5: Pulling fs layer 18:50:54 988bab9f4d93: Pulling fs layer 18:50:54 1469e6f7b9e6: Pulling fs layer 18:50:54 988bab9f4d93: Waiting 18:50:54 1469e6f7b9e6: Waiting 18:50:54 eaf3925da568: Pulling fs layer 18:50:54 bab4dde63d76: Pulling fs layer 18:50:54 bde34c3a00c8: Pulling fs layer 18:50:54 bab4dde63d76: Waiting 18:50:54 b352a97aabf1: Pulling fs layer 18:50:54 4872d77fe225: Pulling fs layer 18:50:54 eaf3925da568: Waiting 18:50:54 5851b861e8e6: Pulling fs layer 18:50:54 4872d77fe225: Waiting 18:50:54 5851b861e8e6: Waiting 18:50:54 b352a97aabf1: Waiting 18:50:54 e2be974225ed: Verifying Checksum 18:50:54 e2be974225ed: Download complete 18:50:54 988bab9f4d93: Download complete 18:50:54 1469e6f7b9e6: Verifying Checksum 18:50:54 1469e6f7b9e6: Download complete 18:50:54 eaf3925da568: Download complete 18:50:54 339a4e72a1f5: Verifying Checksum 18:50:54 339a4e72a1f5: Download complete 18:50:54 bde34c3a00c8: Verifying Checksum 18:50:54 bde34c3a00c8: Download complete 18:50:54 b352a97aabf1: Verifying Checksum 18:50:54 b352a97aabf1: Download complete 18:50:54 4872d77fe225: Download complete 18:50:54 5851b861e8e6: Verifying Checksum 18:50:54 5851b861e8e6: Download complete 18:50:55 b85a868b505f: Verifying Checksum 18:50:55 b85a868b505f: Download complete 18:50:55 bab4dde63d76: Verifying Checksum 18:50:55 bab4dde63d76: Download complete 18:50:56 b85a868b505f: Pull complete 18:50:56 e2be974225ed: Pull complete 18:50:56 339a4e72a1f5: Pull complete 18:50:56 988bab9f4d93: Pull complete 18:50:57 1469e6f7b9e6: Pull complete 18:50:57 eaf3925da568: Pull complete 18:50:59 bab4dde63d76: Pull complete 18:50:59 bde34c3a00c8: Pull complete 18:50:59 b352a97aabf1: Pull complete 18:50:59 4872d77fe225: Pull complete 18:50:59 5851b861e8e6: Pull complete 18:50:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:50:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:50:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:59 prd-ubuntu20.04-docker-8c-8g-225 does not seem to be running inside a container 18:50:59 $ 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 18:51:01 $ docker top 4268c8ee864c6c4e2f83ba2c83d33c51dcbf062a890650f45600125ccadc9f1b -eo pid,comm 18:51:01 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). 18:51:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:51:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:51:01 [ssh-agent] Looking for ssh-agent implementation... 18:51:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:51:01 $ docker exec 4268c8ee864c6c4e2f83ba2c83d33c51dcbf062a890650f45600125ccadc9f1b ssh-agent 18:51:02 SSH_AUTH_SOCK=/tmp/ssh-sQ2r7vmIffWa/agent.32 18:51:02 SSH_AGENT_PID=38 18:51:02 Running ssh-add (command line suppressed) 18:51:02 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14286485671831925631.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14286485671831925631.key) 18:51:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:51:02 + git tag --points-at HEAD [Pipeline] } 18:51:02 $ docker exec --env ******** --env ******** 4268c8ee864c6c4e2f83ba2c83d33c51dcbf062a890650f45600125ccadc9f1b ssh-agent -k 18:51:02 unset SSH_AUTH_SOCK; 18:51:02 unset SSH_AGENT_PID; 18:51:02 echo Agent pid 38 killed; 18:51:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:51:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:51:02 [ssh-agent] Looking for ssh-agent implementation... 18:51:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:51:02 $ docker exec 4268c8ee864c6c4e2f83ba2c83d33c51dcbf062a890650f45600125ccadc9f1b ssh-agent 18:51:02 SSH_AUTH_SOCK=/tmp/ssh-1YXwWij4fKQG/agent.70 18:51:02 SSH_AGENT_PID=76 18:51:02 Running ssh-add (command line suppressed) 18:51:02 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4590840474161082815.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4590840474161082815.key) 18:51:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:51:03 + git semver init 18:51:03 2023-03-14 18:51:03,359 [run_init] DEBUG init version:0.0.0 force:False 18:51:03 2023-03-14 18:51:03,359 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:51:03 2023-03-14 18:51:03,360 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:51:03 2023-03-14 18:51:03,360 [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) 18:51:04 2023-03-14 18:51:04,322 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 18:51:04 2023-03-14 18:51:04,322 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 18:51:04 2023-03-14 18:51:04,322 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:51:04 2023-03-14 18:51:04,323 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:51:04 3.0.0-dev.53 [Pipeline] } 18:51:04 $ docker exec --env ******** --env ******** 4268c8ee864c6c4e2f83ba2c83d33c51dcbf062a890650f45600125ccadc9f1b ssh-agent -k 18:51:04 unset SSH_AUTH_SOCK; 18:51:04 unset SSH_AGENT_PID; 18:51:04 echo Agent pid 76 killed; 18:51:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:51:04 + git semver [Pipeline] } 18:51:05 $ docker stop --time=1 4268c8ee864c6c4e2f83ba2c83d33c51dcbf062a890650f45600125ccadc9f1b 18:51:06 $ docker rm -f --volumes 4268c8ee864c6c4e2f83ba2c83d33c51dcbf062a890650f45600125ccadc9f1b [Pipeline] // withDockerContainer [Pipeline] sh 18:51:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:51:06 Stashed 1 file(s) [Pipeline] echo 18:51:06 [edgeXSemver]: initialized semver on version 3.0.0-dev.53 [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 18:51:07 provisioning config files... 18:51:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6179853623771871183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:07 ---> docker-login.sh 18:51:07 nexus3.edgexfoundry.org:10001 18:51:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:07 Configure a credential helper to remove this warning. See 18:51:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:07 18:51:07 Login Succeeded 18:51:07 nexus3.edgexfoundry.org:10002 18:51:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:07 Configure a credential helper to remove this warning. See 18:51:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:07 18:51:07 Login Succeeded 18:51:07 nexus3.edgexfoundry.org:10003 18:51:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:07 Configure a credential helper to remove this warning. See 18:51:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:07 18:51:07 Login Succeeded 18:51:07 nexus3.edgexfoundry.org:10004 18:51:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:07 Configure a credential helper to remove this warning. See 18:51:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:07 18:51:07 Login Succeeded 18:51:07 docker.io 18:51:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:07 Configure a credential helper to remove this warning. See 18:51:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:07 18:51:07 Login Succeeded 18:51:07 ---> docker-login.sh ends [Pipeline] } 18:51:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:51:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:51:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:51:08 ========================================================= 18:51:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:51:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:08 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:51:08 Sending build context to Docker daemon 10.78MB 18:51:08 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 18:51:08 Step 2/10 : FROM ${BASE} AS builder 18:51:08 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:51:08 63b65145d645: Pulling fs layer 18:51:08 a2d21d5440eb: Pulling fs layer 18:51:08 935e6c44a52c: Pulling fs layer 18:51:08 94cc34f8dd06: Pulling fs layer 18:51:08 30dea6a524f1: Pulling fs layer 18:51:08 a2aff8979fd8: Pulling fs layer 18:51:08 6808be2612f2: Pulling fs layer 18:51:08 f25807f1079a: Pulling fs layer 18:51:08 94cc34f8dd06: Waiting 18:51:08 30dea6a524f1: Waiting 18:51:08 a2aff8979fd8: Waiting 18:51:08 6808be2612f2: Waiting 18:51:08 a2d21d5440eb: Verifying Checksum 18:51:08 a2d21d5440eb: Download complete 18:51:08 94cc34f8dd06: Verifying Checksum 18:51:08 94cc34f8dd06: Download complete 18:51:08 30dea6a524f1: Verifying Checksum 18:51:08 30dea6a524f1: Download complete 18:51:08 63b65145d645: Verifying Checksum 18:51:08 63b65145d645: Download complete 18:51:08 a2aff8979fd8: Verifying Checksum 18:51:08 a2aff8979fd8: Download complete 18:51:08 63b65145d645: Pull complete 18:51:08 a2d21d5440eb: Pull complete 18:51:09 f25807f1079a: Verifying Checksum 18:51:09 f25807f1079a: Download complete 18:51:09 935e6c44a52c: Verifying Checksum 18:51:09 935e6c44a52c: Download complete 18:51:09 6808be2612f2: Verifying Checksum 18:51:09 6808be2612f2: Download complete 18:51:12 935e6c44a52c: Pull complete 18:51:12 94cc34f8dd06: Pull complete 18:51:12 30dea6a524f1: Pull complete 18:51:12 a2aff8979fd8: Pull complete 18:51:15 6808be2612f2: Pull complete 18:51:15 f25807f1079a: Pull complete 18:51:15 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 18:51:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:51:15 ---> 3b553350e43f 18:51:15 Step 3/10 : ARG MAKE=make build 18:51:19 ---> Running in 3b82365d5a9b 18:51:19 Removing intermediate container 3b82365d5a9b 18:51:19 ---> 0496dc1e1b72 18:51:19 Step 4/10 : WORKDIR /device-sdk-go 18:51:19 ---> Running in 117394b8bfcd 18:51:19 Removing intermediate container 117394b8bfcd 18:51:19 ---> cf0b33d75d5d 18:51:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:51:19 ---> Running in 160d00f8ea6b 18:51:19 Removing intermediate container 160d00f8ea6b 18:51:19 ---> 372d862439c5 18:51:19 Step 6/10 : RUN apk add --update --no-cache make git 18:51:19 ---> Running in ad2d41646458 18:51:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:51:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:51:19 OK: 265 MiB in 53 packages 18:51:20 Removing intermediate container ad2d41646458 18:51:20 ---> 52bea268372a 18:51:20 Step 7/10 : COPY go.mod vendor* ./ 18:51:20 ---> 75dcf0143942 18:51:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:51:20 ---> Running in 5aff9956ee69 18:51:22 Still waiting to schedule task 18:51:22 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-222’ 18:51:42 Removing intermediate container 5aff9956ee69 18:51:42 ---> 7c38d8aab63c 18:51:42 Step 9/10 : COPY . . 18:51:42 ---> d663536b6ffc 18:51:42 Step 10/10 : RUN ${MAKE} 18:51:42 ---> Running in 3ea1435cc533 18:51:42 noop 18:51:43 Removing intermediate container 3ea1435cc533 18:51:43 ---> bb7488ec7c7e 18:51:43 Successfully built bb7488ec7c7e 18:51:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:43 + docker inspect -f . ci-base-image-x86_64 18:51:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:43 prd-ubuntu20.04-docker-8c-8g-225 does not seem to be running inside a container 18:51:43 $ 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 18:51:43 $ docker top 3a3fd545b18264ccecc8a2c124f28e59268a2a5561a016bfc69dec50d58b37df -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:44 + go version 18:51:44 go version go1.20.2 linux/amd64 [Pipeline] } 18:51:44 $ docker stop --time=1 3a3fd545b18264ccecc8a2c124f28e59268a2a5561a016bfc69dec50d58b37df 18:51:45 $ docker rm -f --volumes 3a3fd545b18264ccecc8a2c124f28e59268a2a5561a016bfc69dec50d58b37df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:45 + docker inspect -f . ci-base-image-x86_64 18:51:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:45 prd-ubuntu20.04-docker-8c-8g-225 does not seem to be running inside a container 18:51:45 $ 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 18:51:46 $ docker top 24614e325e38d937f0c891fce2011f13ddbe85fbc72d4efde5e6be14cc121be7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:46 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 18:51:46 + make test 18:51:46 go test -race -coverprofile=coverage.out ./... 18:51:55 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:52:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:52:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:52:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:52:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:52:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:52:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.046s coverage: 27.6% of statements 18:52:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.056s coverage: 78.9% of statements 18:52:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:52:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:52:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.079s coverage: 86.0% of statements 18:52:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:52:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:52:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.087s coverage: 75.9% of statements 18:52:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:52:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:52:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:52:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.062s coverage: 15.2% of statements 18:52:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.077s coverage: 65.7% of statements 18:52:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.106s coverage: 89.2% of statements 18:52:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements 18:52:35 GO111MODULE=on go vet ./... 18:52:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:52:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:52:38 ./bin/test-attribution-txt.sh [Pipeline] echo 18:52:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:52:38 $ docker stop --time=1 24614e325e38d937f0c891fce2011f13ddbe85fbc72d4efde5e6be14cc121be7 18:52:41 $ docker rm -f --volumes 24614e325e38d937f0c891fce2011f13ddbe85fbc72d4efde5e6be14cc121be7 [Pipeline] // withDockerContainer [Pipeline] sh 18:52:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:52:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:52:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:52:43 + ls -al . 18:52:43 total 276 18:52:43 drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 18:51 . 18:52:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:50 .. 18:52:43 -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 18:50 .dockerignore 18:52:43 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 18:51 .git 18:52:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:50 .github 18:52:43 -rw-rw-r-- 1 jenkins jenkins 131 Mar 14 18:50 .gitignore 18:52:43 -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 18:50 .golangci.yml 18:52:43 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 18:51 .semver 18:52:43 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 14 18:50 CHANGELOG.md 18:52:43 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 18:50 GOVERNANCE.md 18:52:43 -rw-rw-r-- 1 jenkins jenkins 885 Mar 14 18:50 Jenkinsfile 18:52:43 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 14 18:50 LICENSE 18:52:43 -rw-rw-r-- 1 jenkins jenkins 1714 Mar 14 18:50 Makefile 18:52:43 -rw-rw-r-- 1 jenkins jenkins 619 Mar 14 18:50 OWNERS.md 18:52:43 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 14 18:50 README.md 18:52:43 -rw-rw-r-- 1 jenkins jenkins 12 Mar 14 18:51 VERSION 18:52:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:50 bin 18:52:43 -rw-r--r-- 1 jenkins jenkins 109536 Mar 14 18:52 coverage.out 18:52:43 drwxrwxr-x 5 jenkins jenkins 4096 Mar 14 18:50 example 18:52:43 -rw-rw-r-- 1 jenkins jenkins 3278 Mar 14 18:50 go.mod 18:52:43 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 14 18:50 go.sum 18:52:43 drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 18:50 internal 18:52:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 18:50 openapi 18:52:43 drwxrwxr-x 6 jenkins jenkins 4096 Mar 14 18:50 pkg 18:52:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:50 snap 18:52:43 -rw-rw-r-- 1 jenkins jenkins 222 Mar 14 18:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:43 + 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=a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d --label arch=amd64 --label version=3.0.0-dev.53 . 18:52:43 Sending build context to Docker daemon 10.89MB 18:52:43 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 18:52:43 Step 2/23 : FROM ${BASE} AS builder 18:52:43 ---> bb7488ec7c7e 18:52:43 Step 3/23 : ARG MAKE=make build 18:52:43 ---> Running in 87d437041243 18:52:43 Removing intermediate container 87d437041243 18:52:43 ---> 171cf5149be4 18:52:43 Step 4/23 : WORKDIR /device-sdk-go 18:52:43 ---> Running in eb71e0438960 18:52:43 Removing intermediate container eb71e0438960 18:52:43 ---> 20c17c7685cb 18:52:43 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:52:43 ---> Running in 8ef32acdb36e 18:52:44 Removing intermediate container 8ef32acdb36e 18:52:44 ---> 8f035f15de50 18:52:44 Step 6/23 : RUN apk add --update --no-cache make git 18:52:44 ---> Running in c4ddf395e49d 18:52:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:52:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:52:44 OK: 265 MiB in 53 packages 18:52:44 Removing intermediate container c4ddf395e49d 18:52:44 ---> e362f1e47c68 18:52:44 Step 7/23 : COPY go.mod vendor* ./ 18:52:44 ---> 85f0658b1cd8 18:52:44 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:52:44 ---> Running in 1885ffd5e0a1 18:52:45 Removing intermediate container 1885ffd5e0a1 18:52:45 ---> 06ed8fb0c03e 18:52:45 Step 9/23 : COPY . . 18:52:46 ---> c3411758b400 18:52:46 Step 10/23 : RUN ${MAKE} 18:52:46 ---> Running in b72c5ac70b6d 18:52:46 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.53" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:53:04 Removing intermediate container b72c5ac70b6d 18:53:04 ---> 8145f3acc1bc 18:53:04 Step 11/23 : FROM alpine:3.17 18:53:04 3.17: Pulling from library/alpine 18:53:04 63b65145d645: Already exists 18:53:05 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 18:53:05 Status: Downloaded newer image for alpine:3.17 18:53:05 ---> b2aa39c304c2 18:53:05 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:53:05 ---> Running in 3abe68ae3dd9 18:53:05 Removing intermediate container 3abe68ae3dd9 18:53:05 ---> 5a608eec7b9d 18:53:05 Step 13/23 : RUN apk add --update --no-cache 18:53:05 ---> Running in c12766cf200b 18:53:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:53:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:53:05 OK: 7 MiB in 15 packages 18:53:06 Removing intermediate container c12766cf200b 18:53:06 ---> cbdbbb71617e 18:53:06 Step 14/23 : WORKDIR / 18:53:06 ---> Running in 1e6759ec679b 18:53:06 Removing intermediate container 1e6759ec679b 18:53:06 ---> be35e61d0bc5 18:53:06 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:53:06 ---> 597172969a17 18:53:06 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:53:07 ---> 4b8dead5cffd 18:53:07 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:53:07 ---> 8928afa783bd 18:53:07 Step 18/23 : EXPOSE 59999 18:53:07 ---> Running in be4390b3b620 18:53:07 Removing intermediate container be4390b3b620 18:53:07 ---> 8a7e45e50611 18:53:07 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:53:07 ---> Running in 2adb8ee9c908 18:53:07 Removing intermediate container 2adb8ee9c908 18:53:07 ---> 26c6c19a5a93 18:53:07 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:53:07 ---> Running in 9783ea46a048 18:53:07 Removing intermediate container 9783ea46a048 18:53:07 ---> 4aab94e5953e 18:53:07 Step 21/23 : LABEL arch=amd64 18:53:07 ---> Running in 077b8cb95f87 18:53:07 Removing intermediate container 077b8cb95f87 18:53:07 ---> b7a490326a20 18:53:07 Step 22/23 : LABEL git_sha=a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d 18:53:07 ---> Running in acb1b5172037 18:53:07 Removing intermediate container acb1b5172037 18:53:07 ---> ce601a4b8cfe 18:53:07 Step 23/23 : LABEL version=3.0.0-dev.53 18:53:07 ---> Running in 80f8f86d9392 18:53:07 Removing intermediate container 80f8f86d9392 18:53:07 ---> 40d74266bc61 18:53:07 [Warning] One or more build-args [ARCH] were not consumed 18:53:07 Successfully built 40d74266bc61 18:53:07 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 18:53:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:53:08 18:53:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:53:08 latest: Pulling from edgex-lftools-log-publisher 18:53:08 5eb5b503b376: Pulling fs layer 18:53:08 5c69ac0246d0: Pulling fs layer 18:53:08 ec43610c2a17: Pulling fs layer 18:53:08 3a2ae6a8a46f: Pulling fs layer 18:53:08 33b1e0a273af: Pulling fs layer 18:53:08 5d3b04190fa2: Pulling fs layer 18:53:08 2f39f015ded8: Pulling fs layer 18:53:08 5d3b04190fa2: Waiting 18:53:08 2f39f015ded8: Waiting 18:53:08 3a2ae6a8a46f: Waiting 18:53:08 33b1e0a273af: Waiting 18:53:08 5c69ac0246d0: Download complete 18:53:08 3a2ae6a8a46f: Download complete 18:53:08 33b1e0a273af: Verifying Checksum 18:53:08 33b1e0a273af: Download complete 18:53:08 5d3b04190fa2: Verifying Checksum 18:53:08 5d3b04190fa2: Download complete 18:53:08 ec43610c2a17: Verifying Checksum 18:53:08 ec43610c2a17: Download complete 18:53:08 5eb5b503b376: Verifying Checksum 18:53:08 5eb5b503b376: Download complete 18:53:09 2f39f015ded8: Download complete 18:53:10 5eb5b503b376: Pull complete 18:53:10 5c69ac0246d0: Pull complete 18:53:10 ec43610c2a17: Pull complete 18:53:10 3a2ae6a8a46f: Pull complete 18:53:10 33b1e0a273af: Pull complete 18:53:11 5d3b04190fa2: Pull complete 18:53:15 2f39f015ded8: Pull complete 18:53:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:53:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:53:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:15 prd-ubuntu20.04-docker-8c-8g-225 does not seem to be running inside a container 18:53:15 $ 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 18:53:17 $ docker top 5adfab02a7eeeced5c800af5861c446cced250ac91d5a00ff918daa3e68c4b87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:17 ---> job-cost.sh 18:53:17 lf-activate-venv: SKIPPING 18:53:17 INFO: No Stack... 18:53:18 INFO: Retrieving Pricing Info for: v3-standard-8 18:53:18 INFO: Archiving Costs [Pipeline] sh 18:53:18 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 18:53:18 + cut -d, -f6 [Pipeline] lock 18:53:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-183-stack-cost] 18:53:18 Resource [jenkins-edgexfoundry-device-sdk-go-main-183-stack-cost] did not exist. Created. 18:53:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-183-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:53:19 + echo total: 0.2199999988079071 [Pipeline] stash 18:53:19 Stashed 1 file(s) [Pipeline] } 18:53:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-183-stack-cost] [Pipeline] // lock [Pipeline] } 18:53:19 $ docker stop --time=1 5adfab02a7eeeced5c800af5861c446cced250ac91d5a00ff918daa3e68c4b87 18:53:20 $ docker rm -f --volumes 5adfab02a7eeeced5c800af5861c446cced250ac91d5a00ff918daa3e68c4b87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:53:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-228 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 18:53:48 Running in /w/workspace/device-sdk-go/183 [Pipeline] { [Pipeline] checkout 18:53:48 The recommended git tool is: git 18:53:54 using credential edgex-jenkins-ssh 18:53:54 Cloning the remote Git repository 18:53:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:53:54 > git init /w/workspace/device-sdk-go/183 # timeout=10 18:53:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:53:54 > git --version # timeout=10 18:53:54 > git --version # 'git version 2.25.1' 18:53:54 using GIT_SSH to set credentials SSH Credentials for GitHub 18:53:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:53:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:53:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:53:57 Avoid second fetch 18:53:57 Checking out Revision a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d (main) 18:53:57 > git config core.sparsecheckout # timeout=10 18:53:57 > git checkout -f a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d # timeout=10 18:53:58 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 (#1383)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:53:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:53:59 % Total % Received % Xferd Average Speed Time Time Time Current 18:53:59 Dload Upload Total Spent Left Speed 18:53:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 18:54:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:54:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:54:00 + sudo tee /etc/docker/daemon.new 18:54:00 { 18:54:00 "registry-mirrors": [ 18:54:00 "https://nexus3.edgexfoundry.org:10001" 18:54:00 ], 18:54:00 "bip": "10.250.0.254/24", 18:54:00 "hosts": [ 18:54:00 "tcp://0.0.0.0:5555", 18:54:00 "unix:///var/run/docker.sock" 18:54:00 ], 18:54:00 "mtu": 1458, 18:54:00 "selinux-enabled": true, 18:54:00 "seccomp-profile": "/etc/docker/seccomp.json" 18:54:00 } [Pipeline] sh 18:54:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:54:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:54:19 provisioning config files... 18:54:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/183@tmp/config14559767832951855654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:54:19 ---> docker-login.sh 18:54:19 nexus3.edgexfoundry.org:10001 18:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:20 Configure a credential helper to remove this warning. See 18:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:20 18:54:20 Login Succeeded 18:54:20 nexus3.edgexfoundry.org:10002 18:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:20 Configure a credential helper to remove this warning. See 18:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:20 18:54:20 Login Succeeded 18:54:20 nexus3.edgexfoundry.org:10003 18:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:21 Configure a credential helper to remove this warning. See 18:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:21 18:54:21 Login Succeeded 18:54:21 nexus3.edgexfoundry.org:10004 18:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:21 Configure a credential helper to remove this warning. See 18:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:21 18:54:21 Login Succeeded 18:54:21 docker.io 18:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:22 Configure a credential helper to remove this warning. See 18:54:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:22 18:54:22 Login Succeeded 18:54:22 ---> docker-login.sh ends [Pipeline] } 18:54:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:54:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:54:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:54:22 ========================================================= 18:54:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:54:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:23 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:54:23 Sending build context to Docker daemon 5.788MB 18:54:23 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 18:54:23 Step 2/10 : FROM ${BASE} AS builder 18:54:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:54:23 af6eaf76a39c: Pulling fs layer 18:54:23 55522c791124: Pulling fs layer 18:54:23 ce5c4a1c91eb: Pulling fs layer 18:54:23 169dfbe0d373: Pulling fs layer 18:54:23 e1ff8fa3b103: Pulling fs layer 18:54:23 52ebb69f0ebf: Pulling fs layer 18:54:23 5abe8eddf0d5: Pulling fs layer 18:54:23 e1ff8fa3b103: Waiting 18:54:23 52ebb69f0ebf: Waiting 18:54:23 5abe8eddf0d5: Waiting 18:54:23 169dfbe0d373: Waiting 18:54:23 55522c791124: Verifying Checksum 18:54:23 55522c791124: Download complete 18:54:23 169dfbe0d373: Verifying Checksum 18:54:23 169dfbe0d373: Download complete 18:54:23 e1ff8fa3b103: Verifying Checksum 18:54:23 e1ff8fa3b103: Download complete 18:54:23 af6eaf76a39c: Verifying Checksum 18:54:23 af6eaf76a39c: Download complete 18:54:24 af6eaf76a39c: Pull complete 18:54:25 5abe8eddf0d5: Verifying Checksum 18:54:25 5abe8eddf0d5: Download complete 18:54:25 55522c791124: Pull complete 18:54:26 ce5c4a1c91eb: Verifying Checksum 18:54:26 ce5c4a1c91eb: Download complete 18:54:26 52ebb69f0ebf: Verifying Checksum 18:54:26 52ebb69f0ebf: Download complete 18:54:36 ce5c4a1c91eb: Pull complete 18:54:37 169dfbe0d373: Pull complete 18:54:37 e1ff8fa3b103: Pull complete 18:54:47 52ebb69f0ebf: Pull complete 18:54:49 5abe8eddf0d5: Pull complete 18:54:49 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 18:54:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:54:50 ---> 6cb57ee374ae 18:54:50 Step 3/10 : ARG MAKE=make build 18:54:52 ---> Running in 85164215e49d 18:54:52 Removing intermediate container 85164215e49d 18:54:52 ---> ea10fb99c4eb 18:54:52 Step 4/10 : WORKDIR /device-sdk-go 18:54:52 ---> Running in dc92aeee4bd7 18:54:52 Removing intermediate container dc92aeee4bd7 18:54:52 ---> bc6cd2e8ea25 18:54:52 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:54:52 ---> Running in bffb75155a7a 18:54:53 Removing intermediate container bffb75155a7a 18:54:53 ---> 7097b044ee1b 18:54:53 Step 6/10 : RUN apk add --update --no-cache make git 18:54:53 ---> Running in 2748c455d96b 18:54:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:54:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:54:56 OK: 263 MiB in 53 packages 18:54:57 Removing intermediate container 2748c455d96b 18:54:57 ---> 13f7300aba4d 18:54:57 Step 7/10 : COPY go.mod vendor* ./ 18:54:57 ---> 91cefeffe5ab 18:54:57 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:54:58 ---> Running in 915e67239d50 18:56:06 Removing intermediate container 915e67239d50 18:56:06 ---> edf8e1b0b89f 18:56:06 Step 9/10 : COPY . . 18:56:06 ---> c3cda58598c1 18:56:06 Step 10/10 : RUN ${MAKE} 18:56:06 ---> Running in cf96445914eb 18:56:06 noop 18:56:06 Removing intermediate container cf96445914eb 18:56:06 ---> 817a946ef32a 18:56:06 Successfully built 817a946ef32a 18:56:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:06 + docker inspect -f . ci-base-image-arm64 18:56:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:06 prd-ubuntu20.04-docker-arm64-4c-16g-228 does not seem to be running inside a container 18:56:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/183 -v /w/workspace/device-sdk-go/183:/w/workspace/device-sdk-go/183:rw,z -v /w/workspace/device-sdk-go/183@tmp:/w/workspace/device-sdk-go/183@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 18:56:08 $ docker top e3eedfd67ef0c36afe15d87b1065cfc48025ec756a1aab12a1bf6dcc980c10b2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:08 + go version 18:56:08 go version go1.20.2 linux/arm64 [Pipeline] } 18:56:08 $ docker stop --time=1 e3eedfd67ef0c36afe15d87b1065cfc48025ec756a1aab12a1bf6dcc980c10b2 18:56:10 $ docker rm -f --volumes e3eedfd67ef0c36afe15d87b1065cfc48025ec756a1aab12a1bf6dcc980c10b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:11 + docker inspect -f . ci-base-image-arm64 18:56:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:11 prd-ubuntu20.04-docker-arm64-4c-16g-228 does not seem to be running inside a container 18:56:11 $ 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/183 -v /w/workspace/device-sdk-go/183:/w/workspace/device-sdk-go/183:rw,z -v /w/workspace/device-sdk-go/183@tmp:/w/workspace/device-sdk-go/183@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 18:56:12 $ docker top fb94575901dff81150e786d0b57be6c4e9e305e533baa85dadc05e2a89c4f125 -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:13 + git config --global --add safe.directory /w/workspace/device-sdk-go/183 [Pipeline] fileExists [Pipeline] sh 18:56:14 + make test 18:56:14 go test -race -coverprofile=coverage.out ./... 18:57:01 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:59:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:59:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:59:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:59:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:59:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:59:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.240s coverage: 27.6% of statements 18:59:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.285s coverage: 78.9% of statements 18:59:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:59:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:59:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.414s coverage: 86.0% of statements 18:59:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:59:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:59:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.504s coverage: 75.9% of statements 18:59:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.290s coverage: 15.2% of statements 18:59:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:59:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:59:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.507s coverage: 65.7% of statements 19:00:00 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.456s coverage: 89.2% of statements 19:00:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 19:00:03 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.254s coverage: 5.5% of statements 19:00:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:00:04 GO111MODULE=on go vet ./... 19:02:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:02:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:02:56 ./bin/test-attribution-txt.sh [Pipeline] echo 19:02:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:02:56 $ docker stop --time=1 fb94575901dff81150e786d0b57be6c4e9e305e533baa85dadc05e2a89c4f125 19:02:58 $ docker rm -f --volumes fb94575901dff81150e786d0b57be6c4e9e305e533baa85dadc05e2a89c4f125 [Pipeline] // withDockerContainer [Pipeline] sh 19:03:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:03:00 Warning: overwriting stash ‘coverage-report’ 19:03:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:03:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:03:01 + ls -al . 19:03:01 total 272 19:03:01 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 18:56 . 19:03:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:53 .. 19:03:01 -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 18:53 .dockerignore 19:03:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 18:53 .git 19:03:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:53 .github 19:03:01 -rw-rw-r-- 1 jenkins jenkins 131 Mar 14 18:53 .gitignore 19:03:01 -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 18:53 .golangci.yml 19:03:01 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 14 18:53 CHANGELOG.md 19:03:01 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 18:53 GOVERNANCE.md 19:03:01 -rw-rw-r-- 1 jenkins jenkins 885 Mar 14 18:53 Jenkinsfile 19:03:01 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 14 18:53 LICENSE 19:03:01 -rw-rw-r-- 1 jenkins jenkins 1714 Mar 14 18:53 Makefile 19:03:01 -rw-rw-r-- 1 jenkins jenkins 619 Mar 14 18:53 OWNERS.md 19:03:01 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 14 18:53 README.md 19:03:01 -rw-rw-r-- 1 jenkins jenkins 12 Mar 14 18:51 VERSION 19:03:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:53 bin 19:03:01 -rw-r--r-- 1 jenkins jenkins 109538 Mar 14 19:00 coverage.out 19:03:01 drwxrwxr-x 5 jenkins jenkins 4096 Mar 14 18:53 example 19:03:01 -rw-rw-r-- 1 jenkins jenkins 3278 Mar 14 18:53 go.mod 19:03:01 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 14 18:53 go.sum 19:03:01 drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 18:53 internal 19:03:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 18:53 openapi 19:03:01 drwxrwxr-x 6 jenkins jenkins 4096 Mar 14 18:53 pkg 19:03:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:53 snap 19:03:01 -rw-rw-r-- 1 jenkins jenkins 222 Mar 14 18:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:01 + 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=a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d --label arch=arm64 --label version=3.0.0-dev.53 . 19:03:02 Sending build context to Docker daemon 5.898MB 19:03:02 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 19:03:02 Step 2/23 : FROM ${BASE} AS builder 19:03:02 ---> 817a946ef32a 19:03:02 Step 3/23 : ARG MAKE=make build 19:03:02 ---> Running in 77a2d121fc2c 19:03:02 Removing intermediate container 77a2d121fc2c 19:03:02 ---> f8bbf4c29e59 19:03:02 Step 4/23 : WORKDIR /device-sdk-go 19:03:03 ---> Running in 7fb4d0916a2f 19:03:03 Removing intermediate container 7fb4d0916a2f 19:03:03 ---> 4de8aadbbcaf 19:03:03 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:03:03 ---> Running in 4b3847cc42a6 19:03:03 Removing intermediate container 4b3847cc42a6 19:03:03 ---> 5ef8216f4b4e 19:03:03 Step 6/23 : RUN apk add --update --no-cache make git 19:03:03 ---> Running in a9a4c77e936f 19:03:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:03:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:03:06 OK: 263 MiB in 53 packages 19:03:07 Removing intermediate container a9a4c77e936f 19:03:07 ---> 28e8c3a4911d 19:03:07 Step 7/23 : COPY go.mod vendor* ./ 19:03:08 ---> 90245c112b79 19:03:08 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:03:08 ---> Running in 87c390e08714 19:03:11 Removing intermediate container 87c390e08714 19:03:11 ---> 3148f8a8a881 19:03:11 Step 9/23 : COPY . . 19:03:12 ---> f9ff50c6964a 19:03:12 Step 10/23 : RUN ${MAKE} 19:03:12 ---> Running in af13cb817062 19:03:13 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.53" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:05:35 Removing intermediate container af13cb817062 19:05:35 ---> c2ca4c821f87 19:05:35 Step 11/23 : FROM alpine:3.17 19:05:35 3.17: Pulling from library/alpine 19:05:35 af6eaf76a39c: Already exists 19:05:35 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 19:05:35 Status: Downloaded newer image for alpine:3.17 19:05:35 ---> d74e625d9115 19:05:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:05:35 ---> Running in 39854738427b 19:05:35 Removing intermediate container 39854738427b 19:05:35 ---> 8537e268a716 19:05:35 Step 13/23 : RUN apk add --update --no-cache 19:05:35 ---> Running in cce280d97ce1 19:05:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:05:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:05:38 OK: 7 MiB in 15 packages 19:05:38 Removing intermediate container cce280d97ce1 19:05:38 ---> 259342fa32ff 19:05:38 Step 14/23 : WORKDIR / 19:05:38 ---> Running in a602fff5dc85 19:05:39 Removing intermediate container a602fff5dc85 19:05:39 ---> 151d75c51f40 19:05:39 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:05:39 ---> fcf93128aa51 19:05:39 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:05:42 ---> 2fc2a262afe5 19:05:42 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:05:42 ---> 3d64b3fc5620 19:05:42 Step 18/23 : EXPOSE 59999 19:05:42 ---> Running in d648c681e69d 19:05:42 Removing intermediate container d648c681e69d 19:05:42 ---> 0d8f41ed8b55 19:05:42 Step 19/23 : ENTRYPOINT ["/device-simple"] 19:05:42 ---> Running in cdf0ae4e8754 19:05:43 Removing intermediate container cdf0ae4e8754 19:05:43 ---> 38453912e634 19:05:43 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:05:43 ---> Running in 7f3b08670bf8 19:05:43 Removing intermediate container 7f3b08670bf8 19:05:43 ---> 53b5c664f3ff 19:05:43 Step 21/23 : LABEL arch=arm64 19:05:43 ---> Running in d60a39e904ff 19:05:44 Removing intermediate container d60a39e904ff 19:05:44 ---> ae08d330d593 19:05:44 Step 22/23 : LABEL git_sha=a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d 19:05:44 ---> Running in 48a471b1fe33 19:05:44 Removing intermediate container 48a471b1fe33 19:05:44 ---> 3aa3c856a75e 19:05:44 Step 23/23 : LABEL version=3.0.0-dev.53 19:05:44 ---> Running in d3cb1665b223 19:05:44 Removing intermediate container d3cb1665b223 19:05:44 ---> 806beba91595 19:05:44 [Warning] One or more build-args [ARCH] were not consumed 19:05:44 Successfully built 806beba91595 19:05:44 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:05:45 19:05:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:05:45 arm64: Pulling from edgex-lftools-log-publisher 19:05:45 8998bd30e6a1: Pulling fs layer 19:05:45 04944245beec: Pulling fs layer 19:05:45 699f458cf7ca: Pulling fs layer 19:05:45 765212b225bb: Pulling fs layer 19:05:45 f23df028b6ca: Pulling fs layer 19:05:45 d65c8cfc05b1: Pulling fs layer 19:05:45 2437ff75d9bd: Pulling fs layer 19:05:45 765212b225bb: Waiting 19:05:45 d65c8cfc05b1: Waiting 19:05:45 2437ff75d9bd: Waiting 19:05:45 f23df028b6ca: Waiting 19:05:45 04944245beec: Verifying Checksum 19:05:45 04944245beec: Download complete 19:05:45 765212b225bb: Verifying Checksum 19:05:45 765212b225bb: Download complete 19:05:45 f23df028b6ca: Verifying Checksum 19:05:45 f23df028b6ca: Download complete 19:05:45 d65c8cfc05b1: Verifying Checksum 19:05:45 d65c8cfc05b1: Download complete 19:05:46 699f458cf7ca: Verifying Checksum 19:05:46 699f458cf7ca: Download complete 19:05:46 8998bd30e6a1: Verifying Checksum 19:05:46 8998bd30e6a1: Download complete 19:05:48 2437ff75d9bd: Verifying Checksum 19:05:48 2437ff75d9bd: Download complete 19:05:50 8998bd30e6a1: Pull complete 19:05:50 04944245beec: Pull complete 19:05:52 699f458cf7ca: Pull complete 19:05:52 765212b225bb: Pull complete 19:05:53 f23df028b6ca: Pull complete 19:05:53 d65c8cfc05b1: Pull complete 19:06:08 2437ff75d9bd: Pull complete 19:06:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:06:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:06:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:06:08 prd-ubuntu20.04-docker-arm64-4c-16g-228 does not seem to be running inside a container 19:06:08 $ 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/183 -v /w/workspace/device-sdk-go/183:/w/workspace/device-sdk-go/183:rw,z -v /w/workspace/device-sdk-go/183@tmp:/w/workspace/device-sdk-go/183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:06:11 $ docker top 1001dedc5a6c5b090b07483e4af8f1627676dab976c4b36fdb6debbc31d2c7ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:06:12 ---> job-cost.sh 19:06:12 lf-activate-venv: SKIPPING 19:06:12 INFO: No Stack... 19:06:12 INFO: Retrieving Pricing Info for: v3-standard-4 19:06:13 INFO: Archiving Costs [Pipeline] sh 19:06:14 + cat /w/workspace/device-sdk-go/183/archives/cost.csv 19:06:14 + cut -d, -f6 [Pipeline] lock 19:06:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-183-stack-cost] 19:06:14 Resource [jenkins-edgexfoundry-device-sdk-go-main-183-stack-cost] did not exist. Created. 19:06:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-183-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:06:15 /w/workspace/device-sdk-go/183@tmp/durable-76283f5b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:06:15 + echo total: 0.10999999940395355 [Pipeline] stash 19:06:15 Warning: overwriting stash ‘stack-cost’ 19:06:15 Stashed 1 file(s) [Pipeline] } 19:06:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-183-stack-cost] [Pipeline] // lock [Pipeline] } 19:06:15 $ docker stop --time=1 1001dedc5a6c5b090b07483e4af8f1627676dab976c4b36fdb6debbc31d2c7ac 19:06:17 $ docker rm -f --volumes 1001dedc5a6c5b090b07483e4af8f1627676dab976c4b36fdb6debbc31d2c7ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:06:17 provisioning config files... 19:06:17 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14110604800234965679tmp [Pipeline] { [Pipeline] sh 19:06:18 + set +x 19:06:18 + curl -s https://codecov.io/bash+ 19:06:18 bash -s -- 19:06:18 19:06:18 _____ _ 19:06:18 / ____| | | 19:06:18 | | ___ __| | ___ ___ _____ __ 19:06:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:06:18 | |___| (_) | (_| | __/ (_| (_) \ V / 19:06:18 \_____\___/ \__,_|\___|\___\___/ \_/ 19:06:18 Bash-1.0.6 19:06:18 19:06:18 19:06:18 ==> git version 2.25.1 found 19:06:18 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:06:18 Release-Date: 2020-01-08 19:06:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:06:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:06:18 ==> Jenkins CI detected. 19:06:18 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 19:06:18 project root: . 19:06:18 --> token set from env 19:06:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:06:18 ==> Running gcov in . (disable via -X gcov) 19:06:18 ==> Python coveragepy not found 19:06:18 ==> Searching for coverage reports in: 19:06:18 + . 19:06:18 -> Found 1 reports 19:06:18 ==> Detecting git/mercurial file structure 19:06:18 ==> Reading reports 19:06:18 + ./coverage.out bytes=109538 19:06:18 ==> Appending adjustments 19:06:18 https://docs.codecov.io/docs/fixing-reports 19:06:18 + Found adjustments 19:06:18 ==> Gzipping contents 19:06:18 16K /tmp/codecov.OpIE3V.gz 19:06:18 ==> Uploading reports 19:06:18 url: https://codecov.io 19:06:18 query: branch=main&commit=a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d&build=183&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F183%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:06:18 -> Pinging Codecov 19:06:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d&build=183&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F183%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:06:18 -> Uploading to 19:06:18 https://storage.googleapis.com/codecov/v4/raw/2023-03-14/7E55EF52A471D76F132DFD9A03CDDE97/a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d/532c6c37-50c1-4d91-94ac-3d6b4845be41.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T190618Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3110253ca8d7a9551a0fce86c53deed2b4e46a84f634e3b450e27e30b2a107d0 19:06:18 % Total % Received % Xferd Average Speed Time Time Time Current 19:06:18 Dload Upload Total Spent Left Speed 19:06:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15226 0 0 100 15226 0 61148 --:--:-- --:--:-- --:--:-- 61148 19:06:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d [Pipeline] } 19:06:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:06:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:06:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:06:19 19:06:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:06:19 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:06:19 df9b9388f04a: Pulling fs layer 19:06:19 52dc419b0ee2: Pulling fs layer 19:06:19 25bc292e5bac: Pulling fs layer 19:06:19 114826534d7a: Pulling fs layer 19:06:19 4657fd5d0bcf: Pulling fs layer 19:06:19 6ad1cebc031e: Pulling fs layer 19:06:19 8a3aa393b2d8: Pulling fs layer 19:06:19 4657fd5d0bcf: Waiting 19:06:19 6ad1cebc031e: Waiting 19:06:19 8a3aa393b2d8: Waiting 19:06:19 114826534d7a: Waiting 19:06:19 25bc292e5bac: Download complete 19:06:19 52dc419b0ee2: Download complete 19:06:19 4657fd5d0bcf: Verifying Checksum 19:06:19 4657fd5d0bcf: Download complete 19:06:19 df9b9388f04a: Download complete 19:06:19 df9b9388f04a: Pull complete 19:06:19 6ad1cebc031e: Verifying Checksum 19:06:19 6ad1cebc031e: Download complete 19:06:19 52dc419b0ee2: Pull complete 19:06:20 25bc292e5bac: Pull complete 19:06:20 114826534d7a: Download complete 19:06:20 8a3aa393b2d8: Verifying Checksum 19:06:20 8a3aa393b2d8: Download complete 19:06:24 114826534d7a: Pull complete 19:06:24 4657fd5d0bcf: Pull complete 19:06:24 6ad1cebc031e: Pull complete 19:06:28 8a3aa393b2d8: Pull complete 19:06:28 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:06:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:06:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:06:28 prd-ubuntu20.04-docker-8c-8g-225 does not seem to be running inside a container 19:06:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 19:06:32 $ docker top e499d96b81c871c7a167bb18037c510c931ab9550aa78cb17d205bb59785ccc6 -eo pid,comm [Pipeline] { [Pipeline] echo 19:06:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 19:06:33 + set -o pipefail 19:06:33 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 19:06:43 19:06:43 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 19:06:43 19:06:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/78fc9768-979b-4c27-9b39-c09848d92ae7 19:06:43 19:06:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:06:43 19:06:45 19:06:45 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:06:45 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:06:45 More details here: https://snyk.co/ue1NS 19:06:45 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 19:06:45 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 19:06:45 $ docker stop --time=1 e499d96b81c871c7a167bb18037c510c931ab9550aa78cb17d205bb59785ccc6 19:06:48 $ docker rm -f --volumes e499d96b81c871c7a167bb18037c510c931ab9550aa78cb17d205bb59785ccc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 19:06:48 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:06:48 provisioning config files... 19:06:48 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7590052671867519573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:06:49 --> edgex-publish-swagger.sh 19:06:49 === Publish openapi/v3 API === 19:06:49 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 19:06:49 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 19:06:49 % Total % Received % Xferd Average Speed Time Time Time Current 19:06:49 Dload Upload Total Spent Left Speed 19:06:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23571 0 0 100 23571 0 41136 --:--:-- --:--:-- --:--:-- 41136 19:06:49 19:06:49 [Pipeline] } 19:06:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:06:50 + git log --format=format:%s -1 a467ed68dbc5545eb1f52ee0fd8c22c9e93ae15d [Pipeline] sh 19:06:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:06:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:06:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:06:50 prd-ubuntu20.04-docker-8c-8g-225 does not seem to be running inside a container 19:06:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:06:51 $ docker top 2c220ab51bbe937a74e22ea3c43df85cec7e3123884fb976f71d7b4b067fe5b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:06:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:06:51 [ssh-agent] Looking for ssh-agent implementation... 19:06:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:06:51 $ docker exec 2c220ab51bbe937a74e22ea3c43df85cec7e3123884fb976f71d7b4b067fe5b9 ssh-agent 19:06:51 SSH_AUTH_SOCK=/tmp/ssh-Ab5owWUoahtA/agent.32 19:06:51 SSH_AGENT_PID=38 19:06:51 Running ssh-add (command line suppressed) 19:06:51 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8820595345000093428.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8820595345000093428.key) 19:06:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:06:52 + git semver tag 19:06:52 2023-03-14 19:06:52,236 [run_tag] DEBUG tag force:False 19:06:52 2023-03-14 19:06:52,236 [check_head_tag] DEBUG check head tag 19:06:52 2023-03-14 19:06:52,238 [execute] INFO git cat-file --batch-check 19:06:52 2023-03-14 19:06:52,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 19:06:52 2023-03-14 19:06:52,243 [execute] INFO git cat-file --batch 19:06:52 2023-03-14 19:06:52,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 19:06:52 2023-03-14 19:06:52,278 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:06:52 2023-03-14 19:06:52,278 [execute] INFO git tag -a v3.0.0-dev.53 -m v3.0.0-dev.53 19:06:52 2023-03-14 19:06:52,279 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.53', '-m', 'v3.0.0-dev.53'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 19:06:52 2023-03-14 19:06:52,283 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:06:52 3.0.0-dev.53 [Pipeline] } 19:06:52 $ docker exec --env ******** --env ******** 2c220ab51bbe937a74e22ea3c43df85cec7e3123884fb976f71d7b4b067fe5b9 ssh-agent -k 19:06:52 unset SSH_AUTH_SOCK; 19:06:52 unset SSH_AGENT_PID; 19:06:52 echo Agent pid 38 killed; 19:06:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:06:52 + git semver [Pipeline] } 19:06:53 $ docker stop --time=1 2c220ab51bbe937a74e22ea3c43df85cec7e3123884fb976f71d7b4b067fe5b9 19:06:54 $ docker rm -f --volumes 2c220ab51bbe937a74e22ea3c43df85cec7e3123884fb976f71d7b4b067fe5b9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:06:54 19:06:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:06:55 0.23.1-centos7: Pulling from edgex-lftools 19:06:55 ab5ef0e58194: Pulling fs layer 19:06:55 9712f1f96733: Pulling fs layer 19:06:55 63f879dbbcfc: Pulling fs layer 19:06:55 0d9ebad4ef96: Pulling fs layer 19:06:55 e9a5061849ea: Pulling fs layer 19:06:55 d747dcd14b5f: Pulling fs layer 19:06:55 2de7ff778b66: Pulling fs layer 19:06:55 e9a5061849ea: Waiting 19:06:55 d747dcd14b5f: Waiting 19:06:55 2de7ff778b66: Waiting 19:06:55 0d9ebad4ef96: Waiting 19:06:55 9712f1f96733: Download complete 19:06:55 63f879dbbcfc: Verifying Checksum 19:06:55 63f879dbbcfc: Download complete 19:06:55 e9a5061849ea: Verifying Checksum 19:06:55 e9a5061849ea: Download complete 19:06:55 d747dcd14b5f: Download complete 19:06:55 0d9ebad4ef96: Verifying Checksum 19:06:55 0d9ebad4ef96: Download complete 19:06:55 ab5ef0e58194: Verifying Checksum 19:06:55 ab5ef0e58194: Download complete 19:06:55 2de7ff778b66: Verifying Checksum 19:06:55 2de7ff778b66: Download complete 19:06:58 ab5ef0e58194: Pull complete 19:06:58 9712f1f96733: Pull complete 19:06:59 63f879dbbcfc: Pull complete 19:07:03 0d9ebad4ef96: Pull complete 19:07:03 e9a5061849ea: Pull complete 19:07:03 d747dcd14b5f: Pull complete 19:07:04 2de7ff778b66: Pull complete 19:07:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:07:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:07:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:04 prd-ubuntu20.04-docker-8c-8g-225 does not seem to be running inside a container 19:07:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 19:07:08 $ docker top 33b2ae3ef867c38ec2464c73436a38baa81767c602bc69e2b65f80f52aad345f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:07:08 provisioning config files... 19:07:08 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config474878006888664410tmp 19:07:08 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15393177740625718646tmp 19:07:08 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config255452667706645861tmp [Pipeline] { [Pipeline] echo 19:07:08 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:07:08 ---> sigul-configuration.sh 19:07:08 gpg: directory `/root/.gnupg' created 19:07:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:07:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:07:08 gpg: keyring `/root/.gnupg/secring.gpg' created 19:07:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:07:08 gpg: CAST5 encrypted data 19:07:08 gpg: encrypted with 1 passphrase 19:07:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:07:08 + mkdir /home/jenkins 19:07:08 + mkdir /home/jenkins/sigul [Pipeline] sh 19:07:09 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 19:07:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:07:09 ---> sigul-install.sh 19:07:09 Sigul already installed; skipping installation. [Pipeline] sh 19:07:09 + git tag --list 19:07:09 0.7.1 19:07:09 delhi-tag 19:07:09 v1.0.0 19:07:09 v1.1.0 19:07:09 v1.1.1 19:07:09 v1.1.2 19:07:09 v1.2.0 19:07:09 v1.2.1 19:07:09 v1.2.2 19:07:09 v1.2.3 19:07:09 v1.3.0 19:07:09 v1.4.0 19:07:09 v2.0.0 19:07:09 v2.1.0 19:07:09 v2.1.1 19:07:09 v2.1.1-dev.2 19:07:09 v2.1.1-dev.3 19:07:09 v2.2.0 19:07:09 v2.2.1-dev.1 19:07:09 v2.2.1-dev.10 19:07:09 v2.2.1-dev.11 19:07:09 v2.2.1-dev.12 19:07:09 v2.2.1-dev.13 19:07:09 v2.2.1-dev.14 19:07:09 v2.2.1-dev.2 19:07:09 v2.2.1-dev.3 19:07:09 v2.2.1-dev.4 19:07:09 v2.2.1-dev.5 19:07:09 v2.2.1-dev.6 19:07:09 v2.2.1-dev.7 19:07:09 v2.2.1-dev.8 19:07:09 v2.2.1-dev.9 19:07:09 v2.3.0 19:07:09 v2.3.0-dev.14 19:07:09 v2.3.0-dev.15 19:07:09 v2.3.0-dev.16 19:07:09 v2.3.0-dev.17 19:07:09 v2.3.0-dev.18 19:07:09 v2.3.0-dev.19 19:07:09 v2.3.0-dev.20 19:07:09 v2.3.0-dev.21 19:07:09 v2.3.0-dev.22 19:07:09 v2.3.0-dev.23 19:07:09 v2.3.0-dev.24 19:07:09 v2.3.0-dev.25 19:07:09 v2.3.0-dev.26 19:07:09 v2.3.0-dev.27 19:07:09 v2.3.0-dev.28 19:07:09 v2.3.0-dev.29 19:07:09 v2.3.0-dev.30 19:07:09 v2.3.0-dev.31 19:07:09 v2.3.0-dev.32 19:07:09 v2.3.0-dev.33 19:07:09 v2.3.0-dev.34 19:07:09 v2.3.0-dev.35 19:07:09 v2.3.0-dev.36 19:07:09 v2.3.0-dev.37 19:07:09 v2.3.0-dev.38 19:07:09 v2.3.0-dev.39 19:07:09 v2.3.0-dev.40 19:07:09 v2.3.0-dev.41 19:07:09 v2.3.0-dev.42 19:07:09 v2.3.0-dev.43 19:07:09 v2.3.0-dev.44 19:07:09 v2.3.0-dev.45 19:07:09 v2.3.0-dev.46 19:07:09 v2.3.0-dev.47 19:07:09 v2.3.0-dev.48 19:07:09 v2.3.0-dev.49 19:07:09 v2.3.0-dev.50 19:07:09 v2.3.0-dev.51 19:07:09 v2.3.1-dev.1 19:07:09 v2.3.1-dev.2 19:07:09 v2.3.1-dev.3 19:07:09 v3.0.0-dev.1 19:07:09 v3.0.0-dev.10 19:07:09 v3.0.0-dev.11 19:07:09 v3.0.0-dev.12 19:07:09 v3.0.0-dev.13 19:07:09 v3.0.0-dev.14 19:07:09 v3.0.0-dev.15 19:07:09 v3.0.0-dev.16 19:07:09 v3.0.0-dev.17 19:07:09 v3.0.0-dev.18 19:07:09 v3.0.0-dev.19 19:07:09 v3.0.0-dev.2 19:07:09 v3.0.0-dev.20 19:07:09 v3.0.0-dev.21 19:07:09 v3.0.0-dev.22 19:07:09 v3.0.0-dev.23 19:07:09 v3.0.0-dev.24 19:07:09 v3.0.0-dev.25 19:07:09 v3.0.0-dev.26 19:07:09 v3.0.0-dev.27 19:07:09 v3.0.0-dev.28 19:07:09 v3.0.0-dev.29 19:07:09 v3.0.0-dev.3 19:07:09 v3.0.0-dev.30 19:07:09 v3.0.0-dev.31 19:07:09 v3.0.0-dev.32 19:07:09 v3.0.0-dev.33 19:07:09 v3.0.0-dev.34 19:07:09 v3.0.0-dev.35 19:07:09 v3.0.0-dev.36 19:07:09 v3.0.0-dev.37 19:07:09 v3.0.0-dev.38 19:07:09 v3.0.0-dev.39 19:07:09 v3.0.0-dev.4 19:07:09 v3.0.0-dev.40 19:07:09 v3.0.0-dev.41 19:07:09 v3.0.0-dev.42 19:07:09 v3.0.0-dev.43 19:07:09 v3.0.0-dev.44 19:07:09 v3.0.0-dev.45 19:07:09 v3.0.0-dev.46 19:07:09 v3.0.0-dev.47 19:07:09 v3.0.0-dev.48 19:07:09 v3.0.0-dev.49 19:07:09 v3.0.0-dev.5 19:07:09 v3.0.0-dev.50 19:07:09 v3.0.0-dev.51 19:07:09 v3.0.0-dev.52 19:07:09 v3.0.0-dev.53 19:07:09 v3.0.0-dev.6 19:07:09 v3.0.0-dev.7 19:07:09 v3.0.0-dev.8 19:07:09 v3.0.0-dev.9 [Pipeline] sh 19:07:09 + lftools sign git-tag v3.0.0-dev.53 19:07:10 Signing Git tag with Sigul... 19:07:10 Signing v3.0.0-dev.53 [Pipeline] echo 19:07:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:07:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:07:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:07:11 $ docker stop --time=1 33b2ae3ef867c38ec2464c73436a38baa81767c602bc69e2b65f80f52aad345f 19:07:12 $ docker rm -f --volumes 33b2ae3ef867c38ec2464c73436a38baa81767c602bc69e2b65f80f52aad345f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:07:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:07:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:13 prd-ubuntu20.04-docker-8c-8g-225 does not seem to be running inside a container 19:07:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:07:13 $ docker top 4d479dcb14708a446424e7db26d29318768dc4abe1ee3b1df11f92e44e66035d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:07:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:13 [ssh-agent] Looking for ssh-agent implementation... 19:07:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:13 $ docker exec 4d479dcb14708a446424e7db26d29318768dc4abe1ee3b1df11f92e44e66035d ssh-agent 19:07:13 SSH_AUTH_SOCK=/tmp/ssh-zuy2rvNMOXHd/agent.33 19:07:13 SSH_AGENT_PID=39 19:07:13 Running ssh-add (command line suppressed) 19:07:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8702690853580820671.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8702690853580820671.key) 19:07:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:14 + git semver bump pre 19:07:14 2023-03-14 19:07:14,360 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:07:14 2023-03-14 19:07:14,360 [bump_version] DEBUG bumping version:3.0.0-dev.53 on axis:pre with prefix:dev 19:07:14 2023-03-14 19:07:14,360 [bump_version] DEBUG bumped version:3.0.0-dev.54 19:07:14 2023-03-14 19:07:14,361 [write_version] DEBUG write version:3.0.0-dev.54 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 19:07:14 2023-03-14 19:07:14,361 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:07:14 2023-03-14 19:07:14,361 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:07:14 2023-03-14 19:07:14,363 [execute] INFO git cat-file --batch-check 19:07:14 2023-03-14 19:07:14,363 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:07:14 2023-03-14 19:07:14,368 [execute] INFO git cat-file --batch 19:07:14 2023-03-14 19:07:14,368 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:07:14 2023-03-14 19:07:14,373 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:07:14 3.0.0-dev.54 [Pipeline] } 19:07:14 $ docker exec --env ******** --env ******** 4d479dcb14708a446424e7db26d29318768dc4abe1ee3b1df11f92e44e66035d ssh-agent -k 19:07:14 unset SSH_AUTH_SOCK; 19:07:14 unset SSH_AGENT_PID; 19:07:14 echo Agent pid 39 killed; 19:07:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:07:14 + git semver [Pipeline] } 19:07:15 $ docker stop --time=1 4d479dcb14708a446424e7db26d29318768dc4abe1ee3b1df11f92e44e66035d 19:07:16 $ docker rm -f --volumes 4d479dcb14708a446424e7db26d29318768dc4abe1ee3b1df11f92e44e66035d [Pipeline] // withDockerContainer [Pipeline] sh 19:07:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:07:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:17 prd-ubuntu20.04-docker-8c-8g-225 does not seem to be running inside a container 19:07:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:07:17 $ docker top 8fa9f3fcf0f556a8d03c686e5cecf2c92feff9c9529a33d591bc77e0e557c5d2 -eo pid,comm 19:07:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:07:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:07:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:17 [ssh-agent] Looking for ssh-agent implementation... 19:07:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:17 $ docker exec 8fa9f3fcf0f556a8d03c686e5cecf2c92feff9c9529a33d591bc77e0e557c5d2 ssh-agent 19:07:17 SSH_AUTH_SOCK=/tmp/ssh-1llnojAqPOcD/agent.32 19:07:17 SSH_AGENT_PID=38 19:07:17 Running ssh-add (command line suppressed) 19:07:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13419993073479982321.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13419993073479982321.key) 19:07:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:18 + git semver push 19:07:18 2023-03-14 19:07:18,423 [run_push] DEBUG push 19:07:18 2023-03-14 19:07:18,424 [execute] INFO git cat-file --batch-check 19:07:18 2023-03-14 19:07:18,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:07:18 2023-03-14 19:07:18,428 [execute] INFO git rev-list 64413b8e6877d9aa9231d863506df7c74b491c52 -- 19:07:18 2023-03-14 19:07:18,429 [execute] DEBUG Popen(['git', 'rev-list', '64413b8e6877d9aa9231d863506df7c74b491c52', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:07:18 2023-03-14 19:07:18,440 [execute] INFO git fetch -v origin 19:07:18 2023-03-14 19:07:18,440 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 19:07:19 2023-03-14 19:07:18,902 [run_push] DEBUG no remote changes detected 19:07:19 2023-03-14 19:07:18,902 [execute] INFO git push origin semver 19:07:19 2023-03-14 19:07:18,903 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:07:19 2023-03-14 19:07:19,756 [run_push] DEBUG push all version tags 19:07:19 2023-03-14 19:07:19,756 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:07:19 2023-03-14 19:07:19,757 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 19:07:20 2023-03-14 19:07:20,520 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:07:20 3.0.0-dev.54 [Pipeline] } 19:07:20 $ docker exec --env ******** --env ******** 8fa9f3fcf0f556a8d03c686e5cecf2c92feff9c9529a33d591bc77e0e557c5d2 ssh-agent -k 19:07:20 unset SSH_AUTH_SOCK; 19:07:20 unset SSH_AGENT_PID; 19:07:20 echo Agent pid 38 killed; 19:07:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:07:20 + git semver [Pipeline] } 19:07:21 $ docker stop --time=1 8fa9f3fcf0f556a8d03c686e5cecf2c92feff9c9529a33d591bc77e0e557c5d2 19:07:22 $ docker rm -f --volumes 8fa9f3fcf0f556a8d03c686e5cecf2c92feff9c9529a33d591bc77e0e557c5d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:07:23 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 19:07:23 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:07:23 total 16 19:07:23 drwxr-xr-x 3 root root 4096 Mar 14 18:53 . 19:07:23 drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 19:07 .. 19:07:23 drwxr-xr-x 2 root root 4096 Mar 14 18:53 cost 19:07:23 -rw-r--r-- 1 root root 85 Mar 14 18:53 cost.csv 19:07:23 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:07:23 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:07:23 total 16 19:07:23 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 18:53 . 19:07:23 drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 19:07 .. 19:07:23 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 18:53 cost 19:07:23 -rw-r--r-- 1 jenkins jenkins 85 Mar 14 18:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:07:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:07:24 ---> package-listing.sh 19:07:24 ++ facter osfamily 19:07:24 ++ tr '[:upper:]' '[:lower:]' 19:07:24 + OS_FAMILY=debian 19:07:24 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 19:07:24 + START_PACKAGES=/tmp/packages_start.txt 19:07:24 + END_PACKAGES=/tmp/packages_end.txt 19:07:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:07:24 + PACKAGES=/tmp/packages_start.txt 19:07:24 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 19:07:24 + PACKAGES=/tmp/packages_end.txt 19:07:24 + case "${OS_FAMILY}" in 19:07:24 + dpkg -l 19:07:24 + grep '^ii' 19:07:24 + '[' -f /tmp/packages_start.txt ']' 19:07:24 + '[' -f /tmp/packages_end.txt ']' 19:07:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:07:24 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 19:07:24 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 19:07:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 19:07:24 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:07:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:07:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:25 prd-ubuntu20.04-docker-8c-8g-225 does not seem to be running inside a container 19:07:25 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:07:25 $ docker top 02f1a6d4aa97964f32fe269aa07abdd351359d9deecbc9e48271e1c91f94764e -eo pid,comm [Pipeline] { [Pipeline] sh 19:07:26 + touch /tmp/pre-build-complete [Pipeline] sh 19:07:26 + mkdir -p /var/log/sysstat [Pipeline] sh 19:07:26 + ls /var/log/sa-host 19:07:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:07:26 provisioning config files... 19:07:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13528856986663734407tmp [Pipeline] { [Pipeline] echo 19:07:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:07:26 ---> create-netrc.sh [Pipeline] } 19:07:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:07:27 ---> python-tools-install.sh [Pipeline] echo 19:07:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:07:27 ---> sudo-logs.sh 19:07:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:07:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:07:27 ---> job-cost.sh 19:07:27 lf-activate-venv: SKIPPING 19:07:27 DEBUG: total: 0.2199999988079071 19:07:27 INFO: Retrieving Stack Cost... 19:07:28 INFO: Retrieving Pricing Info for: v3-standard-8 19:07:28 INFO: Archiving Costs [Pipeline] echo 19:07:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:07:29 ---> logs-deploy.sh 19:07:29 lf-activate-venv: SKIPPING 19:07:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/183 19:07:29 INFO: archiving workspace using pattern(s): 19:07:29 Archives upload complete. 19:07:29 INFO: archiving logs to Nexus