Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a3c91960d92e52cbdab9fb2db5fec403345ab315 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-ssh11607952402073113347.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-ssh5511384033155306047.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-ssh10737162514932157864.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-ssh16091151664351740372.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-ssh5108310338623682890.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5314 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision a3c91960d92e52cbdab9fb2db5fec403345ab315 (main) Commit message: "Merge pull request #1502 from weichou1229/issue-1495" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3c91960d92e52cbdab9fb2db5fec403345ab315 # timeout=10 > git rev-list --no-walk 301ec9e234ed6ba8212a6781c9c1d0fe6eaef3c0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:05:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:05:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:05:32 ========================================================= 05:05:32 EdgeX Global Pipelines Version Info 05:05:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:05:33 ------------------- 05:05:33 stable info: 05:05:33 ------------------- 05:05:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:05:33 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 05:05:33 Message: update stable to v1.0.253 05:05:33 ------------------- 05:05:33 experimental info: 05:05:33 ------------------- 05:05:33 Commited By: **** collab-it+edgex@linuxfoundation.org 05:05:33 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 05:05:33 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:05:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:05:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:05:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:05:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:05:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:05:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:05:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:05:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:05:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3c91960d92e52cbdab9fb2db5fec403345ab315 [Pipeline] echo 05:05:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3c9196 [Pipeline] echo 05:05:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:34 provisioning config files... 05:05:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6389606262803254866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:34 ---> docker-login.sh 05:05:34 nexus3.edgexfoundry.org:10001 05:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:34 Configure a credential helper to remove this warning. See 05:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:34 05:05:34 Login Succeeded 05:05:34 nexus3.edgexfoundry.org:10002 05:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:35 Configure a credential helper to remove this warning. See 05:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:35 05:05:35 Login Succeeded 05:05:35 nexus3.edgexfoundry.org:10003 05:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:35 Configure a credential helper to remove this warning. See 05:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:35 05:05:35 Login Succeeded 05:05:35 nexus3.edgexfoundry.org:10004 05:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:35 Configure a credential helper to remove this warning. See 05:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:35 05:05:35 Login Succeeded 05:05:35 docker.io 05:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:35 Configure a credential helper to remove this warning. See 05:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:35 05:05:35 Login Succeeded 05:05:35 ---> docker-login.sh ends [Pipeline] } 05:05:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:05:35 + git rev-list -1 --merges a3c91960d92e52cbdab9fb2db5fec403345ab315~1..a3c91960d92e52cbdab9fb2db5fec403345ab315 [Pipeline] echo 05:05:36 -----------> git rev-list -1 --merges a3c91960d92e52cbdab9fb2db5fec403345ab315~1..a3c91960d92e52cbdab9fb2db5fec403345ab315 a3c91960d92e52cbdab9fb2db5fec403345ab315 05:05:36 a3c91960d92e52cbdab9fb2db5fec403345ab315 [false] [Pipeline] sh 05:05:36 + git log --format=format:%s -1 a3c91960d92e52cbdab9fb2db5fec403345ab315 [Pipeline] echo 05:05:36 ========================================================= 05:05:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:05:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:05:36 + git log --format=format:%s -1 a3c91960d92e52cbdab9fb2db5fec403345ab315 [Pipeline] echo 05:05:36 [semverPrep] GIT_COMMIT: a3c91960d92e52cbdab9fb2db5fec403345ab315, Commit Message: Merge pull request #1502 from weichou1229/issue-1495 [Pipeline] echo 05:05:36 [semverPrep] This is not a build commit. [Pipeline] sh 05:05:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:05:37 + grep -v github /etc/ssh/ssh_known_hosts 05:05:37 + [ -e /tmp/ssh_known_hosts ] 05:05:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:05:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:05:37 + sudo tee -a /etc/ssh/ssh_known_hosts 05:05:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:05:37 05:05:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:05:37 0.1.4: Pulling from edgex-devops/py-git-semver 05:05:37 b85a868b505f: Pulling fs layer 05:05:37 e2be974225ed: Pulling fs layer 05:05:37 339a4e72a1f5: Pulling fs layer 05:05:37 988bab9f4d93: Pulling fs layer 05:05:37 1469e6f7b9e6: Pulling fs layer 05:05:37 eaf3925da568: Pulling fs layer 05:05:37 bab4dde63d76: Pulling fs layer 05:05:37 bde34c3a00c8: Pulling fs layer 05:05:37 b352a97aabf1: Pulling fs layer 05:05:37 4872d77fe225: Pulling fs layer 05:05:37 5851b861e8e6: Pulling fs layer 05:05:37 1469e6f7b9e6: Waiting 05:05:37 eaf3925da568: Waiting 05:05:37 b352a97aabf1: Waiting 05:05:37 4872d77fe225: Waiting 05:05:37 bab4dde63d76: Waiting 05:05:37 5851b861e8e6: Waiting 05:05:37 988bab9f4d93: Waiting 05:05:37 e2be974225ed: Download complete 05:05:37 988bab9f4d93: Download complete 05:05:37 1469e6f7b9e6: Verifying Checksum 05:05:37 1469e6f7b9e6: Download complete 05:05:37 339a4e72a1f5: Verifying Checksum 05:05:37 339a4e72a1f5: Download complete 05:05:38 eaf3925da568: Verifying Checksum 05:05:38 eaf3925da568: Download complete 05:05:38 bde34c3a00c8: Verifying Checksum 05:05:38 bde34c3a00c8: Download complete 05:05:38 b352a97aabf1: Verifying Checksum 05:05:38 b352a97aabf1: Download complete 05:05:38 4872d77fe225: Download complete 05:05:38 5851b861e8e6: Download complete 05:05:38 b85a868b505f: Verifying Checksum 05:05:38 b85a868b505f: Download complete 05:05:38 bab4dde63d76: Verifying Checksum 05:05:38 bab4dde63d76: Download complete 05:05:39 b85a868b505f: Pull complete 05:05:39 e2be974225ed: Pull complete 05:05:40 339a4e72a1f5: Pull complete 05:05:40 988bab9f4d93: Pull complete 05:05:40 1469e6f7b9e6: Pull complete 05:05:40 eaf3925da568: Pull complete 05:05:44 bab4dde63d76: Pull complete 05:05:44 bde34c3a00c8: Pull complete 05:05:44 b352a97aabf1: Pull complete 05:05:44 4872d77fe225: Pull complete 05:05:44 5851b861e8e6: Pull complete 05:05:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:05:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:05:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:44 prd-ubuntu20.04-docker-8c-8g-5314 does not seem to be running inside a container 05:05:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:05:47 $ docker top 9f57949461ff5bee175f173abb548cce310da373348863a9ae28f86b7cead668 -eo pid,comm 05:05:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:05:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:05:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:47 [ssh-agent] Looking for ssh-agent implementation... 05:05:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:47 $ docker exec 9f57949461ff5bee175f173abb548cce310da373348863a9ae28f86b7cead668 ssh-agent 05:05:47 SSH_AUTH_SOCK=/tmp/ssh-YXf0BkpIHHvs/agent.32 05:05:47 SSH_AGENT_PID=38 05:05:47 Running ssh-add (command line suppressed) 05:05:47 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16031542390250889263.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16031542390250889263.key) 05:05:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:48 + git tag --points-at HEAD [Pipeline] } 05:05:48 $ docker exec --env ******** --env ******** 9f57949461ff5bee175f173abb548cce310da373348863a9ae28f86b7cead668 ssh-agent -k 05:05:48 unset SSH_AUTH_SOCK; 05:05:48 unset SSH_AGENT_PID; 05:05:48 echo Agent pid 38 killed; 05:05:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:05:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:48 [ssh-agent] Looking for ssh-agent implementation... 05:05:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:48 $ docker exec 9f57949461ff5bee175f173abb548cce310da373348863a9ae28f86b7cead668 ssh-agent 05:05:48 SSH_AUTH_SOCK=/tmp/ssh-EKOHSTdX1pOH/agent.70 05:05:48 SSH_AGENT_PID=76 05:05:48 Running ssh-add (command line suppressed) 05:05:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8732121907621698245.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8732121907621698245.key) 05:05:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:48 + git semver init 05:05:49 2023-09-05 05:05:49,115 [run_init] DEBUG init version:0.0.0 force:False 05:05:49 2023-09-05 05:05:49,115 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:05:49 2023-09-05 05:05:49,116 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:05:49 2023-09-05 05:05:49,116 [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) 05:05:50 2023-09-05 05:05:50,101 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:05:50 2023-09-05 05:05:50,102 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:05:50 2023-09-05 05:05:50,102 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:05:50 2023-09-05 05:05:50,102 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:05:50 3.1.0-dev.18 [Pipeline] } 05:05:50 $ docker exec --env ******** --env ******** 9f57949461ff5bee175f173abb548cce310da373348863a9ae28f86b7cead668 ssh-agent -k 05:05:50 unset SSH_AUTH_SOCK; 05:05:50 unset SSH_AGENT_PID; 05:05:50 echo Agent pid 76 killed; 05:05:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:05:50 + git semver [Pipeline] } 05:05:50 $ docker stop --time=1 9f57949461ff5bee175f173abb548cce310da373348863a9ae28f86b7cead668 05:05:52 $ docker rm -f --volumes 9f57949461ff5bee175f173abb548cce310da373348863a9ae28f86b7cead668 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:05:52 Stashed 1 file(s) [Pipeline] echo 05:05:52 [edgeXSemver]: initialized semver on version 3.1.0-dev.18 [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 05:05:52 provisioning config files... 05:05:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13101460445842358846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:53 ---> docker-login.sh 05:05:53 nexus3.edgexfoundry.org:10001 05:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:53 Configure a credential helper to remove this warning. See 05:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:53 05:05:53 Login Succeeded 05:05:53 nexus3.edgexfoundry.org:10002 05:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:53 Configure a credential helper to remove this warning. See 05:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:53 05:05:53 Login Succeeded 05:05:53 nexus3.edgexfoundry.org:10003 05:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:53 Configure a credential helper to remove this warning. See 05:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:53 05:05:53 Login Succeeded 05:05:53 nexus3.edgexfoundry.org:10004 05:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:53 Configure a credential helper to remove this warning. See 05:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:53 05:05:53 Login Succeeded 05:05:53 docker.io 05:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:53 Configure a credential helper to remove this warning. See 05:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:53 05:05:53 Login Succeeded 05:05:53 ---> docker-login.sh ends [Pipeline] } 05:05:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:05:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:53 ========================================================= 05:05:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:05:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:53 + 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 . 05:05:53 Sending build context to Docker daemon 11.08MB 05:05:53 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:05:53 Step 2/10 : FROM ${BASE} AS builder 05:05:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:05:53 4db1b89c0bd1: Pulling fs layer 05:05:53 6911f1a30b25: Pulling fs layer 05:05:53 e194b8c5c2a9: Pulling fs layer 05:05:53 6863d3e3a2b1: Pulling fs layer 05:05:53 ec0bb842ea78: Pulling fs layer 05:05:53 40a00589a448: Pulling fs layer 05:05:53 6c08303d61cc: Pulling fs layer 05:05:53 798269fcf238: Pulling fs layer 05:05:53 6863d3e3a2b1: Waiting 05:05:53 ec0bb842ea78: Waiting 05:05:53 40a00589a448: Waiting 05:05:53 6c08303d61cc: Waiting 05:05:53 798269fcf238: Waiting 05:05:53 6911f1a30b25: Verifying Checksum 05:05:53 6911f1a30b25: Download complete 05:05:53 6863d3e3a2b1: Verifying Checksum 05:05:53 6863d3e3a2b1: Download complete 05:05:55 ec0bb842ea78: Verifying Checksum 05:05:55 ec0bb842ea78: Download complete 05:05:55 4db1b89c0bd1: Verifying Checksum 05:05:55 4db1b89c0bd1: Download complete 05:05:55 40a00589a448: Verifying Checksum 05:05:55 40a00589a448: Download complete 05:05:55 4db1b89c0bd1: Pull complete 05:06:00 6911f1a30b25: Pull complete 05:06:00 798269fcf238: Verifying Checksum 05:06:00 e194b8c5c2a9: Verifying Checksum 05:06:00 e194b8c5c2a9: Download complete 05:06:01 6c08303d61cc: Verifying Checksum 05:06:01 6c08303d61cc: Download complete 05:06:04 e194b8c5c2a9: Pull complete 05:06:04 6863d3e3a2b1: Pull complete 05:06:04 ec0bb842ea78: Pull complete 05:06:04 40a00589a448: Pull complete 05:06:06 6c08303d61cc: Pull complete 05:06:07 798269fcf238: Pull complete 05:06:07 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 05:06:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:06:07 ---> ec979cd7f677 05:06:07 Step 3/10 : ARG MAKE=make build 05:06:07 Still waiting to schedule task 05:06:07 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:06:11 ---> Running in d69c445a681c 05:06:11 Removing intermediate container d69c445a681c 05:06:11 ---> 5e99313584ef 05:06:11 Step 4/10 : WORKDIR /device-sdk-go 05:06:11 ---> Running in d2d8d87a0ba5 05:06:11 Removing intermediate container d2d8d87a0ba5 05:06:11 ---> 79e185d81b94 05:06:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:06:11 ---> Running in 0b472ad5c6c3 05:06:11 Removing intermediate container 0b472ad5c6c3 05:06:11 ---> 1c0083acce6c 05:06:11 Step 6/10 : RUN apk add --update --no-cache make git 05:06:11 ---> Running in 8b09e2dfe3e0 05:06:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:06:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:06:11 OK: 265 MiB in 53 packages 05:06:12 Removing intermediate container 8b09e2dfe3e0 05:06:12 ---> 4cedb9ce0791 05:06:12 Step 7/10 : COPY go.mod vendor* ./ 05:06:12 ---> e72d8b5c010b 05:06:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:12 ---> Running in 9b428e68784b 05:06:50 Removing intermediate container 9b428e68784b 05:06:50 ---> c647ee24f8d8 05:06:50 Step 9/10 : COPY . . 05:06:50 ---> 0f59a1a0c649 05:06:50 Step 10/10 : RUN ${MAKE} 05:06:51 ---> Running in 4b0aa193a78c 05:06:51 noop 05:06:51 Removing intermediate container 4b0aa193a78c 05:06:51 ---> fd12647258e7 05:06:51 Successfully built fd12647258e7 05:06:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:51 + docker inspect -f . ci-base-image-x86_64 05:06:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:52 prd-ubuntu20.04-docker-8c-8g-5314 does not seem to be running inside a container 05:06:52 $ 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 ******** ci-base-image-x86_64 cat 05:06:52 $ docker top 7cea1c990d68090f656ccec456193f1d28985efd350fb21fd3e469e62e0f5a4c -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:52 + go version 05:06:52 go version go1.20.6 linux/amd64 [Pipeline] } 05:06:52 $ docker stop --time=1 7cea1c990d68090f656ccec456193f1d28985efd350fb21fd3e469e62e0f5a4c 05:06:53 $ docker rm -f --volumes 7cea1c990d68090f656ccec456193f1d28985efd350fb21fd3e469e62e0f5a4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:54 + docker inspect -f . ci-base-image-x86_64 05:06:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:54 prd-ubuntu20.04-docker-8c-8g-5314 does not seem to be running inside a container 05:06:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:06:54 $ docker top 6ee3218c73ec3ce41b477e6e1487496133d4bf6fe8cb262d0aff7fa1f52f2836 -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:06:55 + make test 05:06:55 go test -race -coverprofile=coverage.out ./... 05:07:02 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:07:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:07:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:07:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:07:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:07:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:07:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.087s coverage: 27.6% of statements 05:07:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:07:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:07:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.074s coverage: 80.2% of statements 05:07:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.089s coverage: 86.0% of statements 05:07:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:07:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 71.8% of statements 05:07:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:07:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:07:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:07:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.072s coverage: 14.1% of statements 05:07:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 6.702s coverage: 43.8% of statements 05:07:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.072s coverage: 68.5% of statements 05:07:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.108s coverage: 89.2% of statements 05:07:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements 05:07:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5315 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:07:39 Running in /w/workspace/device-sdk-go/247 [Pipeline] { [Pipeline] checkout 05:07:39 The recommended git tool is: git 05:07:44 using credential edgex-jenkins-ssh 05:07:44 Cloning the remote Git repository 05:07:44 GO111MODULE=on go vet ./... 05:07:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:07:44 > git init /w/workspace/device-sdk-go/247 # timeout=10 05:07:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:07:44 > git --version # timeout=10 05:07:44 > git --version # 'git version 2.25.1' 05:07:44 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:07:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:07:46 ./bin/test-attribution-txt.sh [Pipeline] echo 05:07:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:07:46 $ docker stop --time=1 6ee3218c73ec3ce41b477e6e1487496133d4bf6fe8cb262d0aff7fa1f52f2836 05:07:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:07:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:47 Avoid second fetch 05:07:47 Checking out Revision a3c91960d92e52cbdab9fb2db5fec403345ab315 (main) 05:07:47 Commit message: "Merge pull request #1502 from weichou1229/issue-1495" 05:07:47 > git config core.sparsecheckout # timeout=10 05:07:47 > git checkout -f a3c91960d92e52cbdab9fb2db5fec403345ab315 # timeout=10 05:07:49 $ docker rm -f --volumes 6ee3218c73ec3ce41b477e6e1487496133d4bf6fe8cb262d0aff7fa1f52f2836 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:07:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:07:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:07:50 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:50 Dload Upload Total Spent Left Speed 05:07:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 05:07:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:07:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:07:51 + ls -al . 05:07:51 total 304 05:07:51 drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 05:06 . 05:07:51 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 05:05 .. 05:07:51 -rw-rw-r-- 1 jenkins jenkins 140 Sep 5 05:05 .dockerignore 05:07:51 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 05:05 .git 05:07:51 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 05:05 .github 05:07:51 -rw-rw-r-- 1 jenkins jenkins 137 Sep 5 05:05 .gitignore 05:07:51 -rw-rw-r-- 1 jenkins jenkins 42 Sep 5 05:05 .golangci.yml 05:07:51 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 05:05 .semver 05:07:51 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 5 05:05 CHANGELOG.md 05:07:51 -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 05:05 GOVERNANCE.md 05:07:51 -rw-rw-r-- 1 jenkins jenkins 885 Sep 5 05:05 Jenkinsfile 05:07:51 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 5 05:05 LICENSE 05:07:51 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 5 05:05 Makefile 05:07:51 -rw-rw-r-- 1 jenkins jenkins 619 Sep 5 05:05 OWNERS.md 05:07:51 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 5 05:05 README.md 05:07:51 -rw-rw-r-- 1 jenkins jenkins 12 Sep 5 05:05 VERSION 05:07:51 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 05:05 bin 05:07:51 -rw-r--r-- 1 jenkins jenkins 120470 Sep 5 05:07 coverage.out 05:07:51 drwxrwxr-x 5 jenkins jenkins 4096 Sep 5 05:05 example 05:07:51 -rw-rw-r-- 1 jenkins jenkins 3721 Sep 5 05:05 go.mod 05:07:51 -rw-rw-r-- 1 jenkins jenkins 33545 Sep 5 05:05 go.sum 05:07:51 drwxrwxr-x 12 jenkins jenkins 4096 Sep 5 05:05 internal 05:07:51 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 05:05 openapi 05:07:51 drwxrwxr-x 6 jenkins jenkins 4096 Sep 5 05:05 pkg 05:07:51 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 05:05 snap 05:07:51 -rw-rw-r-- 1 jenkins jenkins 222 Sep 5 05:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:07:51 + sudo tee /etc/docker/daemon.new 05:07:51 { 05:07:51 "registry-mirrors": [ 05:07:51 "https://nexus3.edgexfoundry.org:10001" 05:07:51 ], 05:07:51 "bip": "10.250.0.254/24", 05:07:51 "hosts": [ 05:07:51 "tcp://0.0.0.0:5555", 05:07:51 "unix:///var/run/docker.sock" 05:07:51 ], 05:07:51 "mtu": 1458, 05:07:51 "selinux-enabled": true, 05:07:51 "seccomp-profile": "/etc/docker/seccomp.json" 05:07:51 } [Pipeline] sh 05:07:51 + 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=a3c91960d92e52cbdab9fb2db5fec403345ab315 --label arch=amd64 --label version=3.1.0-dev.18 . 05:07:51 Sending build context to Docker daemon 11.2MB 05:07:51 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 05:07:51 Step 2/23 : FROM ${BASE} AS builder 05:07:51 ---> fd12647258e7 05:07:51 Step 3/23 : ARG MAKE=make build 05:07:51 ---> Running in 5390e18144bd 05:07:51 Removing intermediate container 5390e18144bd 05:07:51 ---> 9b3f0e0bcb21 05:07:51 Step 4/23 : WORKDIR /device-sdk-go 05:07:51 ---> Running in 7506bca21b3b 05:07:51 Removing intermediate container 7506bca21b3b 05:07:51 ---> 4ba080462180 05:07:51 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:07:51 ---> Running in 3cbea9b7d6f4 05:07:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:07:52 Removing intermediate container 3cbea9b7d6f4 05:07:52 ---> 047c1b2e8182 05:07:52 Step 6/23 : RUN apk add --update --no-cache make git 05:07:52 ---> Running in 1bee88e305d6 05:07:52 + sudo service docker restart 05:07:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:07:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:07:52 OK: 265 MiB in 53 packages 05:07:53 Removing intermediate container 1bee88e305d6 05:07:53 ---> f7da5eccd4ca 05:07:53 Step 7/23 : COPY go.mod vendor* ./ 05:07:53 ---> 62be60e222da 05:07:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:53 ---> Running in 8f8e2ed5a994 05:07:53 Removing intermediate container 8f8e2ed5a994 05:07:53 ---> 4cec01de023e 05:07:53 Step 9/23 : COPY . . 05:07:54 ---> e9c4f6f8df7c 05:07:54 Step 10/23 : RUN ${MAKE} 05:07:54 ---> Running in d4600212a2b8 05:07:54 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.18" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:10 provisioning config files... 05:08:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/247@tmp/config4736853465833672699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:10 ---> docker-login.sh 05:08:10 nexus3.edgexfoundry.org:10001 05:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:11 Configure a credential helper to remove this warning. See 05:08:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:11 05:08:11 Login Succeeded 05:08:11 nexus3.edgexfoundry.org:10002 05:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:11 Configure a credential helper to remove this warning. See 05:08:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:11 05:08:11 Login Succeeded 05:08:11 nexus3.edgexfoundry.org:10003 05:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:12 Configure a credential helper to remove this warning. See 05:08:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:12 05:08:12 Login Succeeded 05:08:12 nexus3.edgexfoundry.org:10004 05:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:12 Configure a credential helper to remove this warning. See 05:08:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:12 05:08:12 Login Succeeded 05:08:12 docker.io 05:08:12 Removing intermediate container d4600212a2b8 05:08:12 ---> 2b862ee7c171 05:08:12 Step 11/23 : FROM alpine:3.17 05:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:12 3.17: Pulling from library/alpine 05:08:12 9398808236ff: Pulling fs layer 05:08:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:12 Configure a credential helper to remove this warning. See 05:08:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:12 05:08:12 Login Succeeded 05:08:12 ---> docker-login.sh ends [Pipeline] } 05:08:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 05:08:12 9398808236ff: Verifying Checksum 05:08:12 9398808236ff: Download complete 05:08:12 9398808236ff: Pull complete 05:08:12 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 05:08:12 Status: Downloaded newer image for alpine:3.17 05:08:12 ---> 1e0b8b5322fc 05:08:12 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [Pipeline] echo 05:08:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:13 ========================================================= 05:08:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:08:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:13 ---> Running in 303685c389f5 05:08:13 Removing intermediate container 303685c389f5 05:08:13 ---> cdbd6084d751 05:08:13 Step 13/23 : RUN apk add --update --no-cache 05:08:13 ---> Running in 4f3ac2358a5e 05:08:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:08:13 + 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 . 05:08:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:08:13 Sending build context to Docker daemon 5.918MB 05:08:13 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:08:13 Step 2/10 : FROM ${BASE} AS builder 05:08:13 OK: 7 MiB in 15 packages 05:08:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:08:14 edb6bdbacee9: Pulling fs layer 05:08:14 5f9638ab2659: Pulling fs layer 05:08:14 8d51d6327a98: Pulling fs layer 05:08:14 8b374f2dd631: Pulling fs layer 05:08:14 ec14aa9079de: Pulling fs layer 05:08:14 2f466654f4bb: Pulling fs layer 05:08:14 554e91adad29: Pulling fs layer 05:08:14 ec14aa9079de: Waiting 05:08:14 2f466654f4bb: Waiting 05:08:14 554e91adad29: Waiting 05:08:14 8b374f2dd631: Waiting 05:08:14 5f9638ab2659: Download complete 05:08:14 8b374f2dd631: Verifying Checksum 05:08:14 8b374f2dd631: Download complete 05:08:14 ec14aa9079de: Verifying Checksum 05:08:14 ec14aa9079de: Download complete 05:08:14 Removing intermediate container 4f3ac2358a5e 05:08:14 ---> 73fcfe39f529 05:08:14 Step 14/23 : WORKDIR / 05:08:14 ---> Running in 66cca1e3a977 05:08:14 Removing intermediate container 66cca1e3a977 05:08:14 ---> b2b6df5042e2 05:08:14 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:08:14 edb6bdbacee9: Verifying Checksum 05:08:14 edb6bdbacee9: Download complete 05:08:14 ---> bdff64c9a3a2 05:08:14 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:08:15 edb6bdbacee9: Pull complete 05:08:15 ---> 2a09baac40a4 05:08:15 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:08:15 ---> 4e8ef4adedc5 05:08:15 Step 18/23 : EXPOSE 59999 05:08:15 ---> Running in 0a782a0075ca 05:08:15 Removing intermediate container 0a782a0075ca 05:08:15 ---> b218d3fcb5c5 05:08:15 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:08:15 ---> Running in 4f8d13593bcb 05:08:15 Removing intermediate container 4f8d13593bcb 05:08:15 ---> ed3bfe5a80eb 05:08:15 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:08:15 ---> Running in 5051b3e42d00 05:08:15 Removing intermediate container 5051b3e42d00 05:08:15 ---> 6f265f5d271c 05:08:15 Step 21/23 : LABEL arch=amd64 05:08:15 ---> Running in 968eb5d6c4f8 05:08:15 Removing intermediate container 968eb5d6c4f8 05:08:15 ---> 7c0611d03aef 05:08:15 Step 22/23 : LABEL git_sha=a3c91960d92e52cbdab9fb2db5fec403345ab315 05:08:15 ---> Running in bda1c5acdca1 05:08:15 Removing intermediate container bda1c5acdca1 05:08:15 ---> 340982b46646 05:08:15 Step 23/23 : LABEL version=3.1.0-dev.18 05:08:15 ---> Running in ea694befa39d 05:08:15 Removing intermediate container ea694befa39d 05:08:15 ---> affda699fd21 05:08:15 [Warning] One or more build-args [ARCH] were not consumed 05:08:15 554e91adad29: Verifying Checksum 05:08:15 554e91adad29: Download complete 05:08:15 5f9638ab2659: Pull complete 05:08:15 Successfully built affda699fd21 05:08:15 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 05:08:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:16 05:08:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:16 latest: Pulling from edgex-lftools-log-publisher 05:08:16 5eb5b503b376: Pulling fs layer 05:08:16 5c69ac0246d0: Pulling fs layer 05:08:16 ec43610c2a17: Pulling fs layer 05:08:16 3a2ae6a8a46f: Pulling fs layer 05:08:16 33b1e0a273af: Pulling fs layer 05:08:16 5d3b04190fa2: Pulling fs layer 05:08:16 2f39f015ded8: Pulling fs layer 05:08:16 3a2ae6a8a46f: Waiting 05:08:16 5d3b04190fa2: Waiting 05:08:16 2f39f015ded8: Waiting 05:08:16 33b1e0a273af: Waiting 05:08:16 5c69ac0246d0: Download complete 05:08:16 3a2ae6a8a46f: Download complete 05:08:16 33b1e0a273af: Verifying Checksum 05:08:16 33b1e0a273af: Download complete 05:08:16 5d3b04190fa2: Verifying Checksum 05:08:16 5d3b04190fa2: Download complete 05:08:16 ec43610c2a17: Verifying Checksum 05:08:16 ec43610c2a17: Download complete 05:08:16 8d51d6327a98: Verifying Checksum 05:08:16 8d51d6327a98: Download complete 05:08:16 2f466654f4bb: Verifying Checksum 05:08:16 2f466654f4bb: Download complete 05:08:16 5eb5b503b376: Verifying Checksum 05:08:16 5eb5b503b376: Download complete 05:08:17 2f39f015ded8: Download complete 05:08:18 5eb5b503b376: Pull complete 05:08:18 5c69ac0246d0: Pull complete 05:08:18 ec43610c2a17: Pull complete 05:08:18 3a2ae6a8a46f: Pull complete 05:08:18 33b1e0a273af: Pull complete 05:08:18 5d3b04190fa2: Pull complete 05:08:23 2f39f015ded8: Pull complete 05:08:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:08:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:23 prd-ubuntu20.04-docker-8c-8g-5314 does not seem to be running inside a container 05:08:23 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:08:25 $ docker top e58445b769814786b67ad82031a4c263ba4efa38707559417226502eec86db00 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:26 ---> job-cost.sh 05:08:26 lf-activate-venv: SKIPPING 05:08:26 INFO: No Stack... 05:08:26 INFO: Retrieving Pricing Info for: v3-standard-8 05:08:27 INFO: Archiving Costs [Pipeline] sh 05:08:27 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:08:27 + cut -d, -f6 [Pipeline] lock 05:08:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-247-stack-cost] 05:08:27 Resource [jenkins-edgexfoundry-device-sdk-go-main-247-stack-cost] did not exist. Created. 05:08:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-247-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:08:27 + echo total: 0.2199999988079071 [Pipeline] stash 05:08:27 Stashed 1 file(s) [Pipeline] } 05:08:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-247-stack-cost] [Pipeline] // lock [Pipeline] } 05:08:27 $ docker stop --time=1 e58445b769814786b67ad82031a4c263ba4efa38707559417226502eec86db00 05:08:28 $ docker rm -f --volumes e58445b769814786b67ad82031a4c263ba4efa38707559417226502eec86db00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:08:29 8d51d6327a98: Pull complete 05:08:29 8b374f2dd631: Pull complete 05:08:29 ec14aa9079de: Pull complete 05:08:35 2f466654f4bb: Pull complete 05:08:37 554e91adad29: Pull complete 05:08:37 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 05:08:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:08:37 ---> 1e15ea492957 05:08:37 Step 3/10 : ARG MAKE=make build 05:08:39 ---> Running in db9a474a8b0d 05:08:39 Removing intermediate container db9a474a8b0d 05:08:39 ---> 013287d036a8 05:08:39 Step 4/10 : WORKDIR /device-sdk-go 05:08:39 ---> Running in c3ff59918b51 05:08:40 Removing intermediate container c3ff59918b51 05:08:40 ---> 306418496e24 05:08:40 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:08:40 ---> Running in e664a53c7d6e 05:08:40 Removing intermediate container e664a53c7d6e 05:08:40 ---> 0598945beb99 05:08:40 Step 6/10 : RUN apk add --update --no-cache make git 05:08:40 ---> Running in e7d0f0eb6a57 05:08:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:08:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:08:43 OK: 263 MiB in 53 packages 05:08:44 Removing intermediate container e7d0f0eb6a57 05:08:44 ---> e5ce05fc73e3 05:08:44 Step 7/10 : COPY go.mod vendor* ./ 05:08:44 ---> 5f8640d0fe66 05:08:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:44 ---> Running in cb299707d559 05:10:21 Removing intermediate container cb299707d559 05:10:21 ---> 4879a490d7db 05:10:21 Step 9/10 : COPY . . 05:10:21 ---> 608a4b4267af 05:10:21 Step 10/10 : RUN ${MAKE} 05:10:21 ---> Running in e4cc2700fd42 05:10:21 noop 05:10:21 Removing intermediate container e4cc2700fd42 05:10:21 ---> 3aa7c08944a2 05:10:21 Successfully built 3aa7c08944a2 05:10:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:21 + docker inspect -f . ci-base-image-arm64 05:10:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:21 prd-ubuntu20.04-docker-arm64-4c-16g-5315 does not seem to be running inside a container 05:10:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/247 -v /w/workspace/device-sdk-go/247:/w/workspace/device-sdk-go/247:rw,z -v /w/workspace/device-sdk-go/247@tmp:/w/workspace/device-sdk-go/247@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 05:10:23 $ docker top 653f5a8ba103ed4b010a9c32ea86204da2315d881491bcbfd7147cb0240b8ba4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:24 + go version 05:10:24 go version go1.20.6 linux/arm64 [Pipeline] } 05:10:24 $ docker stop --time=1 653f5a8ba103ed4b010a9c32ea86204da2315d881491bcbfd7147cb0240b8ba4 05:10:28 $ docker rm -f --volumes 653f5a8ba103ed4b010a9c32ea86204da2315d881491bcbfd7147cb0240b8ba4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:28 + docker inspect -f . ci-base-image-arm64 05:10:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:29 prd-ubuntu20.04-docker-arm64-4c-16g-5315 does not seem to be running inside a container 05:10:29 $ 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/247 -v /w/workspace/device-sdk-go/247:/w/workspace/device-sdk-go/247:rw,z -v /w/workspace/device-sdk-go/247@tmp:/w/workspace/device-sdk-go/247@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 05:10:30 $ docker top 769ad6efa85e170ff54aeb03bae286cc9ea3e39b8497603c2a769e05c31fe7ec -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:31 + git config --global --add safe.directory /w/workspace/device-sdk-go/247 [Pipeline] fileExists [Pipeline] sh 05:10:31 + make test 05:10:31 go test -race -coverprofile=coverage.out ./... 05:11:10 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:13:17 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:13:17 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:13:17 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:13:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:13:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:13:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.208s coverage: 27.6% of statements 05:13:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.255s coverage: 80.2% of statements 05:13:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:13:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:13:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.341s coverage: 86.0% of statements 05:13:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:13:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.514s coverage: 71.8% of statements 05:13:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.337s coverage: 14.1% of statements 05:13:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:13:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:13:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:13:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 9.066s coverage: 43.8% of statements 05:13:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.443s coverage: 68.5% of statements 05:13:58 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.418s coverage: 89.2% of statements 05:13:58 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.245s coverage: 5.5% of statements 05:13:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:13:58 GO111MODULE=on go vet ./... 05:16:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:16:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:16:35 ./bin/test-attribution-txt.sh [Pipeline] echo 05:16:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:16:35 $ docker stop --time=1 769ad6efa85e170ff54aeb03bae286cc9ea3e39b8497603c2a769e05c31fe7ec 05:16:38 $ docker rm -f --volumes 769ad6efa85e170ff54aeb03bae286cc9ea3e39b8497603c2a769e05c31fe7ec [Pipeline] // withDockerContainer [Pipeline] sh 05:16:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:16:40 Warning: overwriting stash ‘coverage-report’ 05:16:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:16:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:16:41 + ls -al . 05:16:41 total 300 05:16:41 drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 05:10 . 05:16:41 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 05:07 .. 05:16:41 -rw-rw-r-- 1 jenkins jenkins 140 Sep 5 05:07 .dockerignore 05:16:41 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 05:07 .git 05:16:41 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 05:07 .github 05:16:41 -rw-rw-r-- 1 jenkins jenkins 137 Sep 5 05:07 .gitignore 05:16:41 -rw-rw-r-- 1 jenkins jenkins 42 Sep 5 05:07 .golangci.yml 05:16:41 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 5 05:07 CHANGELOG.md 05:16:41 -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 05:07 GOVERNANCE.md 05:16:41 -rw-rw-r-- 1 jenkins jenkins 885 Sep 5 05:07 Jenkinsfile 05:16:41 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 5 05:07 LICENSE 05:16:41 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 5 05:07 Makefile 05:16:41 -rw-rw-r-- 1 jenkins jenkins 619 Sep 5 05:07 OWNERS.md 05:16:41 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 5 05:07 README.md 05:16:41 -rw-rw-r-- 1 jenkins jenkins 12 Sep 5 05:05 VERSION 05:16:41 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 05:07 bin 05:16:41 -rw-r--r-- 1 jenkins jenkins 120470 Sep 5 05:13 coverage.out 05:16:41 drwxrwxr-x 5 jenkins jenkins 4096 Sep 5 05:07 example 05:16:41 -rw-rw-r-- 1 jenkins jenkins 3721 Sep 5 05:07 go.mod 05:16:41 -rw-rw-r-- 1 jenkins jenkins 33545 Sep 5 05:07 go.sum 05:16:41 drwxrwxr-x 12 jenkins jenkins 4096 Sep 5 05:07 internal 05:16:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 05:07 openapi 05:16:41 drwxrwxr-x 6 jenkins jenkins 4096 Sep 5 05:07 pkg 05:16:41 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 05:07 snap 05:16:41 -rw-rw-r-- 1 jenkins jenkins 222 Sep 5 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:41 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a3c91960d92e52cbdab9fb2db5fec403345ab315 --label arch=arm64 --label version=3.1.0-dev.18 . 05:16:42 Sending build context to Docker daemon 6.04MB 05:16:42 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 05:16:42 Step 2/23 : FROM ${BASE} AS builder 05:16:42 ---> 3aa7c08944a2 05:16:42 Step 3/23 : ARG MAKE=make build 05:16:42 ---> Running in ceeb2f612800 05:16:42 Removing intermediate container ceeb2f612800 05:16:42 ---> 04ad4d759d5a 05:16:42 Step 4/23 : WORKDIR /device-sdk-go 05:16:42 ---> Running in ce391fdc7946 05:16:42 Removing intermediate container ce391fdc7946 05:16:42 ---> 6a258ad21604 05:16:42 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:16:42 ---> Running in 1cc759fd2a71 05:16:43 Removing intermediate container 1cc759fd2a71 05:16:43 ---> 86788005c7c0 05:16:43 Step 6/23 : RUN apk add --update --no-cache make git 05:16:43 ---> Running in 82b20f6bc659 05:16:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:16:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:16:46 OK: 263 MiB in 53 packages 05:16:46 Removing intermediate container 82b20f6bc659 05:16:46 ---> d669507e40df 05:16:46 Step 7/23 : COPY go.mod vendor* ./ 05:16:47 ---> c45ea52dc9ab 05:16:47 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:16:47 ---> Running in a774a575612e 05:16:49 Removing intermediate container a774a575612e 05:16:49 ---> 32f5f75ee29b 05:16:49 Step 9/23 : COPY . . 05:16:52 ---> 70814ba42e1e 05:16:52 Step 10/23 : RUN ${MAKE} 05:16:52 ---> Running in f76fe7d351c8 05:16:53 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.18" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:19:15 Removing intermediate container f76fe7d351c8 05:19:15 ---> 0beb2c5226d4 05:19:15 Step 11/23 : FROM alpine:3.17 05:19:15 3.17: Pulling from library/alpine 05:19:15 4060ece20d7a: Pulling fs layer 05:19:15 4060ece20d7a: Verifying Checksum 05:19:15 4060ece20d7a: Download complete 05:19:15 4060ece20d7a: Pull complete 05:19:15 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 05:19:15 Status: Downloaded newer image for alpine:3.17 05:19:15 ---> 8650cd65339b 05:19:15 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:19:15 ---> Running in 4f8652027867 05:19:15 Removing intermediate container 4f8652027867 05:19:15 ---> 058e2878a751 05:19:15 Step 13/23 : RUN apk add --update --no-cache 05:19:15 ---> Running in 9069e4a156e4 05:19:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:19:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:19:15 OK: 7 MiB in 15 packages 05:19:15 Removing intermediate container 9069e4a156e4 05:19:15 ---> 0406262aba37 05:19:15 Step 14/23 : WORKDIR / 05:19:15 ---> Running in 1ec21d3838f4 05:19:15 Removing intermediate container 1ec21d3838f4 05:19:15 ---> 35d9b8c68a0c 05:19:15 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:19:15 ---> c4d833cc8ad1 05:19:15 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:19:15 ---> 9792862bec64 05:19:15 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:19:15 ---> 8543d5684e81 05:19:15 Step 18/23 : EXPOSE 59999 05:19:15 ---> Running in 0469d2efbe9d 05:19:15 Removing intermediate container 0469d2efbe9d 05:19:15 ---> 6ab1fbf31037 05:19:15 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:19:15 ---> Running in f13ce7c3fea3 05:19:15 Removing intermediate container f13ce7c3fea3 05:19:15 ---> ba51b9248a28 05:19:15 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:19:15 ---> Running in 679fcb0b1b70 05:19:15 Removing intermediate container 679fcb0b1b70 05:19:15 ---> 7c5ba1daf61d 05:19:15 Step 21/23 : LABEL arch=arm64 05:19:15 ---> Running in d4d1bd08d71a 05:19:15 Removing intermediate container d4d1bd08d71a 05:19:15 ---> 998955160dfe 05:19:15 Step 22/23 : LABEL git_sha=a3c91960d92e52cbdab9fb2db5fec403345ab315 05:19:15 ---> Running in b16506ba7730 05:19:15 Removing intermediate container b16506ba7730 05:19:15 ---> a0c9589c1a2e 05:19:15 Step 23/23 : LABEL version=3.1.0-dev.18 05:19:15 ---> Running in c2a9f2abbf92 05:19:15 Removing intermediate container c2a9f2abbf92 05:19:15 ---> b67e1899da45 05:19:15 [Warning] One or more build-args [ARCH] were not consumed 05:19:15 Successfully built b67e1899da45 05:19:15 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:19:16 05:19:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:19:16 arm64: Pulling from edgex-lftools-log-publisher 05:19:16 8998bd30e6a1: Pulling fs layer 05:19:16 04944245beec: Pulling fs layer 05:19:16 699f458cf7ca: Pulling fs layer 05:19:16 765212b225bb: Pulling fs layer 05:19:16 f23df028b6ca: Pulling fs layer 05:19:16 d65c8cfc05b1: Pulling fs layer 05:19:16 2437ff75d9bd: Pulling fs layer 05:19:16 f23df028b6ca: Waiting 05:19:16 d65c8cfc05b1: Waiting 05:19:16 765212b225bb: Waiting 05:19:16 2437ff75d9bd: Waiting 05:19:16 04944245beec: Verifying Checksum 05:19:16 04944245beec: Download complete 05:19:16 765212b225bb: Verifying Checksum 05:19:16 765212b225bb: Download complete 05:19:16 f23df028b6ca: Download complete 05:19:16 d65c8cfc05b1: Verifying Checksum 05:19:16 d65c8cfc05b1: Download complete 05:19:16 699f458cf7ca: Verifying Checksum 05:19:16 699f458cf7ca: Download complete 05:19:17 8998bd30e6a1: Download complete 05:19:19 2437ff75d9bd: Verifying Checksum 05:19:19 2437ff75d9bd: Download complete 05:19:21 8998bd30e6a1: Pull complete 05:19:23 04944245beec: Pull complete 05:19:24 699f458cf7ca: Pull complete 05:19:24 765212b225bb: Pull complete 05:19:24 f23df028b6ca: Pull complete 05:19:25 d65c8cfc05b1: Pull complete 05:19:40 2437ff75d9bd: Pull complete 05:19:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:19:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:19:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:40 prd-ubuntu20.04-docker-arm64-4c-16g-5315 does not seem to be running inside a container 05:19:40 $ 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/247 -v /w/workspace/device-sdk-go/247:/w/workspace/device-sdk-go/247:rw,z -v /w/workspace/device-sdk-go/247@tmp:/w/workspace/device-sdk-go/247@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 05:19:43 $ docker top 795688b094f3db7d3a3946c582d76628e902b509d92ffe934123c53f3fc6329c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:43 ---> job-cost.sh 05:19:44 lf-activate-venv: SKIPPING 05:19:44 INFO: No Stack... 05:19:44 INFO: Retrieving Pricing Info for: v3-standard-4 05:19:45 INFO: Archiving Costs [Pipeline] sh 05:19:45 + cut -d, -f6 05:19:45 + cat /w/workspace/device-sdk-go/247/archives/cost.csv [Pipeline] lock 05:19:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-247-stack-cost] 05:19:45 Resource [jenkins-edgexfoundry-device-sdk-go-main-247-stack-cost] did not exist. Created. 05:19:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-247-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:19:46 /w/workspace/device-sdk-go/247@tmp/durable-2f203cfe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:19:46 + echo total: 0.10999999940395355 [Pipeline] stash 05:19:46 Warning: overwriting stash ‘stack-cost’ 05:19:46 Stashed 1 file(s) [Pipeline] } 05:19:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-247-stack-cost] [Pipeline] // lock [Pipeline] } 05:19:46 $ docker stop --time=1 795688b094f3db7d3a3946c582d76628e902b509d92ffe934123c53f3fc6329c 05:19:48 $ docker rm -f --volumes 795688b094f3db7d3a3946c582d76628e902b509d92ffe934123c53f3fc6329c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:19:48 provisioning config files... 05:19:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15899140310268164118tmp [Pipeline] { [Pipeline] sh 05:19:49 + set +x 05:19:49 + curl -s https://codecov.io/bash 05:19:49 + bash -s -- 05:19:49 05:19:49 _____ _ 05:19:49 / ____| | | 05:19:49 | | ___ __| | ___ ___ _____ __ 05:19:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:19:49 | |___| (_) | (_| | __/ (_| (_) \ V / 05:19:49 \_____\___/ \__,_|\___|\___\___/ \_/ 05:19:49 Bash-1.0.6 05:19:49 05:19:49 05:19:49 ==> git version 2.25.1 found 05:19:49 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:19:49 Release-Date: 2020-01-08 05:19:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:19:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:19:49 ==> Jenkins CI detected. 05:19:49 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:19:49 project root: . 05:19:49 --> token set from env 05:19:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:19:49 ==> Running gcov in . (disable via -X gcov) 05:19:49 ==> Python coveragepy not found 05:19:49 ==> Searching for coverage reports in: 05:19:49 + . 05:19:49 -> Found 1 reports 05:19:49 ==> Detecting git/mercurial file structure 05:19:49 ==> Reading reports 05:19:49 + ./coverage.out bytes=120470 05:19:49 ==> Appending adjustments 05:19:49 https://docs.codecov.io/docs/fixing-reports 05:19:49 + Found adjustments 05:19:49 ==> Gzipping contents 05:19:49 20K /tmp/codecov.N9uy4k.gz 05:19:49 ==> Uploading reports 05:19:49 url: https://codecov.io 05:19:49 query: branch=main&commit=a3c91960d92e52cbdab9fb2db5fec403345ab315&build=247&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F247%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:19:49 -> Pinging Codecov 05:19:49 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=a3c91960d92e52cbdab9fb2db5fec403345ab315&build=247&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F247%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:19:49 -> Uploading to 05:19:49 https://storage.googleapis.com/codecov/v4/raw/2023-09-05/7E55EF52A471D76F132DFD9A03CDDE97/a3c91960d92e52cbdab9fb2db5fec403345ab315/027ff573-25fa-4be4-bc3c-58cfb58433ec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230905T051949Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e19e86ac548799189391215b7f0e6df066c8e429d46b50ee83fd38e33daf801a 05:19:49 % Total % Received % Xferd Average Speed Time Time Time Current 05:19:49 Dload Upload Total Spent Left Speed 05:19:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16469 0 0 100 16469 0 89505 --:--:-- --:--:-- --:--:-- 89505 05:19:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a3c91960d92e52cbdab9fb2db5fec403345ab315 [Pipeline] } 05:19:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:19:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:19:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:19:50 05:19:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:19:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:19:50 df9b9388f04a: Pulling fs layer 05:19:50 52dc419b0ee2: Pulling fs layer 05:19:50 25bc292e5bac: Pulling fs layer 05:19:50 114826534d7a: Pulling fs layer 05:19:50 4657fd5d0bcf: Pulling fs layer 05:19:50 6ad1cebc031e: Pulling fs layer 05:19:50 8a3aa393b2d8: Pulling fs layer 05:19:50 4657fd5d0bcf: Waiting 05:19:50 6ad1cebc031e: Waiting 05:19:50 8a3aa393b2d8: Waiting 05:19:50 25bc292e5bac: Verifying Checksum 05:19:50 25bc292e5bac: Download complete 05:19:50 52dc419b0ee2: Verifying Checksum 05:19:50 52dc419b0ee2: Download complete 05:19:50 df9b9388f04a: Verifying Checksum 05:19:50 df9b9388f04a: Download complete 05:19:50 df9b9388f04a: Pull complete 05:19:50 6ad1cebc031e: Verifying Checksum 05:19:50 6ad1cebc031e: Download complete 05:19:50 52dc419b0ee2: Pull complete 05:19:50 25bc292e5bac: Pull complete 05:19:51 114826534d7a: Verifying Checksum 05:19:51 114826534d7a: Download complete 05:19:51 8a3aa393b2d8: Verifying Checksum 05:19:51 8a3aa393b2d8: Download complete 05:19:57 114826534d7a: Pull complete 05:19:57 4657fd5d0bcf: Pull complete 05:19:59 6ad1cebc031e: Pull complete 05:20:05 8a3aa393b2d8: Pull complete 05:20:05 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:20:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:20:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:05 prd-ubuntu20.04-docker-8c-8g-5314 does not seem to be running inside a container 05:20:05 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:20:09 $ docker top 435bfe3ee0cba45ca19bec2575d2b6f101fc4d6153fbe03b30375839d45b60d8 -eo pid,comm [Pipeline] { [Pipeline] echo 05:20:11 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:20:11 + set -o pipefail 05:20:11 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:20:32 05:20:32 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:20:32 05:20:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/70b82384-f09f-424e-bba4-8e33c0d7a32e 05:20:32 05:20:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:20:32 05:20:32 05:20:32 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:20:32 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:20:32 More details here: https://snyk.co/ue1NS 05:20:32 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 05:20:32 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:20:32 $ docker stop --time=1 435bfe3ee0cba45ca19bec2575d2b6f101fc4d6153fbe03b30375839d45b60d8 05:20:36 $ docker rm -f --volumes 435bfe3ee0cba45ca19bec2575d2b6f101fc4d6153fbe03b30375839d45b60d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 05:20:36 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:20:36 provisioning config files... 05:20:36 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10790436882710381484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:36 --> edgex-publish-swagger.sh 05:20:36 === Publish openapi/v3 API === 05:20:36 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:20:36 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:20:36 % Total % Received % Xferd Average Speed Time Time Time Current 05:20:36 Dload Upload Total Spent Left Speed 05:20:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 47633 --:--:-- --:--:-- --:--:-- 47538 100 23674 0 0 100 23674 0 47633 --:--:-- --:--:-- --:--:-- 47538 05:20:37 05:20:37 [Pipeline] } 05:20:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:20:37 + git log --format=format:%s -1 a3c91960d92e52cbdab9fb2db5fec403345ab315 [Pipeline] sh 05:20:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:20:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:20:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:38 prd-ubuntu20.04-docker-8c-8g-5314 does not seem to be running inside a container 05:20:38 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:20:38 $ docker top f4e783b8564734df6f2638b8441d38eca5e80fede59dcb0643da493d69d1fea7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:20:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:20:38 [ssh-agent] Looking for ssh-agent implementation... 05:20:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:20:39 $ docker exec f4e783b8564734df6f2638b8441d38eca5e80fede59dcb0643da493d69d1fea7 ssh-agent 05:20:39 SSH_AUTH_SOCK=/tmp/ssh-quP8QGd7GpOI/agent.32 05:20:39 SSH_AGENT_PID=39 05:20:39 Running ssh-add (command line suppressed) 05:20:39 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9778266689499209288.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9778266689499209288.key) 05:20:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:20:39 + git semver tag 05:20:39 2023-09-05 05:20:39,686 [run_tag] DEBUG tag force:False 05:20:39 2023-09-05 05:20:39,686 [check_head_tag] DEBUG check head tag 05:20:39 2023-09-05 05:20:39,687 [execute] INFO git cat-file --batch-check 05:20:39 2023-09-05 05:20:39,687 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:20:39 2023-09-05 05:20:39,691 [execute] INFO git cat-file --batch 05:20:39 2023-09-05 05:20:39,691 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:20:39 2023-09-05 05:20:39,705 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:20:39 2023-09-05 05:20:39,706 [execute] INFO git tag -a v3.1.0-dev.18 -m v3.1.0-dev.18 05:20:39 2023-09-05 05:20:39,706 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.18', '-m', 'v3.1.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:20:39 2023-09-05 05:20:39,711 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:20:39 3.1.0-dev.18 [Pipeline] } 05:20:39 $ docker exec --env ******** --env ******** f4e783b8564734df6f2638b8441d38eca5e80fede59dcb0643da493d69d1fea7 ssh-agent -k 05:20:39 unset SSH_AUTH_SOCK; 05:20:39 unset SSH_AGENT_PID; 05:20:39 echo Agent pid 39 killed; 05:20:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:20:40 + git semver [Pipeline] } 05:20:40 $ docker stop --time=1 f4e783b8564734df6f2638b8441d38eca5e80fede59dcb0643da493d69d1fea7 05:20:41 $ docker rm -f --volumes f4e783b8564734df6f2638b8441d38eca5e80fede59dcb0643da493d69d1fea7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:20:42 05:20:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:20:42 0.23.1-centos7: Pulling from edgex-lftools 05:20:42 ab5ef0e58194: Pulling fs layer 05:20:42 9712f1f96733: Pulling fs layer 05:20:42 63f879dbbcfc: Pulling fs layer 05:20:42 0d9ebad4ef96: Pulling fs layer 05:20:42 e9a5061849ea: Pulling fs layer 05:20:42 d747dcd14b5f: Pulling fs layer 05:20:42 2de7ff778b66: Pulling fs layer 05:20:42 2de7ff778b66: Waiting 05:20:42 e9a5061849ea: Waiting 05:20:42 0d9ebad4ef96: Waiting 05:20:42 d747dcd14b5f: Waiting 05:20:42 9712f1f96733: Verifying Checksum 05:20:42 9712f1f96733: Download complete 05:20:42 63f879dbbcfc: Verifying Checksum 05:20:42 63f879dbbcfc: Download complete 05:20:42 e9a5061849ea: Verifying Checksum 05:20:42 e9a5061849ea: Download complete 05:20:42 d747dcd14b5f: Verifying Checksum 05:20:42 d747dcd14b5f: Download complete 05:20:42 0d9ebad4ef96: Verifying Checksum 05:20:42 0d9ebad4ef96: Download complete 05:20:42 ab5ef0e58194: Verifying Checksum 05:20:42 ab5ef0e58194: Download complete 05:20:42 2de7ff778b66: Verifying Checksum 05:20:42 2de7ff778b66: Download complete 05:20:45 ab5ef0e58194: Pull complete 05:20:45 9712f1f96733: Pull complete 05:20:46 63f879dbbcfc: Pull complete 05:20:50 0d9ebad4ef96: Pull complete 05:20:50 e9a5061849ea: Pull complete 05:20:50 d747dcd14b5f: Pull complete 05:20:51 2de7ff778b66: Pull complete 05:20:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:20:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:20:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:51 prd-ubuntu20.04-docker-8c-8g-5314 does not seem to be running inside a container 05:20:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:20:56 $ docker top 390694980f1a4d5205f86ee27feb7e9d38a695f2b8b69f41f0c85eddbbce70b7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:20:56 provisioning config files... 05:20:56 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18050171421339290000tmp 05:20:56 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7510348468005216159tmp 05:20:56 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11954415922568335157tmp [Pipeline] { [Pipeline] echo 05:20:56 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:20:56 ---> sigul-configuration.sh 05:20:56 gpg: directory `/root/.gnupg' created 05:20:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:20:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:20:56 gpg: keyring `/root/.gnupg/secring.gpg' created 05:20:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:20:56 gpg: CAST5 encrypted data 05:20:56 gpg: encrypted with 1 passphrase 05:20:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:20:56 + mkdir /home/jenkins 05:20:56 + mkdir /home/jenkins/sigul [Pipeline] sh 05:20:57 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:20:57 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:20:57 ---> sigul-install.sh 05:20:57 Sigul already installed; skipping installation. [Pipeline] sh 05:20:57 + git tag --list 05:20:57 0.7.1 05:20:57 delhi-tag 05:20:57 v1.0.0 05:20:57 v1.1.0 05:20:57 v1.1.1 05:20:57 v1.1.2 05:20:57 v1.2.0 05:20:57 v1.2.1 05:20:57 v1.2.2 05:20:57 v1.2.3 05:20:57 v1.3.0 05:20:57 v1.4.0 05:20:57 v2.0.0 05:20:57 v2.1.0 05:20:57 v2.1.1 05:20:57 v2.2.0 05:20:57 v2.3.0 05:20:57 v2.3.1 05:20:57 v3.0 05:20:57 v3.0.0 05:20:57 v3.0.1-dev.1 05:20:57 v3.1.0-dev.1 05:20:57 v3.1.0-dev.10 05:20:57 v3.1.0-dev.11 05:20:57 v3.1.0-dev.12 05:20:57 v3.1.0-dev.13 05:20:57 v3.1.0-dev.14 05:20:57 v3.1.0-dev.15 05:20:57 v3.1.0-dev.16 05:20:57 v3.1.0-dev.17 05:20:57 v3.1.0-dev.18 05:20:57 v3.1.0-dev.2 05:20:57 v3.1.0-dev.3 05:20:57 v3.1.0-dev.4 05:20:57 v3.1.0-dev.5 05:20:57 v3.1.0-dev.6 05:20:57 v3.1.0-dev.7 05:20:57 v3.1.0-dev.8 05:20:57 v3.1.0-dev.9 [Pipeline] sh 05:20:57 + lftools sign git-tag v3.1.0-dev.18 05:20:58 Signing Git tag with Sigul... 05:20:58 Signing v3.1.0-dev.18 [Pipeline] echo 05:20:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:20:59 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:20:59 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:20:59 $ docker stop --time=1 390694980f1a4d5205f86ee27feb7e9d38a695f2b8b69f41f0c85eddbbce70b7 05:21:00 $ docker rm -f --volumes 390694980f1a4d5205f86ee27feb7e9d38a695f2b8b69f41f0c85eddbbce70b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:21:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:21:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:21:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:01 prd-ubuntu20.04-docker-8c-8g-5314 does not seem to be running inside a container 05:21:01 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:21:01 $ docker top ecdc2d78e5d1d4963e2aca52ba288022a353dc47a9b6eb192fc914ea992f504f -eo pid,comm 05:21:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:21:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:21:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:21:01 [ssh-agent] Looking for ssh-agent implementation... 05:21:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:21:01 $ docker exec ecdc2d78e5d1d4963e2aca52ba288022a353dc47a9b6eb192fc914ea992f504f ssh-agent 05:21:01 SSH_AUTH_SOCK=/tmp/ssh-mvV9ErG3Wpna/agent.33 05:21:01 SSH_AGENT_PID=39 05:21:01 Running ssh-add (command line suppressed) 05:21:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17459265918040588521.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17459265918040588521.key) 05:21:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:21:02 + git semver bump pre 05:21:02 2023-09-05 05:21:02,396 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:21:02 2023-09-05 05:21:02,397 [bump_version] DEBUG bumping version:3.1.0-dev.18 on axis:pre with prefix:dev 05:21:02 2023-09-05 05:21:02,397 [bump_version] DEBUG bumped version:3.1.0-dev.19 05:21:02 2023-09-05 05:21:02,397 [write_version] DEBUG write version:3.1.0-dev.19 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:21:02 2023-09-05 05:21:02,397 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:21:02 2023-09-05 05:21:02,397 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:21:02 2023-09-05 05:21:02,399 [execute] INFO git cat-file --batch-check 05:21:02 2023-09-05 05:21:02,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:21:02 2023-09-05 05:21:02,404 [execute] INFO git cat-file --batch 05:21:02 2023-09-05 05:21:02,404 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:21:02 2023-09-05 05:21:02,408 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:21:02 3.1.0-dev.19 [Pipeline] } 05:21:02 $ docker exec --env ******** --env ******** ecdc2d78e5d1d4963e2aca52ba288022a353dc47a9b6eb192fc914ea992f504f ssh-agent -k 05:21:02 unset SSH_AUTH_SOCK; 05:21:02 unset SSH_AGENT_PID; 05:21:02 echo Agent pid 39 killed; 05:21:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:21:02 + git semver [Pipeline] } 05:21:03 $ docker stop --time=1 ecdc2d78e5d1d4963e2aca52ba288022a353dc47a9b6eb192fc914ea992f504f 05:21:04 $ docker rm -f --volumes ecdc2d78e5d1d4963e2aca52ba288022a353dc47a9b6eb192fc914ea992f504f [Pipeline] // withDockerContainer [Pipeline] sh 05:21:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:21:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:21:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:05 prd-ubuntu20.04-docker-8c-8g-5314 does not seem to be running inside a container 05:21:05 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:21:05 $ docker top dfa0446f9e656f7d564a0ae877dd65d45f1d94ffde5d14939fe343cce3360e8a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:21:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:21:05 [ssh-agent] Looking for ssh-agent implementation... 05:21:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:21:05 $ docker exec dfa0446f9e656f7d564a0ae877dd65d45f1d94ffde5d14939fe343cce3360e8a ssh-agent 05:21:05 SSH_AUTH_SOCK=/tmp/ssh-aldh3KSMDf0s/agent.32 05:21:05 SSH_AGENT_PID=38 05:21:05 Running ssh-add (command line suppressed) 05:21:05 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11662956980230160393.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11662956980230160393.key) 05:21:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:21:06 + git semver push 05:21:06 2023-09-05 05:21:06,374 [run_push] DEBUG push 05:21:06 2023-09-05 05:21:06,375 [execute] INFO git cat-file --batch-check 05:21:06 2023-09-05 05:21:06,375 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:21:06 2023-09-05 05:21:06,378 [execute] INFO git rev-list 118c46e65981afd8e9f2db07a146296183fedee8 -- 05:21:06 2023-09-05 05:21:06,379 [execute] DEBUG Popen(['git', 'rev-list', '118c46e65981afd8e9f2db07a146296183fedee8', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:21:06 2023-09-05 05:21:06,391 [execute] INFO git fetch -v origin 05:21:06 2023-09-05 05:21:06,392 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:21:07 2023-09-05 05:21:06,862 [run_push] DEBUG no remote changes detected 05:21:07 2023-09-05 05:21:06,862 [execute] INFO git push origin semver 05:21:07 2023-09-05 05:21:06,862 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:21:07 2023-09-05 05:21:07,622 [run_push] DEBUG push all version tags 05:21:07 2023-09-05 05:21:07,622 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:21:07 2023-09-05 05:21:07,623 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:21:08 2023-09-05 05:21:08,375 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:21:08 3.1.0-dev.19 [Pipeline] } 05:21:08 $ docker exec --env ******** --env ******** dfa0446f9e656f7d564a0ae877dd65d45f1d94ffde5d14939fe343cce3360e8a ssh-agent -k 05:21:08 unset SSH_AUTH_SOCK; 05:21:08 unset SSH_AGENT_PID; 05:21:08 echo Agent pid 38 killed; 05:21:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:21:08 + git semver [Pipeline] } 05:21:09 $ docker stop --time=1 dfa0446f9e656f7d564a0ae877dd65d45f1d94ffde5d14939fe343cce3360e8a 05:21:10 $ docker rm -f --volumes dfa0446f9e656f7d564a0ae877dd65d45f1d94ffde5d14939fe343cce3360e8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:21:11 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:21:11 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:21:11 total 16 05:21:11 drwxr-xr-x 3 root root 4096 Sep 5 05:08 . 05:21:11 drwxrwxr-x 12 jenkins jenkins 4096 Sep 5 05:20 .. 05:21:11 drwxr-xr-x 2 root root 4096 Sep 5 05:08 cost 05:21:11 -rw-r--r-- 1 root root 85 Sep 5 05:08 cost.csv 05:21:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:21:11 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:21:11 total 16 05:21:11 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 05:08 . 05:21:11 drwxrwxr-x 12 jenkins jenkins 4096 Sep 5 05:20 .. 05:21:11 drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 05:08 cost 05:21:11 -rw-r--r-- 1 jenkins jenkins 85 Sep 5 05:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:21:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:21:12 ---> package-listing.sh 05:21:12 ++ facter osfamily 05:21:12 ++ tr '[:upper:]' '[:lower:]' 05:21:12 + OS_FAMILY=debian 05:21:12 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:21:12 + START_PACKAGES=/tmp/packages_start.txt 05:21:12 + END_PACKAGES=/tmp/packages_end.txt 05:21:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:21:12 + PACKAGES=/tmp/packages_start.txt 05:21:12 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:21:12 + PACKAGES=/tmp/packages_end.txt 05:21:12 + case "${OS_FAMILY}" in 05:21:12 + dpkg -l 05:21:12 + grep '^ii' 05:21:12 + '[' -f /tmp/packages_start.txt ']' 05:21:12 + '[' -f /tmp/packages_end.txt ']' 05:21:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:21:12 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:21:12 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:21:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:21:12 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:21:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:21:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:13 prd-ubuntu20.04-docker-8c-8g-5314 does not seem to be running inside a container 05:21:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:21:13 $ docker top d2d6805ba5dd895d48ef0f6c56574ebe7fa8c47b7d729d12ca7f00debcec6e0b -eo pid,comm [Pipeline] { [Pipeline] sh 05:21:13 + touch /tmp/pre-build-complete [Pipeline] sh 05:21:14 + mkdir -p /var/log/sysstat [Pipeline] sh 05:21:14 + ls /var/log/sa-host 05:21:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:21:14 provisioning config files... 05:21:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17631655954520580190tmp [Pipeline] { [Pipeline] echo 05:21:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:21:15 ---> create-netrc.sh [Pipeline] } 05:21:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:21:15 ---> python-tools-install.sh [Pipeline] echo 05:21:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:21:15 ---> sudo-logs.sh 05:21:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:21:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:21:16 ---> job-cost.sh 05:21:16 lf-activate-venv: SKIPPING 05:21:16 DEBUG: total: 0.2199999988079071 05:21:16 INFO: Retrieving Stack Cost... 05:21:16 INFO: Retrieving Pricing Info for: v3-standard-8 05:21:16 INFO: Archiving Costs [Pipeline] echo 05:21:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:21:17 ---> logs-deploy.sh 05:21:17 lf-activate-venv: SKIPPING 05:21:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/247 05:21:17 INFO: archiving workspace using pattern(s): 05:21:18 Archives upload complete. 05:21:18 INFO: archiving logs to Nexus 05:21:18 ---> uname -a: 05:21:18 Linux prd-ubuntu20-04-docker-8c-8g-5314 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:21:18 05:21:18 05:21:18 ---> lscpu: 05:21:18 Architecture: x86_64 05:21:18 CPU op-mode(s): 32-bit, 64-bit 05:21:18 Byte Order: Little Endian 05:21:18 Address sizes: 40 bits physical, 48 bits virtual 05:21:18 CPU(s): 8 05:21:18 On-line CPU(s) list: 0-7 05:21:18 Thread(s) per core: 1 05:21:18 Core(s) per socket: 1 05:21:18 Socket(s): 8 05:21:18 NUMA node(s): 1 05:21:18 Vendor ID: AuthenticAMD 05:21:18 CPU family: 23 05:21:18 Model: 49 05:21:18 Model name: AMD EPYC-Rome Processor 05:21:18 Stepping: 0 05:21:18 CPU MHz: 2800.000 05:21:18 BogoMIPS: 5600.00 05:21:18 Virtualization: AMD-V 05:21:18 Hypervisor vendor: KVM 05:21:18 Virtualization type: full 05:21:18 L1d cache: 256 KiB 05:21:18 L1i cache: 256 KiB 05:21:18 L2 cache: 4 MiB 05:21:18 L3 cache: 128 MiB 05:21:18 NUMA node0 CPU(s): 0-7 05:21:18 Vulnerability Itlb multihit: Not affected 05:21:18 Vulnerability L1tf: Not affected 05:21:18 Vulnerability Mds: Not affected 05:21:18 Vulnerability Meltdown: Not affected 05:21:18 Vulnerability Mmio stale data: Not affected 05:21:18 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:21:18 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:21:18 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:21:18 Vulnerability Srbds: Not affected 05:21:18 Vulnerability Tsx async abort: Not affected 05:21:18 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 05:21:18 05:21:18 05:21:18 ---> nproc: 05:21:18 8 05:21:18 05:21:18 05:21:18 ---> df -h: 05:21:18 Filesystem Size Used Avail Use% Mounted on 05:21:18 overlay 155G 13G 143G 9% / 05:21:18 tmpfs 64M 0 64M 0% /dev 05:21:18 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:21:18 shm 64M 0 64M 0% /dev/shm 05:21:18 /dev/vda1 155G 13G 143G 9% /facter-os 05:21:18 05:21:18