Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6e6deb91922711a067a4f69f557ff034afcc25fa 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-ssh12838546852856118741.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh3604091121122003391.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh11043884837688647056.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh15410940638248484036.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-ssh5917635437438697034.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 ‘prd-ubuntu20.04-docker-8c-8g-4348’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4350 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 6e6deb91922711a067a4f69f557ff034afcc25fa (main) Commit message: "Merge pull request #1498 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.27" > git config core.sparsecheckout # timeout=10 > git checkout -f 6e6deb91922711a067a4f69f557ff034afcc25fa # timeout=10 > git rev-list --no-walk fcbf44bcbbc574f021408d70e777feaef97917b6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:49:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:49:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:49:41 ========================================================= 04:49:41 EdgeX Global Pipelines Version Info 04:49:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:49:42 ------------------- 04:49:42 stable info: 04:49:42 ------------------- 04:49:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:49:42 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 04:49:42 Message: update stable to v1.0.253 04:49:51 ------------------- 04:49:51 experimental info: 04:49:51 ------------------- 04:49:51 Commited By: **** collab-it+edgex@linuxfoundation.org 04:49:51 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 04:49:51 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:49:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:49:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:49:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:49:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:49:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:49:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:49:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:49:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:49:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e6deb91922711a067a4f69f557ff034afcc25fa [Pipeline] echo 04:49:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e6deb9 [Pipeline] echo 04:49:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:49:52 provisioning config files... 04:49:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2336060016242338738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:49:52 ---> docker-login.sh 04:49:52 nexus3.edgexfoundry.org:10001 04:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:52 Configure a credential helper to remove this warning. See 04:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:52 04:49:52 Login Succeeded 04:49:52 nexus3.edgexfoundry.org:10002 04:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:52 Configure a credential helper to remove this warning. See 04:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:52 04:49:52 Login Succeeded 04:49:52 nexus3.edgexfoundry.org:10003 04:49:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:53 Configure a credential helper to remove this warning. See 04:49:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:53 04:49:53 Login Succeeded 04:49:53 nexus3.edgexfoundry.org:10004 04:49:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:53 Configure a credential helper to remove this warning. See 04:49:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:53 04:49:53 Login Succeeded 04:49:53 docker.io 04:49:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:53 Configure a credential helper to remove this warning. See 04:49:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:53 04:49:53 Login Succeeded 04:49:53 ---> docker-login.sh ends [Pipeline] } 04:49:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:49:53 + git rev-list -1 --merges 6e6deb91922711a067a4f69f557ff034afcc25fa~1..6e6deb91922711a067a4f69f557ff034afcc25fa [Pipeline] echo 04:49:53 -----------> git rev-list -1 --merges 6e6deb91922711a067a4f69f557ff034afcc25fa~1..6e6deb91922711a067a4f69f557ff034afcc25fa 6e6deb91922711a067a4f69f557ff034afcc25fa 04:49:53 6e6deb91922711a067a4f69f557ff034afcc25fa [false] [Pipeline] sh 04:49:53 + git log --format=format:%s -1 6e6deb91922711a067a4f69f557ff034afcc25fa [Pipeline] echo 04:49:54 ========================================================= 04:49:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:49:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:49:54 + git log --format=format:%s -1 6e6deb91922711a067a4f69f557ff034afcc25fa [Pipeline] echo 04:49:54 [semverPrep] GIT_COMMIT: 6e6deb91922711a067a4f69f557ff034afcc25fa, Commit Message: Merge pull request #1498 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.27 [Pipeline] echo 04:49:54 [semverPrep] This is not a build commit. [Pipeline] sh 04:49:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:49:54 + grep -v github /etc/ssh/ssh_known_hosts 04:49:54 + [ -e /tmp/ssh_known_hosts ] 04:49:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:49:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:49:54 + sudo tee -a /etc/ssh/ssh_known_hosts 04:49:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:49:55 04:49:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:49:55 0.1.4: Pulling from edgex-devops/py-git-semver 04:49:55 b85a868b505f: Pulling fs layer 04:49:55 e2be974225ed: Pulling fs layer 04:49:55 339a4e72a1f5: Pulling fs layer 04:49:55 988bab9f4d93: Pulling fs layer 04:49:55 1469e6f7b9e6: Pulling fs layer 04:49:55 eaf3925da568: Pulling fs layer 04:49:55 bab4dde63d76: Pulling fs layer 04:49:55 bde34c3a00c8: Pulling fs layer 04:49:55 b352a97aabf1: Pulling fs layer 04:49:55 4872d77fe225: Pulling fs layer 04:49:55 5851b861e8e6: Pulling fs layer 04:49:55 988bab9f4d93: Waiting 04:49:55 b352a97aabf1: Waiting 04:49:55 bde34c3a00c8: Waiting 04:49:55 bab4dde63d76: Waiting 04:49:55 eaf3925da568: Waiting 04:49:55 1469e6f7b9e6: Waiting 04:49:55 e2be974225ed: Download complete 04:49:55 988bab9f4d93: Download complete 04:49:55 1469e6f7b9e6: Verifying Checksum 04:49:55 1469e6f7b9e6: Download complete 04:49:55 eaf3925da568: Download complete 04:49:55 339a4e72a1f5: Download complete 04:49:55 bde34c3a00c8: Verifying Checksum 04:49:55 bde34c3a00c8: Download complete 04:49:55 b352a97aabf1: Verifying Checksum 04:49:55 b352a97aabf1: Download complete 04:49:55 4872d77fe225: Download complete 04:49:55 5851b861e8e6: Verifying Checksum 04:49:55 5851b861e8e6: Download complete 04:49:55 b85a868b505f: Verifying Checksum 04:49:55 b85a868b505f: Download complete 04:49:55 bab4dde63d76: Verifying Checksum 04:49:55 bab4dde63d76: Download complete 04:49:56 b85a868b505f: Pull complete 04:49:56 e2be974225ed: Pull complete 04:49:57 339a4e72a1f5: Pull complete 04:49:57 988bab9f4d93: Pull complete 04:49:57 1469e6f7b9e6: Pull complete 04:49:57 eaf3925da568: Pull complete 04:49:59 bab4dde63d76: Pull complete 04:49:59 bde34c3a00c8: Pull complete 04:49:59 b352a97aabf1: Pull complete 04:49:59 4872d77fe225: Pull complete 04:49:59 5851b861e8e6: Pull complete 04:49:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:49:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:49:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:00 prd-ubuntu20.04-docker-8c-8g-4350 does not seem to be running inside a container 04:50:00 $ 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 04:50:11 $ docker top f43d9cab858d9e0793f282ae0977ebb9d23caa6d803c6ee2a2f9c4f599313579 -eo pid,comm 04:50:11 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). 04:50:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:50:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:50:11 [ssh-agent] Looking for ssh-agent implementation... 04:50:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:50:11 $ docker exec f43d9cab858d9e0793f282ae0977ebb9d23caa6d803c6ee2a2f9c4f599313579 ssh-agent 04:50:11 SSH_AUTH_SOCK=/tmp/ssh-FzFXOLOIIu1m/agent.14 04:50:11 SSH_AGENT_PID=21 04:50:11 Running ssh-add (command line suppressed) 04:50:11 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7454797768393850339.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7454797768393850339.key) 04:50:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:50:12 + git tag --points-at HEAD [Pipeline] } 04:50:12 $ docker exec --env ******** --env ******** f43d9cab858d9e0793f282ae0977ebb9d23caa6d803c6ee2a2f9c4f599313579 ssh-agent -k 04:50:12 unset SSH_AUTH_SOCK; 04:50:12 unset SSH_AGENT_PID; 04:50:12 echo Agent pid 21 killed; 04:50:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:50:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:50:12 [ssh-agent] Looking for ssh-agent implementation... 04:50:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:50:12 $ docker exec f43d9cab858d9e0793f282ae0977ebb9d23caa6d803c6ee2a2f9c4f599313579 ssh-agent 04:50:12 SSH_AUTH_SOCK=/tmp/ssh-2cFebitQWDqe/agent.54 04:50:12 SSH_AGENT_PID=60 04:50:12 Running ssh-add (command line suppressed) 04:50:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12601269007286630664.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12601269007286630664.key) 04:50:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:50:13 + git semver init 04:50:13 2023-08-23 04:50:13,693 [run_init] DEBUG init version:0.0.0 force:False 04:50:13 2023-08-23 04:50:13,694 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:50:13 2023-08-23 04:50:13,696 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:50:13 2023-08-23 04:50:13,696 [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) 04:50:15 2023-08-23 04:50:15,034 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:50:15 2023-08-23 04:50:15,034 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:50:15 2023-08-23 04:50:15,035 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:50:15 2023-08-23 04:50:15,035 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:50:15 3.1.0-dev.15 [Pipeline] } 04:50:15 $ docker exec --env ******** --env ******** f43d9cab858d9e0793f282ae0977ebb9d23caa6d803c6ee2a2f9c4f599313579 ssh-agent -k 04:50:15 unset SSH_AUTH_SOCK; 04:50:15 unset SSH_AGENT_PID; 04:50:15 echo Agent pid 60 killed; 04:50:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:50:15 + git semver [Pipeline] } 04:50:15 $ docker stop --time=1 f43d9cab858d9e0793f282ae0977ebb9d23caa6d803c6ee2a2f9c4f599313579 04:50:19 $ docker rm -f --volumes f43d9cab858d9e0793f282ae0977ebb9d23caa6d803c6ee2a2f9c4f599313579 [Pipeline] // withDockerContainer [Pipeline] sh 04:50:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:50:20 Stashed 1 file(s) [Pipeline] echo 04:50:20 [edgeXSemver]: initialized semver on version 3.1.0-dev.15 [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 04:50:20 provisioning config files... 04:50:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10640227311525854659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:50:20 ---> docker-login.sh 04:50:20 nexus3.edgexfoundry.org:10001 04:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:20 Configure a credential helper to remove this warning. See 04:50:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:20 04:50:20 Login Succeeded 04:50:20 nexus3.edgexfoundry.org:10002 04:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:20 Configure a credential helper to remove this warning. See 04:50:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:20 04:50:20 Login Succeeded 04:50:20 nexus3.edgexfoundry.org:10003 04:50:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:21 Configure a credential helper to remove this warning. See 04:50:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:21 04:50:21 Login Succeeded 04:50:21 nexus3.edgexfoundry.org:10004 04:50:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:21 Configure a credential helper to remove this warning. See 04:50:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:21 04:50:21 Login Succeeded 04:50:21 docker.io 04:50:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:21 Configure a credential helper to remove this warning. See 04:50:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:21 04:50:21 Login Succeeded 04:50:21 ---> docker-login.sh ends [Pipeline] } 04:50:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:50:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:50:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:50:21 ========================================================= 04:50:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:50:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:21 + 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 . 04:50:21 Sending build context to Docker daemon 11.05MB 04:50:21 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:50:21 Step 2/10 : FROM ${BASE} AS builder 04:50:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:50:22 4db1b89c0bd1: Pulling fs layer 04:50:22 6911f1a30b25: Pulling fs layer 04:50:22 e194b8c5c2a9: Pulling fs layer 04:50:22 6863d3e3a2b1: Pulling fs layer 04:50:22 ec0bb842ea78: Pulling fs layer 04:50:22 40a00589a448: Pulling fs layer 04:50:22 6c08303d61cc: Pulling fs layer 04:50:22 798269fcf238: Pulling fs layer 04:50:22 6863d3e3a2b1: Waiting 04:50:22 40a00589a448: Waiting 04:50:22 ec0bb842ea78: Waiting 04:50:22 6c08303d61cc: Waiting 04:50:22 798269fcf238: Waiting 04:50:22 6911f1a30b25: Verifying Checksum 04:50:22 6911f1a30b25: Download complete 04:50:22 6863d3e3a2b1: Verifying Checksum 04:50:22 6863d3e3a2b1: Download complete 04:50:22 ec0bb842ea78: Verifying Checksum 04:50:22 ec0bb842ea78: Download complete 04:50:22 4db1b89c0bd1: Download complete 04:50:22 40a00589a448: Download complete 04:50:22 4db1b89c0bd1: Pull complete 04:50:22 6911f1a30b25: Pull complete 04:50:22 e194b8c5c2a9: Verifying Checksum 04:50:22 e194b8c5c2a9: Download complete 04:50:22 798269fcf238: Verifying Checksum 04:50:22 798269fcf238: Download complete 04:50:22 6c08303d61cc: Verifying Checksum 04:50:22 6c08303d61cc: Download complete 04:50:26 e194b8c5c2a9: Pull complete 04:50:26 6863d3e3a2b1: Pull complete 04:50:26 ec0bb842ea78: Pull complete 04:50:26 40a00589a448: Pull complete 04:50:28 6c08303d61cc: Pull complete 04:50:28 798269fcf238: Pull complete 04:50:28 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 04:50:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:50:28 ---> ec979cd7f677 04:50:28 Step 3/10 : ARG MAKE=make build 04:50:34 ---> Running in 4a80bd1b4fa7 04:50:34 Removing intermediate container 4a80bd1b4fa7 04:50:34 ---> 4ec0ed2efded 04:50:34 Step 4/10 : WORKDIR /device-sdk-go 04:50:34 ---> Running in 6dafc00cea49 04:50:34 Removing intermediate container 6dafc00cea49 04:50:34 ---> 659fd563c761 04:50:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:50:34 ---> Running in b3c85f1fbe00 04:50:34 Removing intermediate container b3c85f1fbe00 04:50:34 ---> a9ec76e22c0b 04:50:34 Step 6/10 : RUN apk add --update --no-cache make git 04:50:34 ---> Running in 8f1ba49ee050 04:50:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:50:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:50:35 OK: 265 MiB in 53 packages 04:50:35 Still waiting to schedule task 04:50:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4349’ is offline 04:50:35 Removing intermediate container 8f1ba49ee050 04:50:35 ---> 7b2730e327f1 04:50:35 Step 7/10 : COPY go.mod vendor* ./ 04:50:35 ---> f00cff03ba05 04:50:35 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:50:35 ---> Running in eaf97d2b1170 04:51:22 Removing intermediate container eaf97d2b1170 04:51:22 ---> c705bb7ae991 04:51:22 Step 9/10 : COPY . . 04:51:22 ---> fc79af50f0ac 04:51:22 Step 10/10 : RUN ${MAKE} 04:51:22 ---> Running in b130ac1e1352 04:51:22 noop 04:51:22 Removing intermediate container b130ac1e1352 04:51:22 ---> 9f9133fa288e 04:51:22 Successfully built 9f9133fa288e 04:51:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:22 + docker inspect -f . ci-base-image-x86_64 04:51:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:22 prd-ubuntu20.04-docker-8c-8g-4350 does not seem to be running inside a container 04:51:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:51:23 $ docker top 997d297239d01c1cd4adc6e3531cd14dd04d33b153d9121079275fe8c8302938 -eo pid,comm [Pipeline] { [Pipeline] sh 04:51:23 + go version 04:51:23 go version go1.20.6 linux/amd64 [Pipeline] } 04:51:23 $ docker stop --time=1 997d297239d01c1cd4adc6e3531cd14dd04d33b153d9121079275fe8c8302938 04:51:24 $ docker rm -f --volumes 997d297239d01c1cd4adc6e3531cd14dd04d33b153d9121079275fe8c8302938 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:25 + docker inspect -f . ci-base-image-x86_64 04:51:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:25 prd-ubuntu20.04-docker-8c-8g-4350 does not seem to be running inside a container 04:51:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:51:25 $ docker top d573f15257a66e3728e50bb6e7c6502ee29f03181145c9b16b6491ac228f8c17 -eo pid,comm [Pipeline] { [Pipeline] sh 04:51:25 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:51:26 + make test 04:51:26 go test -race -coverprofile=coverage.out ./... 04:51:32 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:51:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:51:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:51:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:51:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:51:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:51:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:51:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:51:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.059s coverage: 27.6% of statements 04:51:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.073s coverage: 80.2% of statements 04:51:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.084s coverage: 86.0% of statements 04:51:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:51:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.091s coverage: 71.8% of statements 04:51:47 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:51:47 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:51:47 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:51:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.062s coverage: 14.3% of statements 04:51:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.196s coverage: 43.8% of statements 04:51:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.092s coverage: 68.5% of statements 04:51:50 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.112s coverage: 89.2% of statements 04:51:50 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements 04:52:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4351 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:52:02 Running in /w/workspace/device-sdk-go/244 [Pipeline] { [Pipeline] checkout 04:52:02 The recommended git tool is: git 04:52:07 using credential edgex-jenkins-ssh 04:52:07 Cloning the remote Git repository 04:52:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:52:07 > git init /w/workspace/device-sdk-go/244 # timeout=10 04:52:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:52:07 > git --version # timeout=10 04:52:07 > git --version # 'git version 2.25.1' 04:52:07 using GIT_SSH to set credentials SSH Credentials for GitHub 04:52:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:52:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:52:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:52:10 Avoid second fetch 04:52:10 Checking out Revision 6e6deb91922711a067a4f69f557ff034afcc25fa (main) 04:52:10 Commit message: "Merge pull request #1498 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.27" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:52:10 > git config core.sparsecheckout # timeout=10 04:52:10 > git checkout -f 6e6deb91922711a067a4f69f557ff034afcc25fa # timeout=10 04:52:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:52:11 % Total % Received % Xferd Average Speed Time Time Time Current 04:52:11 Dload Upload Total Spent Left Speed 04:52:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh 04:52:12 GO111MODULE=on go vet ./... 04:52:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:52:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:52:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:52:12 ./bin/test-attribution-txt.sh 04:52:12 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 04:52:12 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 04:52:12 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 04:52:12 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 04:52:12 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 04:52:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] 04:52:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:52:12 + sudo tee /etc/docker/daemon.new 04:52:12 { 04:52:12 "registry-mirrors": [ 04:52:12 "https://nexus3.edgexfoundry.org:10001" 04:52:12 ], 04:52:12 "bip": "10.250.0.254/24", 04:52:12 "hosts": [ 04:52:12 "tcp://0.0.0.0:5555", 04:52:12 "unix:///var/run/docker.sock" 04:52:12 ], 04:52:12 "mtu": 1458, 04:52:12 "selinux-enabled": true, 04:52:12 "seccomp-profile": "/etc/docker/seccomp.json" 04:52:12 } [Pipeline] } 04:52:12 $ docker stop --time=1 d573f15257a66e3728e50bb6e7c6502ee29f03181145c9b16b6491ac228f8c17 04:52:15 $ docker rm -f --volumes d573f15257a66e3728e50bb6e7c6502ee29f03181145c9b16b6491ac228f8c17 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 04:52:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:52:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:52:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:52:16 + sudo service docker restart 04:52:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:52:17 + ls -al . 04:52:17 total 304 04:52:17 drwxrwxr-x 11 jenkins jenkins 4096 Aug 23 04:51 . 04:52:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 04:49 .. 04:52:17 -rw-rw-r-- 1 jenkins jenkins 140 Aug 23 04:49 .dockerignore 04:52:17 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 04:50 .git 04:52:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 04:49 .github 04:52:17 -rw-rw-r-- 1 jenkins jenkins 137 Aug 23 04:49 .gitignore 04:52:17 -rw-rw-r-- 1 jenkins jenkins 42 Aug 23 04:49 .golangci.yml 04:52:17 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 04:50 .semver 04:52:17 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 23 04:49 CHANGELOG.md 04:52:17 -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 04:49 GOVERNANCE.md 04:52:17 -rw-rw-r-- 1 jenkins jenkins 885 Aug 23 04:49 Jenkinsfile 04:52:17 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 23 04:49 LICENSE 04:52:17 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 23 04:49 Makefile 04:52:17 -rw-rw-r-- 1 jenkins jenkins 619 Aug 23 04:49 OWNERS.md 04:52:17 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 23 04:49 README.md 04:52:17 -rw-rw-r-- 1 jenkins jenkins 12 Aug 23 04:50 VERSION 04:52:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 04:49 bin 04:52:17 -rw-r--r-- 1 jenkins jenkins 120271 Aug 23 04:51 coverage.out 04:52:17 drwxrwxr-x 5 jenkins jenkins 4096 Aug 23 04:49 example 04:52:17 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 23 04:49 go.mod 04:52:17 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 23 04:49 go.sum 04:52:17 drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 04:49 internal 04:52:17 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 04:49 openapi 04:52:17 drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 04:49 pkg 04:52:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 04:49 snap 04:52:17 -rw-rw-r-- 1 jenkins jenkins 222 Aug 23 04:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:17 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=6e6deb91922711a067a4f69f557ff034afcc25fa --label arch=amd64 --label version=3.1.0-dev.15 . 04:52:17 Sending build context to Docker daemon 11.17MB 04:52:17 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 04:52:17 Step 2/23 : FROM ${BASE} AS builder 04:52:17 ---> 9f9133fa288e 04:52:17 Step 3/23 : ARG MAKE=make build 04:52:18 ---> Running in 2c577addfaac 04:52:18 Removing intermediate container 2c577addfaac 04:52:18 ---> 841a076d4d8f 04:52:18 Step 4/23 : WORKDIR /device-sdk-go 04:52:18 ---> Running in 3355b000b843 04:52:18 Removing intermediate container 3355b000b843 04:52:18 ---> 068be0eec365 04:52:18 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:52:18 ---> Running in 23cd3bc325a3 04:52:18 Removing intermediate container 23cd3bc325a3 04:52:18 ---> d2b2f9232ea1 04:52:18 Step 6/23 : RUN apk add --update --no-cache make git 04:52:18 ---> Running in 5f9bb63cf0d1 04:52:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:52:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:52:19 OK: 265 MiB in 53 packages 04:52:19 Removing intermediate container 5f9bb63cf0d1 04:52:19 ---> 41b7674f204a 04:52:19 Step 7/23 : COPY go.mod vendor* ./ 04:52:19 ---> 03beca0d5427 04:52:19 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:52:19 ---> Running in b3b299e80e8e 04:52:20 Removing intermediate container b3b299e80e8e 04:52:20 ---> 5b68c3c27db6 04:52:20 Step 9/23 : COPY . . 04:52:21 ---> 111157157182 04:52:21 Step 10/23 : RUN ${MAKE} 04:52:21 ---> Running in ecf60724d2dc 04:52:21 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.15" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:34 provisioning config files... 04:52:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/244@tmp/config12164086921157372966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:35 ---> docker-login.sh 04:52:35 nexus3.edgexfoundry.org:10001 04:52:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:35 Configure a credential helper to remove this warning. See 04:52:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:35 04:52:35 Login Succeeded 04:52:35 nexus3.edgexfoundry.org:10002 04:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:36 Configure a credential helper to remove this warning. See 04:52:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:36 04:52:36 Login Succeeded 04:52:36 nexus3.edgexfoundry.org:10003 04:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:36 Configure a credential helper to remove this warning. See 04:52:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:36 04:52:36 Login Succeeded 04:52:36 nexus3.edgexfoundry.org:10004 04:52:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:36 Configure a credential helper to remove this warning. See 04:52:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:36 04:52:36 Login Succeeded 04:52:36 docker.io 04:52:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:37 Configure a credential helper to remove this warning. See 04:52:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:37 04:52:37 Login Succeeded 04:52:37 ---> docker-login.sh ends [Pipeline] } 04:52:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:52:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:37 ========================================================= 04:52:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:52:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:38 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:52:38 Sending build context to Docker daemon 5.9MB 04:52:38 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:52:38 Step 2/10 : FROM ${BASE} AS builder 04:52:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:52:38 edb6bdbacee9: Pulling fs layer 04:52:38 5f9638ab2659: Pulling fs layer 04:52:38 8d51d6327a98: Pulling fs layer 04:52:38 8b374f2dd631: Pulling fs layer 04:52:38 ec14aa9079de: Pulling fs layer 04:52:38 2f466654f4bb: Pulling fs layer 04:52:38 554e91adad29: Pulling fs layer 04:52:38 8b374f2dd631: Waiting 04:52:38 ec14aa9079de: Waiting 04:52:38 2f466654f4bb: Waiting 04:52:38 5f9638ab2659: Verifying Checksum 04:52:38 5f9638ab2659: Download complete 04:52:38 8b374f2dd631: Download complete 04:52:38 ec14aa9079de: Verifying Checksum 04:52:38 ec14aa9079de: Download complete 04:52:38 edb6bdbacee9: Verifying Checksum 04:52:38 edb6bdbacee9: Download complete 04:52:40 554e91adad29: Verifying Checksum 04:52:40 554e91adad29: Download complete 04:52:41 edb6bdbacee9: Pull complete 04:52:41 2f466654f4bb: Verifying Checksum 04:52:41 2f466654f4bb: Download complete 04:52:41 8d51d6327a98: Verifying Checksum 04:52:41 8d51d6327a98: Download complete 04:52:41 5f9638ab2659: Pull complete 04:52:43 Removing intermediate container ecf60724d2dc 04:52:43 ---> f91389885d7c 04:52:43 Step 11/23 : FROM alpine:3.17 04:52:43 3.17: Pulling from library/alpine 04:52:43 9398808236ff: Pulling fs layer 04:52:43 9398808236ff: Verifying Checksum 04:52:43 9398808236ff: Download complete 04:52:43 9398808236ff: Pull complete 04:52:43 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 04:52:43 Status: Downloaded newer image for alpine:3.17 04:52:43 ---> 1e0b8b5322fc 04:52:43 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:52:43 ---> Running in 67bc10bfc013 04:52:43 Removing intermediate container 67bc10bfc013 04:52:43 ---> a3358f3d3d00 04:52:43 Step 13/23 : RUN apk add --update --no-cache 04:52:43 ---> Running in 73e826943066 04:52:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:52:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:52:43 OK: 7 MiB in 15 packages 04:52:43 Removing intermediate container 73e826943066 04:52:43 ---> 6980a6adb08c 04:52:43 Step 14/23 : WORKDIR / 04:52:43 ---> Running in 3714508f9e5c 04:52:43 Removing intermediate container 3714508f9e5c 04:52:43 ---> c814bfd50c9a 04:52:43 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:52:43 ---> 2a540ebd8093 04:52:43 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:52:43 ---> 3e188e0fe84e 04:52:43 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:52:43 ---> 906456c55114 04:52:43 Step 18/23 : EXPOSE 59999 04:52:43 ---> Running in f47e042d981b 04:52:43 Removing intermediate container f47e042d981b 04:52:43 ---> c8fc19c64052 04:52:43 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:52:43 ---> Running in fdb6c5081196 04:52:43 Removing intermediate container fdb6c5081196 04:52:43 ---> 7d39f98ef044 04:52:43 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:52:43 ---> Running in dc3fb0251149 04:52:43 Removing intermediate container dc3fb0251149 04:52:43 ---> 1f6f4929eff8 04:52:43 Step 21/23 : LABEL arch=amd64 04:52:43 ---> Running in a1da4ac31d0e 04:52:43 Removing intermediate container a1da4ac31d0e 04:52:43 ---> e76649578eaf 04:52:43 Step 22/23 : LABEL git_sha=6e6deb91922711a067a4f69f557ff034afcc25fa 04:52:43 ---> Running in 123c3aee1930 04:52:43 Removing intermediate container 123c3aee1930 04:52:43 ---> b0d1a16833e7 04:52:43 Step 23/23 : LABEL version=3.1.0-dev.15 04:52:43 ---> Running in 2845f6253a18 04:52:43 Removing intermediate container 2845f6253a18 04:52:43 ---> 3a747ec1d8ce 04:52:43 [Warning] One or more build-args [ARCH] were not consumed 04:52:43 Successfully built 3a747ec1d8ce 04:52:43 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 04:52:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:52:44 04:52:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:52:44 latest: Pulling from edgex-lftools-log-publisher 04:52:44 5eb5b503b376: Pulling fs layer 04:52:44 5c69ac0246d0: Pulling fs layer 04:52:44 ec43610c2a17: Pulling fs layer 04:52:44 3a2ae6a8a46f: Pulling fs layer 04:52:44 33b1e0a273af: Pulling fs layer 04:52:44 5d3b04190fa2: Pulling fs layer 04:52:44 2f39f015ded8: Pulling fs layer 04:52:44 33b1e0a273af: Waiting 04:52:44 5d3b04190fa2: Waiting 04:52:44 2f39f015ded8: Waiting 04:52:44 3a2ae6a8a46f: Waiting 04:52:44 5c69ac0246d0: Verifying Checksum 04:52:44 5c69ac0246d0: Download complete 04:52:44 3a2ae6a8a46f: Download complete 04:52:44 33b1e0a273af: Verifying Checksum 04:52:44 33b1e0a273af: Download complete 04:52:44 5d3b04190fa2: Verifying Checksum 04:52:44 5d3b04190fa2: Download complete 04:52:44 ec43610c2a17: Download complete 04:52:44 5eb5b503b376: Verifying Checksum 04:52:44 5eb5b503b376: Download complete 04:52:45 2f39f015ded8: Download complete 04:52:45 5eb5b503b376: Pull complete 04:52:45 5c69ac0246d0: Pull complete 04:52:46 ec43610c2a17: Pull complete 04:52:46 3a2ae6a8a46f: Pull complete 04:52:46 33b1e0a273af: Pull complete 04:52:46 5d3b04190fa2: Pull complete 04:52:50 2f39f015ded8: Pull complete 04:52:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:52:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:52:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:50 prd-ubuntu20.04-docker-8c-8g-4350 does not seem to be running inside a container 04:52:50 $ 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 04:52:56 8d51d6327a98: Pull complete 04:52:56 8b374f2dd631: Pull complete 04:52:56 ec14aa9079de: Pull complete 04:52:56 $ docker top 523098e072b44561d3fd983a73c7e6cdcea06f459a6cd605cdb26c621fbb0c7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:56 ---> job-cost.sh 04:52:56 lf-activate-venv: SKIPPING 04:52:56 INFO: No Stack... 04:52:57 INFO: Retrieving Pricing Info for: v3-standard-8 04:52:57 INFO: Archiving Costs [Pipeline] sh 04:52:57 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:52:57 + cut -d, -f6 [Pipeline] lock 04:52:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-244-stack-cost] 04:52:57 Resource [jenkins-edgexfoundry-device-sdk-go-main-244-stack-cost] did not exist. Created. 04:52:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-244-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:52:58 + echo total: 0.2199999988079071 [Pipeline] stash 04:52:58 Stashed 1 file(s) [Pipeline] } 04:52:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-244-stack-cost] [Pipeline] // lock [Pipeline] } 04:52:58 $ docker stop --time=1 523098e072b44561d3fd983a73c7e6cdcea06f459a6cd605cdb26c621fbb0c7b 04:52:59 $ docker rm -f --volumes 523098e072b44561d3fd983a73c7e6cdcea06f459a6cd605cdb26c621fbb0c7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:53:01 2f466654f4bb: Pull complete 04:53:03 554e91adad29: Pull complete 04:53:03 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 04:53:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:53:03 ---> 1e15ea492957 04:53:03 Step 3/10 : ARG MAKE=make build 04:53:05 ---> Running in f55336264c1e 04:53:05 Removing intermediate container f55336264c1e 04:53:05 ---> 40f905187c2f 04:53:05 Step 4/10 : WORKDIR /device-sdk-go 04:53:05 ---> Running in 353125e35f0b 04:53:05 Removing intermediate container 353125e35f0b 04:53:05 ---> 7885c5613884 04:53:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:53:06 ---> Running in cea57302011b 04:53:06 Removing intermediate container cea57302011b 04:53:06 ---> eea156b2c23e 04:53:06 Step 6/10 : RUN apk add --update --no-cache make git 04:53:06 ---> Running in ae4fb0d26958 04:53:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:53:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:53:09 OK: 263 MiB in 53 packages 04:53:10 Removing intermediate container ae4fb0d26958 04:53:10 ---> b69fdbb0a197 04:53:10 Step 7/10 : COPY go.mod vendor* ./ 04:53:10 ---> d877719c77d5 04:53:10 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:53:10 ---> Running in b06866637c21 04:54:18 Removing intermediate container b06866637c21 04:54:18 ---> 7ea7d33c6df0 04:54:18 Step 9/10 : COPY . . 04:54:18 ---> 7ea136f91d88 04:54:18 Step 10/10 : RUN ${MAKE} 04:54:18 ---> Running in a468cd768f13 04:54:18 noop 04:54:18 Removing intermediate container a468cd768f13 04:54:18 ---> 91d3a55f6171 04:54:18 Successfully built 91d3a55f6171 04:54:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:18 + docker inspect -f . ci-base-image-arm64 04:54:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:18 prd-ubuntu20.04-docker-arm64-4c-16g-4351 does not seem to be running inside a container 04:54:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/244 -v /w/workspace/device-sdk-go/244:/w/workspace/device-sdk-go/244:rw,z -v /w/workspace/device-sdk-go/244@tmp:/w/workspace/device-sdk-go/244@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 04:54:19 $ docker top 15c10edc22c207f91d7f32d2b5cb80893957aec48e1de1ee695b7b1bbd3eb021 -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:20 + go version 04:54:20 go version go1.20.6 linux/arm64 [Pipeline] } 04:54:20 $ docker stop --time=1 15c10edc22c207f91d7f32d2b5cb80893957aec48e1de1ee695b7b1bbd3eb021 04:54:22 $ docker rm -f --volumes 15c10edc22c207f91d7f32d2b5cb80893957aec48e1de1ee695b7b1bbd3eb021 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:22 + docker inspect -f . ci-base-image-arm64 04:54:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:23 prd-ubuntu20.04-docker-arm64-4c-16g-4351 does not seem to be running inside a container 04:54:23 $ 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/244 -v /w/workspace/device-sdk-go/244:/w/workspace/device-sdk-go/244:rw,z -v /w/workspace/device-sdk-go/244@tmp:/w/workspace/device-sdk-go/244@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 04:54:24 $ docker top 2f1ed5dd81aa8021b9da6f9c5c827a3865386d2b0bf25d99c066ace15de9243e -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:24 + git config --global --add safe.directory /w/workspace/device-sdk-go/244 [Pipeline] fileExists [Pipeline] sh 04:54:25 + make test 04:54:25 go test -race -coverprofile=coverage.out ./... 04:55:03 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:57:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:57:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:57:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:57:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:57:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:57:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.239s coverage: 27.6% of statements 04:57:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.418s coverage: 80.2% of statements 04:57:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:57:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:57:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.366s coverage: 86.0% of statements 04:57:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:57:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.429s coverage: 71.8% of statements 04:57:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.271s coverage: 14.3% of statements 04:57:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.742s coverage: 43.8% of statements 04:57:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:57:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:57:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.459s coverage: 68.5% of statements 04:57:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.429s coverage: 89.2% of statements 04:57:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:57:51 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.237s coverage: 5.5% of statements 04:57:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:57:52 GO111MODULE=on go vet ./... 05:00:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:00:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:00:14 ./bin/test-attribution-txt.sh 05:00:14 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 05:00:14 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 05:00:14 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 05:00:14 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 05:00:14 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 05:00:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:00:14 $ docker stop --time=1 2f1ed5dd81aa8021b9da6f9c5c827a3865386d2b0bf25d99c066ace15de9243e 05:00:17 $ docker rm -f --volumes 2f1ed5dd81aa8021b9da6f9c5c827a3865386d2b0bf25d99c066ace15de9243e [Pipeline] // withDockerContainer [Pipeline] sh 05:00:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:00:19 Warning: overwriting stash ‘coverage-report’ 05:00:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:00:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:00:20 + ls -al . 05:00:20 total 300 05:00:20 drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 04:54 . 05:00:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 04:52 .. 05:00:20 -rw-rw-r-- 1 jenkins jenkins 140 Aug 23 04:52 .dockerignore 05:00:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 04:52 .git 05:00:20 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 04:52 .github 05:00:20 -rw-rw-r-- 1 jenkins jenkins 137 Aug 23 04:52 .gitignore 05:00:20 -rw-rw-r-- 1 jenkins jenkins 42 Aug 23 04:52 .golangci.yml 05:00:20 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 23 04:52 CHANGELOG.md 05:00:20 -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 04:52 GOVERNANCE.md 05:00:20 -rw-rw-r-- 1 jenkins jenkins 885 Aug 23 04:52 Jenkinsfile 05:00:20 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 23 04:52 LICENSE 05:00:20 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 23 04:52 Makefile 05:00:20 -rw-rw-r-- 1 jenkins jenkins 619 Aug 23 04:52 OWNERS.md 05:00:20 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 23 04:52 README.md 05:00:20 -rw-rw-r-- 1 jenkins jenkins 12 Aug 23 04:50 VERSION 05:00:20 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 04:52 bin 05:00:20 -rw-r--r-- 1 jenkins jenkins 120272 Aug 23 04:57 coverage.out 05:00:20 drwxrwxr-x 5 jenkins jenkins 4096 Aug 23 04:52 example 05:00:20 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 23 04:52 go.mod 05:00:20 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 23 04:52 go.sum 05:00:20 drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 04:52 internal 05:00:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 04:52 openapi 05:00:20 drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 04:52 pkg 05:00:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 04:52 snap 05:00:20 -rw-rw-r-- 1 jenkins jenkins 222 Aug 23 04:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:20 + 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=6e6deb91922711a067a4f69f557ff034afcc25fa --label arch=arm64 --label version=3.1.0-dev.15 . 05:00:21 Sending build context to Docker daemon 6.021MB 05:00:21 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 05:00:21 Step 2/23 : FROM ${BASE} AS builder 05:00:21 ---> 91d3a55f6171 05:00:21 Step 3/23 : ARG MAKE=make build 05:00:21 ---> Running in 8fc579ae61cb 05:00:21 Removing intermediate container 8fc579ae61cb 05:00:21 ---> 0c1a4e05540a 05:00:21 Step 4/23 : WORKDIR /device-sdk-go 05:00:21 ---> Running in 9752b9ab725e 05:00:22 Removing intermediate container 9752b9ab725e 05:00:22 ---> 41355ee9b484 05:00:22 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:00:22 ---> Running in 27360e4ad9cb 05:00:22 Removing intermediate container 27360e4ad9cb 05:00:22 ---> 939da1915056 05:00:22 Step 6/23 : RUN apk add --update --no-cache make git 05:00:22 ---> Running in 490cfba499c3 05:00:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:00:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:00:25 OK: 263 MiB in 53 packages 05:00:25 Removing intermediate container 490cfba499c3 05:00:25 ---> 03dae53ff0c5 05:00:25 Step 7/23 : COPY go.mod vendor* ./ 05:00:26 ---> 3cf7479dd5f1 05:00:26 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:00:26 ---> Running in 6b0025628be6 05:00:28 Removing intermediate container 6b0025628be6 05:00:28 ---> 33b3a7d6abdf 05:00:28 Step 9/23 : COPY . . 05:00:29 ---> 430640588bbe 05:00:29 Step 10/23 : RUN ${MAKE} 05:00:29 ---> Running in e4cc0292f8b8 05:00:32 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.15" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:02:39 Removing intermediate container e4cc0292f8b8 05:02:39 ---> 3f85638b46c7 05:02:39 Step 11/23 : FROM alpine:3.17 05:02:39 3.17: Pulling from library/alpine 05:02:39 4060ece20d7a: Pulling fs layer 05:02:39 4060ece20d7a: Verifying Checksum 05:02:39 4060ece20d7a: Download complete 05:02:40 4060ece20d7a: Pull complete 05:02:40 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 05:02:40 Status: Downloaded newer image for alpine:3.17 05:02:40 ---> 8650cd65339b 05:02:40 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:02:40 ---> Running in f73b50e7b213 05:02:40 Removing intermediate container f73b50e7b213 05:02:40 ---> 31744be367d6 05:02:40 Step 13/23 : RUN apk add --update --no-cache 05:02:41 ---> Running in e9a382c419f6 05:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:02:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:02:43 OK: 7 MiB in 15 packages 05:02:44 Removing intermediate container e9a382c419f6 05:02:44 ---> 06ecb6531f97 05:02:44 Step 14/23 : WORKDIR / 05:02:44 ---> Running in 0a6f27a6a7a7 05:02:44 Removing intermediate container 0a6f27a6a7a7 05:02:44 ---> 0ba9f9fc3b58 05:02:44 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:02:45 ---> 9c50d15c1396 05:02:45 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:02:46 ---> aa9a930ee5cd 05:02:46 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:02:46 ---> d332900e89ed 05:02:46 Step 18/23 : EXPOSE 59999 05:02:46 ---> Running in 664f8a30f21b 05:02:47 Removing intermediate container 664f8a30f21b 05:02:47 ---> fcf644264c39 05:02:47 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:02:47 ---> Running in 9141e11c3152 05:02:47 Removing intermediate container 9141e11c3152 05:02:47 ---> 106142fff8db 05:02:47 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:02:47 ---> Running in c9a17d381f86 05:02:47 Removing intermediate container c9a17d381f86 05:02:47 ---> 52119445f4a6 05:02:47 Step 21/23 : LABEL arch=arm64 05:02:47 ---> Running in 4ece2148143e 05:02:48 Removing intermediate container 4ece2148143e 05:02:48 ---> d48cf886a924 05:02:48 Step 22/23 : LABEL git_sha=6e6deb91922711a067a4f69f557ff034afcc25fa 05:02:48 ---> Running in 54d0dcd4a4dc 05:02:48 Removing intermediate container 54d0dcd4a4dc 05:02:48 ---> ff4de112a4c0 05:02:48 Step 23/23 : LABEL version=3.1.0-dev.15 05:02:48 ---> Running in d304d83c6066 05:02:49 Removing intermediate container d304d83c6066 05:02:49 ---> a3b10fc925aa 05:02:49 [Warning] One or more build-args [ARCH] were not consumed 05:02:49 Successfully built a3b10fc925aa 05:02:49 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 05:02:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:02:49 05:02:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:02:49 arm64: Pulling from edgex-lftools-log-publisher 05:02:49 8998bd30e6a1: Pulling fs layer 05:02:49 04944245beec: Pulling fs layer 05:02:49 699f458cf7ca: Pulling fs layer 05:02:49 765212b225bb: Pulling fs layer 05:02:49 f23df028b6ca: Pulling fs layer 05:02:49 d65c8cfc05b1: Pulling fs layer 05:02:49 2437ff75d9bd: Pulling fs layer 05:02:49 765212b225bb: Waiting 05:02:49 d65c8cfc05b1: Waiting 05:02:49 f23df028b6ca: Waiting 05:02:49 2437ff75d9bd: Waiting 05:02:50 04944245beec: Verifying Checksum 05:02:50 04944245beec: Download complete 05:02:50 765212b225bb: Verifying Checksum 05:02:50 765212b225bb: Download complete 05:02:50 f23df028b6ca: Verifying Checksum 05:02:50 f23df028b6ca: Download complete 05:02:50 d65c8cfc05b1: Verifying Checksum 05:02:50 d65c8cfc05b1: Download complete 05:02:50 699f458cf7ca: Verifying Checksum 05:02:50 699f458cf7ca: Download complete 05:02:50 8998bd30e6a1: Verifying Checksum 05:02:50 8998bd30e6a1: Download complete 05:02:52 2437ff75d9bd: Verifying Checksum 05:02:52 2437ff75d9bd: Download complete 05:02:54 8998bd30e6a1: Pull complete 05:02:57 04944245beec: Pull complete 05:02:58 699f458cf7ca: Pull complete 05:02:58 765212b225bb: Pull complete 05:02:58 f23df028b6ca: Pull complete 05:02:58 d65c8cfc05b1: Pull complete 05:03:13 2437ff75d9bd: Pull complete 05:03:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:03:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:03:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:14 prd-ubuntu20.04-docker-arm64-4c-16g-4351 does not seem to be running inside a container 05:03:14 $ 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/244 -v /w/workspace/device-sdk-go/244:/w/workspace/device-sdk-go/244:rw,z -v /w/workspace/device-sdk-go/244@tmp:/w/workspace/device-sdk-go/244@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 05:03:16 $ docker top f6d521dfc5018313ceacc87be5e9d31f0be5dc52da6fc5feb4e5f38c9641ec36 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:17 ---> job-cost.sh 05:03:17 lf-activate-venv: SKIPPING 05:03:17 INFO: No Stack... 05:03:17 INFO: Retrieving Pricing Info for: v3-standard-4 05:03:18 INFO: Archiving Costs [Pipeline] sh 05:03:18 + + cat /w/workspace/device-sdk-go/244/archives/cost.csvcut 05:03:18 -d, -f6 [Pipeline] lock 05:03:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-244-stack-cost] 05:03:18 Resource [jenkins-edgexfoundry-device-sdk-go-main-244-stack-cost] did not exist. Created. 05:03:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-244-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:03:19 /w/workspace/device-sdk-go/244@tmp/durable-7e4464f6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:03:19 + echo total: 0.10999999940395355 [Pipeline] stash 05:03:19 Warning: overwriting stash ‘stack-cost’ 05:03:19 Stashed 1 file(s) [Pipeline] } 05:03:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-244-stack-cost] [Pipeline] // lock [Pipeline] } 05:03:19 $ docker stop --time=1 f6d521dfc5018313ceacc87be5e9d31f0be5dc52da6fc5feb4e5f38c9641ec36 05:03:22 $ docker rm -f --volumes f6d521dfc5018313ceacc87be5e9d31f0be5dc52da6fc5feb4e5f38c9641ec36 [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 05:03:23 provisioning config files... 05:03:23 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8036123211043856884tmp [Pipeline] { [Pipeline] sh 05:03:23 + set +x 05:03:23 + curl -s https://codecov.io/bash 05:03:23 + bash -s -- 05:03:23 05:03:23 _____ _ 05:03:23 / ____| | | 05:03:23 | | ___ __| | ___ ___ _____ __ 05:03:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:03:23 | |___| (_) | (_| | __/ (_| (_) \ V / 05:03:23 \_____\___/ \__,_|\___|\___\___/ \_/ 05:03:23 Bash-1.0.6 05:03:23 05:03:23 05:03:23 ==> git version 2.25.1 found 05:03:23 ==> 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 05:03:23 Release-Date: 2020-01-08 05:03:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:03:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:03:23 ==> Jenkins CI detected. 05:03:23 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:03:23 project root: . 05:03:23 --> token set from env 05:03:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:03:23 ==> Running gcov in . (disable via -X gcov) 05:03:23 ==> Python coveragepy not found 05:03:23 ==> Searching for coverage reports in: 05:03:23 + . 05:03:23 -> Found 1 reports 05:03:23 ==> Detecting git/mercurial file structure 05:03:23 ==> Reading reports 05:03:24 + ./coverage.out bytes=120272 05:03:24 ==> Appending adjustments 05:03:24 https://docs.codecov.io/docs/fixing-reports 05:03:24 + Found adjustments 05:03:24 ==> Gzipping contents 05:03:24 20K /tmp/codecov.1YzWlp.gz 05:03:24 ==> Uploading reports 05:03:24 url: https://codecov.io 05:03:24 query: branch=main&commit=6e6deb91922711a067a4f69f557ff034afcc25fa&build=244&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F244%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:03:24 -> Pinging Codecov 05:03:24 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=6e6deb91922711a067a4f69f557ff034afcc25fa&build=244&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F244%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:03:24 -> Uploading to 05:03:24 https://storage.googleapis.com/codecov/v4/raw/2023-08-23/7E55EF52A471D76F132DFD9A03CDDE97/6e6deb91922711a067a4f69f557ff034afcc25fa/df55b35e-7afe-4b79-b0f3-d02e7cb650ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230823%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230823T050324Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8b26dafce5da02e677e1380460428c76d302169932390396b3ad3bde16c280ef 05:03:24 % Total % Received % Xferd Average Speed Time Time Time Current 05:03:24 Dload Upload Total Spent Left Speed 05:03:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16436 0 0 100 16436 0 80965 --:--:-- --:--:-- --:--:-- 80965 05:03:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6e6deb91922711a067a4f69f557ff034afcc25fa [Pipeline] } 05:03:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:03:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:03:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:03:25 05:03:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:03:25 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:03:25 df9b9388f04a: Pulling fs layer 05:03:25 52dc419b0ee2: Pulling fs layer 05:03:25 25bc292e5bac: Pulling fs layer 05:03:25 114826534d7a: Pulling fs layer 05:03:25 4657fd5d0bcf: Pulling fs layer 05:03:25 6ad1cebc031e: Pulling fs layer 05:03:25 8a3aa393b2d8: Pulling fs layer 05:03:25 114826534d7a: Waiting 05:03:25 8a3aa393b2d8: Waiting 05:03:25 4657fd5d0bcf: Waiting 05:03:25 6ad1cebc031e: Waiting 05:03:25 25bc292e5bac: Verifying Checksum 05:03:25 25bc292e5bac: Download complete 05:03:25 52dc419b0ee2: Download complete 05:03:25 4657fd5d0bcf: Verifying Checksum 05:03:25 4657fd5d0bcf: Download complete 05:03:25 df9b9388f04a: Verifying Checksum 05:03:25 df9b9388f04a: Download complete 05:03:25 6ad1cebc031e: Verifying Checksum 05:03:25 6ad1cebc031e: Download complete 05:03:25 df9b9388f04a: Pull complete 05:03:26 114826534d7a: Verifying Checksum 05:03:26 114826534d7a: Download complete 05:03:26 8a3aa393b2d8: Verifying Checksum 05:03:26 8a3aa393b2d8: Download complete 05:03:26 52dc419b0ee2: Pull complete 05:03:26 25bc292e5bac: Pull complete 05:03:29 114826534d7a: Pull complete 05:03:29 4657fd5d0bcf: Pull complete 05:03:30 6ad1cebc031e: Pull complete 05:03:32 8a3aa393b2d8: Pull complete 05:03:32 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:03:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:03:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:32 prd-ubuntu20.04-docker-8c-8g-4350 does not seem to be running inside a container 05:03:32 $ 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 05:03:38 $ docker top cd8f220836607fa62ec0dd72eec74b147233cac8e372bae8a05e29e80faa9904 -eo pid,comm [Pipeline] { [Pipeline] echo 05:03:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:03:38 + set -o pipefail 05:03:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:03:42 05:03:42 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:03:42 05:03:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/c95e0a4b-baf7-4bb5-87b5-dffba7755483 05:03:42 05:03:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:03:42 05:03:43 05:03:43 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:03:43 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:03:43 More details here: https://snyk.co/ue1NS [Pipeline] } 05:03:43 $ docker stop --time=1 cd8f220836607fa62ec0dd72eec74b147233cac8e372bae8a05e29e80faa9904 05:03:47 $ docker rm -f --volumes cd8f220836607fa62ec0dd72eec74b147233cac8e372bae8a05e29e80faa9904 [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 05:03:47 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:47 provisioning config files... 05:03:47 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15696599663345268254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:48 --> edgex-publish-swagger.sh 05:03:48 === Publish openapi/v3 API === 05:03:48 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:03:48 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:03:48 % Total % Received % Xferd Average Speed Time Time Time Current 05:03:48 Dload Upload Total Spent Left Speed 05:03:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 50050 --:--:-- --:--:-- --:--:-- 49945 100 23674 0 0 100 23674 0 50050 --:--:-- --:--:-- --:--:-- 49945 05:03:48 05:03:48 [Pipeline] } 05:03:48 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 05:03:48 + git log --format=format:%s -1 6e6deb91922711a067a4f69f557ff034afcc25fa [Pipeline] sh 05:03:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:03:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:49 prd-ubuntu20.04-docker-8c-8g-4350 does not seem to be running inside a container 05:03:49 $ 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 05:03:49 $ docker top eef70f885bea60300f4d0d97e23cf6586a01241a9069e3562db6b1ec132e7310 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:03:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:49 [ssh-agent] Looking for ssh-agent implementation... 05:03:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:50 $ docker exec eef70f885bea60300f4d0d97e23cf6586a01241a9069e3562db6b1ec132e7310 ssh-agent 05:03:50 SSH_AUTH_SOCK=/tmp/ssh-VB3xWcXshkqm/agent.32 05:03:50 SSH_AGENT_PID=38 05:03:50 Running ssh-add (command line suppressed) 05:03:50 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_24144573050754489.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_24144573050754489.key) 05:03:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:50 + git semver tag 05:03:50 2023-08-23 05:03:50,755 [run_tag] DEBUG tag force:False 05:03:50 2023-08-23 05:03:50,756 [check_head_tag] DEBUG check head tag 05:03:50 2023-08-23 05:03:50,757 [execute] INFO git cat-file --batch-check 05:03:50 2023-08-23 05:03:50,757 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:03:50 2023-08-23 05:03:50,761 [execute] INFO git cat-file --batch 05:03:50 2023-08-23 05:03:50,761 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:03:50 2023-08-23 05:03:50,777 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:03:50 2023-08-23 05:03:50,777 [execute] INFO git tag -a v3.1.0-dev.15 -m v3.1.0-dev.15 05:03:50 2023-08-23 05:03:50,777 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.15', '-m', 'v3.1.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:03:50 2023-08-23 05:03:50,783 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:03:50 3.1.0-dev.15 [Pipeline] } 05:03:50 $ docker exec --env ******** --env ******** eef70f885bea60300f4d0d97e23cf6586a01241a9069e3562db6b1ec132e7310 ssh-agent -k 05:03:50 unset SSH_AUTH_SOCK; 05:03:50 unset SSH_AGENT_PID; 05:03:50 echo Agent pid 38 killed; 05:03:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:03:51 + git semver [Pipeline] } 05:03:51 $ docker stop --time=1 eef70f885bea60300f4d0d97e23cf6586a01241a9069e3562db6b1ec132e7310 05:03:52 $ docker rm -f --volumes eef70f885bea60300f4d0d97e23cf6586a01241a9069e3562db6b1ec132e7310 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:03:53 05:03:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:03:53 0.23.1-centos7: Pulling from edgex-lftools 05:03:53 ab5ef0e58194: Pulling fs layer 05:03:53 9712f1f96733: Pulling fs layer 05:03:53 63f879dbbcfc: Pulling fs layer 05:03:53 0d9ebad4ef96: Pulling fs layer 05:03:53 e9a5061849ea: Pulling fs layer 05:03:53 d747dcd14b5f: Pulling fs layer 05:03:53 2de7ff778b66: Pulling fs layer 05:03:53 0d9ebad4ef96: Waiting 05:03:53 d747dcd14b5f: Waiting 05:03:53 2de7ff778b66: Waiting 05:03:53 e9a5061849ea: Waiting 05:03:53 9712f1f96733: Verifying Checksum 05:03:53 9712f1f96733: Download complete 05:03:53 63f879dbbcfc: Verifying Checksum 05:03:53 63f879dbbcfc: Download complete 05:03:54 0d9ebad4ef96: Download complete 05:03:54 e9a5061849ea: Verifying Checksum 05:03:54 e9a5061849ea: Download complete 05:03:54 d747dcd14b5f: Download complete 05:03:54 ab5ef0e58194: Download complete 05:03:54 2de7ff778b66: Verifying Checksum 05:03:54 2de7ff778b66: Download complete 05:03:57 ab5ef0e58194: Pull complete 05:03:57 9712f1f96733: Pull complete 05:03:57 63f879dbbcfc: Pull complete 05:04:01 0d9ebad4ef96: Pull complete 05:04:01 e9a5061849ea: Pull complete 05:04:01 d747dcd14b5f: Pull complete 05:04:02 2de7ff778b66: Pull complete 05:04:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:04:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:04:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:02 prd-ubuntu20.04-docker-8c-8g-4350 does not seem to be running inside a container 05:04:02 $ 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 05:04:07 $ docker top bb5bbd2a3e4663d72db0ddcdfaeaf2425bce99fbc626491697e13e743875869b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:04:07 provisioning config files... 05:04:07 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3184189150667054573tmp 05:04:07 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3661001171191801623tmp 05:04:07 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config317035199128615703tmp [Pipeline] { [Pipeline] echo 05:04:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:04:07 ---> sigul-configuration.sh 05:04:07 gpg: directory `/root/.gnupg' created 05:04:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:04:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:04:07 gpg: keyring `/root/.gnupg/secring.gpg' created 05:04:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:04:07 gpg: CAST5 encrypted data 05:04:07 gpg: encrypted with 1 passphrase 05:04:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:04:07 + mkdir /home/jenkins 05:04:07 + mkdir /home/jenkins/sigul [Pipeline] sh 05:04:08 + 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 05:04:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:04:08 ---> sigul-install.sh 05:04:08 Sigul already installed; skipping installation. [Pipeline] sh 05:04:08 + git tag --list 05:04:08 0.7.1 05:04:08 delhi-tag 05:04:08 v1.0.0 05:04:08 v1.1.0 05:04:08 v1.1.1 05:04:08 v1.1.2 05:04:08 v1.2.0 05:04:08 v1.2.1 05:04:08 v1.2.2 05:04:08 v1.2.3 05:04:08 v1.3.0 05:04:08 v1.4.0 05:04:08 v2.0.0 05:04:08 v2.1.0 05:04:08 v2.1.1 05:04:08 v2.2.0 05:04:08 v2.3.0 05:04:08 v2.3.1 05:04:08 v3.0 05:04:08 v3.0.0 05:04:08 v3.0.1-dev.1 05:04:08 v3.1.0-dev.1 05:04:08 v3.1.0-dev.10 05:04:08 v3.1.0-dev.11 05:04:08 v3.1.0-dev.12 05:04:08 v3.1.0-dev.13 05:04:08 v3.1.0-dev.14 05:04:08 v3.1.0-dev.15 05:04:08 v3.1.0-dev.2 05:04:08 v3.1.0-dev.3 05:04:08 v3.1.0-dev.4 05:04:08 v3.1.0-dev.5 05:04:08 v3.1.0-dev.6 05:04:08 v3.1.0-dev.7 05:04:08 v3.1.0-dev.8 05:04:08 v3.1.0-dev.9 [Pipeline] sh 05:04:08 + lftools sign git-tag v3.1.0-dev.15 05:04:09 Signing Git tag with Sigul... 05:04:09 Signing v3.1.0-dev.15 [Pipeline] echo 05:04:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:04:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:04:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:04:10 $ docker stop --time=1 bb5bbd2a3e4663d72db0ddcdfaeaf2425bce99fbc626491697e13e743875869b 05:04:11 $ docker rm -f --volumes bb5bbd2a3e4663d72db0ddcdfaeaf2425bce99fbc626491697e13e743875869b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:04:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:12 prd-ubuntu20.04-docker-8c-8g-4350 does not seem to be running inside a container 05:04:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:04:12 $ docker top 89909020f53102c190e30cad1477e6d5c9c5746be9738ee5f2cc1bb1ee3c3d64 -eo pid,comm 05:04:12 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). 05:04:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:12 [ssh-agent] Looking for ssh-agent implementation... 05:04:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:12 $ docker exec 89909020f53102c190e30cad1477e6d5c9c5746be9738ee5f2cc1bb1ee3c3d64 ssh-agent 05:04:12 SSH_AUTH_SOCK=/tmp/ssh-ZFXULX9fIWwS/agent.31 05:04:12 SSH_AGENT_PID=38 05:04:12 Running ssh-add (command line suppressed) 05:04:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13986905115721398029.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13986905115721398029.key) 05:04:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:13 + git semver bump pre 05:04:13 2023-08-23 05:04:13,476 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:04:13 2023-08-23 05:04:13,476 [bump_version] DEBUG bumping version:3.1.0-dev.15 on axis:pre with prefix:dev 05:04:13 2023-08-23 05:04:13,476 [bump_version] DEBUG bumped version:3.1.0-dev.16 05:04:13 2023-08-23 05:04:13,476 [write_version] DEBUG write version:3.1.0-dev.16 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:04:13 2023-08-23 05:04:13,476 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:04:13 2023-08-23 05:04:13,476 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:04:13 2023-08-23 05:04:13,478 [execute] INFO git cat-file --batch-check 05:04:13 2023-08-23 05:04:13,478 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:04:13 2023-08-23 05:04:13,486 [execute] INFO git cat-file --batch 05:04:13 2023-08-23 05:04:13,486 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:04:13 2023-08-23 05:04:13,491 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:04:13 3.1.0-dev.16 [Pipeline] } 05:04:13 $ docker exec --env ******** --env ******** 89909020f53102c190e30cad1477e6d5c9c5746be9738ee5f2cc1bb1ee3c3d64 ssh-agent -k 05:04:13 unset SSH_AUTH_SOCK; 05:04:13 unset SSH_AGENT_PID; 05:04:13 echo Agent pid 38 killed; 05:04:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:14 + git semver [Pipeline] } 05:04:14 $ docker stop --time=1 89909020f53102c190e30cad1477e6d5c9c5746be9738ee5f2cc1bb1ee3c3d64 05:04:15 $ docker rm -f --volumes 89909020f53102c190e30cad1477e6d5c9c5746be9738ee5f2cc1bb1ee3c3d64 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:16 prd-ubuntu20.04-docker-8c-8g-4350 does not seem to be running inside a container 05:04:16 $ 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 05:04:16 $ docker top f639cfee9640e08d077593c009334eb9a913f8b45bd3ccd56e3c58db25676de4 -eo pid,comm 05:04:16 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). 05:04:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:16 [ssh-agent] Looking for ssh-agent implementation... 05:04:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:16 $ docker exec f639cfee9640e08d077593c009334eb9a913f8b45bd3ccd56e3c58db25676de4 ssh-agent 05:04:17 SSH_AUTH_SOCK=/tmp/ssh-0tUDnjHa3vAJ/agent.32 05:04:17 SSH_AGENT_PID=38 05:04:17 Running ssh-add (command line suppressed) 05:04:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13961298051127437510.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13961298051127437510.key) 05:04:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:17 + git semver push 05:04:17 2023-08-23 05:04:17,656 [run_push] DEBUG push 05:04:17 2023-08-23 05:04:17,656 [execute] INFO git cat-file --batch-check 05:04:17 2023-08-23 05:04:17,657 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:04:17 2023-08-23 05:04:17,661 [execute] INFO git rev-list 147f9402bccc95630b960a2687dd60305ffd987a -- 05:04:17 2023-08-23 05:04:17,661 [execute] DEBUG Popen(['git', 'rev-list', '147f9402bccc95630b960a2687dd60305ffd987a', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:04:17 2023-08-23 05:04:17,671 [execute] INFO git fetch -v origin 05:04:17 2023-08-23 05:04:17,672 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:04:18 2023-08-23 05:04:18,121 [run_push] DEBUG no remote changes detected 05:04:18 2023-08-23 05:04:18,122 [execute] INFO git push origin semver 05:04:18 2023-08-23 05:04:18,122 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:04:19 2023-08-23 05:04:18,874 [run_push] DEBUG push all version tags 05:04:19 2023-08-23 05:04:18,874 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:04:19 2023-08-23 05:04:18,875 [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) 05:04:19 2023-08-23 05:04:19,592 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:04:19 3.1.0-dev.16 [Pipeline] } 05:04:19 $ docker exec --env ******** --env ******** f639cfee9640e08d077593c009334eb9a913f8b45bd3ccd56e3c58db25676de4 ssh-agent -k 05:04:19 unset SSH_AUTH_SOCK; 05:04:19 unset SSH_AGENT_PID; 05:04:19 echo Agent pid 38 killed; 05:04:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:20 + git semver [Pipeline] } 05:04:20 $ docker stop --time=1 f639cfee9640e08d077593c009334eb9a913f8b45bd3ccd56e3c58db25676de4 05:04:21 $ docker rm -f --volumes f639cfee9640e08d077593c009334eb9a913f8b45bd3ccd56e3c58db25676de4 [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 05:04:22 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:04:22 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:04:22 total 16 05:04:22 drwxr-xr-x 3 root root 4096 Aug 23 04:52 . 05:04:22 drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 05:04 .. 05:04:22 drwxr-xr-x 2 root root 4096 Aug 23 04:52 cost 05:04:22 -rw-r--r-- 1 root root 85 Aug 23 04:52 cost.csv 05:04:22 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:04:22 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:04:22 total 16 05:04:22 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 04:52 . 05:04:22 drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 05:04 .. 05:04:22 drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 04:52 cost 05:04:22 -rw-r--r-- 1 jenkins jenkins 85 Aug 23 04:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:04:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:04:23 ---> package-listing.sh 05:04:23 ++ facter osfamily 05:04:23 ++ tr '[:upper:]' '[:lower:]' 05:04:23 + OS_FAMILY=debian 05:04:23 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:04:23 + START_PACKAGES=/tmp/packages_start.txt 05:04:23 + END_PACKAGES=/tmp/packages_end.txt 05:04:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:04:23 + PACKAGES=/tmp/packages_start.txt 05:04:23 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:04:23 + PACKAGES=/tmp/packages_end.txt 05:04:23 + case "${OS_FAMILY}" in 05:04:23 + dpkg -l 05:04:23 + grep '^ii' 05:04:23 + '[' -f /tmp/packages_start.txt ']' 05:04:23 + '[' -f /tmp/packages_end.txt ']' 05:04:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:04:23 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:04:23 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:04:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:04:23 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 05:04:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:26 prd-ubuntu20.04-docker-8c-8g-4350 does not seem to be running inside a container 05:04:26 $ 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 05:04:26 $ docker top 7e47defede57275bce493bd78763e3c5e36e8246ad677c2fc46539289ef32605 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:26 + touch /tmp/pre-build-complete [Pipeline] sh 05:04:27 + mkdir -p /var/log/sysstat [Pipeline] sh 05:04:27 + ls /var/log/sa-host 05:04:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:27 provisioning config files... 05:04:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18180400599130291417tmp [Pipeline] { [Pipeline] echo 05:04:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:04:27 ---> create-netrc.sh [Pipeline] } 05:04:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:04:28 ---> python-tools-install.sh [Pipeline] echo 05:04:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:04:28 ---> sudo-logs.sh 05:04:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:04:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:04:28 ---> job-cost.sh 05:04:28 lf-activate-venv: SKIPPING 05:04:28 DEBUG: total: 0.2199999988079071 05:04:28 INFO: Retrieving Stack Cost... 05:04:29 INFO: Retrieving Pricing Info for: v3-standard-8 05:04:29 INFO: Archiving Costs [Pipeline] echo 05:04:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:04:29 ---> logs-deploy.sh 05:04:29 lf-activate-venv: SKIPPING 05:04:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/244 05:04:29 INFO: archiving workspace using pattern(s): 05:04:30 Archives upload complete. 05:04:31 INFO: archiving logs to Nexus 05:04:31 ---> uname -a: 05:04:31 Linux prd-ubuntu20-04-docker-8c-8g-4350 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:04:31 05:04:31 05:04:31 ---> lscpu: 05:04:31 Architecture: x86_64 05:04:31 CPU op-mode(s): 32-bit, 64-bit 05:04:31 Byte Order: Little Endian 05:04:31 Address sizes: 40 bits physical, 48 bits virtual 05:04:31 CPU(s): 8 05:04:31 On-line CPU(s) list: 0-7 05:04:31 Thread(s) per core: 1 05:04:31 Core(s) per socket: 1 05:04:31 Socket(s): 8 05:04:31 NUMA node(s): 1 05:04:31 Vendor ID: AuthenticAMD 05:04:31 CPU family: 23 05:04:31 Model: 49 05:04:31 Model name: AMD EPYC-Rome Processor 05:04:31 Stepping: 0 05:04:31 CPU MHz: 2800.000 05:04:31 BogoMIPS: 5600.00 05:04:31 Virtualization: AMD-V 05:04:31 Hypervisor vendor: KVM 05:04:31 Virtualization type: full 05:04:31 L1d cache: 256 KiB 05:04:31 L1i cache: 256 KiB 05:04:31 L2 cache: 4 MiB 05:04:31 L3 cache: 128 MiB 05:04:31 NUMA node0 CPU(s): 0-7 05:04:31 Vulnerability Itlb multihit: Not affected 05:04:31 Vulnerability L1tf: Not affected 05:04:31 Vulnerability Mds: Not affected 05:04:31 Vulnerability Meltdown: Not affected 05:04:31 Vulnerability Mmio stale data: Not affected 05:04:31 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:04:31 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:04:31 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:04:31 Vulnerability Srbds: Not affected 05:04:31 Vulnerability Tsx async abort: Not affected 05:04:31 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 05:04:31 05:04:31