Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c51a94a8207d4a1ad8be458cdf522e8931b07b09 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-ssh5371091795696904106.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-ssh11138577600226861019.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-ssh9690206218767931506.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-ssh16182936562845161662.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-ssh9176834231480451465.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-4484’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4486 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 c51a94a8207d4a1ad8be458cdf522e8931b07b09 (main) Commit message: "Merge pull request #1501 from FelixTing/update-mock-deviceservicesdk" > git config core.sparsecheckout # timeout=10 > git checkout -f c51a94a8207d4a1ad8be458cdf522e8931b07b09 # timeout=10 > git rev-list --no-walk 6e6deb91922711a067a4f69f557ff034afcc25fa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:33:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:33:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:33:16 ========================================================= 03:33:16 EdgeX Global Pipelines Version Info 03:33:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:33:17 ------------------- 03:33:17 stable info: 03:33:17 ------------------- 03:33:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:33:17 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 03:33:17 Message: update stable to v1.0.253 03:33:18 ------------------- 03:33:18 experimental info: 03:33:18 ------------------- 03:33:18 Commited By: **** collab-it+edgex@linuxfoundation.org 03:33:18 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 03:33:18 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c51a94a8207d4a1ad8be458cdf522e8931b07b09 [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c51a94a [Pipeline] echo 03:33:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:33:18 provisioning config files... 03:33:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15610426987617936947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:19 ---> docker-login.sh 03:33:19 nexus3.edgexfoundry.org:10001 03:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:19 Configure a credential helper to remove this warning. See 03:33:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:19 03:33:19 Login Succeeded 03:33:19 nexus3.edgexfoundry.org:10002 03:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:19 Configure a credential helper to remove this warning. See 03:33:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:19 03:33:19 Login Succeeded 03:33:19 nexus3.edgexfoundry.org:10003 03:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:19 Configure a credential helper to remove this warning. See 03:33:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:19 03:33:19 Login Succeeded 03:33:19 nexus3.edgexfoundry.org:10004 03:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:19 Configure a credential helper to remove this warning. See 03:33:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:19 03:33:19 Login Succeeded 03:33:19 docker.io 03:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:21 Configure a credential helper to remove this warning. See 03:33:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:21 03:33:21 Login Succeeded 03:33:21 ---> docker-login.sh ends [Pipeline] } 03:33:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:33:21 + git rev-list -1 --merges c51a94a8207d4a1ad8be458cdf522e8931b07b09~1..c51a94a8207d4a1ad8be458cdf522e8931b07b09 [Pipeline] echo 03:33:21 -----------> git rev-list -1 --merges c51a94a8207d4a1ad8be458cdf522e8931b07b09~1..c51a94a8207d4a1ad8be458cdf522e8931b07b09 c51a94a8207d4a1ad8be458cdf522e8931b07b09 03:33:21 c51a94a8207d4a1ad8be458cdf522e8931b07b09 [false] [Pipeline] sh 03:33:21 + git log --format=format:%s -1 c51a94a8207d4a1ad8be458cdf522e8931b07b09 [Pipeline] echo 03:33:21 ========================================================= 03:33:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:33:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:33:22 + git log --format=format:%s -1 c51a94a8207d4a1ad8be458cdf522e8931b07b09 [Pipeline] echo 03:33:22 [semverPrep] GIT_COMMIT: c51a94a8207d4a1ad8be458cdf522e8931b07b09, Commit Message: Merge pull request #1501 from FelixTing/update-mock-deviceservicesdk [Pipeline] echo 03:33:22 [semverPrep] This is not a build commit. [Pipeline] sh 03:33:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:33:22 + grep -v github /etc/ssh/ssh_known_hosts 03:33:22 + [ -e /tmp/ssh_known_hosts ] 03:33:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:33:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:33:22 + sudo tee -a /etc/ssh/ssh_known_hosts 03:33:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:33:22 03:33:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:33:23 0.1.4: Pulling from edgex-devops/py-git-semver 03:33:23 b85a868b505f: Pulling fs layer 03:33:23 e2be974225ed: Pulling fs layer 03:33:23 339a4e72a1f5: Pulling fs layer 03:33:23 988bab9f4d93: Pulling fs layer 03:33:23 1469e6f7b9e6: Pulling fs layer 03:33:23 eaf3925da568: Pulling fs layer 03:33:23 bab4dde63d76: Pulling fs layer 03:33:23 bde34c3a00c8: Pulling fs layer 03:33:23 b352a97aabf1: Pulling fs layer 03:33:23 4872d77fe225: Pulling fs layer 03:33:23 5851b861e8e6: Pulling fs layer 03:33:23 bab4dde63d76: Waiting 03:33:23 b352a97aabf1: Waiting 03:33:23 bde34c3a00c8: Waiting 03:33:23 4872d77fe225: Waiting 03:33:23 988bab9f4d93: Waiting 03:33:23 1469e6f7b9e6: Waiting 03:33:23 5851b861e8e6: Waiting 03:33:23 eaf3925da568: Waiting 03:33:23 e2be974225ed: Download complete 03:33:23 988bab9f4d93: Verifying Checksum 03:33:23 988bab9f4d93: Download complete 03:33:23 1469e6f7b9e6: Verifying Checksum 03:33:23 1469e6f7b9e6: Download complete 03:33:23 339a4e72a1f5: Verifying Checksum 03:33:23 339a4e72a1f5: Download complete 03:33:23 bde34c3a00c8: Download complete 03:33:23 b352a97aabf1: Verifying Checksum 03:33:23 b352a97aabf1: Download complete 03:33:23 4872d77fe225: Verifying Checksum 03:33:23 4872d77fe225: Download complete 03:33:23 5851b861e8e6: Verifying Checksum 03:33:23 5851b861e8e6: Download complete 03:33:23 b85a868b505f: Verifying Checksum 03:33:23 b85a868b505f: Download complete 03:33:24 bab4dde63d76: Verifying Checksum 03:33:24 bab4dde63d76: Download complete 03:33:25 b85a868b505f: Pull complete 03:33:25 e2be974225ed: Pull complete 03:33:25 339a4e72a1f5: Pull complete 03:33:25 988bab9f4d93: Pull complete 03:33:26 1469e6f7b9e6: Pull complete 03:33:26 eaf3925da568: Pull complete 03:33:27 bab4dde63d76: Pull complete 03:33:27 bde34c3a00c8: Pull complete 03:33:28 b352a97aabf1: Pull complete 03:33:28 4872d77fe225: Pull complete 03:33:28 5851b861e8e6: Pull complete 03:33:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:33:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:33:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:28 prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container 03:33:28 $ 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 03:33:32 $ docker top 4437148c90ca515fce98bb642b2805c24f3db4699a01a45371ddbfff9b1d82af -eo pid,comm 03:33:32 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). 03:33:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:33:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:33:32 [ssh-agent] Looking for ssh-agent implementation... 03:33:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:33:32 $ docker exec 4437148c90ca515fce98bb642b2805c24f3db4699a01a45371ddbfff9b1d82af ssh-agent 03:33:32 SSH_AUTH_SOCK=/tmp/ssh-otn8aqQn1G1L/agent.32 03:33:32 SSH_AGENT_PID=38 03:33:32 Running ssh-add (command line suppressed) 03:33:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18379791577307257010.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18379791577307257010.key) 03:33:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:33:33 + git tag --points-at HEAD [Pipeline] } 03:33:33 $ docker exec --env ******** --env ******** 4437148c90ca515fce98bb642b2805c24f3db4699a01a45371ddbfff9b1d82af ssh-agent -k 03:33:33 unset SSH_AUTH_SOCK; 03:33:33 unset SSH_AGENT_PID; 03:33:33 echo Agent pid 38 killed; 03:33:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:33:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:33:33 [ssh-agent] Looking for ssh-agent implementation... 03:33:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:33:33 $ docker exec 4437148c90ca515fce98bb642b2805c24f3db4699a01a45371ddbfff9b1d82af ssh-agent 03:33:33 SSH_AUTH_SOCK=/tmp/ssh-b7GFI3yfXPwl/agent.71 03:33:33 SSH_AGENT_PID=77 03:33:33 Running ssh-add (command line suppressed) 03:33:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3821962159464623077.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3821962159464623077.key) 03:33:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:33:33 + git semver init 03:33:34 2023-08-25 03:33:34,193 [run_init] DEBUG init version:0.0.0 force:False 03:33:34 2023-08-25 03:33:34,193 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 03:33:34 2023-08-25 03:33:34,194 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 03:33:34 2023-08-25 03:33:34,194 [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) 03:33:35 2023-08-25 03:33:35,239 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 03:33:35 2023-08-25 03:33:35,239 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 03:33:35 2023-08-25 03:33:35,239 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:33:35 2023-08-25 03:33:35,239 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:33:35 3.1.0-dev.16 [Pipeline] } 03:33:35 $ docker exec --env ******** --env ******** 4437148c90ca515fce98bb642b2805c24f3db4699a01a45371ddbfff9b1d82af ssh-agent -k 03:33:35 unset SSH_AUTH_SOCK; 03:33:35 unset SSH_AGENT_PID; 03:33:35 echo Agent pid 77 killed; 03:33:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:33:36 + git semver [Pipeline] } 03:33:36 $ docker stop --time=1 4437148c90ca515fce98bb642b2805c24f3db4699a01a45371ddbfff9b1d82af 03:33:37 $ docker rm -f --volumes 4437148c90ca515fce98bb642b2805c24f3db4699a01a45371ddbfff9b1d82af [Pipeline] // withDockerContainer [Pipeline] sh 03:33:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:33:38 Stashed 1 file(s) [Pipeline] echo 03:33:38 [edgeXSemver]: initialized semver on version 3.1.0-dev.16 [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 03:33:38 provisioning config files... 03:33:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12890495419474205471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:38 ---> docker-login.sh 03:33:38 nexus3.edgexfoundry.org:10001 03:33:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:38 Configure a credential helper to remove this warning. See 03:33:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:38 03:33:38 Login Succeeded 03:33:38 nexus3.edgexfoundry.org:10002 03:33:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:38 Configure a credential helper to remove this warning. See 03:33:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:38 03:33:38 Login Succeeded 03:33:38 nexus3.edgexfoundry.org:10003 03:33:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:38 Configure a credential helper to remove this warning. See 03:33:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:38 03:33:38 Login Succeeded 03:33:38 nexus3.edgexfoundry.org:10004 03:33:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:38 Configure a credential helper to remove this warning. See 03:33:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:38 03:33:38 Login Succeeded 03:33:38 docker.io 03:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:39 Configure a credential helper to remove this warning. See 03:33:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:39 03:33:39 Login Succeeded 03:33:39 ---> docker-login.sh ends [Pipeline] } 03:33:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:33:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:33:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:33:39 ========================================================= 03:33:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:33:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:39 + 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 . 03:33:39 Sending build context to Docker daemon 11.07MB 03:33:39 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 03:33:39 Step 2/10 : FROM ${BASE} AS builder 03:33:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:33:39 4db1b89c0bd1: Pulling fs layer 03:33:39 6911f1a30b25: Pulling fs layer 03:33:39 e194b8c5c2a9: Pulling fs layer 03:33:39 6863d3e3a2b1: Pulling fs layer 03:33:39 ec0bb842ea78: Pulling fs layer 03:33:39 40a00589a448: Pulling fs layer 03:33:39 6c08303d61cc: Pulling fs layer 03:33:39 798269fcf238: Pulling fs layer 03:33:39 6863d3e3a2b1: Waiting 03:33:39 ec0bb842ea78: Waiting 03:33:39 40a00589a448: Waiting 03:33:39 6c08303d61cc: Waiting 03:33:39 798269fcf238: Waiting 03:33:39 6911f1a30b25: Verifying Checksum 03:33:39 6911f1a30b25: Download complete 03:33:39 6863d3e3a2b1: Verifying Checksum 03:33:39 6863d3e3a2b1: Download complete 03:33:39 ec0bb842ea78: Verifying Checksum 03:33:39 ec0bb842ea78: Download complete 03:33:39 4db1b89c0bd1: Verifying Checksum 03:33:39 4db1b89c0bd1: Download complete 03:33:39 40a00589a448: Verifying Checksum 03:33:39 40a00589a448: Download complete 03:33:39 4db1b89c0bd1: Pull complete 03:33:40 6911f1a30b25: Pull complete 03:33:40 798269fcf238: Verifying Checksum 03:33:40 798269fcf238: Download complete 03:33:40 e194b8c5c2a9: Download complete 03:33:40 6c08303d61cc: Verifying Checksum 03:33:40 6c08303d61cc: Download complete 03:33:43 e194b8c5c2a9: Pull complete 03:33:44 6863d3e3a2b1: Pull complete 03:33:44 ec0bb842ea78: Pull complete 03:33:44 40a00589a448: Pull complete 03:33:46 6c08303d61cc: Pull complete 03:33:47 798269fcf238: Pull complete 03:33:47 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 03:33:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:33:47 ---> ec979cd7f677 03:33:47 Step 3/10 : ARG MAKE=make build 03:33:53 Still waiting to schedule task 03:33:53 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4485’ is offline 03:33:54 ---> Running in a86058ae4b35 03:33:54 Removing intermediate container a86058ae4b35 03:33:54 ---> 9d431e023683 03:33:54 Step 4/10 : WORKDIR /device-sdk-go 03:33:54 ---> Running in 36372b5d3c45 03:33:54 Removing intermediate container 36372b5d3c45 03:33:54 ---> d449cb7b43d1 03:33:54 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:33:54 ---> Running in 3ac13c89e136 03:33:54 Removing intermediate container 3ac13c89e136 03:33:54 ---> c7cf4c054ccf 03:33:54 Step 6/10 : RUN apk add --update --no-cache make git 03:33:54 ---> Running in 84b108205a52 03:33:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:33:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:33:55 OK: 265 MiB in 53 packages 03:33:55 Removing intermediate container 84b108205a52 03:33:55 ---> 2d7ac0c56522 03:33:55 Step 7/10 : COPY go.mod vendor* ./ 03:33:55 ---> 9f9ed3067f09 03:33:55 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:33:55 ---> Running in 2055ed1b4315 03:34:27 Removing intermediate container 2055ed1b4315 03:34:27 ---> 9f7c7db6cc50 03:34:27 Step 9/10 : COPY . . 03:34:27 ---> a0f833dacd17 03:34:27 Step 10/10 : RUN ${MAKE} 03:34:27 ---> Running in c90c1ddba5c2 03:34:27 noop 03:34:27 Removing intermediate container c90c1ddba5c2 03:34:27 ---> fa0c3b1aa66c 03:34:27 Successfully built fa0c3b1aa66c 03:34:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:28 + docker inspect -f . ci-base-image-x86_64 03:34:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:34:28 prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container 03:34:28 $ 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 03:34:28 $ docker top 06eb17be2132c7ccbbb0ee6bc22aaff2584b74dbcdd619eb29d437c54c5a12e9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:34:28 + go version 03:34:28 go version go1.20.6 linux/amd64 [Pipeline] } 03:34:28 $ docker stop --time=1 06eb17be2132c7ccbbb0ee6bc22aaff2584b74dbcdd619eb29d437c54c5a12e9 03:34:30 $ docker rm -f --volumes 06eb17be2132c7ccbbb0ee6bc22aaff2584b74dbcdd619eb29d437c54c5a12e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:30 + docker inspect -f . ci-base-image-x86_64 03:34:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:34:30 prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container 03:34:30 $ 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 03:34:31 $ docker top 473904de22cc9d6b11305776f43e19efabcd6b53d81e0d7012fb823aa3694592 -eo pid,comm [Pipeline] { [Pipeline] sh 03:34:31 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 03:34:31 + make test 03:34:31 go test -race -coverprofile=coverage.out ./... 03:34:39 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:34:52 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 03:34:52 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:34:52 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:34:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 03:34:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:34:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements 03:34:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.063s coverage: 80.2% of statements 03:34:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:34:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:34:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.089s coverage: 86.0% of statements 03:34:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:34:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.088s coverage: 71.8% of statements 03:34:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:34:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:34:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 03:34:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.066s coverage: 14.3% of statements 03:34:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.019s coverage: 43.8% of statements 03:34:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.074s coverage: 68.5% of statements 03:34:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.116s coverage: 89.2% of statements 03:34:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 5.5% of statements 03:35:18 GO111MODULE=on go vet ./... 03:35:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:35:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:35:21 ./bin/test-attribution-txt.sh [Pipeline] echo 03:35:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:35:22 $ docker stop --time=1 473904de22cc9d6b11305776f43e19efabcd6b53d81e0d7012fb823aa3694592 03:35:25 $ docker rm -f --volumes 473904de22cc9d6b11305776f43e19efabcd6b53d81e0d7012fb823aa3694592 [Pipeline] // withDockerContainer [Pipeline] sh 03:35:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:35:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:35:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:35:27 + ls -al . 03:35:27 total 304 03:35:27 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 03:34 . 03:35:27 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 03:33 .. 03:35:27 -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 03:33 .dockerignore 03:35:27 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 03:33 .git 03:35:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 03:33 .github 03:35:27 -rw-rw-r-- 1 jenkins jenkins 137 Aug 25 03:33 .gitignore 03:35:27 -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 03:33 .golangci.yml 03:35:27 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 03:33 .semver 03:35:27 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 25 03:33 CHANGELOG.md 03:35:27 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 03:33 GOVERNANCE.md 03:35:27 -rw-rw-r-- 1 jenkins jenkins 885 Aug 25 03:33 Jenkinsfile 03:35:27 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 25 03:33 LICENSE 03:35:27 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 25 03:33 Makefile 03:35:27 -rw-rw-r-- 1 jenkins jenkins 619 Aug 25 03:33 OWNERS.md 03:35:27 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 25 03:33 README.md 03:35:27 -rw-rw-r-- 1 jenkins jenkins 12 Aug 25 03:33 VERSION 03:35:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 03:33 bin 03:35:27 -rw-r--r-- 1 jenkins jenkins 120273 Aug 25 03:34 coverage.out 03:35:27 drwxrwxr-x 5 jenkins jenkins 4096 Aug 25 03:33 example 03:35:27 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 25 03:33 go.mod 03:35:27 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 25 03:33 go.sum 03:35:27 drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 03:33 internal 03:35:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 03:33 openapi 03:35:27 drwxrwxr-x 6 jenkins jenkins 4096 Aug 25 03:33 pkg 03:35:27 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 03:33 snap 03:35:27 -rw-rw-r-- 1 jenkins jenkins 222 Aug 25 03:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4487 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 03:35:27 Running in /w/workspace/device-sdk-go/245 [Pipeline] { [Pipeline] checkout 03:35:27 The recommended git tool is: git 03:35:27 + 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=c51a94a8207d4a1ad8be458cdf522e8931b07b09 --label arch=amd64 --label version=3.1.0-dev.16 . 03:35:27 Sending build context to Docker daemon 11.19MB 03:35:27 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 03:35:27 Step 2/23 : FROM ${BASE} AS builder 03:35:27 ---> fa0c3b1aa66c 03:35:27 Step 3/23 : ARG MAKE=make build 03:35:27 ---> Running in 038268cf7de5 03:35:27 Removing intermediate container 038268cf7de5 03:35:27 ---> b415a0211473 03:35:27 Step 4/23 : WORKDIR /device-sdk-go 03:35:27 ---> Running in 9c2679eba9f0 03:35:27 Removing intermediate container 9c2679eba9f0 03:35:27 ---> 69ee7ee3579c 03:35:27 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:35:27 ---> Running in 6536f6bbcda8 03:35:28 Removing intermediate container 6536f6bbcda8 03:35:28 ---> 2feab841d0fb 03:35:28 Step 6/23 : RUN apk add --update --no-cache make git 03:35:28 ---> Running in aee57374f72d 03:35:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:35:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:35:28 OK: 265 MiB in 53 packages 03:35:29 Removing intermediate container aee57374f72d 03:35:29 ---> b145a1b814fd 03:35:29 Step 7/23 : COPY go.mod vendor* ./ 03:35:29 ---> 69f7e4133d6e 03:35:29 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:35:29 ---> Running in 759330a43b1f 03:35:30 Removing intermediate container 759330a43b1f 03:35:30 ---> e671c4183742 03:35:30 Step 9/23 : COPY . . 03:35:30 ---> 825b88d06ed1 03:35:30 Step 10/23 : RUN ${MAKE} 03:35:30 ---> Running in 08c09f77fd21 03:35:30 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.16" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:35:32 using credential edgex-jenkins-ssh 03:35:32 Cloning the remote Git repository 03:35:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:35:32 > git init /w/workspace/device-sdk-go/245 # timeout=10 03:35:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:35:32 > git --version # timeout=10 03:35:32 > git --version # 'git version 2.25.1' 03:35:32 using GIT_SSH to set credentials SSH Credentials for GitHub 03:35:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:35:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:35:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:35:35 Avoid second fetch 03:35:35 Checking out Revision c51a94a8207d4a1ad8be458cdf522e8931b07b09 (main) 03:35:35 Commit message: "Merge pull request #1501 from FelixTing/update-mock-deviceservicesdk" 03:35:35 > git config core.sparsecheckout # timeout=10 03:35:35 > git checkout -f c51a94a8207d4a1ad8be458cdf522e8931b07b09 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:35:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:35:36 % Total % Received % Xferd Average Speed Time Time Time Current 03:35:36 Dload Upload Total Spent Left Speed 03:35:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 46706 0 --:--:-- --:--:-- --:--:-- 46706 [Pipeline] sh 03:35:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:35:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:35:37 + sudo tee /etc/docker/daemon.new 03:35:37 { 03:35:37 "registry-mirrors": [ 03:35:37 "https://nexus3.edgexfoundry.org:10001" 03:35:37 ], 03:35:37 "bip": "10.250.0.254/24", 03:35:37 "hosts": [ 03:35:37 "tcp://0.0.0.0:5555", 03:35:37 "unix:///var/run/docker.sock" 03:35:37 ], 03:35:37 "mtu": 1458, 03:35:37 "selinux-enabled": true, 03:35:37 "seccomp-profile": "/etc/docker/seccomp.json" 03:35:37 } [Pipeline] sh 03:35:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:35:38 + sudo service docker restart 03:35:52 Removing intermediate container 08c09f77fd21 03:35:52 ---> b1b9eddbdb69 03:35:52 Step 11/23 : FROM alpine:3.17 03:35:52 3.17: Pulling from library/alpine 03:35:52 9398808236ff: Pulling fs layer 03:35:52 9398808236ff: Verifying Checksum 03:35:52 9398808236ff: Download complete 03:35:52 9398808236ff: Pull complete 03:35:52 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 03:35:52 Status: Downloaded newer image for alpine:3.17 03:35:52 ---> 1e0b8b5322fc 03:35:52 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:35:52 ---> Running in 94d510d6dbed 03:35:52 Removing intermediate container 94d510d6dbed 03:35:52 ---> 6c3f433e07b5 03:35:52 Step 13/23 : RUN apk add --update --no-cache 03:35:52 ---> Running in b81bda78b4fb 03:35:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:35:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:35:52 OK: 7 MiB in 15 packages 03:35:53 Removing intermediate container b81bda78b4fb 03:35:53 ---> 34c7d095cbfb 03:35:53 Step 14/23 : WORKDIR / 03:35:53 ---> Running in 943987e0e938 03:35:53 Removing intermediate container 943987e0e938 03:35:53 ---> 9cd4a0c1dbbd 03:35:53 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:35:53 ---> 84aacbc5949d 03:35:53 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:35:54 ---> 9e8ad82d8fb8 03:35:54 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:35:54 ---> fba00a800512 03:35:54 Step 18/23 : EXPOSE 59999 03:35:54 ---> Running in 75c0b3d3a44c 03:35:54 Removing intermediate container 75c0b3d3a44c 03:35:54 ---> e933a50c94ab 03:35:54 Step 19/23 : ENTRYPOINT ["/device-simple"] 03:35:54 ---> Running in 5d16c286a552 03:35:54 Removing intermediate container 5d16c286a552 03:35:54 ---> fa34484d21ad 03:35:54 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:35:54 ---> Running in b18280cd0527 03:35:54 Removing intermediate container b18280cd0527 03:35:54 ---> f63a5f92f011 03:35:54 Step 21/23 : LABEL arch=amd64 03:35:54 ---> Running in 081f6234d2bb 03:35:54 Removing intermediate container 081f6234d2bb 03:35:54 ---> 11792c7b26e3 03:35:54 Step 22/23 : LABEL git_sha=c51a94a8207d4a1ad8be458cdf522e8931b07b09 03:35:54 ---> Running in 72bb457c7160 03:35:54 Removing intermediate container 72bb457c7160 03:35:54 ---> fefe1336d7a0 03:35:54 Step 23/23 : LABEL version=3.1.0-dev.16 03:35:54 ---> Running in 1ad84b7c3010 03:35:54 Removing intermediate container 1ad84b7c3010 03:35:54 ---> bce439640006 03:35:54 [Warning] One or more build-args [ARCH] were not consumed 03:35:54 Successfully built bce439640006 03:35:54 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 03:35:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:35:55 03:35:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:35:55 latest: Pulling from edgex-lftools-log-publisher 03:35:55 5eb5b503b376: Pulling fs layer 03:35:55 5c69ac0246d0: Pulling fs layer 03:35:55 ec43610c2a17: Pulling fs layer 03:35:55 3a2ae6a8a46f: Pulling fs layer 03:35:55 33b1e0a273af: Pulling fs layer 03:35:55 5d3b04190fa2: Pulling fs layer 03:35:55 2f39f015ded8: Pulling fs layer 03:35:55 3a2ae6a8a46f: Waiting 03:35:55 33b1e0a273af: Waiting 03:35:55 5d3b04190fa2: Waiting 03:35:55 2f39f015ded8: Waiting 03:35:55 5c69ac0246d0: Download complete 03:35:55 3a2ae6a8a46f: Verifying Checksum 03:35:55 3a2ae6a8a46f: Download complete 03:35:55 33b1e0a273af: Verifying Checksum 03:35:55 33b1e0a273af: Download complete 03:35:55 ec43610c2a17: Verifying Checksum 03:35:55 ec43610c2a17: Download complete 03:35:55 5d3b04190fa2: Download complete 03:35:55 5eb5b503b376: Verifying Checksum 03:35:55 5eb5b503b376: Download complete 03:35:56 2f39f015ded8: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:35:56 provisioning config files... 03:35:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/245@tmp/config13433930381798435243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:35:57 ---> docker-login.sh 03:35:57 nexus3.edgexfoundry.org:10001 03:35:57 5eb5b503b376: Pull complete 03:35:57 5c69ac0246d0: Pull complete 03:35:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:57 ec43610c2a17: Pull complete 03:35:57 3a2ae6a8a46f: Pull complete 03:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:57 Configure a credential helper to remove this warning. See 03:35:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:57 03:35:57 Login Succeeded 03:35:57 nexus3.edgexfoundry.org:10002 03:35:58 33b1e0a273af: Pull complete 03:35:58 5d3b04190fa2: Pull complete 03:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:58 Configure a credential helper to remove this warning. See 03:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:58 03:35:58 Login Succeeded 03:35:58 nexus3.edgexfoundry.org:10003 03:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:58 Configure a credential helper to remove this warning. See 03:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:58 03:35:58 Login Succeeded 03:35:58 nexus3.edgexfoundry.org:10004 03:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:58 Configure a credential helper to remove this warning. See 03:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:58 03:35:58 Login Succeeded 03:35:58 docker.io 03:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:59 Configure a credential helper to remove this warning. See 03:35:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:59 03:35:59 Login Succeeded 03:35:59 ---> docker-login.sh ends [Pipeline] } 03:35:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:35:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:35:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:35:59 ========================================================= 03:35:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:35:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:00 + 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 . 03:36:00 Sending build context to Docker daemon 5.912MB 03:36:00 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 03:36:00 Step 2/10 : FROM ${BASE} AS builder 03:36:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:36:00 edb6bdbacee9: Pulling fs layer 03:36:00 5f9638ab2659: Pulling fs layer 03:36:00 8d51d6327a98: Pulling fs layer 03:36:00 8b374f2dd631: Pulling fs layer 03:36:00 ec14aa9079de: Pulling fs layer 03:36:00 2f466654f4bb: Pulling fs layer 03:36:00 554e91adad29: Pulling fs layer 03:36:00 ec14aa9079de: Waiting 03:36:00 2f466654f4bb: Waiting 03:36:00 8b374f2dd631: Waiting 03:36:00 554e91adad29: Waiting 03:36:00 5f9638ab2659: Verifying Checksum 03:36:00 5f9638ab2659: Download complete 03:36:00 8b374f2dd631: Verifying Checksum 03:36:00 8b374f2dd631: Download complete 03:36:00 ec14aa9079de: Verifying Checksum 03:36:00 ec14aa9079de: Download complete 03:36:00 edb6bdbacee9: Download complete 03:36:01 edb6bdbacee9: Pull complete 03:36:01 554e91adad29: Verifying Checksum 03:36:01 554e91adad29: Download complete 03:36:02 5f9638ab2659: Pull complete 03:36:02 2f39f015ded8: Pull complete 03:36:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:36:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:36:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:02 prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container 03:36:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 03:36:03 8d51d6327a98: Verifying Checksum 03:36:03 8d51d6327a98: Download complete 03:36:03 2f466654f4bb: Verifying Checksum 03:36:03 2f466654f4bb: Download complete 03:36:05 $ docker top 702ac9340721ce7eede5151d6d7ce250b8a82408153bbaf532e61b2eef1f5640 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:36:06 ---> job-cost.sh 03:36:06 lf-activate-venv: SKIPPING 03:36:06 INFO: No Stack... 03:36:06 INFO: Retrieving Pricing Info for: v3-standard-8 03:36:06 INFO: Archiving Costs [Pipeline] sh 03:36:06 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 03:36:06 + cut -d, -f6 [Pipeline] lock 03:36:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-245-stack-cost] 03:36:06 Resource [jenkins-edgexfoundry-device-sdk-go-main-245-stack-cost] did not exist. Created. 03:36:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-245-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:36:07 + echo total: 0.2199999988079071 [Pipeline] stash 03:36:07 Stashed 1 file(s) [Pipeline] } 03:36:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-245-stack-cost] [Pipeline] // lock [Pipeline] } 03:36:07 $ docker stop --time=1 702ac9340721ce7eede5151d6d7ce250b8a82408153bbaf532e61b2eef1f5640 03:36:08 $ docker rm -f --volumes 702ac9340721ce7eede5151d6d7ce250b8a82408153bbaf532e61b2eef1f5640 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:36:15 8d51d6327a98: Pull complete 03:36:15 8b374f2dd631: Pull complete 03:36:15 ec14aa9079de: Pull complete 03:36:22 2f466654f4bb: Pull complete 03:36:23 554e91adad29: Pull complete 03:36:23 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 03:36:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:36:23 ---> 1e15ea492957 03:36:23 Step 3/10 : ARG MAKE=make build 03:36:25 ---> Running in ce52d075dcb3 03:36:25 Removing intermediate container ce52d075dcb3 03:36:25 ---> 0a892596c139 03:36:25 Step 4/10 : WORKDIR /device-sdk-go 03:36:25 ---> Running in db0033bfc047 03:36:26 Removing intermediate container db0033bfc047 03:36:26 ---> bf1b53f1c693 03:36:26 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:36:26 ---> Running in ae367ff02c71 03:36:26 Removing intermediate container ae367ff02c71 03:36:26 ---> 577f38e97c62 03:36:26 Step 6/10 : RUN apk add --update --no-cache make git 03:36:26 ---> Running in f0f554dbdbb5 03:36:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:36:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:36:29 OK: 263 MiB in 53 packages 03:36:29 Removing intermediate container f0f554dbdbb5 03:36:29 ---> 47d523c89838 03:36:29 Step 7/10 : COPY go.mod vendor* ./ 03:36:30 ---> 6fff8257351d 03:36:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:36:30 ---> Running in 006a97bc29e1 03:37:38 Removing intermediate container 006a97bc29e1 03:37:38 ---> 9c10ff4f949a 03:37:38 Step 9/10 : COPY . . 03:37:38 ---> 7f9b83028591 03:37:38 Step 10/10 : RUN ${MAKE} 03:37:38 ---> Running in 3dd961d461af 03:37:38 noop 03:37:38 Removing intermediate container 3dd961d461af 03:37:38 ---> c37e28eb0f96 03:37:38 Successfully built c37e28eb0f96 03:37:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:38 + docker inspect -f . ci-base-image-arm64 03:37:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:39 prd-ubuntu20.04-docker-arm64-4c-16g-4487 does not seem to be running inside a container 03:37:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/245 -v /w/workspace/device-sdk-go/245:/w/workspace/device-sdk-go/245:rw,z -v /w/workspace/device-sdk-go/245@tmp:/w/workspace/device-sdk-go/245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:37:40 $ docker top 750ed99b731f162f4d2d9ec695e9ca3bc5315e87b867be90664bc373f28d4ade -eo pid,comm [Pipeline] { [Pipeline] sh 03:37:41 + go version 03:37:41 go version go1.20.6 linux/arm64 [Pipeline] } 03:37:41 $ docker stop --time=1 750ed99b731f162f4d2d9ec695e9ca3bc5315e87b867be90664bc373f28d4ade 03:37:42 $ docker rm -f --volumes 750ed99b731f162f4d2d9ec695e9ca3bc5315e87b867be90664bc373f28d4ade [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:43 + docker inspect -f . ci-base-image-arm64 03:37:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:43 prd-ubuntu20.04-docker-arm64-4c-16g-4487 does not seem to be running inside a container 03:37:43 $ 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/245 -v /w/workspace/device-sdk-go/245:/w/workspace/device-sdk-go/245:rw,z -v /w/workspace/device-sdk-go/245@tmp:/w/workspace/device-sdk-go/245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:37:44 $ docker top 60717284eef7173ac3be5b71a9efc85127dfca472fc023524588577ebcd36a1e -eo pid,comm [Pipeline] { [Pipeline] sh 03:37:45 + git config --global --add safe.directory /w/workspace/device-sdk-go/245 [Pipeline] fileExists [Pipeline] sh 03:37:45 + make test 03:37:45 go test -race -coverprofile=coverage.out ./... 03:38:24 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:40:31 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 03:40:31 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:40:31 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:40:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 03:40:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:40:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.219s coverage: 27.6% of statements 03:40:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.250s coverage: 80.2% of statements 03:40:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:40:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:40:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.338s coverage: 86.0% of statements 03:40:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:40:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.538s coverage: 71.8% of statements 03:41:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.289s coverage: 14.3% of statements 03:41:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:41:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:41:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.183s coverage: 43.8% of statements 03:41:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.437s coverage: 68.5% of statements 03:41:08 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.439s coverage: 89.2% of statements 03:41:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 03:41:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.249s coverage: 5.5% of statements 03:41:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:41:10 GO111MODULE=on go vet ./... 03:43:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:43:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:43:32 ./bin/test-attribution-txt.sh [Pipeline] echo 03:43:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:43:32 $ docker stop --time=1 60717284eef7173ac3be5b71a9efc85127dfca472fc023524588577ebcd36a1e 03:43:36 $ docker rm -f --volumes 60717284eef7173ac3be5b71a9efc85127dfca472fc023524588577ebcd36a1e [Pipeline] // withDockerContainer [Pipeline] sh 03:43:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:43:37 Warning: overwriting stash ‘coverage-report’ 03:43:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:43:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:43:38 + ls -al . 03:43:38 total 300 03:43:38 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 03:37 . 03:43:38 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 03:35 .. 03:43:38 -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 03:35 .dockerignore 03:43:38 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 03:35 .git 03:43:38 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 03:35 .github 03:43:38 -rw-rw-r-- 1 jenkins jenkins 137 Aug 25 03:35 .gitignore 03:43:38 -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 03:35 .golangci.yml 03:43:38 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 25 03:35 CHANGELOG.md 03:43:38 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 03:35 GOVERNANCE.md 03:43:38 -rw-rw-r-- 1 jenkins jenkins 885 Aug 25 03:35 Jenkinsfile 03:43:38 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 25 03:35 LICENSE 03:43:38 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 25 03:35 Makefile 03:43:38 -rw-rw-r-- 1 jenkins jenkins 619 Aug 25 03:35 OWNERS.md 03:43:38 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 25 03:35 README.md 03:43:38 -rw-rw-r-- 1 jenkins jenkins 12 Aug 25 03:33 VERSION 03:43:38 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 03:35 bin 03:43:38 -rw-r--r-- 1 jenkins jenkins 120271 Aug 25 03:41 coverage.out 03:43:38 drwxrwxr-x 5 jenkins jenkins 4096 Aug 25 03:35 example 03:43:38 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 25 03:35 go.mod 03:43:38 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 25 03:35 go.sum 03:43:38 drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 03:35 internal 03:43:38 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 03:35 openapi 03:43:38 drwxrwxr-x 6 jenkins jenkins 4096 Aug 25 03:35 pkg 03:43:38 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 03:35 snap 03:43:38 -rw-rw-r-- 1 jenkins jenkins 222 Aug 25 03:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:39 + 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=c51a94a8207d4a1ad8be458cdf522e8931b07b09 --label arch=arm64 --label version=3.1.0-dev.16 . 03:43:39 Sending build context to Docker daemon 6.033MB 03:43:39 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 03:43:39 Step 2/23 : FROM ${BASE} AS builder 03:43:39 ---> c37e28eb0f96 03:43:39 Step 3/23 : ARG MAKE=make build 03:43:39 ---> Running in 60364beca2b0 03:43:40 Removing intermediate container 60364beca2b0 03:43:40 ---> de523a915805 03:43:40 Step 4/23 : WORKDIR /device-sdk-go 03:43:40 ---> Running in 1ebefeea37c7 03:43:40 Removing intermediate container 1ebefeea37c7 03:43:40 ---> ebd39489f77b 03:43:40 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:43:40 ---> Running in a056720e06a4 03:43:40 Removing intermediate container a056720e06a4 03:43:40 ---> 89ea32b3a56c 03:43:40 Step 6/23 : RUN apk add --update --no-cache make git 03:43:40 ---> Running in 48187eae8ced 03:43:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:43:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:43:43 OK: 263 MiB in 53 packages 03:43:44 Removing intermediate container 48187eae8ced 03:43:44 ---> 4c290d83651a 03:43:44 Step 7/23 : COPY go.mod vendor* ./ 03:43:44 ---> 74d15887b827 03:43:44 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:43:44 ---> Running in 2e1f72d8131b 03:43:48 Removing intermediate container 2e1f72d8131b 03:43:48 ---> 83f39e7ececc 03:43:48 Step 9/23 : COPY . . 03:43:50 ---> 0afb73a4f72e 03:43:50 Step 10/23 : RUN ${MAKE} 03:43:50 ---> Running in 69793978b56f 03:43:50 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.16" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:45:57 Removing intermediate container 69793978b56f 03:45:57 ---> f015a4082f22 03:45:57 Step 11/23 : FROM alpine:3.17 03:45:58 3.17: Pulling from library/alpine 03:45:58 4060ece20d7a: Pulling fs layer 03:45:58 4060ece20d7a: Verifying Checksum 03:45:58 4060ece20d7a: Download complete 03:46:01 4060ece20d7a: Pull complete 03:46:01 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 03:46:01 Status: Downloaded newer image for alpine:3.17 03:46:01 ---> 8650cd65339b 03:46:01 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:46:01 ---> Running in 62996c2e1f26 03:46:01 Removing intermediate container 62996c2e1f26 03:46:01 ---> 0cd1bfda5c13 03:46:01 Step 13/23 : RUN apk add --update --no-cache 03:46:01 ---> Running in fcf1c3cd5fbc 03:46:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:46:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:46:04 OK: 7 MiB in 15 packages 03:46:04 Removing intermediate container fcf1c3cd5fbc 03:46:04 ---> 648e94f2a35f 03:46:04 Step 14/23 : WORKDIR / 03:46:04 ---> Running in 026d150bb5b6 03:46:05 Removing intermediate container 026d150bb5b6 03:46:05 ---> 394abbaefbe4 03:46:05 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:46:05 ---> 1db34d3dbc05 03:46:05 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:46:06 ---> eba0bc30dcd8 03:46:06 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:46:07 ---> a79095599c28 03:46:07 Step 18/23 : EXPOSE 59999 03:46:07 ---> Running in 67efdb8c9746 03:46:07 Removing intermediate container 67efdb8c9746 03:46:07 ---> a409d0a02385 03:46:07 Step 19/23 : ENTRYPOINT ["/device-simple"] 03:46:07 ---> Running in b8c37a660868 03:46:07 Removing intermediate container b8c37a660868 03:46:07 ---> c0ffd3dce528 03:46:07 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:46:07 ---> Running in 7cb141af25c2 03:46:08 Removing intermediate container 7cb141af25c2 03:46:08 ---> e0336ee8d8d9 03:46:08 Step 21/23 : LABEL arch=arm64 03:46:08 ---> Running in 3ce9fc46e9e1 03:46:08 Removing intermediate container 3ce9fc46e9e1 03:46:08 ---> eff844cf47e9 03:46:08 Step 22/23 : LABEL git_sha=c51a94a8207d4a1ad8be458cdf522e8931b07b09 03:46:08 ---> Running in 626311f38e54 03:46:08 Removing intermediate container 626311f38e54 03:46:08 ---> 5520c2a43c97 03:46:08 Step 23/23 : LABEL version=3.1.0-dev.16 03:46:08 ---> Running in 4678a4219173 03:46:09 Removing intermediate container 4678a4219173 03:46:09 ---> c5707cfd9d4c 03:46:09 [Warning] One or more build-args [ARCH] were not consumed 03:46:09 Successfully built c5707cfd9d4c 03:46:09 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 03:46:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:46:09 03:46:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:46:09 arm64: Pulling from edgex-lftools-log-publisher 03:46:09 8998bd30e6a1: Pulling fs layer 03:46:09 04944245beec: Pulling fs layer 03:46:09 699f458cf7ca: Pulling fs layer 03:46:09 765212b225bb: Pulling fs layer 03:46:09 f23df028b6ca: Pulling fs layer 03:46:09 d65c8cfc05b1: Pulling fs layer 03:46:09 2437ff75d9bd: Pulling fs layer 03:46:09 765212b225bb: Waiting 03:46:09 f23df028b6ca: Waiting 03:46:09 2437ff75d9bd: Waiting 03:46:09 d65c8cfc05b1: Waiting 03:46:10 04944245beec: Verifying Checksum 03:46:10 04944245beec: Download complete 03:46:10 765212b225bb: Verifying Checksum 03:46:10 765212b225bb: Download complete 03:46:10 f23df028b6ca: Verifying Checksum 03:46:10 f23df028b6ca: Download complete 03:46:10 d65c8cfc05b1: Download complete 03:46:10 699f458cf7ca: Verifying Checksum 03:46:10 699f458cf7ca: Download complete 03:46:10 8998bd30e6a1: Verifying Checksum 03:46:10 8998bd30e6a1: Download complete 03:46:12 2437ff75d9bd: Verifying Checksum 03:46:12 2437ff75d9bd: Download complete 03:46:14 8998bd30e6a1: Pull complete 03:46:14 04944245beec: Pull complete 03:46:15 699f458cf7ca: Pull complete 03:46:16 765212b225bb: Pull complete 03:46:17 f23df028b6ca: Pull complete 03:46:17 d65c8cfc05b1: Pull complete 03:46:32 2437ff75d9bd: Pull complete 03:46:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:46:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:46:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:46:32 prd-ubuntu20.04-docker-arm64-4c-16g-4487 does not seem to be running inside a container 03:46:32 $ 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/245 -v /w/workspace/device-sdk-go/245:/w/workspace/device-sdk-go/245:rw,z -v /w/workspace/device-sdk-go/245@tmp:/w/workspace/device-sdk-go/245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:46:34 $ docker top fd6f1dc96fb37bf3465921b5282b88ad070bf89bb29659ba94beb955ab5bf993 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:46:35 ---> job-cost.sh 03:46:35 lf-activate-venv: SKIPPING 03:46:35 INFO: No Stack... 03:46:35 INFO: Retrieving Pricing Info for: v3-standard-4 03:46:36 INFO: Archiving Costs [Pipeline] sh 03:46:37 + cat /w/workspace/device-sdk-go/245/archives/cost.csv 03:46:37 + cut -d, -f6 [Pipeline] lock 03:46:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-245-stack-cost] 03:46:37 Resource [jenkins-edgexfoundry-device-sdk-go-main-245-stack-cost] did not exist. Created. 03:46:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-245-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:46:37 /w/workspace/device-sdk-go/245@tmp/durable-04f28262/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:46:38 + echo total: 0.10999999940395355 [Pipeline] stash 03:46:38 Warning: overwriting stash ‘stack-cost’ 03:46:38 Stashed 1 file(s) [Pipeline] } 03:46:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-245-stack-cost] [Pipeline] // lock [Pipeline] } 03:46:38 $ docker stop --time=1 fd6f1dc96fb37bf3465921b5282b88ad070bf89bb29659ba94beb955ab5bf993 03:46:39 $ docker rm -f --volumes fd6f1dc96fb37bf3465921b5282b88ad070bf89bb29659ba94beb955ab5bf993 [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 03:46:40 provisioning config files... 03:46:40 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14302940508456815278tmp [Pipeline] { [Pipeline] sh 03:46:40 + set +x 03:46:40 + curl -s+ https://codecov.io/bash 03:46:40 bash -s -- 03:46:40 03:46:40 _____ _ 03:46:40 / ____| | | 03:46:40 | | ___ __| | ___ ___ _____ __ 03:46:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:46:40 | |___| (_) | (_| | __/ (_| (_) \ V / 03:46:40 \_____\___/ \__,_|\___|\___\___/ \_/ 03:46:40 Bash-1.0.6 03:46:40 03:46:40 03:46:40 ==> git version 2.25.1 found 03:46:40 ==> 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 03:46:40 Release-Date: 2020-01-08 03:46:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:46:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:46:40 ==> Jenkins CI detected. 03:46:40 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 03:46:40 project root: . 03:46:40 --> token set from env 03:46:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:46:40 ==> Running gcov in . (disable via -X gcov) 03:46:40 ==> Python coveragepy not found 03:46:40 ==> Searching for coverage reports in: 03:46:40 + . 03:46:40 -> Found 1 reports 03:46:40 ==> Detecting git/mercurial file structure 03:46:40 ==> Reading reports 03:46:40 + ./coverage.out bytes=120271 03:46:40 ==> Appending adjustments 03:46:40 https://docs.codecov.io/docs/fixing-reports 03:46:41 + Found adjustments 03:46:41 ==> Gzipping contents 03:46:41 20K /tmp/codecov.D6ztBP.gz 03:46:41 ==> Uploading reports 03:46:41 url: https://codecov.io 03:46:41 query: branch=main&commit=c51a94a8207d4a1ad8be458cdf522e8931b07b09&build=245&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F245%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:46:41 -> Pinging Codecov 03:46:41 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=c51a94a8207d4a1ad8be458cdf522e8931b07b09&build=245&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F245%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:46:41 -> Uploading to 03:46:41 https://storage.googleapis.com/codecov/v4/raw/2023-08-25/7E55EF52A471D76F132DFD9A03CDDE97/c51a94a8207d4a1ad8be458cdf522e8931b07b09/b732e049-1676-4d41-8911-774f7b61fb3d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T034641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=621855671ff12ea0b2e6f44a56bcde1ffaa0beed4e91d9858fb9e55c2935a1de 03:46:41 % Total % Received % Xferd Average Speed Time Time Time Current 03:46:41 Dload Upload Total Spent Left Speed 03:46:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16426 0 0 100 16426 0 85108 --:--:-- --:--:-- --:--:-- 84670 100 16426 0 0 100 16426 0 85108 --:--:-- --:--:-- --:--:-- 84670 03:46:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c51a94a8207d4a1ad8be458cdf522e8931b07b09 [Pipeline] } 03:46:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:46:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:46:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:46:42 03:46:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:46:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:46:42 df9b9388f04a: Pulling fs layer 03:46:42 52dc419b0ee2: Pulling fs layer 03:46:42 25bc292e5bac: Pulling fs layer 03:46:42 114826534d7a: Pulling fs layer 03:46:42 4657fd5d0bcf: Pulling fs layer 03:46:42 6ad1cebc031e: Pulling fs layer 03:46:42 8a3aa393b2d8: Pulling fs layer 03:46:42 4657fd5d0bcf: Waiting 03:46:42 6ad1cebc031e: Waiting 03:46:42 114826534d7a: Waiting 03:46:42 8a3aa393b2d8: Waiting 03:46:42 25bc292e5bac: Verifying Checksum 03:46:42 25bc292e5bac: Download complete 03:46:42 52dc419b0ee2: Download complete 03:46:42 4657fd5d0bcf: Verifying Checksum 03:46:42 4657fd5d0bcf: Download complete 03:46:42 df9b9388f04a: Verifying Checksum 03:46:42 df9b9388f04a: Download complete 03:46:42 df9b9388f04a: Pull complete 03:46:42 52dc419b0ee2: Pull complete 03:46:42 6ad1cebc031e: Verifying Checksum 03:46:42 6ad1cebc031e: Download complete 03:46:42 25bc292e5bac: Pull complete 03:46:43 114826534d7a: Verifying Checksum 03:46:43 114826534d7a: Download complete 03:46:43 8a3aa393b2d8: Verifying Checksum 03:46:43 8a3aa393b2d8: Download complete 03:46:46 114826534d7a: Pull complete 03:46:46 4657fd5d0bcf: Pull complete 03:46:46 6ad1cebc031e: Pull complete 03:46:49 8a3aa393b2d8: Pull complete 03:46:49 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:46:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:46:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:46:49 prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container 03:46:49 $ 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 03:46:53 $ docker top de281cf2a1707b9f82d9bd554463e20fdde20b58481d79b103717d088a715866 -eo pid,comm [Pipeline] { [Pipeline] echo 03:46:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 03:46:53 + set -o pipefail 03:46:53 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 03:46:57 03:46:57 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 03:46:57 03:46:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/457a14c8-597e-4829-87ef-21d67ca7218d 03:46:57 03:46:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:46:57 03:46:57 03:46:57 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:46:57 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:46:57 More details here: https://snyk.co/ue1NS [Pipeline] } 03:46:57 $ docker stop --time=1 de281cf2a1707b9f82d9bd554463e20fdde20b58481d79b103717d088a715866 03:47:00 $ docker rm -f --volumes de281cf2a1707b9f82d9bd554463e20fdde20b58481d79b103717d088a715866 [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 03:47:01 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:47:01 provisioning config files... 03:47:01 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8728265220847702628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:47:01 --> edgex-publish-swagger.sh 03:47:01 === Publish openapi/v3 API === 03:47:01 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 03:47:01 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 03:47:01 % Total % Received % Xferd Average Speed Time Time Time Current 03:47:01 Dload Upload Total Spent Left Speed 03:47:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 54422 --:--:-- --:--:-- --:--:-- 54422 03:47:01 03:47:01 [Pipeline] } 03:47:01 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 03:47:02 + git log --format=format:%s -1 c51a94a8207d4a1ad8be458cdf522e8931b07b09 [Pipeline] sh 03:47:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:47:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:47:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:02 prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container 03:47:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:47:03 $ docker top da9a390c99dbe9a4e3fe69465293bb6d9ca5210880028d749f71495e4979bf47 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:47:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:47:03 [ssh-agent] Looking for ssh-agent implementation... 03:47:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:47:03 $ docker exec da9a390c99dbe9a4e3fe69465293bb6d9ca5210880028d749f71495e4979bf47 ssh-agent 03:47:03 SSH_AUTH_SOCK=/tmp/ssh-M52THAVFENWn/agent.32 03:47:03 SSH_AGENT_PID=38 03:47:03 Running ssh-add (command line suppressed) 03:47:03 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16610449784267518965.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16610449784267518965.key) 03:47:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:47:04 + git semver tag 03:47:04 2023-08-25 03:47:04,327 [run_tag] DEBUG tag force:False 03:47:04 2023-08-25 03:47:04,327 [check_head_tag] DEBUG check head tag 03:47:04 2023-08-25 03:47:04,327 [execute] INFO git cat-file --batch-check 03:47:04 2023-08-25 03:47:04,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 03:47:04 2023-08-25 03:47:04,331 [execute] INFO git cat-file --batch 03:47:04 2023-08-25 03:47:04,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 03:47:04 2023-08-25 03:47:04,346 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:47:04 2023-08-25 03:47:04,346 [execute] INFO git tag -a v3.1.0-dev.16 -m v3.1.0-dev.16 03:47:04 2023-08-25 03:47:04,347 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.16', '-m', 'v3.1.0-dev.16'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 03:47:04 2023-08-25 03:47:04,352 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:47:04 3.1.0-dev.16 [Pipeline] } 03:47:04 $ docker exec --env ******** --env ******** da9a390c99dbe9a4e3fe69465293bb6d9ca5210880028d749f71495e4979bf47 ssh-agent -k 03:47:04 unset SSH_AUTH_SOCK; 03:47:04 unset SSH_AGENT_PID; 03:47:04 echo Agent pid 38 killed; 03:47:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:47:04 + git semver [Pipeline] } 03:47:05 $ docker stop --time=1 da9a390c99dbe9a4e3fe69465293bb6d9ca5210880028d749f71495e4979bf47 03:47:06 $ docker rm -f --volumes da9a390c99dbe9a4e3fe69465293bb6d9ca5210880028d749f71495e4979bf47 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:47:06 03:47:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:47:07 0.23.1-centos7: Pulling from edgex-lftools 03:47:07 ab5ef0e58194: Pulling fs layer 03:47:07 9712f1f96733: Pulling fs layer 03:47:07 63f879dbbcfc: Pulling fs layer 03:47:07 0d9ebad4ef96: Pulling fs layer 03:47:07 e9a5061849ea: Pulling fs layer 03:47:07 d747dcd14b5f: Pulling fs layer 03:47:07 2de7ff778b66: Pulling fs layer 03:47:07 e9a5061849ea: Waiting 03:47:07 d747dcd14b5f: Waiting 03:47:07 2de7ff778b66: Waiting 03:47:07 0d9ebad4ef96: Waiting 03:47:07 9712f1f96733: Download complete 03:47:07 63f879dbbcfc: Verifying Checksum 03:47:07 63f879dbbcfc: Download complete 03:47:07 e9a5061849ea: Verifying Checksum 03:47:07 e9a5061849ea: Download complete 03:47:07 d747dcd14b5f: Verifying Checksum 03:47:07 d747dcd14b5f: Download complete 03:47:07 0d9ebad4ef96: Verifying Checksum 03:47:07 0d9ebad4ef96: Download complete 03:47:07 ab5ef0e58194: Verifying Checksum 03:47:07 ab5ef0e58194: Download complete 03:47:07 2de7ff778b66: Verifying Checksum 03:47:07 2de7ff778b66: Download complete 03:47:10 ab5ef0e58194: Pull complete 03:47:10 9712f1f96733: Pull complete 03:47:11 63f879dbbcfc: Pull complete 03:47:15 0d9ebad4ef96: Pull complete 03:47:15 e9a5061849ea: Pull complete 03:47:15 d747dcd14b5f: Pull complete 03:47:16 2de7ff778b66: Pull complete 03:47:16 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:47:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:47:16 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:16 prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container 03:47:16 $ 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 03:47:20 $ docker top f6415003e04f8fcb8d05001956707bd9f3b497cd7e947a23101ea724006b2aec -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:47:20 provisioning config files... 03:47:20 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config371599383788988159tmp 03:47:20 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config497137062396534030tmp 03:47:20 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16096752942548408681tmp [Pipeline] { [Pipeline] echo 03:47:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:47:21 ---> sigul-configuration.sh 03:47:21 gpg: directory `/root/.gnupg' created 03:47:21 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:47:21 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:47:21 gpg: keyring `/root/.gnupg/secring.gpg' created 03:47:21 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:47:21 gpg: CAST5 encrypted data 03:47:21 gpg: encrypted with 1 passphrase 03:47:21 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:47:21 + mkdir /home/jenkins 03:47:21 + mkdir /home/jenkins/sigul [Pipeline] sh 03:47:21 + 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 03:47:21 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:47:22 ---> sigul-install.sh 03:47:22 Sigul already installed; skipping installation. [Pipeline] sh 03:47:22 + git tag --list 03:47:22 0.7.1 03:47:22 delhi-tag 03:47:22 v1.0.0 03:47:22 v1.1.0 03:47:22 v1.1.1 03:47:22 v1.1.2 03:47:22 v1.2.0 03:47:22 v1.2.1 03:47:22 v1.2.2 03:47:22 v1.2.3 03:47:22 v1.3.0 03:47:22 v1.4.0 03:47:22 v2.0.0 03:47:22 v2.1.0 03:47:22 v2.1.1 03:47:22 v2.2.0 03:47:22 v2.3.0 03:47:22 v2.3.1 03:47:22 v3.0 03:47:22 v3.0.0 03:47:22 v3.0.1-dev.1 03:47:22 v3.1.0-dev.1 03:47:22 v3.1.0-dev.10 03:47:22 v3.1.0-dev.11 03:47:22 v3.1.0-dev.12 03:47:22 v3.1.0-dev.13 03:47:22 v3.1.0-dev.14 03:47:22 v3.1.0-dev.15 03:47:22 v3.1.0-dev.16 03:47:22 v3.1.0-dev.2 03:47:22 v3.1.0-dev.3 03:47:22 v3.1.0-dev.4 03:47:22 v3.1.0-dev.5 03:47:22 v3.1.0-dev.6 03:47:22 v3.1.0-dev.7 03:47:22 v3.1.0-dev.8 03:47:22 v3.1.0-dev.9 [Pipeline] sh 03:47:22 + lftools sign git-tag v3.1.0-dev.16 03:47:23 Signing Git tag with Sigul... 03:47:23 Signing v3.1.0-dev.16 [Pipeline] echo 03:47:23 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:47:24 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:47:24 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:47:24 $ docker stop --time=1 f6415003e04f8fcb8d05001956707bd9f3b497cd7e947a23101ea724006b2aec 03:47:25 $ docker rm -f --volumes f6415003e04f8fcb8d05001956707bd9f3b497cd7e947a23101ea724006b2aec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:47:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:47:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:47:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:26 prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container 03:47:26 $ 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 03:47:26 $ docker top 97768db199937cbcb62dad47ac1690d4df1882a834b23991e6011ab6d9250182 -eo pid,comm 03:47:26 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). 03:47:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:47:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:47:26 [ssh-agent] Looking for ssh-agent implementation... 03:47:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:47:26 $ docker exec 97768db199937cbcb62dad47ac1690d4df1882a834b23991e6011ab6d9250182 ssh-agent 03:47:26 SSH_AUTH_SOCK=/tmp/ssh-F4WjAXK2TJZS/agent.32 03:47:26 SSH_AGENT_PID=38 03:47:26 Running ssh-add (command line suppressed) 03:47:26 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11795653778042265908.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11795653778042265908.key) 03:47:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:47:27 + git semver bump pre 03:47:27 2023-08-25 03:47:27,360 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:47:27 2023-08-25 03:47:27,360 [bump_version] DEBUG bumping version:3.1.0-dev.16 on axis:pre with prefix:dev 03:47:27 2023-08-25 03:47:27,360 [bump_version] DEBUG bumped version:3.1.0-dev.17 03:47:27 2023-08-25 03:47:27,360 [write_version] DEBUG write version:3.1.0-dev.17 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 03:47:27 2023-08-25 03:47:27,360 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:47:27 2023-08-25 03:47:27,360 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:47:27 2023-08-25 03:47:27,362 [execute] INFO git cat-file --batch-check 03:47:27 2023-08-25 03:47:27,363 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:47:27 2023-08-25 03:47:27,369 [execute] INFO git cat-file --batch 03:47:27 2023-08-25 03:47:27,369 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:47:27 2023-08-25 03:47:27,375 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:47:27 3.1.0-dev.17 [Pipeline] } 03:47:27 $ docker exec --env ******** --env ******** 97768db199937cbcb62dad47ac1690d4df1882a834b23991e6011ab6d9250182 ssh-agent -k 03:47:27 unset SSH_AUTH_SOCK; 03:47:27 unset SSH_AGENT_PID; 03:47:27 echo Agent pid 38 killed; 03:47:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:47:27 + git semver [Pipeline] } 03:47:28 $ docker stop --time=1 97768db199937cbcb62dad47ac1690d4df1882a834b23991e6011ab6d9250182 03:47:29 $ docker rm -f --volumes 97768db199937cbcb62dad47ac1690d4df1882a834b23991e6011ab6d9250182 [Pipeline] // withDockerContainer [Pipeline] sh 03:47:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:47:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:47:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:30 prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container 03:47:30 $ 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 03:47:30 $ docker top 5998081203fa61b82a7ce1c3451c27a73f86bc2ec3e6bfc0ce53626bf33f6f32 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:47:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:47:30 [ssh-agent] Looking for ssh-agent implementation... 03:47:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:47:30 $ docker exec 5998081203fa61b82a7ce1c3451c27a73f86bc2ec3e6bfc0ce53626bf33f6f32 ssh-agent 03:47:30 SSH_AUTH_SOCK=/tmp/ssh-5OTpzLfCEUeZ/agent.32 03:47:30 SSH_AGENT_PID=38 03:47:30 Running ssh-add (command line suppressed) 03:47:30 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3380264607831864876.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3380264607831864876.key) 03:47:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:47:31 + git semver push 03:47:31 2023-08-25 03:47:31,385 [run_push] DEBUG push 03:47:31 2023-08-25 03:47:31,386 [execute] INFO git cat-file --batch-check 03:47:31 2023-08-25 03:47:31,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:47:31 2023-08-25 03:47:31,390 [execute] INFO git rev-list 7e3a1d801a3e80a0426f741b9abe115cd105e32b -- 03:47:31 2023-08-25 03:47:31,390 [execute] DEBUG Popen(['git', 'rev-list', '7e3a1d801a3e80a0426f741b9abe115cd105e32b', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:47:31 2023-08-25 03:47:31,404 [execute] INFO git fetch -v origin 03:47:31 2023-08-25 03:47:31,405 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:47:32 2023-08-25 03:47:31,869 [run_push] DEBUG no remote changes detected 03:47:32 2023-08-25 03:47:31,869 [execute] INFO git push origin semver 03:47:32 2023-08-25 03:47:31,870 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:47:32 2023-08-25 03:47:32,678 [run_push] DEBUG push all version tags 03:47:32 2023-08-25 03:47:32,678 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:47:32 2023-08-25 03:47:32,679 [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) 03:47:33 2023-08-25 03:47:33,700 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:47:33 3.1.0-dev.17 [Pipeline] } 03:47:33 $ docker exec --env ******** --env ******** 5998081203fa61b82a7ce1c3451c27a73f86bc2ec3e6bfc0ce53626bf33f6f32 ssh-agent -k 03:47:34 unset SSH_AUTH_SOCK; 03:47:34 unset SSH_AGENT_PID; 03:47:34 echo Agent pid 38 killed; 03:47:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:47:34 + git semver [Pipeline] } 03:47:34 $ docker stop --time=1 5998081203fa61b82a7ce1c3451c27a73f86bc2ec3e6bfc0ce53626bf33f6f32 03:47:35 $ docker rm -f --volumes 5998081203fa61b82a7ce1c3451c27a73f86bc2ec3e6bfc0ce53626bf33f6f32 [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 03:47:36 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 03:47:36 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 03:47:36 total 16 03:47:36 drwxr-xr-x 3 root root 4096 Aug 25 03:36 . 03:47:36 drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 03:47 .. 03:47:36 drwxr-xr-x 2 root root 4096 Aug 25 03:36 cost 03:47:36 -rw-r--r-- 1 root root 85 Aug 25 03:36 cost.csv 03:47:36 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 03:47:36 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 03:47:36 total 16 03:47:36 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 03:36 . 03:47:36 drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 03:47 .. 03:47:36 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 03:36 cost 03:47:36 -rw-r--r-- 1 jenkins jenkins 85 Aug 25 03:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:47:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:47:37 ---> package-listing.sh 03:47:37 ++ facter osfamily 03:47:37 ++ tr '[:upper:]' '[:lower:]' 03:47:37 + OS_FAMILY=debian 03:47:37 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 03:47:37 + START_PACKAGES=/tmp/packages_start.txt 03:47:37 + END_PACKAGES=/tmp/packages_end.txt 03:47:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:47:37 + PACKAGES=/tmp/packages_start.txt 03:47:37 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 03:47:37 + PACKAGES=/tmp/packages_end.txt 03:47:37 + case "${OS_FAMILY}" in 03:47:37 + dpkg -l 03:47:37 + grep '^ii' 03:47:37 + '[' -f /tmp/packages_start.txt ']' 03:47:37 + '[' -f /tmp/packages_end.txt ']' 03:47:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:47:37 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 03:47:37 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 03:47:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 03:47:37 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 03:47:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:47:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:38 prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container 03:47:38 $ 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 03:47:38 $ docker top f1d5db06cedbf4fa357d730c9ddf1ddced7501bc41d10407215aaded62eb0259 -eo pid,comm [Pipeline] { [Pipeline] sh 03:47:39 + touch /tmp/pre-build-complete [Pipeline] sh 03:47:39 + mkdir -p /var/log/sysstat [Pipeline] sh 03:47:39 + ls /var/log/sa-host 03:47:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:47:39 provisioning config files... 03:47:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12927293797603324822tmp [Pipeline] { [Pipeline] echo 03:47:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:47:40 ---> create-netrc.sh [Pipeline] } 03:47:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:47:40 ---> python-tools-install.sh [Pipeline] echo 03:47:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:47:40 ---> sudo-logs.sh 03:47:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:47:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:47:41 ---> job-cost.sh 03:47:41 lf-activate-venv: SKIPPING 03:47:41 DEBUG: total: 0.2199999988079071 03:47:41 INFO: Retrieving Stack Cost... 03:47:41 INFO: Retrieving Pricing Info for: v3-standard-8 03:47:41 INFO: Archiving Costs [Pipeline] echo 03:47:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:47:42 ---> logs-deploy.sh 03:47:42 lf-activate-venv: SKIPPING 03:47:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/245 03:47:42 INFO: archiving workspace using pattern(s): 03:47:43 Archives upload complete. 03:47:43 INFO: archiving logs to Nexus