Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 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-ssh8978110754116758815.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15999398573851322942.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6669152624757231173.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15475128341589192712.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-ssh1580301780733269090.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-8445’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8447 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 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 (main) Commit message: "Merge pull request #1521 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.46" > 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 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 # timeout=10 > git rev-list --no-walk 1f885853b7afeee748945214d1e34d19c3162505 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:30:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:30:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:30:18 ========================================================= 04:30:18 EdgeX Global Pipelines Version Info 04:30:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:30:19 ------------------- 04:30:19 stable info: 04:30:19 ------------------- 04:30:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:30:19 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 04:30:19 Message: update stable to v1.0.254 04:30:20 ------------------- 04:30:20 experimental info: 04:30:20 ------------------- 04:30:20 Commited By: **** collab-it+edgex@linuxfoundation.org 04:30:20 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 04:30:20 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8a4e603 [Pipeline] echo 04:30:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:30:20 provisioning config files... 04:30:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7835801077029903852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:30:21 ---> docker-login.sh 04:30:21 nexus3.edgexfoundry.org:10001 04:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:21 Configure a credential helper to remove this warning. See 04:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:21 04:30:21 Login Succeeded 04:30:21 nexus3.edgexfoundry.org:10002 04:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:21 Configure a credential helper to remove this warning. See 04:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:21 04:30:21 Login Succeeded 04:30:21 nexus3.edgexfoundry.org:10003 04:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:21 Configure a credential helper to remove this warning. See 04:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:21 04:30:21 Login Succeeded 04:30:21 nexus3.edgexfoundry.org:10004 04:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:21 Configure a credential helper to remove this warning. See 04:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:21 04:30:21 Login Succeeded 04:30:21 docker.io 04:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:22 Configure a credential helper to remove this warning. See 04:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:22 04:30:22 Login Succeeded 04:30:22 ---> docker-login.sh ends [Pipeline] } 04:30:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:30:22 + git rev-list -1 --merges 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017~1..8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [Pipeline] echo 04:30:22 -----------> git rev-list -1 --merges 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017~1..8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 04:30:22 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [false] [Pipeline] sh 04:30:22 + git log --format=format:%s -1 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [Pipeline] echo 04:30:22 ========================================================= 04:30:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:30:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:30:23 + git log --format=format:%s -1 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [Pipeline] echo 04:30:23 [semverPrep] GIT_COMMIT: 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017, Commit Message: Merge pull request #1521 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.46 [Pipeline] echo 04:30:23 [semverPrep] This is not a build commit. [Pipeline] sh 04:30:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:30:23 + grep -v github /etc/ssh/ssh_known_hosts 04:30:23 + [ -e /tmp/ssh_known_hosts ] 04:30:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:30:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:30:23 + sudo tee -a /etc/ssh/ssh_known_hosts 04:30:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:30:23 04:30:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:30:24 0.1.4: Pulling from edgex-devops/py-git-semver 04:30:24 b85a868b505f: Pulling fs layer 04:30:24 e2be974225ed: Pulling fs layer 04:30:24 339a4e72a1f5: Pulling fs layer 04:30:24 988bab9f4d93: Pulling fs layer 04:30:24 1469e6f7b9e6: Pulling fs layer 04:30:24 eaf3925da568: Pulling fs layer 04:30:24 bab4dde63d76: Pulling fs layer 04:30:24 bde34c3a00c8: Pulling fs layer 04:30:24 b352a97aabf1: Pulling fs layer 04:30:24 4872d77fe225: Pulling fs layer 04:30:24 5851b861e8e6: Pulling fs layer 04:30:24 988bab9f4d93: Waiting 04:30:24 1469e6f7b9e6: Waiting 04:30:24 bab4dde63d76: Waiting 04:30:24 eaf3925da568: Waiting 04:30:24 bde34c3a00c8: Waiting 04:30:24 b352a97aabf1: Waiting 04:30:24 5851b861e8e6: Waiting 04:30:24 e2be974225ed: Download complete 04:30:24 988bab9f4d93: Verifying Checksum 04:30:24 988bab9f4d93: Download complete 04:30:24 1469e6f7b9e6: Download complete 04:30:24 eaf3925da568: Verifying Checksum 04:30:24 eaf3925da568: Download complete 04:30:24 339a4e72a1f5: Verifying Checksum 04:30:24 339a4e72a1f5: Download complete 04:30:24 bde34c3a00c8: Download complete 04:30:24 b352a97aabf1: Verifying Checksum 04:30:24 b352a97aabf1: Download complete 04:30:24 4872d77fe225: Verifying Checksum 04:30:24 4872d77fe225: Download complete 04:30:24 5851b861e8e6: Verifying Checksum 04:30:24 5851b861e8e6: Download complete 04:30:24 b85a868b505f: Download complete 04:30:24 bab4dde63d76: Verifying Checksum 04:30:24 bab4dde63d76: Download complete 04:30:25 b85a868b505f: Pull complete 04:30:25 e2be974225ed: Pull complete 04:30:26 339a4e72a1f5: Pull complete 04:30:26 988bab9f4d93: Pull complete 04:30:26 1469e6f7b9e6: Pull complete 04:30:26 eaf3925da568: Pull complete 04:30:28 bab4dde63d76: Pull complete 04:30:28 bde34c3a00c8: Pull complete 04:30:28 b352a97aabf1: Pull complete 04:30:28 4872d77fe225: Pull complete 04:30:28 5851b861e8e6: Pull complete 04:30:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:30:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:30:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:28 prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container 04:30:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:30:32 $ docker top 9069df472d7081bced02576a1f38d0831df94956d11e1d7497d3db66a9b049ea -eo pid,comm 04:30:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:30:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:30:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:30:32 [ssh-agent] Looking for ssh-agent implementation... 04:30:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:30:32 $ docker exec 9069df472d7081bced02576a1f38d0831df94956d11e1d7497d3db66a9b049ea ssh-agent 04:30:32 SSH_AUTH_SOCK=/tmp/ssh-bBmKTNfqcS8K/agent.33 04:30:32 SSH_AGENT_PID=39 04:30:32 Running ssh-add (command line suppressed) 04:30:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3243060926376841713.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3243060926376841713.key) 04:30:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:30:33 + git tag --points-at HEAD [Pipeline] } 04:30:33 $ docker exec --env ******** --env ******** 9069df472d7081bced02576a1f38d0831df94956d11e1d7497d3db66a9b049ea ssh-agent -k 04:30:33 unset SSH_AUTH_SOCK; 04:30:33 unset SSH_AGENT_PID; 04:30:33 echo Agent pid 39 killed; 04:30:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:30:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:30:33 [ssh-agent] Looking for ssh-agent implementation... 04:30:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:30:33 $ docker exec 9069df472d7081bced02576a1f38d0831df94956d11e1d7497d3db66a9b049ea ssh-agent 04:30:33 SSH_AUTH_SOCK=/tmp/ssh-iNi1ESeVuZ80/agent.71 04:30:33 SSH_AGENT_PID=77 04:30:33 Running ssh-add (command line suppressed) 04:30:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15993335030096652575.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15993335030096652575.key) 04:30:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:30:34 + git semver init 04:30:34 2023-10-04 04:30:34,271 [run_init] DEBUG init version:0.0.0 force:False 04:30:34 2023-10-04 04:30:34,272 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:30:34 2023-10-04 04:30:34,272 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:30:34 2023-10-04 04:30:34,273 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:30:35 2023-10-04 04:30:35,309 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:30:35 2023-10-04 04:30:35,310 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:30:35 2023-10-04 04:30:35,310 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:30:35 2023-10-04 04:30:35,310 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:30:35 3.1.0-dev.33 [Pipeline] } 04:30:35 $ docker exec --env ******** --env ******** 9069df472d7081bced02576a1f38d0831df94956d11e1d7497d3db66a9b049ea ssh-agent -k 04:30:35 unset SSH_AUTH_SOCK; 04:30:35 unset SSH_AGENT_PID; 04:30:35 echo Agent pid 77 killed; 04:30:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:30:36 + git semver [Pipeline] } 04:30:36 $ docker stop --time=1 9069df472d7081bced02576a1f38d0831df94956d11e1d7497d3db66a9b049ea 04:30:37 $ docker rm -f --volumes 9069df472d7081bced02576a1f38d0831df94956d11e1d7497d3db66a9b049ea [Pipeline] // withDockerContainer [Pipeline] sh 04:30:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:30:38 Stashed 1 file(s) [Pipeline] echo 04:30:38 [edgeXSemver]: initialized semver on version 3.1.0-dev.33 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:30:38 provisioning config files... 04:30:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12623511941277489839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:30:38 ---> docker-login.sh 04:30:38 nexus3.edgexfoundry.org:10001 04:30:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:38 Configure a credential helper to remove this warning. See 04:30:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:38 04:30:38 Login Succeeded 04:30:38 nexus3.edgexfoundry.org:10002 04:30:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:38 Configure a credential helper to remove this warning. See 04:30:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:38 04:30:38 Login Succeeded 04:30:38 nexus3.edgexfoundry.org:10003 04:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:39 Configure a credential helper to remove this warning. See 04:30:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:39 04:30:39 Login Succeeded 04:30:39 nexus3.edgexfoundry.org:10004 04:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:39 Configure a credential helper to remove this warning. See 04:30:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:39 04:30:39 Login Succeeded 04:30:39 docker.io 04:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:39 Configure a credential helper to remove this warning. See 04:30:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:39 04:30:39 Login Succeeded 04:30:39 ---> docker-login.sh ends [Pipeline] } 04:30:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:30:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:30:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:30:39 ========================================================= 04:30:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:30:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:39 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:30:39 Sending build context to Docker daemon 11.2MB 04:30:39 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:30:39 Step 2/10 : FROM ${BASE} AS builder 04:30:39 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:30:39 7264a8db6415: Pulling fs layer 04:30:39 c4d48a809fc2: Pulling fs layer 04:30:39 4f1c88b9dad5: Pulling fs layer 04:30:39 ad3a456e5733: Pulling fs layer 04:30:39 33e27b845d1e: Pulling fs layer 04:30:39 c68163c4e522: Pulling fs layer 04:30:39 50da416c3ac9: Pulling fs layer 04:30:39 23d2d4c4bb30: Pulling fs layer 04:30:39 c68163c4e522: Waiting 04:30:39 33e27b845d1e: Waiting 04:30:39 ad3a456e5733: Waiting 04:30:39 23d2d4c4bb30: Waiting 04:30:39 c4d48a809fc2: Verifying Checksum 04:30:39 c4d48a809fc2: Download complete 04:30:39 ad3a456e5733: Download complete 04:30:39 33e27b845d1e: Verifying Checksum 04:30:39 33e27b845d1e: Download complete 04:30:39 7264a8db6415: Verifying Checksum 04:30:39 7264a8db6415: Download complete 04:30:39 c68163c4e522: Verifying Checksum 04:30:39 c68163c4e522: Download complete 04:30:39 7264a8db6415: Pull complete 04:30:40 23d2d4c4bb30: Verifying Checksum 04:30:40 23d2d4c4bb30: Download complete 04:30:40 c4d48a809fc2: Pull complete 04:30:40 4f1c88b9dad5: Verifying Checksum 04:30:40 4f1c88b9dad5: Download complete 04:30:40 50da416c3ac9: Verifying Checksum 04:30:40 50da416c3ac9: Download complete 04:30:43 4f1c88b9dad5: Pull complete 04:30:43 ad3a456e5733: Pull complete 04:30:43 33e27b845d1e: Pull complete 04:30:43 c68163c4e522: Pull complete 04:30:46 50da416c3ac9: Pull complete 04:30:46 23d2d4c4bb30: Pull complete 04:30:46 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 04:30:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:30:46 ---> 0786185ac409 04:30:46 Step 3/10 : ARG MAKE=make build 04:30:51 ---> Running in 83741293c3ee 04:30:51 Removing intermediate container 83741293c3ee 04:30:51 ---> 6dbb8d71f7f5 04:30:51 Step 4/10 : WORKDIR /device-sdk-go 04:30:51 ---> Running in 82b8cc8398e3 04:30:51 Removing intermediate container 82b8cc8398e3 04:30:51 ---> 2a1afda61fcd 04:30:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:30:51 ---> Running in 4c72fd4733fc 04:30:51 Removing intermediate container 4c72fd4733fc 04:30:51 ---> 8869d2f31792 04:30:51 Step 6/10 : RUN apk add --update --no-cache make git 04:30:51 ---> Running in 6ffc777d3540 04:30:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:30:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:30:52 OK: 264 MiB in 52 packages 04:30:52 Removing intermediate container 6ffc777d3540 04:30:52 ---> 42a1c35cb136 04:30:52 Step 7/10 : COPY go.mod vendor* ./ 04:30:52 ---> e0fc0710abf0 04:30:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:30:52 ---> Running in 24488644fad1 04:30:53 Still waiting to schedule task 04:30:53 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8446’ is offline 04:32:00 Removing intermediate container 24488644fad1 04:32:00 ---> ac0901c4326c 04:32:00 Step 9/10 : COPY . . 04:32:00 ---> 058de3319eb0 04:32:00 Step 10/10 : RUN ${MAKE} 04:32:00 ---> Running in dd90b75c6176 04:32:00 noop 04:32:00 Removing intermediate container dd90b75c6176 04:32:00 ---> 367bf156100e 04:32:00 Successfully built 367bf156100e 04:32:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:00 + docker inspect -f . ci-base-image-x86_64 04:32:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:00 prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container 04:32:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:32:01 $ docker top ba792d6483d312677af5dac2630d7c8f674c60cdd78f9519f35188d913417528 -eo pid,comm [Pipeline] { [Pipeline] sh 04:32:01 + go version 04:32:01 go version go1.21.0 linux/amd64 [Pipeline] } 04:32:01 $ docker stop --time=1 ba792d6483d312677af5dac2630d7c8f674c60cdd78f9519f35188d913417528 04:32:02 $ docker rm -f --volumes ba792d6483d312677af5dac2630d7c8f674c60cdd78f9519f35188d913417528 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:03 + docker inspect -f . ci-base-image-x86_64 04:32:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:03 prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container 04:32:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:32:03 $ docker top d93652e0d3f4b772bd338d68918c86a717fcc703edbf851765cf10a738be4664 -eo pid,comm [Pipeline] { [Pipeline] sh 04:32:04 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:32:04 + make test 04:32:04 go test -race -coverprofile=coverage.out ./... 04:32:10 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:32:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8448 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:32:21 Running in /w/workspace/device-sdk-go/262 [Pipeline] { [Pipeline] checkout 04:32:21 The recommended git tool is: git 04:32:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:32:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:32:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:32:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:32:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:32:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:32:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:32:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.044s coverage: 27.6% of statements 04:32:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:32:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.054s coverage: 81.5% of statements 04:32:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.062s coverage: 86.0% of statements 04:32:26 using credential edgex-jenkins-ssh 04:32:26 Cloning the remote Git repository 04:32:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.087s coverage: 71.8% of statements 04:32:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:32:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:32:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:32:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:32:26 > git init /w/workspace/device-sdk-go/262 # timeout=10 04:32:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:32:26 > git --version # timeout=10 04:32:26 > git --version # 'git version 2.25.1' 04:32:26 using GIT_SSH to set credentials SSH Credentials for GitHub 04:32:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:32:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:32:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:32:29 Avoid second fetch 04:32:29 Checking out Revision 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 (main) 04:32:30 Commit message: "Merge pull request #1521 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.46" 04:32:29 > git config core.sparsecheckout # timeout=10 04:32:29 > git checkout -f 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 # timeout=10 04:32:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.061s coverage: 14.4% of statements 04:32:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.821s coverage: 45.9% of statements 04:32:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.086s coverage: 68.5% of statements 04:32:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.109s coverage: 89.2% of statements 04:32:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:32:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:32:31 % Total % Received % Xferd Average Speed Time Time Time Current 04:32:31 Dload Upload Total Spent Left Speed 04:32:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh 04:32:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:32:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:32:32 + sudo tee /etc/docker/daemon.new 04:32:34 { 04:32:34 "registry-mirrors": [ 04:32:34 "https://nexus3.edgexfoundry.org:10001" 04:32:34 ], 04:32:34 "bip": "10.250.0.254/24", 04:32:34 "hosts": [ 04:32:34 "tcp://0.0.0.0:5555", 04:32:34 "unix:///var/run/docker.sock" 04:32:34 ], 04:32:34 "mtu": 1458, 04:32:34 "selinux-enabled": true, 04:32:34 "seccomp-profile": "/etc/docker/seccomp.json" 04:32:34 } [Pipeline] sh 04:32:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:32:34 + sudo service docker restart 04:32:48 GO111MODULE=on go vet ./... 04:32:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:32:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:32:52 ./bin/test-attribution-txt.sh [Pipeline] echo 04:32:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:32:52 $ docker stop --time=1 d93652e0d3f4b772bd338d68918c86a717fcc703edbf851765cf10a738be4664 04:32:57 $ docker rm -f --volumes d93652e0d3f4b772bd338d68918c86a717fcc703edbf851765cf10a738be4664 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:32:57 provisioning config files... 04:32:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/262@tmp/config8667818008886945167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:32:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:32:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 04:32:58 ---> docker-login.sh 04:32:58 nexus3.edgexfoundry.org:10001 04:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 04:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:58 Configure a credential helper to remove this warning. See 04:32:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:58 04:32:58 Login Succeeded 04:32:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:32:58 nexus3.edgexfoundry.org:10002 04:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:58 + ls -al . 04:32:58 total 304 04:32:58 drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 04:32 . 04:32:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:30 .. 04:32:58 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 04:30 .dockerignore 04:32:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 04:32 .git 04:32:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:30 .github 04:32:58 -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 04:30 .gitignore 04:32:58 -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 04:30 .golangci.yml 04:32:58 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 04:30 .semver 04:32:58 -rw-rw-r-- 1 jenkins jenkins 44878 Oct 4 04:30 CHANGELOG.md 04:32:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 04:30 GOVERNANCE.md 04:32:58 -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 04:30 Jenkinsfile 04:32:58 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 04:30 LICENSE 04:32:58 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 04:30 Makefile 04:32:58 -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 04:30 OWNERS.md 04:32:58 -rw-rw-r-- 1 jenkins jenkins 4933 Oct 4 04:30 README.md 04:32:58 -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 04:30 VERSION 04:32:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:30 bin 04:32:58 -rw-r--r-- 1 jenkins jenkins 122153 Oct 4 04:32 coverage.out 04:32:58 drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 04:30 example 04:32:58 -rw-rw-r-- 1 jenkins jenkins 3722 Oct 4 04:30 go.mod 04:32:58 -rw-rw-r-- 1 jenkins jenkins 34806 Oct 4 04:30 go.sum 04:32:58 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 04:30 internal 04:32:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:30 openapi 04:32:58 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 04:30 pkg 04:32:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:30 snap 04:32:58 -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 04:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:59 Configure a credential helper to remove this warning. See 04:32:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:59 04:32:59 Login Succeeded 04:32:59 nexus3.edgexfoundry.org:10003 04:32:59 + 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=8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 --label arch=amd64 --label version=3.1.0-dev.33 . 04:32:59 Sending build context to Docker daemon 11.33MB 04:32:59 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 04:32:59 Step 2/23 : FROM ${BASE} AS builder 04:32:59 ---> 367bf156100e 04:32:59 Step 3/23 : ARG MAKE=make build 04:32:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:59 Configure a credential helper to remove this warning. See 04:32:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:59 04:32:59 Login Succeeded 04:32:59 nexus3.edgexfoundry.org:10004 04:32:59 ---> Running in c6f446b1b7bb 04:32:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:59 Removing intermediate container c6f446b1b7bb 04:32:59 ---> d8f186394068 04:32:59 Step 4/23 : WORKDIR /device-sdk-go 04:32:59 ---> Running in a405923feb6b 04:32:59 Removing intermediate container a405923feb6b 04:32:59 ---> 508dbdbb12e1 04:32:59 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:32:59 ---> Running in 8c5e6ee120cb 04:32:59 Removing intermediate container 8c5e6ee120cb 04:32:59 ---> 3caf551f00dc 04:32:59 Step 6/23 : RUN apk add --update --no-cache make git 04:32:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:59 Configure a credential helper to remove this warning. See 04:32:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:59 04:32:59 Login Succeeded 04:32:59 docker.io 04:32:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:59 ---> Running in ce2b30813702 04:33:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:33:00 Configure a credential helper to remove this warning. See 04:33:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:33:00 04:33:00 Login Succeeded 04:33:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:33:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:33:00 ---> docker-login.sh ends [Pipeline] } 04:33:00 Deleting 1 temporary files 04:33:00 OK: 264 MiB in 52 packages [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:33:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] 04:33:00 Removing intermediate container ce2b30813702 04:33:00 ---> 89be6a2d3f14 04:33:00 Step 7/23 : COPY go.mod vendor* ./ [Pipeline] echo 04:33:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:33:00 ========================================================= 04:33:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:33:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:01 ---> 0ba7f375cff1 04:33:01 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:33:01 ---> Running in 857097647ce5 04:33:01 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:33:01 Sending build context to Docker daemon 5.992MB 04:33:01 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:33:01 Step 2/10 : FROM ${BASE} AS builder 04:33:01 Removing intermediate container 857097647ce5 04:33:01 ---> f950aa8d8399 04:33:01 Step 9/23 : COPY . . 04:33:01 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:33:01 9fda8d8052c6: Pulling fs layer 04:33:01 5d54e960e981: Pulling fs layer 04:33:01 c4a7e357bf2a: Pulling fs layer 04:33:01 f0e02332f6b5: Pulling fs layer 04:33:01 cefa15bbcfad: Pulling fs layer 04:33:01 17808c966233: Pulling fs layer 04:33:01 f4c1fc716caa: Pulling fs layer 04:33:01 f0e02332f6b5: Waiting 04:33:01 cefa15bbcfad: Waiting 04:33:01 17808c966233: Waiting 04:33:01 5d54e960e981: Verifying Checksum 04:33:01 5d54e960e981: Download complete 04:33:01 f0e02332f6b5: Download complete 04:33:01 cefa15bbcfad: Verifying Checksum 04:33:01 cefa15bbcfad: Download complete 04:33:01 9fda8d8052c6: Download complete 04:33:02 ---> 16e10aa1d6d5 04:33:02 Step 10/23 : RUN ${MAKE} 04:33:02 ---> Running in e0ce6437e9c9 04:33:02 f4c1fc716caa: Verifying Checksum 04:33:02 f4c1fc716caa: Download complete 04:33:02 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.33 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.33" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:33:02 9fda8d8052c6: Pull complete 04:33:03 5d54e960e981: Pull complete 04:33:03 c4a7e357bf2a: Verifying Checksum 04:33:03 c4a7e357bf2a: Download complete 04:33:04 17808c966233: Verifying Checksum 04:33:04 17808c966233: Download complete 04:33:14 c4a7e357bf2a: Pull complete 04:33:14 f0e02332f6b5: Pull complete 04:33:14 cefa15bbcfad: Pull complete 04:33:21 17808c966233: Pull complete 04:33:22 f4c1fc716caa: Pull complete 04:33:22 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 04:33:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:33:22 ---> ea914061e18c 04:33:22 Step 3/10 : ARG MAKE=make build 04:33:24 ---> Running in 5b19a0d2bf04 04:33:24 Removing intermediate container 5b19a0d2bf04 04:33:24 ---> 4843d0bfa135 04:33:24 Step 4/10 : WORKDIR /device-sdk-go 04:33:24 ---> Running in 0e5145fcbeb7 04:33:24 Removing intermediate container 0e5145fcbeb7 04:33:24 ---> 86abbeec3a6a 04:33:24 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:33:25 ---> Running in 9a68c50b4922 04:33:25 Removing intermediate container 9a68c50b4922 04:33:25 ---> 7ab923e1cc68 04:33:25 Step 6/10 : RUN apk add --update --no-cache make git 04:33:25 ---> Running in 56c923fa566a 04:33:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:33:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:33:27 OK: 266 MiB in 52 packages 04:33:28 Removing intermediate container 56c923fa566a 04:33:28 ---> 0fc380366694 04:33:28 Step 7/10 : COPY go.mod vendor* ./ 04:33:28 Removing intermediate container e0ce6437e9c9 04:33:28 ---> 6ef4738e9d4c 04:33:28 Step 11/23 : FROM alpine:3.18 04:33:28 3.18: Pulling from library/alpine 04:33:28 96526aa774ef: Pulling fs layer 04:33:28 96526aa774ef: Verifying Checksum 04:33:28 96526aa774ef: Download complete 04:33:28 96526aa774ef: Pull complete 04:33:28 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 04:33:28 Status: Downloaded newer image for alpine:3.18 04:33:28 ---> 8ca4688f4f35 04:33:28 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:33:28 ---> Running in f2fa2d870226 04:33:28 Removing intermediate container f2fa2d870226 04:33:28 ---> 669e60424829 04:33:28 Step 13/23 : RUN apk add --update --no-cache 04:33:28 ---> Running in 09d3a28903e6 04:33:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:33:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:33:28 OK: 7 MiB in 15 packages 04:33:28 Removing intermediate container 09d3a28903e6 04:33:28 ---> ed81a428796f 04:33:28 Step 14/23 : WORKDIR / 04:33:28 ---> Running in a99bba885f19 04:33:28 Removing intermediate container a99bba885f19 04:33:28 ---> ffd2c208cd79 04:33:28 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:33:28 ---> 00f25a900b35 04:33:28 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:33:28 ---> 9b31fd2c2f93 04:33:28 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:33:28 ---> f7ccbba78590 04:33:28 Step 18/23 : EXPOSE 59999 04:33:28 ---> Running in 927fca8e8b79 04:33:28 Removing intermediate container 927fca8e8b79 04:33:28 ---> cb22e3f71241 04:33:28 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:33:28 ---> Running in 76de7cd2c21e 04:33:28 Removing intermediate container 76de7cd2c21e 04:33:28 ---> aefb7f38650b 04:33:28 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:33:28 ---> Running in f8d9931726f6 04:33:28 Removing intermediate container f8d9931726f6 04:33:28 ---> 6f952c8db315 04:33:28 Step 21/23 : LABEL arch=amd64 04:33:28 ---> Running in 07346a42ec17 04:33:29 Removing intermediate container 07346a42ec17 04:33:29 ---> a51aaa213106 04:33:29 Step 22/23 : LABEL git_sha=8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 04:33:29 ---> Running in 39f890780086 04:33:29 Removing intermediate container 39f890780086 04:33:29 ---> 58f5053fe9d8 04:33:29 Step 23/23 : LABEL version=3.1.0-dev.33 04:33:29 ---> Running in 71006e55142a 04:33:29 Removing intermediate container 71006e55142a 04:33:29 ---> 47b3fd404c0e 04:33:29 [Warning] One or more build-args [ARCH] were not consumed 04:33:29 Successfully built 47b3fd404c0e 04:33:29 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 04:33:29 ---> 7f98c0fcc993 04:33:29 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:33:29 ---> Running in 885378498e4b Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:33:29 04:33:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:33:29 latest: Pulling from edgex-lftools-log-publisher 04:33:29 5eb5b503b376: Pulling fs layer 04:33:29 5c69ac0246d0: Pulling fs layer 04:33:29 ec43610c2a17: Pulling fs layer 04:33:29 3a2ae6a8a46f: Pulling fs layer 04:33:29 33b1e0a273af: Pulling fs layer 04:33:29 5d3b04190fa2: Pulling fs layer 04:33:29 2f39f015ded8: Pulling fs layer 04:33:29 3a2ae6a8a46f: Waiting 04:33:29 33b1e0a273af: Waiting 04:33:29 5d3b04190fa2: Waiting 04:33:29 2f39f015ded8: Waiting 04:33:29 5c69ac0246d0: Download complete 04:33:29 3a2ae6a8a46f: Verifying Checksum 04:33:29 3a2ae6a8a46f: Download complete 04:33:29 33b1e0a273af: Verifying Checksum 04:33:29 33b1e0a273af: Download complete 04:33:29 5d3b04190fa2: Verifying Checksum 04:33:29 5d3b04190fa2: Download complete 04:33:29 ec43610c2a17: Verifying Checksum 04:33:29 ec43610c2a17: Download complete 04:33:30 5eb5b503b376: Verifying Checksum 04:33:30 5eb5b503b376: Download complete 04:33:30 2f39f015ded8: Download complete 04:33:31 5eb5b503b376: Pull complete 04:33:31 5c69ac0246d0: Pull complete 04:33:32 ec43610c2a17: Pull complete 04:33:32 3a2ae6a8a46f: Pull complete 04:33:32 33b1e0a273af: Pull complete 04:33:32 5d3b04190fa2: Pull complete 04:33:37 2f39f015ded8: Pull complete 04:33:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:33:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:33:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:37 prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container 04:33:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:33:46 $ docker top a8de59e40011de629893396b2ec3a67292ca0e6e8af61cbf18d5f70e18eccd38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:33:46 ---> job-cost.sh 04:33:46 lf-activate-venv: SKIPPING 04:33:46 INFO: No Stack... 04:33:46 INFO: Retrieving Pricing Info for: v3-standard-8 04:33:47 INFO: Archiving Costs [Pipeline] sh 04:33:47 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:33:47 + cut -d, -f6 [Pipeline] lock 04:33:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-262-stack-cost] 04:33:47 Resource [jenkins-edgexfoundry-device-sdk-go-main-262-stack-cost] did not exist. Created. 04:33:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-262-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:33:47 + echo total: 0.2199999988079071 [Pipeline] stash 04:33:47 Stashed 1 file(s) [Pipeline] } 04:33:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-262-stack-cost] [Pipeline] // lock [Pipeline] } 04:33:47 $ docker stop --time=1 a8de59e40011de629893396b2ec3a67292ca0e6e8af61cbf18d5f70e18eccd38 04:33:48 $ docker rm -f --volumes a8de59e40011de629893396b2ec3a67292ca0e6e8af61cbf18d5f70e18eccd38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:34:37 Removing intermediate container 885378498e4b 04:34:37 ---> 1db6c71635d7 04:34:37 Step 9/10 : COPY . . 04:34:37 ---> 785e1f7dba11 04:34:37 Step 10/10 : RUN ${MAKE} 04:34:37 ---> Running in 8a0cee6bc8af 04:34:37 noop 04:34:37 Removing intermediate container 8a0cee6bc8af 04:34:37 ---> b575d9d61153 04:34:37 Successfully built b575d9d61153 04:34:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:38 + docker inspect -f . ci-base-image-arm64 04:34:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:38 prd-ubuntu20.04-docker-arm64-4c-16g-8448 does not seem to be running inside a container 04:34:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/262 -v /w/workspace/device-sdk-go/262:/w/workspace/device-sdk-go/262:rw,z -v /w/workspace/device-sdk-go/262@tmp:/w/workspace/device-sdk-go/262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:34:39 $ docker top 021840921ff07ca003adf33efc5278627bfe5e5e4745dc31634eedef4ff9522d -eo pid,comm [Pipeline] { [Pipeline] sh 04:34:40 + go version 04:34:40 go version go1.21.0 linux/arm64 [Pipeline] } 04:34:40 $ docker stop --time=1 021840921ff07ca003adf33efc5278627bfe5e5e4745dc31634eedef4ff9522d 04:34:41 $ docker rm -f --volumes 021840921ff07ca003adf33efc5278627bfe5e5e4745dc31634eedef4ff9522d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:42 + docker inspect -f . ci-base-image-arm64 04:34:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:42 prd-ubuntu20.04-docker-arm64-4c-16g-8448 does not seem to be running inside a container 04:34:42 $ 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/262 -v /w/workspace/device-sdk-go/262:/w/workspace/device-sdk-go/262:rw,z -v /w/workspace/device-sdk-go/262@tmp:/w/workspace/device-sdk-go/262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:34:43 $ docker top 1361cb172daeacf6e0a3c5034653fbadae151754c1a7adf9329028e13ee61754 -eo pid,comm [Pipeline] { [Pipeline] sh 04:34:44 + git config --global --add safe.directory /w/workspace/device-sdk-go/262 [Pipeline] fileExists [Pipeline] sh 04:34:45 + make test 04:34:45 go test -race -coverprofile=coverage.out ./... 04:35:17 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:36:54 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:36:54 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:36:54 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:36:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:36:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:36:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.216s coverage: 27.6% of statements 04:37:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.242s coverage: 81.5% of statements 04:37:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:37:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:37:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.351s coverage: 86.0% of statements 04:37:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:37:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.450s coverage: 71.8% of statements 04:37:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.403s coverage: 14.4% of statements 04:37:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.828s coverage: 45.9% of statements 04:37:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:37:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:37:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.454s coverage: 68.5% of statements 04:37:28 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.435s coverage: 89.2% of statements 04:37:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:37:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.225s coverage: 5.5% of statements 04:37:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:37:31 GO111MODULE=on go vet ./... 04:39:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:39:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:39:22 ./bin/test-attribution-txt.sh [Pipeline] echo 04:39:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:39:23 $ docker stop --time=1 1361cb172daeacf6e0a3c5034653fbadae151754c1a7adf9329028e13ee61754 04:39:24 $ docker rm -f --volumes 1361cb172daeacf6e0a3c5034653fbadae151754c1a7adf9329028e13ee61754 [Pipeline] // withDockerContainer [Pipeline] sh 04:39:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:39:26 Warning: overwriting stash ‘coverage-report’ 04:39:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:39:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:39:27 + ls -al . 04:39:27 total 300 04:39:27 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 04:34 . 04:39:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:32 .. 04:39:27 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 04:32 .dockerignore 04:39:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 04:32 .git 04:39:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:32 .github 04:39:27 -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 04:32 .gitignore 04:39:27 -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 04:32 .golangci.yml 04:39:27 -rw-rw-r-- 1 jenkins jenkins 44878 Oct 4 04:32 CHANGELOG.md 04:39:27 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 04:32 GOVERNANCE.md 04:39:27 -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 04:32 Jenkinsfile 04:39:27 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 04:32 LICENSE 04:39:27 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 04:32 Makefile 04:39:27 -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 04:32 OWNERS.md 04:39:27 -rw-rw-r-- 1 jenkins jenkins 4933 Oct 4 04:32 README.md 04:39:27 -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 04:30 VERSION 04:39:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:32 bin 04:39:27 -rw-r--r-- 1 jenkins jenkins 122155 Oct 4 04:37 coverage.out 04:39:27 drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 04:32 example 04:39:27 -rw-rw-r-- 1 jenkins jenkins 3722 Oct 4 04:32 go.mod 04:39:27 -rw-rw-r-- 1 jenkins jenkins 34806 Oct 4 04:32 go.sum 04:39:27 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 04:32 internal 04:39:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:32 openapi 04:39:27 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 04:32 pkg 04:39:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:32 snap 04:39:27 -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 04:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:28 + 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=8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 --label arch=arm64 --label version=3.1.0-dev.33 . 04:39:28 Sending build context to Docker daemon 6.115MB 04:39:28 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 04:39:28 Step 2/23 : FROM ${BASE} AS builder 04:39:28 ---> b575d9d61153 04:39:28 Step 3/23 : ARG MAKE=make build 04:39:28 ---> Running in 28addb836470 04:39:28 Removing intermediate container 28addb836470 04:39:28 ---> 97da1e200e77 04:39:28 Step 4/23 : WORKDIR /device-sdk-go 04:39:28 ---> Running in 774a3ad96ae7 04:39:29 Removing intermediate container 774a3ad96ae7 04:39:29 ---> 737dd0b722bc 04:39:29 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:39:29 ---> Running in 7f7fd0e824ae 04:39:29 Removing intermediate container 7f7fd0e824ae 04:39:29 ---> 8ab603da8d0a 04:39:29 Step 6/23 : RUN apk add --update --no-cache make git 04:39:29 ---> Running in c2879ddae36f 04:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:39:31 OK: 266 MiB in 52 packages 04:39:34 Removing intermediate container c2879ddae36f 04:39:34 ---> 8fff16783736 04:39:34 Step 7/23 : COPY go.mod vendor* ./ 04:39:34 ---> fed3b2ff86de 04:39:34 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:39:34 ---> Running in 471a006ebed4 04:39:36 Removing intermediate container 471a006ebed4 04:39:36 ---> f73d8704a5d4 04:39:36 Step 9/23 : COPY . . 04:39:37 ---> d0c00e159a3b 04:39:37 Step 10/23 : RUN ${MAKE} 04:39:37 ---> Running in 76e84898acb6 04:39:38 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.33 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.33" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:41:30 Removing intermediate container 76e84898acb6 04:41:30 ---> e106481ff59e 04:41:30 Step 11/23 : FROM alpine:3.18 04:41:30 3.18: Pulling from library/alpine 04:41:30 579b34f0a95b: Pulling fs layer 04:41:30 579b34f0a95b: Verifying Checksum 04:41:30 579b34f0a95b: Download complete 04:41:30 579b34f0a95b: Pull complete 04:41:30 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 04:41:30 Status: Downloaded newer image for alpine:3.18 04:41:30 ---> 3cc203321400 04:41:30 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:41:30 ---> Running in c7b672dd5ede 04:41:30 Removing intermediate container c7b672dd5ede 04:41:30 ---> 0cb786f127a3 04:41:30 Step 13/23 : RUN apk add --update --no-cache 04:41:30 ---> Running in d4ce6a0f3edd 04:41:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:41:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:41:30 OK: 8 MiB in 15 packages 04:41:30 Removing intermediate container d4ce6a0f3edd 04:41:30 ---> d0502a6dba0c 04:41:30 Step 14/23 : WORKDIR / 04:41:30 ---> Running in 89ece48b73ad 04:41:30 Removing intermediate container 89ece48b73ad 04:41:30 ---> 5f6f8f5fc78f 04:41:30 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:41:30 ---> 0bde6f1a08c2 04:41:30 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:41:30 ---> d215bbbb443b 04:41:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:41:30 ---> 534613216efa 04:41:30 Step 18/23 : EXPOSE 59999 04:41:30 ---> Running in 8bfa1d9b2e7f 04:41:30 Removing intermediate container 8bfa1d9b2e7f 04:41:30 ---> ceb80d66ebf1 04:41:30 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:41:30 ---> Running in bbd5059b09e5 04:41:30 Removing intermediate container bbd5059b09e5 04:41:30 ---> ecd3e2a7b16f 04:41:30 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:41:30 ---> Running in f765c1f04781 04:41:30 Removing intermediate container f765c1f04781 04:41:30 ---> a745a3a9f034 04:41:30 Step 21/23 : LABEL arch=arm64 04:41:30 ---> Running in 244ede90074a 04:41:30 Removing intermediate container 244ede90074a 04:41:30 ---> 96dc643a8dc1 04:41:30 Step 22/23 : LABEL git_sha=8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 04:41:30 ---> Running in 7b72514678f1 04:41:30 Removing intermediate container 7b72514678f1 04:41:30 ---> 52f5f3979334 04:41:30 Step 23/23 : LABEL version=3.1.0-dev.33 04:41:30 ---> Running in 4dc6e04cb9ea 04:41:30 Removing intermediate container 4dc6e04cb9ea 04:41:30 ---> 96c2e77d5054 04:41:30 [Warning] One or more build-args [ARCH] were not consumed 04:41:30 Successfully built 96c2e77d5054 04:41:30 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 04:41:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:41:30 04:41:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:41:31 arm64: Pulling from edgex-lftools-log-publisher 04:41:31 8998bd30e6a1: Pulling fs layer 04:41:31 04944245beec: Pulling fs layer 04:41:31 699f458cf7ca: Pulling fs layer 04:41:31 765212b225bb: Pulling fs layer 04:41:31 f23df028b6ca: Pulling fs layer 04:41:31 d65c8cfc05b1: Pulling fs layer 04:41:31 2437ff75d9bd: Pulling fs layer 04:41:31 765212b225bb: Waiting 04:41:31 f23df028b6ca: Waiting 04:41:31 d65c8cfc05b1: Waiting 04:41:31 2437ff75d9bd: Waiting 04:41:31 04944245beec: Verifying Checksum 04:41:31 04944245beec: Download complete 04:41:31 765212b225bb: Verifying Checksum 04:41:31 765212b225bb: Download complete 04:41:31 f23df028b6ca: Verifying Checksum 04:41:31 f23df028b6ca: Download complete 04:41:31 d65c8cfc05b1: Verifying Checksum 04:41:31 d65c8cfc05b1: Download complete 04:41:31 699f458cf7ca: Verifying Checksum 04:41:31 699f458cf7ca: Download complete 04:41:32 8998bd30e6a1: Verifying Checksum 04:41:32 8998bd30e6a1: Download complete 04:41:34 2437ff75d9bd: Verifying Checksum 04:41:34 2437ff75d9bd: Download complete 04:41:36 8998bd30e6a1: Pull complete 04:41:36 04944245beec: Pull complete 04:41:37 699f458cf7ca: Pull complete 04:41:37 765212b225bb: Pull complete 04:41:38 f23df028b6ca: Pull complete 04:41:38 d65c8cfc05b1: Pull complete 04:41:53 2437ff75d9bd: Pull complete 04:41:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:41:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:41:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:54 prd-ubuntu20.04-docker-arm64-4c-16g-8448 does not seem to be running inside a container 04:41:54 $ 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/262 -v /w/workspace/device-sdk-go/262:/w/workspace/device-sdk-go/262:rw,z -v /w/workspace/device-sdk-go/262@tmp:/w/workspace/device-sdk-go/262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:41:56 $ docker top c58e3756daec1b32237f20a2c0c88538489cff471f2b7a5671d5c01778eb2a70 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:41:57 ---> job-cost.sh 04:41:57 lf-activate-venv: SKIPPING 04:41:57 INFO: No Stack... 04:41:57 INFO: Retrieving Pricing Info for: v3-standard-4 04:41:58 INFO: Archiving Costs [Pipeline] sh 04:41:59 + cat+ /w/workspace/device-sdk-go/262/archives/cost.csv 04:41:59 cut -d, -f6 [Pipeline] lock 04:41:59 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-262-stack-cost] 04:41:59 Resource [jenkins-edgexfoundry-device-sdk-go-main-262-stack-cost] did not exist. Created. 04:41:59 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-262-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:41:59 /w/workspace/device-sdk-go/262@tmp/durable-a037bff4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:42:00 + echo total: 0.10999999940395355 [Pipeline] stash 04:42:00 Warning: overwriting stash ‘stack-cost’ 04:42:00 Stashed 1 file(s) [Pipeline] } 04:42:00 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-262-stack-cost] [Pipeline] // lock [Pipeline] } 04:42:00 $ docker stop --time=1 c58e3756daec1b32237f20a2c0c88538489cff471f2b7a5671d5c01778eb2a70 04:42:01 $ docker rm -f --volumes c58e3756daec1b32237f20a2c0c88538489cff471f2b7a5671d5c01778eb2a70 [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 04:42:02 provisioning config files... 04:42:02 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6912691872508271239tmp [Pipeline] { [Pipeline] sh 04:42:02 + set +x 04:42:02 + bash+ -s -- 04:42:02 curl -s https://codecov.io/bash 04:42:02 04:42:02 _____ _ 04:42:02 / ____| | | 04:42:02 | | ___ __| | ___ ___ _____ __ 04:42:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:42:02 | |___| (_) | (_| | __/ (_| (_) \ V / 04:42:02 \_____\___/ \__,_|\___|\___\___/ \_/ 04:42:02 Bash-1.0.6 04:42:02 04:42:02 04:42:02 ==> git version 2.25.1 found 04:42:02 ==> 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 04:42:02 Release-Date: 2020-01-08 04:42:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:42:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:42:02 ==> Jenkins CI detected. 04:42:02 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 04:42:02 project root: . 04:42:02 --> token set from env 04:42:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:42:02 ==> Running gcov in . (disable via -X gcov) 04:42:02 ==> Python coveragepy not found 04:42:02 ==> Searching for coverage reports in: 04:42:02 + . 04:42:02 -> Found 1 reports 04:42:02 ==> Detecting git/mercurial file structure 04:42:02 ==> Reading reports 04:42:02 + ./coverage.out bytes=122155 04:42:02 ==> Appending adjustments 04:42:02 https://docs.codecov.io/docs/fixing-reports 04:42:02 + Found adjustments 04:42:02 ==> Gzipping contents 04:42:02 20K /tmp/codecov.DfFhtX.gz 04:42:02 ==> Uploading reports 04:42:02 url: https://codecov.io 04:42:02 query: branch=main&commit=8a4e603c9daa9d98ee8f2e5896cc64fc9a451017&build=262&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F262%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:42:02 -> Pinging Codecov 04:42:02 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=8a4e603c9daa9d98ee8f2e5896cc64fc9a451017&build=262&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F262%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:42:02 -> Uploading to 04:42:02 https://storage.googleapis.com/codecov/v4/raw/2023-10-04/7E55EF52A471D76F132DFD9A03CDDE97/8a4e603c9daa9d98ee8f2e5896cc64fc9a451017/011c431b-c880-440d-87b9-124a5f0d3b0f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231004T044202Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a0b9951c195e91cbec04543c1fb36682dd223735def0aadb70a2d835062a60fb 04:42:02 % Total % Received % Xferd Average Speed Time Time Time Current 04:42:02 Dload Upload Total Spent Left Speed 04:42:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16755 0 0 100 16755 0 59839 --:--:-- --:--:-- --:--:-- 59626 100 16755 0 0 100 16755 0 59626 --:--:-- --:--:-- --:--:-- 59414 04:42:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [Pipeline] } 04:42:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:42:03 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:42:03 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:42:03 04:42:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:42:03 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:42:03 df9b9388f04a: Pulling fs layer 04:42:03 52dc419b0ee2: Pulling fs layer 04:42:03 25bc292e5bac: Pulling fs layer 04:42:03 114826534d7a: Pulling fs layer 04:42:03 4657fd5d0bcf: Pulling fs layer 04:42:03 6ad1cebc031e: Pulling fs layer 04:42:03 8a3aa393b2d8: Pulling fs layer 04:42:03 114826534d7a: Waiting 04:42:03 6ad1cebc031e: Waiting 04:42:03 8a3aa393b2d8: Waiting 04:42:03 4657fd5d0bcf: Waiting 04:42:03 25bc292e5bac: Verifying Checksum 04:42:03 25bc292e5bac: Download complete 04:42:03 52dc419b0ee2: Verifying Checksum 04:42:03 52dc419b0ee2: Download complete 04:42:03 4657fd5d0bcf: Verifying Checksum 04:42:03 4657fd5d0bcf: Download complete 04:42:03 df9b9388f04a: Download complete 04:42:04 df9b9388f04a: Pull complete 04:42:04 6ad1cebc031e: Verifying Checksum 04:42:04 6ad1cebc031e: Download complete 04:42:04 52dc419b0ee2: Pull complete 04:42:04 25bc292e5bac: Pull complete 04:42:04 114826534d7a: Verifying Checksum 04:42:04 114826534d7a: Download complete 04:42:05 8a3aa393b2d8: Verifying Checksum 04:42:05 8a3aa393b2d8: Download complete 04:42:08 114826534d7a: Pull complete 04:42:08 4657fd5d0bcf: Pull complete 04:42:08 6ad1cebc031e: Pull complete 04:42:11 8a3aa393b2d8: Pull complete 04:42:11 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:42:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:42:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:11 prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container 04:42:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:42:17 $ docker top 761e7f8d5157475bba2e71b0bdb9de246fb6c9529d58193e76d087e2e3c9f0b8 -eo pid,comm [Pipeline] { [Pipeline] echo 04:42:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 04:42:17 + set -o pipefail 04:42:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 04:42:22 04:42:22 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 04:42:22 04:42:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/223960d3-959e-46a2-9c0c-121841a35c5d 04:42:22 04:42:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:42:22 04:42:23 04:42:23 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:42:23 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:42:23 More details here: https://snyk.co/ue1NS 04:42:23 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 04:42:23 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:42:23 $ docker stop --time=1 761e7f8d5157475bba2e71b0bdb9de246fb6c9529d58193e76d087e2e3c9f0b8 04:42:27 $ docker rm -f --volumes 761e7f8d5157475bba2e71b0bdb9de246fb6c9529d58193e76d087e2e3c9f0b8 [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 04:42:27 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:42:27 provisioning config files... 04:42:27 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13154354824497796417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:42:28 --> edgex-publish-swagger.sh 04:42:28 === Publish openapi/v3 API === 04:42:28 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 04:42:28 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 04:42:28 % Total % Received % Xferd Average Speed Time Time Time Current 04:42:28 Dload Upload Total Spent Left Speed 04:42:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 104k --:--:-- --:--:-- --:--:-- 104k 100 23674 0 0 100 23674 0 51689 --:--:-- --:--:-- --:--:-- 51577 04:42:28 04:42:28 [Pipeline] } 04:42:28 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 04:42:28 + git log --format=format:%s -1 8a4e603c9daa9d98ee8f2e5896cc64fc9a451017 [Pipeline] sh 04:42:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:42:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:42:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:29 prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container 04:42:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:42:29 $ docker top 4dbd271a85a35e2798fd5a9a135bbe1d3b39e6942a9374103bcdccb24b8f17f4 -eo pid,comm 04:42:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:42:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:42:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:42:30 [ssh-agent] Looking for ssh-agent implementation... 04:42:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:42:30 $ docker exec 4dbd271a85a35e2798fd5a9a135bbe1d3b39e6942a9374103bcdccb24b8f17f4 ssh-agent 04:42:30 SSH_AUTH_SOCK=/tmp/ssh-iLqv8rGG3H4V/agent.32 04:42:30 SSH_AGENT_PID=38 04:42:30 Running ssh-add (command line suppressed) 04:42:30 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15613042225458387468.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15613042225458387468.key) 04:42:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:42:30 + git semver tag 04:42:30 2023-10-04 04:42:30,781 [run_tag] DEBUG tag force:False 04:42:30 2023-10-04 04:42:30,781 [check_head_tag] DEBUG check head tag 04:42:30 2023-10-04 04:42:30,782 [execute] INFO git cat-file --batch-check 04:42:30 2023-10-04 04:42:30,782 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:42:30 2023-10-04 04:42:30,785 [execute] INFO git cat-file --batch 04:42:30 2023-10-04 04:42:30,786 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:42:30 2023-10-04 04:42:30,802 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:42:30 2023-10-04 04:42:30,802 [execute] INFO git tag -a v3.1.0-dev.33 -m v3.1.0-dev.33 04:42:30 2023-10-04 04:42:30,802 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.33', '-m', 'v3.1.0-dev.33'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:42:30 2023-10-04 04:42:30,806 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:42:30 3.1.0-dev.33 [Pipeline] } 04:42:30 $ docker exec --env ******** --env ******** 4dbd271a85a35e2798fd5a9a135bbe1d3b39e6942a9374103bcdccb24b8f17f4 ssh-agent -k 04:42:30 unset SSH_AUTH_SOCK; 04:42:30 unset SSH_AGENT_PID; 04:42:30 echo Agent pid 38 killed; 04:42:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:42:31 + git semver [Pipeline] } 04:42:31 $ docker stop --time=1 4dbd271a85a35e2798fd5a9a135bbe1d3b39e6942a9374103bcdccb24b8f17f4 04:42:32 $ docker rm -f --volumes 4dbd271a85a35e2798fd5a9a135bbe1d3b39e6942a9374103bcdccb24b8f17f4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:42:33 04:42:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:42:33 0.23.1-centos7: Pulling from edgex-lftools 04:42:33 ab5ef0e58194: Pulling fs layer 04:42:33 9712f1f96733: Pulling fs layer 04:42:33 63f879dbbcfc: Pulling fs layer 04:42:33 0d9ebad4ef96: Pulling fs layer 04:42:33 e9a5061849ea: Pulling fs layer 04:42:33 d747dcd14b5f: Pulling fs layer 04:42:33 2de7ff778b66: Pulling fs layer 04:42:33 0d9ebad4ef96: Waiting 04:42:33 e9a5061849ea: Waiting 04:42:33 2de7ff778b66: Waiting 04:42:33 d747dcd14b5f: Waiting 04:42:33 9712f1f96733: Verifying Checksum 04:42:33 9712f1f96733: Download complete 04:42:34 63f879dbbcfc: Verifying Checksum 04:42:34 63f879dbbcfc: Download complete 04:42:34 0d9ebad4ef96: Verifying Checksum 04:42:34 0d9ebad4ef96: Download complete 04:42:34 e9a5061849ea: Verifying Checksum 04:42:34 e9a5061849ea: Download complete 04:42:34 d747dcd14b5f: Verifying Checksum 04:42:34 d747dcd14b5f: Download complete 04:42:34 ab5ef0e58194: Verifying Checksum 04:42:34 ab5ef0e58194: Download complete 04:42:34 2de7ff778b66: Verifying Checksum 04:42:34 2de7ff778b66: Download complete 04:42:36 ab5ef0e58194: Pull complete 04:42:36 9712f1f96733: Pull complete 04:42:37 63f879dbbcfc: Pull complete 04:42:41 0d9ebad4ef96: Pull complete 04:42:41 e9a5061849ea: Pull complete 04:42:41 d747dcd14b5f: Pull complete 04:42:41 2de7ff778b66: Pull complete 04:42:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:42:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:42:41 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:42 prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container 04:42:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:42:48 $ docker top ac7cac2a5fb040e2e9f4eefa4184e75a69bc08672f7c36ae14ab85257a5bcc84 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:42:48 provisioning config files... 04:42:48 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9768929320800523499tmp 04:42:48 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config151901743454002104tmp 04:42:48 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2537107978991693220tmp [Pipeline] { [Pipeline] echo 04:42:48 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:42:48 ---> sigul-configuration.sh 04:42:48 gpg: directory `/root/.gnupg' created 04:42:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:42:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:42:48 gpg: keyring `/root/.gnupg/secring.gpg' created 04:42:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:42:48 gpg: CAST5 encrypted data 04:42:48 gpg: encrypted with 1 passphrase 04:42:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:42:49 + mkdir /home/jenkins 04:42:49 + mkdir /home/jenkins/sigul [Pipeline] sh 04:42:49 + 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 04:42:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:42:49 ---> sigul-install.sh 04:42:49 Sigul already installed; skipping installation. [Pipeline] sh 04:42:49 + git tag --list 04:42:49 0.7.1 04:42:49 delhi-tag 04:42:49 v1.0.0 04:42:49 v1.1.0 04:42:49 v1.1.1 04:42:49 v1.1.2 04:42:49 v1.2.0 04:42:49 v1.2.1 04:42:49 v1.2.2 04:42:49 v1.2.3 04:42:49 v1.3.0 04:42:49 v1.4.0 04:42:49 v2.0.0 04:42:49 v2.1.0 04:42:49 v2.1.1 04:42:49 v2.2.0 04:42:49 v2.3.0 04:42:49 v2.3.1 04:42:49 v3.0 04:42:49 v3.0.0 04:42:49 v3.0.1-dev.1 04:42:49 v3.1.0-dev.1 04:42:49 v3.1.0-dev.10 04:42:49 v3.1.0-dev.11 04:42:49 v3.1.0-dev.12 04:42:49 v3.1.0-dev.13 04:42:49 v3.1.0-dev.14 04:42:49 v3.1.0-dev.15 04:42:49 v3.1.0-dev.16 04:42:49 v3.1.0-dev.17 04:42:49 v3.1.0-dev.18 04:42:49 v3.1.0-dev.19 04:42:49 v3.1.0-dev.2 04:42:49 v3.1.0-dev.20 04:42:49 v3.1.0-dev.21 04:42:49 v3.1.0-dev.22 04:42:49 v3.1.0-dev.23 04:42:49 v3.1.0-dev.24 04:42:49 v3.1.0-dev.25 04:42:49 v3.1.0-dev.26 04:42:49 v3.1.0-dev.27 04:42:49 v3.1.0-dev.28 04:42:49 v3.1.0-dev.29 04:42:49 v3.1.0-dev.3 04:42:49 v3.1.0-dev.30 04:42:49 v3.1.0-dev.31 04:42:49 v3.1.0-dev.32 04:42:49 v3.1.0-dev.33 04:42:49 v3.1.0-dev.4 04:42:49 v3.1.0-dev.5 04:42:49 v3.1.0-dev.6 04:42:49 v3.1.0-dev.7 04:42:49 v3.1.0-dev.8 04:42:49 v3.1.0-dev.9 [Pipeline] sh 04:42:50 + lftools sign git-tag v3.1.0-dev.33 04:42:50 Signing Git tag with Sigul... 04:42:50 Signing v3.1.0-dev.33 [Pipeline] echo 04:42:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:42:51 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:42:51 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:42:51 $ docker stop --time=1 ac7cac2a5fb040e2e9f4eefa4184e75a69bc08672f7c36ae14ab85257a5bcc84 04:42:52 $ docker rm -f --volumes ac7cac2a5fb040e2e9f4eefa4184e75a69bc08672f7c36ae14ab85257a5bcc84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:42:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:42:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:42:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:53 prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container 04:42:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:42:53 $ docker top b35f652a358e1712c0996e455d0d37435d3d95af0b3b2df4980e4d906d342768 -eo pid,comm 04:42:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:42:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:42:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:42:53 [ssh-agent] Looking for ssh-agent implementation... 04:42:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:42:53 $ docker exec b35f652a358e1712c0996e455d0d37435d3d95af0b3b2df4980e4d906d342768 ssh-agent 04:42:54 SSH_AUTH_SOCK=/tmp/ssh-Duh9JNKyMHmU/agent.33 04:42:54 SSH_AGENT_PID=39 04:42:54 Running ssh-add (command line suppressed) 04:42:54 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8208012781578266448.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8208012781578266448.key) 04:42:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:42:54 + git semver bump pre 04:42:54 2023-10-04 04:42:54,634 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:42:54 2023-10-04 04:42:54,634 [bump_version] DEBUG bumping version:3.1.0-dev.33 on axis:pre with prefix:dev 04:42:54 2023-10-04 04:42:54,635 [bump_version] DEBUG bumped version:3.1.0-dev.34 04:42:54 2023-10-04 04:42:54,635 [write_version] DEBUG write version:3.1.0-dev.34 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 04:42:54 2023-10-04 04:42:54,635 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:42:54 2023-10-04 04:42:54,635 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:42:54 2023-10-04 04:42:54,637 [execute] INFO git cat-file --batch-check 04:42:54 2023-10-04 04:42:54,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:42:54 2023-10-04 04:42:54,643 [execute] INFO git cat-file --batch 04:42:54 2023-10-04 04:42:54,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:42:54 2023-10-04 04:42:54,647 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:42:54 3.1.0-dev.34 [Pipeline] } 04:42:54 $ docker exec --env ******** --env ******** b35f652a358e1712c0996e455d0d37435d3d95af0b3b2df4980e4d906d342768 ssh-agent -k 04:42:54 unset SSH_AUTH_SOCK; 04:42:54 unset SSH_AGENT_PID; 04:42:54 echo Agent pid 39 killed; 04:42:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:42:55 + git semver [Pipeline] } 04:42:55 $ docker stop --time=1 b35f652a358e1712c0996e455d0d37435d3d95af0b3b2df4980e4d906d342768 04:42:56 $ docker rm -f --volumes b35f652a358e1712c0996e455d0d37435d3d95af0b3b2df4980e4d906d342768 [Pipeline] // withDockerContainer [Pipeline] sh 04:42:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:42:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:42:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:57 prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container 04:42:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:42:57 $ docker top 7a3ecdaadf7d8035436c22ef1c8186e31c96d805663113b7b8660933b85321d1 -eo pid,comm 04:42:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:42:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:42:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:42:57 [ssh-agent] Looking for ssh-agent implementation... 04:42:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:42:57 $ docker exec 7a3ecdaadf7d8035436c22ef1c8186e31c96d805663113b7b8660933b85321d1 ssh-agent 04:42:58 SSH_AUTH_SOCK=/tmp/ssh-FU5lCVDU64dC/agent.32 04:42:58 SSH_AGENT_PID=39 04:42:58 Running ssh-add (command line suppressed) 04:42:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2041352031383898426.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2041352031383898426.key) 04:42:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:42:58 + git semver push 04:42:58 2023-10-04 04:42:58,589 [run_push] DEBUG push 04:42:58 2023-10-04 04:42:58,590 [execute] INFO git cat-file --batch-check 04:42:58 2023-10-04 04:42:58,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:42:58 2023-10-04 04:42:58,594 [execute] INFO git rev-list b7ce0e7fdd5ef1ef1de53f051b1ad9fe861bc860 -- 04:42:58 2023-10-04 04:42:58,594 [execute] DEBUG Popen(['git', 'rev-list', 'b7ce0e7fdd5ef1ef1de53f051b1ad9fe861bc860', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:42:58 2023-10-04 04:42:58,606 [execute] INFO git fetch -v origin 04:42:58 2023-10-04 04:42:58,606 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:42:59 2023-10-04 04:42:59,145 [run_push] DEBUG no remote changes detected 04:42:59 2023-10-04 04:42:59,146 [execute] INFO git push origin semver 04:42:59 2023-10-04 04:42:59,146 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:43:00 2023-10-04 04:43:00,098 [run_push] DEBUG push all version tags 04:43:00 2023-10-04 04:43:00,098 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:43:00 2023-10-04 04:43:00,099 [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) 04:43:01 2023-10-04 04:43:01,153 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:43:01 3.1.0-dev.34 [Pipeline] } 04:43:01 $ docker exec --env ******** --env ******** 7a3ecdaadf7d8035436c22ef1c8186e31c96d805663113b7b8660933b85321d1 ssh-agent -k 04:43:01 unset SSH_AUTH_SOCK; 04:43:01 unset SSH_AGENT_PID; 04:43:01 echo Agent pid 39 killed; 04:43:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:43:01 + git semver [Pipeline] } 04:43:02 $ docker stop --time=1 7a3ecdaadf7d8035436c22ef1c8186e31c96d805663113b7b8660933b85321d1 04:43:03 $ docker rm -f --volumes 7a3ecdaadf7d8035436c22ef1c8186e31c96d805663113b7b8660933b85321d1 [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 04:43:04 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 04:43:04 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:43:04 total 16 04:43:04 drwxr-xr-x 3 root root 4096 Oct 4 04:33 . 04:43:04 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 04:42 .. 04:43:04 drwxr-xr-x 2 root root 4096 Oct 4 04:33 cost 04:43:04 -rw-r--r-- 1 root root 85 Oct 4 04:33 cost.csv 04:43:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:43:04 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:43:04 total 16 04:43:04 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 04:33 . 04:43:04 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 04:42 .. 04:43:04 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 04:33 cost 04:43:04 -rw-r--r-- 1 jenkins jenkins 85 Oct 4 04:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:43:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:43:05 ---> package-listing.sh 04:43:05 ++ facter osfamily 04:43:05 ++ tr '[:upper:]' '[:lower:]' 04:43:05 + OS_FAMILY=debian 04:43:05 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 04:43:05 + START_PACKAGES=/tmp/packages_start.txt 04:43:05 + END_PACKAGES=/tmp/packages_end.txt 04:43:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:43:05 + PACKAGES=/tmp/packages_start.txt 04:43:05 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:43:05 + PACKAGES=/tmp/packages_end.txt 04:43:05 + case "${OS_FAMILY}" in 04:43:05 + dpkg -l 04:43:05 + grep '^ii' 04:43:05 + '[' -f /tmp/packages_start.txt ']' 04:43:05 + '[' -f /tmp/packages_end.txt ']' 04:43:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:43:05 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:43:05 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 04:43:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 04:43:05 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 04:43:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:43:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:43:06 prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container 04:43:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:43:06 $ docker top 216268f0de503df02bfddc7d7f3bd8b2ad79927568d00dd8e75c819fa1c999b8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:43:06 + touch /tmp/pre-build-complete [Pipeline] sh 04:43:07 + mkdir -p /var/log/sysstat [Pipeline] sh 04:43:07 + ls /var/log/sa-host 04:43:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:43:07 provisioning config files... 04:43:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6205012475303245259tmp [Pipeline] { [Pipeline] echo 04:43:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:43:07 ---> create-netrc.sh [Pipeline] } 04:43:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:43:08 ---> python-tools-install.sh [Pipeline] echo 04:43:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:43:08 ---> sudo-logs.sh 04:43:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:43:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:43:08 ---> job-cost.sh 04:43:08 lf-activate-venv: SKIPPING 04:43:08 DEBUG: total: 0.2199999988079071 04:43:08 INFO: Retrieving Stack Cost... 04:43:09 INFO: Retrieving Pricing Info for: v3-standard-8 04:43:09 INFO: Archiving Costs [Pipeline] echo 04:43:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:43:09 ---> logs-deploy.sh 04:43:09 lf-activate-venv: SKIPPING 04:43:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/262 04:43:09 INFO: archiving workspace using pattern(s): 04:43:10 Archives upload complete. 04:43:10 INFO: archiving logs to Nexus