Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 87389bdebb11d4655f183884612f3f0d4c970364 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-ssh6636490039094838127.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh2601230596974497043.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh11946566564171252867.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh7110491192314575362.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-ssh16225718030527897132.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9483 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 87389bdebb11d4655f183884612f3f0d4c970364 (main) > 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 87389bdebb11d4655f183884612f3f0d4c970364 # timeout=10 Commit message: "Merge pull request #1431 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.71" > git rev-list --no-walk cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:16:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:16:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:16:56 ========================================================= 05:16:56 EdgeX Global Pipelines Version Info 05:16:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:16:57 ------------------- 05:16:57 stable info: 05:16:57 ------------------- 05:16:57 Commited By: Bill Mahoney bill.mahoney@intel.com 05:16:57 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:16:57 Message: update stable to v1.0.248 05:16:57 ------------------- 05:16:57 experimental info: 05:16:57 ------------------- 05:16:57 Commited By: **** collab-it+edgex@linuxfoundation.org 05:16:57 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:16:57 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87389bdebb11d4655f183884612f3f0d4c970364 [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 87389bd [Pipeline] echo 05:16:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:16:58 provisioning config files... 05:16:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config371831604030421855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:16:58 ---> docker-login.sh 05:16:58 nexus3.edgexfoundry.org:10001 05:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:59 Configure a credential helper to remove this warning. See 05:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:59 05:16:59 Login Succeeded 05:16:59 nexus3.edgexfoundry.org:10002 05:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:59 Configure a credential helper to remove this warning. See 05:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:59 05:16:59 Login Succeeded 05:16:59 nexus3.edgexfoundry.org:10003 05:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:59 Configure a credential helper to remove this warning. See 05:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:59 05:16:59 Login Succeeded 05:16:59 nexus3.edgexfoundry.org:10004 05:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:59 Configure a credential helper to remove this warning. See 05:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:59 05:16:59 Login Succeeded 05:16:59 docker.io 05:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:59 Configure a credential helper to remove this warning. See 05:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:59 05:16:59 Login Succeeded 05:16:59 ---> docker-login.sh ends [Pipeline] } 05:16:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:17:00 + git rev-list -1 --merges 87389bdebb11d4655f183884612f3f0d4c970364~1..87389bdebb11d4655f183884612f3f0d4c970364 [Pipeline] echo 05:17:00 -----------> git rev-list -1 --merges 87389bdebb11d4655f183884612f3f0d4c970364~1..87389bdebb11d4655f183884612f3f0d4c970364 87389bdebb11d4655f183884612f3f0d4c970364 05:17:00 87389bdebb11d4655f183884612f3f0d4c970364 [false] [Pipeline] sh 05:17:00 + git log --format=format:%s -1 87389bdebb11d4655f183884612f3f0d4c970364 [Pipeline] echo 05:17:00 ========================================================= 05:17:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:17:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:17:00 + git log --format=format:%s -1 87389bdebb11d4655f183884612f3f0d4c970364 [Pipeline] echo 05:17:00 [semverPrep] GIT_COMMIT: 87389bdebb11d4655f183884612f3f0d4c970364, Commit Message: Merge pull request #1431 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.71 [Pipeline] echo 05:17:00 [semverPrep] This is not a build commit. [Pipeline] sh 05:17:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:17:01 + grep -v github /etc/ssh/ssh_known_hosts 05:17:01 + [ -e /tmp/ssh_known_hosts ] 05:17:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:17:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:17:01 + sudo tee -a /etc/ssh/ssh_known_hosts 05:17:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:17:01 05:17:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:17:02 0.1.4: Pulling from edgex-devops/py-git-semver 05:17:02 b85a868b505f: Pulling fs layer 05:17:02 e2be974225ed: Pulling fs layer 05:17:02 339a4e72a1f5: Pulling fs layer 05:17:02 988bab9f4d93: Pulling fs layer 05:17:02 1469e6f7b9e6: Pulling fs layer 05:17:02 eaf3925da568: Pulling fs layer 05:17:02 bab4dde63d76: Pulling fs layer 05:17:02 bde34c3a00c8: Pulling fs layer 05:17:02 b352a97aabf1: Pulling fs layer 05:17:02 4872d77fe225: Pulling fs layer 05:17:02 5851b861e8e6: Pulling fs layer 05:17:02 bab4dde63d76: Waiting 05:17:02 bde34c3a00c8: Waiting 05:17:02 b352a97aabf1: Waiting 05:17:02 4872d77fe225: Waiting 05:17:02 5851b861e8e6: Waiting 05:17:02 988bab9f4d93: Waiting 05:17:02 1469e6f7b9e6: Waiting 05:17:02 eaf3925da568: Waiting 05:17:02 e2be974225ed: Verifying Checksum 05:17:02 e2be974225ed: Download complete 05:17:02 988bab9f4d93: Download complete 05:17:02 339a4e72a1f5: Verifying Checksum 05:17:02 339a4e72a1f5: Download complete 05:17:02 1469e6f7b9e6: Verifying Checksum 05:17:02 1469e6f7b9e6: Download complete 05:17:02 eaf3925da568: Download complete 05:17:02 bde34c3a00c8: Verifying Checksum 05:17:02 bde34c3a00c8: Download complete 05:17:02 b352a97aabf1: Verifying Checksum 05:17:02 b352a97aabf1: Download complete 05:17:02 4872d77fe225: Verifying Checksum 05:17:02 4872d77fe225: Download complete 05:17:02 5851b861e8e6: Verifying Checksum 05:17:02 b85a868b505f: Download complete 05:17:02 bab4dde63d76: Verifying Checksum 05:17:02 bab4dde63d76: Download complete 05:17:03 b85a868b505f: Pull complete 05:17:03 e2be974225ed: Pull complete 05:17:04 339a4e72a1f5: Pull complete 05:17:04 988bab9f4d93: Pull complete 05:17:04 1469e6f7b9e6: Pull complete 05:17:04 eaf3925da568: Pull complete 05:17:06 bab4dde63d76: Pull complete 05:17:06 bde34c3a00c8: Pull complete 05:17:06 b352a97aabf1: Pull complete 05:17:06 4872d77fe225: Pull complete 05:17:07 5851b861e8e6: Pull complete 05:17:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:17:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:17:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:07 prd-ubuntu20.04-docker-8c-8g-9483 does not seem to be running inside a container 05:17:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:17:10 $ docker top 285516a8759c1648c93324eeee13f99fa424b6c65b5210f87b4a87550d545199 -eo pid,comm 05:17:10 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:17:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:17:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:17:10 [ssh-agent] Looking for ssh-agent implementation... 05:17:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:17:10 $ docker exec 285516a8759c1648c93324eeee13f99fa424b6c65b5210f87b4a87550d545199 ssh-agent 05:17:10 SSH_AUTH_SOCK=/tmp/ssh-wtWCh8jl74VZ/agent.32 05:17:10 SSH_AGENT_PID=38 05:17:10 Running ssh-add (command line suppressed) 05:17:11 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7191200906039940077.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7191200906039940077.key) 05:17:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:17:11 + git tag --points-at HEAD [Pipeline] } 05:17:11 $ docker exec --env ******** --env ******** 285516a8759c1648c93324eeee13f99fa424b6c65b5210f87b4a87550d545199 ssh-agent -k 05:17:11 unset SSH_AUTH_SOCK; 05:17:11 unset SSH_AGENT_PID; 05:17:11 echo Agent pid 38 killed; 05:17:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:17:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:17:11 [ssh-agent] Looking for ssh-agent implementation... 05:17:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:17:11 $ docker exec 285516a8759c1648c93324eeee13f99fa424b6c65b5210f87b4a87550d545199 ssh-agent 05:17:11 SSH_AUTH_SOCK=/tmp/ssh-QceHnSeQqqFf/agent.70 05:17:11 SSH_AGENT_PID=76 05:17:11 Running ssh-add (command line suppressed) 05:17:11 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10967909214232786422.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10967909214232786422.key) 05:17:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:17:12 + git semver init 05:17:12 2023-04-24 05:17:12,331 [run_init] DEBUG init version:0.0.0 force:False 05:17:12 2023-04-24 05:17:12,332 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:17:12 2023-04-24 05:17:12,332 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:17:12 2023-04-24 05:17:12,333 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:17:13 2023-04-24 05:17:13,182 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:17:13 2023-04-24 05:17:13,183 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:17:13 2023-04-24 05:17:13,183 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:17:13 2023-04-24 05:17:13,183 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:17:13 3.0.0-dev.74 [Pipeline] } 05:17:13 $ docker exec --env ******** --env ******** 285516a8759c1648c93324eeee13f99fa424b6c65b5210f87b4a87550d545199 ssh-agent -k 05:17:13 unset SSH_AUTH_SOCK; 05:17:13 unset SSH_AGENT_PID; 05:17:13 echo Agent pid 76 killed; 05:17:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:17:13 + git semver [Pipeline] } 05:17:14 $ docker stop --time=1 285516a8759c1648c93324eeee13f99fa424b6c65b5210f87b4a87550d545199 05:17:15 $ docker rm -f --volumes 285516a8759c1648c93324eeee13f99fa424b6c65b5210f87b4a87550d545199 [Pipeline] // withDockerContainer [Pipeline] sh 05:17:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:17:16 Stashed 1 file(s) [Pipeline] echo 05:17:16 [edgeXSemver]: initialized semver on version 3.0.0-dev.74 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:17:16 provisioning config files... 05:17:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11657024708686392821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:17:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9481 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:17:16 Running in /w/workspace/device-sdk-go/205 [Pipeline] { [Pipeline] checkout 05:17:16 The recommended git tool is: git 05:17:16 ---> docker-login.sh 05:17:16 nexus3.edgexfoundry.org:10001 05:17:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:16 Configure a credential helper to remove this warning. See 05:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:16 05:17:16 Login Succeeded 05:17:16 nexus3.edgexfoundry.org:10002 05:17:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:16 Configure a credential helper to remove this warning. See 05:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:16 05:17:16 Login Succeeded 05:17:16 nexus3.edgexfoundry.org:10003 05:17:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:16 Configure a credential helper to remove this warning. See 05:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:16 05:17:16 Login Succeeded 05:17:16 nexus3.edgexfoundry.org:10004 05:17:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:16 Configure a credential helper to remove this warning. See 05:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:16 05:17:16 Login Succeeded 05:17:16 docker.io 05:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:17 Configure a credential helper to remove this warning. See 05:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:17 05:17:17 Login Succeeded 05:17:17 ---> docker-login.sh ends [Pipeline] } 05:17:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:17:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:17:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:17:17 ========================================================= 05:17:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:17:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:17 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:17:17 Sending build context to Docker daemon 11MB 05:17:17 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:17:17 Step 2/10 : FROM ${BASE} AS builder 05:17:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:17:17 63b65145d645: Pulling fs layer 05:17:17 a2d21d5440eb: Pulling fs layer 05:17:17 935e6c44a52c: Pulling fs layer 05:17:17 94cc34f8dd06: Pulling fs layer 05:17:17 30dea6a524f1: Pulling fs layer 05:17:17 a2aff8979fd8: Pulling fs layer 05:17:17 6808be2612f2: Pulling fs layer 05:17:17 f25807f1079a: Pulling fs layer 05:17:17 30dea6a524f1: Waiting 05:17:17 a2aff8979fd8: Waiting 05:17:17 6808be2612f2: Waiting 05:17:17 f25807f1079a: Waiting 05:17:17 94cc34f8dd06: Waiting 05:17:17 a2d21d5440eb: Verifying Checksum 05:17:17 a2d21d5440eb: Download complete 05:17:17 94cc34f8dd06: Download complete 05:17:17 30dea6a524f1: Verifying Checksum 05:17:17 30dea6a524f1: Download complete 05:17:17 63b65145d645: Verifying Checksum 05:17:17 63b65145d645: Download complete 05:17:17 a2aff8979fd8: Verifying Checksum 05:17:17 a2aff8979fd8: Download complete 05:17:17 63b65145d645: Pull complete 05:17:18 a2d21d5440eb: Pull complete 05:17:18 f25807f1079a: Verifying Checksum 05:17:18 f25807f1079a: Download complete 05:17:18 935e6c44a52c: Verifying Checksum 05:17:18 935e6c44a52c: Download complete 05:17:18 6808be2612f2: Verifying Checksum 05:17:18 6808be2612f2: Download complete 05:17:21 using credential edgex-jenkins-ssh 05:17:21 Cloning the remote Git repository 05:17:21 935e6c44a52c: Pull complete 05:17:21 94cc34f8dd06: Pull complete 05:17:22 30dea6a524f1: Pull complete 05:17:22 a2aff8979fd8: Pull complete 05:17:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:17:22 > git init /w/workspace/device-sdk-go/205 # timeout=10 05:17:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:17:22 > git --version # timeout=10 05:17:22 > git --version # 'git version 2.25.1' 05:17:22 using GIT_SSH to set credentials SSH Credentials for GitHub 05:17:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:17:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:17:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:17:24 6808be2612f2: Pull complete 05:17:24 Avoid second fetch 05:17:24 Checking out Revision 87389bdebb11d4655f183884612f3f0d4c970364 (main) 05:17:24 > git config core.sparsecheckout # timeout=10 05:17:25 > git checkout -f 87389bdebb11d4655f183884612f3f0d4c970364 # timeout=10 05:17:25 Commit message: "Merge pull request #1431 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.71" 05:17:25 f25807f1079a: Pull complete 05:17:25 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 05:17:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:17:25 ---> 3b553350e43f 05:17:25 Step 3/10 : ARG MAKE=make build [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:17:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:17:26 % Total % Received % Xferd Average Speed Time Time Time Current 05:17:26 Dload Upload Total Spent Left Speed 05:17:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10502 0 0 79560 0 --:--:-- --:--:-- --:--:-- 79560 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 05:17:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:17:27 + sudo tee /etc/docker/daemon.new 05:17:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:17:27 { 05:17:27 "registry-mirrors": [ 05:17:27 "https://nexus3.edgexfoundry.org:10001" 05:17:27 ], 05:17:27 "bip": "10.250.0.254/24", 05:17:27 "hosts": [ 05:17:27 "tcp://0.0.0.0:5555", 05:17:27 "unix:///var/run/docker.sock" 05:17:27 ], 05:17:27 "mtu": 1458, 05:17:27 "selinux-enabled": true, 05:17:27 "seccomp-profile": "/etc/docker/seccomp.json" 05:17:27 } [Pipeline] sh 05:17:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:17:28 + sudo service docker restart 05:17:30 ---> Running in 43465a150865 05:17:30 Removing intermediate container 43465a150865 05:17:30 ---> f0799fdd5eb2 05:17:30 Step 4/10 : WORKDIR /device-sdk-go 05:17:30 ---> Running in 59b70fd21f6f 05:17:31 Removing intermediate container 59b70fd21f6f 05:17:31 ---> eccbed8e1825 05:17:31 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:17:31 ---> Running in 6768254657f8 05:17:31 Removing intermediate container 6768254657f8 05:17:31 ---> 1de2338dd3f0 05:17:31 Step 6/10 : RUN apk add --update --no-cache make git 05:17:31 ---> Running in 3a7dc1ada7cd 05:17:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:17:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:17:32 OK: 265 MiB in 53 packages 05:17:32 Removing intermediate container 3a7dc1ada7cd 05:17:32 ---> aa42d9525153 05:17:32 Step 7/10 : COPY go.mod vendor* ./ 05:17:32 ---> 54cb60ac6861 05:17:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:17:32 ---> Running in 0205a8a9cb25 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:17:46 provisioning config files... 05:17:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/205@tmp/config4964313311355565541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:17:46 ---> docker-login.sh 05:17:46 nexus3.edgexfoundry.org:10001 05:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:47 Configure a credential helper to remove this warning. See 05:17:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:47 05:17:47 Login Succeeded 05:17:47 nexus3.edgexfoundry.org:10002 05:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:47 Configure a credential helper to remove this warning. See 05:17:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:47 05:17:47 Login Succeeded 05:17:47 nexus3.edgexfoundry.org:10003 05:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:47 Configure a credential helper to remove this warning. See 05:17:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:47 05:17:47 Login Succeeded 05:17:48 nexus3.edgexfoundry.org:10004 05:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:48 Configure a credential helper to remove this warning. See 05:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:48 05:17:48 Login Succeeded 05:17:48 docker.io 05:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:48 Configure a credential helper to remove this warning. See 05:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:48 05:17:48 Login Succeeded 05:17:48 ---> docker-login.sh ends [Pipeline] } 05:17:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:17:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:17:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:17:49 ========================================================= 05:17:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:17:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:49 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:17:50 Sending build context to Docker daemon 5.907MB 05:17:50 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:17:50 Step 2/10 : FROM ${BASE} AS builder 05:17:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:17:50 af6eaf76a39c: Pulling fs layer 05:17:50 55522c791124: Pulling fs layer 05:17:50 ce5c4a1c91eb: Pulling fs layer 05:17:50 169dfbe0d373: Pulling fs layer 05:17:50 e1ff8fa3b103: Pulling fs layer 05:17:50 52ebb69f0ebf: Pulling fs layer 05:17:50 5abe8eddf0d5: Pulling fs layer 05:17:50 52ebb69f0ebf: Waiting 05:17:50 169dfbe0d373: Waiting 05:17:50 5abe8eddf0d5: Waiting 05:17:50 e1ff8fa3b103: Waiting 05:17:50 55522c791124: Verifying Checksum 05:17:50 55522c791124: Download complete 05:17:50 169dfbe0d373: Verifying Checksum 05:17:50 169dfbe0d373: Download complete 05:17:50 e1ff8fa3b103: Verifying Checksum 05:17:50 e1ff8fa3b103: Download complete 05:17:50 af6eaf76a39c: Verifying Checksum 05:17:50 af6eaf76a39c: Download complete 05:17:51 af6eaf76a39c: Pull complete 05:17:51 5abe8eddf0d5: Verifying Checksum 05:17:51 5abe8eddf0d5: Download complete 05:17:52 52ebb69f0ebf: Verifying Checksum 05:17:52 52ebb69f0ebf: Download complete 05:17:52 ce5c4a1c91eb: Verifying Checksum 05:17:52 ce5c4a1c91eb: Download complete 05:17:54 55522c791124: Pull complete 05:18:04 ce5c4a1c91eb: Pull complete 05:18:04 169dfbe0d373: Pull complete 05:18:04 e1ff8fa3b103: Pull complete 05:18:04 Removing intermediate container 0205a8a9cb25 05:18:04 ---> a07087333c4d 05:18:04 Step 9/10 : COPY . . 05:18:05 ---> 940837ad65f7 05:18:05 Step 10/10 : RUN ${MAKE} 05:18:05 ---> Running in b5a0cc064d0f 05:18:05 noop 05:18:05 Removing intermediate container b5a0cc064d0f 05:18:05 ---> e7cb50b8c622 05:18:05 Successfully built e7cb50b8c622 05:18:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:06 + docker inspect -f . ci-base-image-x86_64 05:18:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:06 prd-ubuntu20.04-docker-8c-8g-9483 does not seem to be running inside a container 05:18:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:18:06 $ docker top 55eb7bafe9b2448a49a9f3ffbf8bceb0dd6f73ff8f6a620afdcc4ba1f075007b -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:06 + go version 05:18:06 go version go1.20.2 linux/amd64 [Pipeline] } 05:18:06 $ docker stop --time=1 55eb7bafe9b2448a49a9f3ffbf8bceb0dd6f73ff8f6a620afdcc4ba1f075007b 05:18:08 $ docker rm -f --volumes 55eb7bafe9b2448a49a9f3ffbf8bceb0dd6f73ff8f6a620afdcc4ba1f075007b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:08 + docker inspect -f . ci-base-image-x86_64 05:18:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:08 prd-ubuntu20.04-docker-8c-8g-9483 does not seem to be running inside a container 05:18:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:18:09 $ docker top 9f73ca383e6534ea1836b1d2b29de5a9f726490b1f4968867b5cba71032257ba -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:09 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:18:09 52ebb69f0ebf: Pull complete 05:18:09 + make test 05:18:09 go test -race -coverprofile=coverage.out ./... 05:18:11 5abe8eddf0d5: Pull complete 05:18:11 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 05:18:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:18:11 ---> 6cb57ee374ae 05:18:11 Step 3/10 : ARG MAKE=make build 05:18:13 ---> Running in 582aca0a9c18 05:18:13 Removing intermediate container 582aca0a9c18 05:18:13 ---> a5b3d292b0ee 05:18:13 Step 4/10 : WORKDIR /device-sdk-go 05:18:13 ---> Running in 6b90aa4bf805 05:18:14 Removing intermediate container 6b90aa4bf805 05:18:14 ---> 1c01c357a023 05:18:14 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:18:14 ---> Running in 8383ea06f66d 05:18:14 Removing intermediate container 8383ea06f66d 05:18:14 ---> 05647e68c7d1 05:18:14 Step 6/10 : RUN apk add --update --no-cache make git 05:18:14 ---> Running in d5ab256aa888 05:18:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:18:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:18:16 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:18:16 OK: 263 MiB in 53 packages 05:18:17 Removing intermediate container d5ab256aa888 05:18:17 ---> 8002c96eb3f7 05:18:17 Step 7/10 : COPY go.mod vendor* ./ 05:18:20 ---> 9fac62b45073 05:18:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:18:20 ---> Running in e048eb384e45 05:18:31 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:18:31 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:18:31 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:18:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:18:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:18:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements 05:18:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 80.2% of statements 05:18:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:18:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:18:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.080s coverage: 86.0% of statements 05:18:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:18:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:18:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 77.5% of statements 05:18:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:18:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:18:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:18:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.068s coverage: 14.6% of statements 05:18:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.082s coverage: 68.5% of statements 05:18:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.125s coverage: 89.2% of statements 05:18:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements 05:18:57 GO111MODULE=on go vet ./... 05:18:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:18:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:18:59 ./bin/test-attribution-txt.sh [Pipeline] echo 05:18:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:18:59 $ docker stop --time=1 9f73ca383e6534ea1836b1d2b29de5a9f726490b1f4968867b5cba71032257ba 05:19:02 $ docker rm -f --volumes 9f73ca383e6534ea1836b1d2b29de5a9f726490b1f4968867b5cba71032257ba [Pipeline] // withDockerContainer [Pipeline] sh 05:19:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:19:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:19:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:19:03 + ls -al . 05:19:03 total 272 05:19:03 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 05:18 . 05:19:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 05:16 .. 05:19:03 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 05:16 .dockerignore 05:19:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 05:17 .git 05:19:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 05:16 .github 05:19:03 -rw-rw-r-- 1 jenkins jenkins 131 Apr 24 05:16 .gitignore 05:19:03 -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 05:16 .golangci.yml 05:19:03 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 05:17 .semver 05:19:03 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 24 05:16 CHANGELOG.md 05:19:03 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 05:16 GOVERNANCE.md 05:19:03 -rw-rw-r-- 1 jenkins jenkins 885 Apr 24 05:16 Jenkinsfile 05:19:03 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 24 05:16 LICENSE 05:19:03 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 24 05:16 Makefile 05:19:03 -rw-rw-r-- 1 jenkins jenkins 619 Apr 24 05:16 OWNERS.md 05:19:03 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 24 05:16 README.md 05:19:03 -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 05:17 VERSION 05:19:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 05:16 bin 05:19:03 -rw-r--r-- 1 jenkins jenkins 106119 Apr 24 05:18 coverage.out 05:19:03 drwxrwxr-x 5 jenkins jenkins 4096 Apr 24 05:16 example 05:19:03 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 24 05:16 go.mod 05:19:03 -rw-rw-r-- 1 jenkins jenkins 30896 Apr 24 05:16 go.sum 05:19:03 drwxrwxr-x 12 jenkins jenkins 4096 Apr 24 05:16 internal 05:19:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 05:16 openapi 05:19:03 drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 05:16 pkg 05:19:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 05:16 snap 05:19:03 -rw-rw-r-- 1 jenkins jenkins 222 Apr 24 05:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:04 + 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=87389bdebb11d4655f183884612f3f0d4c970364 --label arch=amd64 --label version=3.0.0-dev.74 . 05:19:04 Sending build context to Docker daemon 11.11MB 05:19:04 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 05:19:04 Step 2/23 : FROM ${BASE} AS builder 05:19:04 ---> e7cb50b8c622 05:19:04 Step 3/23 : ARG MAKE=make build 05:19:04 ---> Running in 0ad94a4914d3 05:19:04 Removing intermediate container 0ad94a4914d3 05:19:04 ---> d7c903b03629 05:19:04 Step 4/23 : WORKDIR /device-sdk-go 05:19:04 ---> Running in 14a393d2dc97 05:19:04 Removing intermediate container 14a393d2dc97 05:19:04 ---> e4425368ee7f 05:19:04 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:19:04 ---> Running in 6b64db77eb13 05:19:04 Removing intermediate container 6b64db77eb13 05:19:04 ---> e8481bfb6da6 05:19:04 Step 6/23 : RUN apk add --update --no-cache make git 05:19:04 ---> Running in 9d35c6ce2f38 05:19:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:19:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:19:05 OK: 265 MiB in 53 packages 05:19:05 Removing intermediate container 9d35c6ce2f38 05:19:05 ---> 57f86680cf04 05:19:05 Step 7/23 : COPY go.mod vendor* ./ 05:19:05 ---> 7ae9b3d5cb67 05:19:05 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:05 ---> Running in 6316ac597a9b 05:19:06 Removing intermediate container 6316ac597a9b 05:19:06 ---> ce131859d68a 05:19:06 Step 9/23 : COPY . . 05:19:07 ---> 7d4cec6160eb 05:19:07 Step 10/23 : RUN ${MAKE} 05:19:07 ---> Running in 2962451fd6de 05:19:07 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.74" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:19:16 Removing intermediate container e048eb384e45 05:19:16 ---> be30fea3fba4 05:19:16 Step 9/10 : COPY . . 05:19:18 ---> e2ea4fcef2c1 05:19:18 Step 10/10 : RUN ${MAKE} 05:19:18 ---> Running in 01885a78fab0 05:19:19 noop 05:19:19 Removing intermediate container 01885a78fab0 05:19:19 ---> b8848b222ea3 05:19:19 Successfully built b8848b222ea3 05:19:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:20 + docker inspect -f . ci-base-image-arm64 05:19:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:20 prd-ubuntu20.04-docker-arm64-4c-16g-9481 does not seem to be running inside a container 05:19:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/205 -v /w/workspace/device-sdk-go/205:/w/workspace/device-sdk-go/205:rw,z -v /w/workspace/device-sdk-go/205@tmp:/w/workspace/device-sdk-go/205@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:19:21 $ docker top 212fa6c52f2a75b293e744461787e82771eeabfff388922f3d4a88d83e8bfbcd -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:22 + go version 05:19:22 go version go1.20.2 linux/arm64 [Pipeline] } 05:19:22 $ docker stop --time=1 212fa6c52f2a75b293e744461787e82771eeabfff388922f3d4a88d83e8bfbcd 05:19:24 $ docker rm -f --volumes 212fa6c52f2a75b293e744461787e82771eeabfff388922f3d4a88d83e8bfbcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:24 + docker inspect -f . ci-base-image-arm64 05:19:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:24 prd-ubuntu20.04-docker-arm64-4c-16g-9481 does not seem to be running inside a container 05:19:24 $ 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/205 -v /w/workspace/device-sdk-go/205:/w/workspace/device-sdk-go/205:rw,z -v /w/workspace/device-sdk-go/205@tmp:/w/workspace/device-sdk-go/205@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:19:27 $ docker top 82039f393da2e9b7bc8c4b8050d6061333de33f3d55aad03243690c7ebce5588 -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:28 + git config --global --add safe.directory /w/workspace/device-sdk-go/205 [Pipeline] fileExists [Pipeline] sh 05:19:28 + make test 05:19:28 go test -race -coverprofile=coverage.out ./... 05:19:29 Removing intermediate container 2962451fd6de 05:19:29 ---> 2a0d3c8743c4 05:19:29 Step 11/23 : FROM alpine:3.17 05:19:29 3.17: Pulling from library/alpine 05:19:29 f56be85fc22e: Pulling fs layer 05:19:29 f56be85fc22e: Download complete 05:19:29 f56be85fc22e: Pull complete 05:19:29 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:19:29 Status: Downloaded newer image for alpine:3.17 05:19:29 ---> 9ed4aefc74f6 05:19:29 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:19:29 ---> Running in b4f9fbf6ebdf 05:19:29 Removing intermediate container b4f9fbf6ebdf 05:19:29 ---> f8e288b91a3e 05:19:29 Step 13/23 : RUN apk add --update --no-cache 05:19:29 ---> Running in 7a52b575f039 05:19:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:19:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:19:30 OK: 7 MiB in 15 packages 05:19:30 Removing intermediate container 7a52b575f039 05:19:30 ---> f11e4a04bbcb 05:19:30 Step 14/23 : WORKDIR / 05:19:30 ---> Running in dc1568bd68f3 05:19:30 Removing intermediate container dc1568bd68f3 05:19:30 ---> 8a66072c111e 05:19:30 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:19:30 ---> 6937f601270a 05:19:30 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:19:32 ---> 1854167da703 05:19:32 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:19:32 ---> b1eff725f9b9 05:19:32 Step 18/23 : EXPOSE 59999 05:19:32 ---> Running in f2f10606f1e1 05:19:32 Removing intermediate container f2f10606f1e1 05:19:32 ---> f645b523fc23 05:19:32 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:19:32 ---> Running in f63bb11bfb33 05:19:32 Removing intermediate container f63bb11bfb33 05:19:32 ---> 8ab8bf453384 05:19:32 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:19:32 ---> Running in 8e64352870b1 05:19:32 Removing intermediate container 8e64352870b1 05:19:32 ---> 57c3fe6b91e9 05:19:32 Step 21/23 : LABEL arch=amd64 05:19:32 ---> Running in bf74f771821e 05:19:32 Removing intermediate container bf74f771821e 05:19:32 ---> 56686a2f54cd 05:19:32 Step 22/23 : LABEL git_sha=87389bdebb11d4655f183884612f3f0d4c970364 05:19:32 ---> Running in a507c4ce99bf 05:19:32 Removing intermediate container a507c4ce99bf 05:19:32 ---> 19f1ea049b86 05:19:32 Step 23/23 : LABEL version=3.0.0-dev.74 05:19:32 ---> Running in 86a0621283f0 05:19:32 Removing intermediate container 86a0621283f0 05:19:32 ---> 08c6c5c43bd3 05:19:32 [Warning] One or more build-args [ARCH] were not consumed 05:19:32 Successfully built 08c6c5c43bd3 05:19:32 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:19:33 05:19:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:19:33 latest: Pulling from edgex-lftools-log-publisher 05:19:33 5eb5b503b376: Pulling fs layer 05:19:33 5c69ac0246d0: Pulling fs layer 05:19:33 ec43610c2a17: Pulling fs layer 05:19:33 3a2ae6a8a46f: Pulling fs layer 05:19:33 33b1e0a273af: Pulling fs layer 05:19:33 5d3b04190fa2: Pulling fs layer 05:19:33 2f39f015ded8: Pulling fs layer 05:19:33 3a2ae6a8a46f: Waiting 05:19:33 33b1e0a273af: Waiting 05:19:33 2f39f015ded8: Waiting 05:19:33 5d3b04190fa2: Waiting 05:19:33 5c69ac0246d0: Download complete 05:19:33 3a2ae6a8a46f: Verifying Checksum 05:19:33 3a2ae6a8a46f: Download complete 05:19:33 33b1e0a273af: Verifying Checksum 05:19:33 33b1e0a273af: Download complete 05:19:33 ec43610c2a17: Verifying Checksum 05:19:33 ec43610c2a17: Download complete 05:19:33 5d3b04190fa2: Download complete 05:19:33 5eb5b503b376: Verifying Checksum 05:19:33 5eb5b503b376: Download complete 05:19:34 2f39f015ded8: Verifying Checksum 05:19:34 2f39f015ded8: Download complete 05:19:34 5eb5b503b376: Pull complete 05:19:35 5c69ac0246d0: Pull complete 05:19:35 ec43610c2a17: Pull complete 05:19:35 3a2ae6a8a46f: Pull complete 05:19:35 33b1e0a273af: Pull complete 05:19:35 5d3b04190fa2: Pull complete 05:19:40 2f39f015ded8: Pull complete 05:19:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:19:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:19:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:40 prd-ubuntu20.04-docker-8c-8g-9483 does not seem to be running inside a container 05:19:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:19:45 $ docker top dfa64d90b73e816fa3658f6c449049ec1eb8e754619edb8df5777ad76579d0e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:45 ---> job-cost.sh 05:19:45 lf-activate-venv: SKIPPING 05:19:45 INFO: No Stack... 05:19:46 INFO: Retrieving Pricing Info for: v3-standard-8 05:19:46 INFO: Archiving Costs [Pipeline] sh 05:19:46 + + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:19:46 cut -d, -f6 [Pipeline] lock 05:19:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-205-stack-cost] 05:19:46 Resource [jenkins-edgexfoundry-device-sdk-go-main-205-stack-cost] did not exist. Created. 05:19:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-205-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:19:46 + echo total: 0.2199999988079071 [Pipeline] stash 05:19:46 Stashed 1 file(s) [Pipeline] } 05:19:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-205-stack-cost] [Pipeline] // lock [Pipeline] } 05:19:46 $ docker stop --time=1 dfa64d90b73e816fa3658f6c449049ec1eb8e754619edb8df5777ad76579d0e4 05:19:48 $ docker rm -f --volumes dfa64d90b73e816fa3658f6c449049ec1eb8e754619edb8df5777ad76579d0e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:20:07 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:21:59 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:21:59 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:21:59 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:21:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:21:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:22:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.231s coverage: 27.6% of statements 05:22:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.261s coverage: 80.2% of statements 05:22:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:22:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:22:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.396s coverage: 86.0% of statements 05:22:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:22:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:22:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.432s coverage: 77.5% of statements 05:22:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.291s coverage: 14.6% of statements 05:22:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:22:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:22:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.440s coverage: 68.5% of statements 05:22:24 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.506s coverage: 89.2% of statements 05:22:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:22:27 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.229s coverage: 5.5% of statements 05:22:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:22:28 GO111MODULE=on go vet ./... 05:24:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:24:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:24:50 ./bin/test-attribution-txt.sh [Pipeline] echo 05:24:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:24:50 $ docker stop --time=1 82039f393da2e9b7bc8c4b8050d6061333de33f3d55aad03243690c7ebce5588 05:24:51 $ docker rm -f --volumes 82039f393da2e9b7bc8c4b8050d6061333de33f3d55aad03243690c7ebce5588 [Pipeline] // withDockerContainer [Pipeline] sh 05:24:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:24:53 Warning: overwriting stash ‘coverage-report’ 05:24:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:24:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:24:54 + ls -al . 05:24:54 total 268 05:24:54 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 05:19 . 05:24:54 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 05:17 .. 05:24:54 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 05:17 .dockerignore 05:24:54 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 05:17 .git 05:24:54 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 05:17 .github 05:24:54 -rw-rw-r-- 1 jenkins jenkins 131 Apr 24 05:17 .gitignore 05:24:54 -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 05:17 .golangci.yml 05:24:54 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 24 05:17 CHANGELOG.md 05:24:54 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 05:17 GOVERNANCE.md 05:24:54 -rw-rw-r-- 1 jenkins jenkins 885 Apr 24 05:17 Jenkinsfile 05:24:54 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 24 05:17 LICENSE 05:24:54 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 24 05:17 Makefile 05:24:54 -rw-rw-r-- 1 jenkins jenkins 619 Apr 24 05:17 OWNERS.md 05:24:54 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 24 05:17 README.md 05:24:54 -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 05:17 VERSION 05:24:54 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 05:17 bin 05:24:54 -rw-r--r-- 1 jenkins jenkins 106119 Apr 24 05:22 coverage.out 05:24:54 drwxrwxr-x 5 jenkins jenkins 4096 Apr 24 05:17 example 05:24:54 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 24 05:17 go.mod 05:24:54 -rw-rw-r-- 1 jenkins jenkins 30896 Apr 24 05:17 go.sum 05:24:54 drwxrwxr-x 12 jenkins jenkins 4096 Apr 24 05:17 internal 05:24:54 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 05:17 openapi 05:24:54 drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 05:17 pkg 05:24:54 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 05:17 snap 05:24:54 -rw-rw-r-- 1 jenkins jenkins 222 Apr 24 05:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:55 + 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=87389bdebb11d4655f183884612f3f0d4c970364 --label arch=arm64 --label version=3.0.0-dev.74 . 05:24:55 Sending build context to Docker daemon 6.014MB 05:24:55 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 05:24:55 Step 2/23 : FROM ${BASE} AS builder 05:24:55 ---> b8848b222ea3 05:24:55 Step 3/23 : ARG MAKE=make build 05:24:55 ---> Running in 7c5aadd73515 05:24:55 Removing intermediate container 7c5aadd73515 05:24:55 ---> 746da251d2a6 05:24:55 Step 4/23 : WORKDIR /device-sdk-go 05:24:56 ---> Running in 99c59bb0b1b1 05:24:56 Removing intermediate container 99c59bb0b1b1 05:24:56 ---> 2c19e0ba6277 05:24:56 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:24:56 ---> Running in 26e85e5375d1 05:24:56 Removing intermediate container 26e85e5375d1 05:24:56 ---> 9a800d1bfcc4 05:24:56 Step 6/23 : RUN apk add --update --no-cache make git 05:24:56 ---> Running in c56020796115 05:24:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:24:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:24:59 OK: 263 MiB in 53 packages 05:25:00 Removing intermediate container c56020796115 05:25:00 ---> 397b71607f31 05:25:00 Step 7/23 : COPY go.mod vendor* ./ 05:25:00 ---> 4dcc7a3bfee5 05:25:00 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:25:00 ---> Running in ccb222ec26f1 05:25:03 Removing intermediate container ccb222ec26f1 05:25:03 ---> d2e75107f219 05:25:03 Step 9/23 : COPY . . 05:25:04 ---> bd1a8b182737 05:25:04 Step 10/23 : RUN ${MAKE} 05:25:04 ---> Running in 712a8dfd5431 05:25:05 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.74" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:27:12 Removing intermediate container 712a8dfd5431 05:27:12 ---> 5a79249dceaf 05:27:12 Step 11/23 : FROM alpine:3.17 05:27:12 3.17: Pulling from library/alpine 05:27:12 c41833b44d91: Pulling fs layer 05:27:12 c41833b44d91: Verifying Checksum 05:27:12 c41833b44d91: Download complete 05:27:12 c41833b44d91: Pull complete 05:27:12 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:27:12 Status: Downloaded newer image for alpine:3.17 05:27:12 ---> 51e60588ff2c 05:27:12 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:27:12 ---> Running in f67b4ae5095a 05:27:12 Removing intermediate container f67b4ae5095a 05:27:12 ---> 5438e453a4e0 05:27:12 Step 13/23 : RUN apk add --update --no-cache 05:27:12 ---> Running in 3c0c3492d091 05:27:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:27:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:27:12 OK: 7 MiB in 15 packages 05:27:13 Removing intermediate container 3c0c3492d091 05:27:13 ---> 5b697d633582 05:27:13 Step 14/23 : WORKDIR / 05:27:13 ---> Running in 87fa48bb0850 05:27:14 Removing intermediate container 87fa48bb0850 05:27:14 ---> 6220f6ba7220 05:27:14 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:27:14 ---> 99334e439f9e 05:27:14 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:27:16 ---> 8600f9ffac51 05:27:16 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:27:16 ---> a58555513ac1 05:27:16 Step 18/23 : EXPOSE 59999 05:27:16 ---> Running in 6ad915f2c351 05:27:16 Removing intermediate container 6ad915f2c351 05:27:16 ---> 6217c9a9b145 05:27:16 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:27:16 ---> Running in ae4f1afe3c94 05:27:17 Removing intermediate container ae4f1afe3c94 05:27:17 ---> b5b2b7875333 05:27:17 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:27:17 ---> Running in 8742e4c46a9f 05:27:17 Removing intermediate container 8742e4c46a9f 05:27:17 ---> 7b1049da8ba5 05:27:17 Step 21/23 : LABEL arch=arm64 05:27:17 ---> Running in 114795cf4359 05:27:17 Removing intermediate container 114795cf4359 05:27:17 ---> ed7249d279c4 05:27:17 Step 22/23 : LABEL git_sha=87389bdebb11d4655f183884612f3f0d4c970364 05:27:17 ---> Running in f2f7f8496cfe 05:27:18 Removing intermediate container f2f7f8496cfe 05:27:18 ---> 6cc52de830f5 05:27:18 Step 23/23 : LABEL version=3.0.0-dev.74 05:27:18 ---> Running in b4ddd383ba96 05:27:18 Removing intermediate container b4ddd383ba96 05:27:18 ---> a6fdcc265a33 05:27:18 [Warning] One or more build-args [ARCH] were not consumed 05:27:18 Successfully built a6fdcc265a33 05:27:18 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:27:19 05:27:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:27:19 arm64: Pulling from edgex-lftools-log-publisher 05:27:19 8998bd30e6a1: Pulling fs layer 05:27:19 04944245beec: Pulling fs layer 05:27:19 699f458cf7ca: Pulling fs layer 05:27:19 765212b225bb: Pulling fs layer 05:27:19 f23df028b6ca: Pulling fs layer 05:27:19 d65c8cfc05b1: Pulling fs layer 05:27:19 2437ff75d9bd: Pulling fs layer 05:27:19 f23df028b6ca: Waiting 05:27:19 d65c8cfc05b1: Waiting 05:27:19 2437ff75d9bd: Waiting 05:27:19 765212b225bb: Waiting 05:27:19 04944245beec: Verifying Checksum 05:27:19 04944245beec: Download complete 05:27:19 765212b225bb: Verifying Checksum 05:27:19 765212b225bb: Download complete 05:27:19 f23df028b6ca: Verifying Checksum 05:27:19 f23df028b6ca: Download complete 05:27:19 d65c8cfc05b1: Verifying Checksum 05:27:19 d65c8cfc05b1: Download complete 05:27:20 699f458cf7ca: Verifying Checksum 05:27:20 699f458cf7ca: Download complete 05:27:20 8998bd30e6a1: Verifying Checksum 05:27:20 8998bd30e6a1: Download complete 05:27:22 2437ff75d9bd: Verifying Checksum 05:27:22 2437ff75d9bd: Download complete 05:27:24 8998bd30e6a1: Pull complete 05:27:24 04944245beec: Pull complete 05:27:26 699f458cf7ca: Pull complete 05:27:26 765212b225bb: Pull complete 05:27:26 f23df028b6ca: Pull complete 05:27:26 d65c8cfc05b1: Pull complete 05:27:41 2437ff75d9bd: Pull complete 05:27:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:27:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:27:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:42 prd-ubuntu20.04-docker-arm64-4c-16g-9481 does not seem to be running inside a container 05:27:42 $ 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/205 -v /w/workspace/device-sdk-go/205:/w/workspace/device-sdk-go/205:rw,z -v /w/workspace/device-sdk-go/205@tmp:/w/workspace/device-sdk-go/205@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:27:44 $ docker top b0343b684f84b36a0819b5c4869a9833a11dd51f23bb5aa90fb62bb5b07960ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:27:45 ---> job-cost.sh 05:27:45 lf-activate-venv: SKIPPING 05:27:45 INFO: No Stack... 05:27:46 INFO: Retrieving Pricing Info for: v3-standard-4 05:27:46 INFO: Archiving Costs [Pipeline] sh 05:27:46 + cat /w/workspace/device-sdk-go/205/archives/cost.csv 05:27:46 + cut -d, -f6 [Pipeline] lock 05:27:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-205-stack-cost] 05:27:47 Resource [jenkins-edgexfoundry-device-sdk-go-main-205-stack-cost] did not exist. Created. 05:27:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-205-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:27:47 /w/workspace/device-sdk-go/205@tmp/durable-bf1482fb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:27:48 + echo total: 0.10999999940395355 [Pipeline] stash 05:27:48 Warning: overwriting stash ‘stack-cost’ 05:27:48 Stashed 1 file(s) [Pipeline] } 05:27:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-205-stack-cost] [Pipeline] // lock [Pipeline] } 05:27:48 $ docker stop --time=1 b0343b684f84b36a0819b5c4869a9833a11dd51f23bb5aa90fb62bb5b07960ec 05:27:49 $ docker rm -f --volumes b0343b684f84b36a0819b5c4869a9833a11dd51f23bb5aa90fb62bb5b07960ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:27:50 provisioning config files... 05:27:50 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3467320741620858418tmp [Pipeline] { [Pipeline] sh 05:27:50 + set +x 05:27:50 + curl -s https://codecov.io/bash 05:27:50 + bash -s -- 05:27:50 05:27:50 _____ _ 05:27:50 / ____| | | 05:27:50 | | ___ __| | ___ ___ _____ __ 05:27:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:27:50 | |___| (_) | (_| | __/ (_| (_) \ V / 05:27:50 \_____\___/ \__,_|\___|\___\___/ \_/ 05:27:50 Bash-1.0.6 05:27:50 05:27:50 05:27:50 ==> git version 2.25.1 found 05:27:50 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:27:50 Release-Date: 2020-01-08 05:27:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:27:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:27:50 ==> Jenkins CI detected. 05:27:50 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:27:50 project root: . 05:27:50 --> token set from env 05:27:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:27:50 ==> Running gcov in . (disable via -X gcov) 05:27:50 ==> Python coveragepy not found 05:27:50 ==> Searching for coverage reports in: 05:27:50 + . 05:27:50 -> Found 1 reports 05:27:50 ==> Detecting git/mercurial file structure 05:27:50 ==> Reading reports 05:27:50 + ./coverage.out bytes=106119 05:27:50 ==> Appending adjustments 05:27:50 https://docs.codecov.io/docs/fixing-reports 05:27:50 + Found adjustments 05:27:50 ==> Gzipping contents 05:27:51 16K /tmp/codecov.WPh8AE.gz 05:27:51 ==> Uploading reports 05:27:51 url: https://codecov.io 05:27:51 query: branch=main&commit=87389bdebb11d4655f183884612f3f0d4c970364&build=205&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F205%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:27:51 -> Pinging Codecov 05:27:51 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=87389bdebb11d4655f183884612f3f0d4c970364&build=205&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F205%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:27:51 -> Uploading to 05:27:51 https://storage.googleapis.com/codecov/v4/raw/2023-04-24/7E55EF52A471D76F132DFD9A03CDDE97/87389bdebb11d4655f183884612f3f0d4c970364/5e63a6b3-71bf-4bac-8066-58f473f5e363.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T052750Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c0063f60abe37d7f4393df879e9fa3b1c62a6defe1adf045079ff9f542886596 05:27:51 % Total % Received % Xferd Average Speed Time Time Time Current 05:27:51 Dload Upload Total Spent Left Speed 05:27:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14992 0 0 100 14992 0 67531 --:--:-- --:--:-- --:--:-- 67228 100 14992 0 0 100 14992 0 61191 --:--:-- --:--:-- --:--:-- 60943 05:27:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/87389bdebb11d4655f183884612f3f0d4c970364 [Pipeline] } 05:27:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:27:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:27:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:27:51 05:27:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:27:52 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:27:52 df9b9388f04a: Pulling fs layer 05:27:52 52dc419b0ee2: Pulling fs layer 05:27:52 25bc292e5bac: Pulling fs layer 05:27:52 114826534d7a: Pulling fs layer 05:27:52 4657fd5d0bcf: Pulling fs layer 05:27:52 6ad1cebc031e: Pulling fs layer 05:27:52 8a3aa393b2d8: Pulling fs layer 05:27:52 4657fd5d0bcf: Waiting 05:27:52 6ad1cebc031e: Waiting 05:27:52 8a3aa393b2d8: Waiting 05:27:52 114826534d7a: Waiting 05:27:52 25bc292e5bac: Verifying Checksum 05:27:52 25bc292e5bac: Download complete 05:27:52 52dc419b0ee2: Verifying Checksum 05:27:52 52dc419b0ee2: Download complete 05:27:52 4657fd5d0bcf: Verifying Checksum 05:27:52 4657fd5d0bcf: Download complete 05:27:52 df9b9388f04a: Verifying Checksum 05:27:52 df9b9388f04a: Download complete 05:27:52 df9b9388f04a: Pull complete 05:27:52 6ad1cebc031e: Verifying Checksum 05:27:52 6ad1cebc031e: Download complete 05:27:52 52dc419b0ee2: Pull complete 05:27:52 25bc292e5bac: Pull complete 05:27:53 114826534d7a: Verifying Checksum 05:27:53 114826534d7a: Download complete 05:27:53 8a3aa393b2d8: Verifying Checksum 05:27:53 8a3aa393b2d8: Download complete 05:27:56 114826534d7a: Pull complete 05:27:56 4657fd5d0bcf: Pull complete 05:27:56 6ad1cebc031e: Pull complete 05:27:59 8a3aa393b2d8: Pull complete 05:27:59 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:27:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:27:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:59 prd-ubuntu20.04-docker-8c-8g-9483 does not seem to be running inside a container 05:27:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:28:04 $ docker top d988f03ad5cd934c51d72ad16770f01678b518b43b9151e44e9ca39effb2e06d -eo pid,comm [Pipeline] { [Pipeline] echo 05:28:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:28:04 + set -o pipefail 05:28:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:28:08 05:28:08 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:28:08 05:28:08 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/26fc3265-063e-4c8d-9d5d-e0a0bb2daa82 05:28:08 05:28:08 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:28:08 05:28:09 05:28:09 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:28:09 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:28:09 More details here: https://snyk.co/ue1NS [Pipeline] } 05:28:09 $ docker stop --time=1 d988f03ad5cd934c51d72ad16770f01678b518b43b9151e44e9ca39effb2e06d 05:28:12 $ docker rm -f --volumes d988f03ad5cd934c51d72ad16770f01678b518b43b9151e44e9ca39effb2e06d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 05:28:13 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:28:13 provisioning config files... 05:28:13 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5602753650883468162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:28:13 --> edgex-publish-swagger.sh 05:28:13 === Publish openapi/v3 API === 05:28:13 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:28:13 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:28:13 % Total % Received % Xferd Average Speed Time Time Time Current 05:28:13 Dload Upload Total Spent Left Speed 05:28:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 39989 --:--:-- --:--:-- --:--:-- 39989 05:28:14 05:28:14 [Pipeline] } 05:28:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:28:14 + git log --format=format:%s -1 87389bdebb11d4655f183884612f3f0d4c970364 [Pipeline] sh 05:28:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:28:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:28:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:15 prd-ubuntu20.04-docker-8c-8g-9483 does not seem to be running inside a container 05:28:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:28:15 $ docker top c11118871674a81b9459ec37e95137638f235d3cbb34711331a9336deb139128 -eo pid,comm 05:28:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:28:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:28:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:28:15 [ssh-agent] Looking for ssh-agent implementation... 05:28:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:28:15 $ docker exec c11118871674a81b9459ec37e95137638f235d3cbb34711331a9336deb139128 ssh-agent 05:28:15 SSH_AUTH_SOCK=/tmp/ssh-gX3Ocawn7cgK/agent.33 05:28:15 SSH_AGENT_PID=39 05:28:15 Running ssh-add (command line suppressed) 05:28:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16049445171336430721.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16049445171336430721.key) 05:28:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:28:16 + git semver tag 05:28:16 2023-04-24 05:28:16,339 [run_tag] DEBUG tag force:False 05:28:16 2023-04-24 05:28:16,339 [check_head_tag] DEBUG check head tag 05:28:16 2023-04-24 05:28:16,341 [execute] INFO git cat-file --batch-check 05:28:16 2023-04-24 05:28:16,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:28:16 2023-04-24 05:28:16,345 [execute] INFO git cat-file --batch 05:28:16 2023-04-24 05:28:16,345 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:28:16 2023-04-24 05:28:16,383 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:28:16 2023-04-24 05:28:16,384 [execute] INFO git tag -a v3.0.0-dev.74 -m v3.0.0-dev.74 05:28:16 2023-04-24 05:28:16,384 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.74', '-m', 'v3.0.0-dev.74'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:28:16 2023-04-24 05:28:16,388 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:28:16 3.0.0-dev.74 [Pipeline] } 05:28:16 $ docker exec --env ******** --env ******** c11118871674a81b9459ec37e95137638f235d3cbb34711331a9336deb139128 ssh-agent -k 05:28:16 unset SSH_AUTH_SOCK; 05:28:16 unset SSH_AGENT_PID; 05:28:16 echo Agent pid 39 killed; 05:28:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:28:16 + git semver [Pipeline] } 05:28:17 $ docker stop --time=1 c11118871674a81b9459ec37e95137638f235d3cbb34711331a9336deb139128 05:28:18 $ docker rm -f --volumes c11118871674a81b9459ec37e95137638f235d3cbb34711331a9336deb139128 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:28:18 05:28:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:28:19 0.23.1-centos7: Pulling from edgex-lftools 05:28:19 ab5ef0e58194: Pulling fs layer 05:28:19 9712f1f96733: Pulling fs layer 05:28:19 63f879dbbcfc: Pulling fs layer 05:28:19 0d9ebad4ef96: Pulling fs layer 05:28:19 e9a5061849ea: Pulling fs layer 05:28:19 d747dcd14b5f: Pulling fs layer 05:28:19 2de7ff778b66: Pulling fs layer 05:28:19 0d9ebad4ef96: Waiting 05:28:19 e9a5061849ea: Waiting 05:28:19 d747dcd14b5f: Waiting 05:28:19 2de7ff778b66: Waiting 05:28:19 9712f1f96733: Verifying Checksum 05:28:19 9712f1f96733: Download complete 05:28:19 63f879dbbcfc: Download complete 05:28:19 e9a5061849ea: Verifying Checksum 05:28:19 e9a5061849ea: Download complete 05:28:19 d747dcd14b5f: Download complete 05:28:19 0d9ebad4ef96: Verifying Checksum 05:28:19 0d9ebad4ef96: Download complete 05:28:19 2de7ff778b66: Verifying Checksum 05:28:19 2de7ff778b66: Download complete 05:28:19 ab5ef0e58194: Verifying Checksum 05:28:19 ab5ef0e58194: Download complete 05:28:22 ab5ef0e58194: Pull complete 05:28:22 9712f1f96733: Pull complete 05:28:23 63f879dbbcfc: Pull complete 05:28:26 0d9ebad4ef96: Pull complete 05:28:26 e9a5061849ea: Pull complete 05:28:26 d747dcd14b5f: Pull complete 05:28:27 2de7ff778b66: Pull complete 05:28:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:28:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:28:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:27 prd-ubuntu20.04-docker-8c-8g-9483 does not seem to be running inside a container 05:28:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:28:33 $ docker top c826a3f793cad7a4de37237459d9d4bbe15b6a60edc2d9675e3c3300324ca516 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:28:33 provisioning config files... 05:28:33 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5090349006593301050tmp 05:28:33 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2684435188274614752tmp 05:28:33 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9725580703875335530tmp [Pipeline] { [Pipeline] echo 05:28:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:28:34 ---> sigul-configuration.sh 05:28:34 gpg: directory `/root/.gnupg' created 05:28:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:28:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:28:34 gpg: keyring `/root/.gnupg/secring.gpg' created 05:28:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:28:34 gpg: CAST5 encrypted data 05:28:34 gpg: encrypted with 1 passphrase 05:28:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:28:34 + mkdir /home/jenkins 05:28:34 + mkdir /home/jenkins/sigul [Pipeline] sh 05:28:34 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:28:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:28:35 ---> sigul-install.sh 05:28:35 Sigul already installed; skipping installation. [Pipeline] sh 05:28:35 + git tag --list 05:28:35 0.7.1 05:28:35 delhi-tag 05:28:35 v1.0.0 05:28:35 v1.1.0 05:28:35 v1.1.1 05:28:35 v1.1.2 05:28:35 v1.2.0 05:28:35 v1.2.1 05:28:35 v1.2.2 05:28:35 v1.2.3 05:28:35 v1.3.0 05:28:35 v1.4.0 05:28:35 v2.0.0 05:28:35 v2.1.0 05:28:35 v2.1.1 05:28:35 v2.1.1-dev.2 05:28:35 v2.1.1-dev.3 05:28:35 v2.2.0 05:28:35 v2.2.1-dev.1 05:28:35 v2.2.1-dev.10 05:28:35 v2.2.1-dev.11 05:28:35 v2.2.1-dev.12 05:28:35 v2.2.1-dev.13 05:28:35 v2.2.1-dev.14 05:28:35 v2.2.1-dev.2 05:28:35 v2.2.1-dev.3 05:28:35 v2.2.1-dev.4 05:28:35 v2.2.1-dev.5 05:28:35 v2.2.1-dev.6 05:28:35 v2.2.1-dev.7 05:28:35 v2.2.1-dev.8 05:28:35 v2.2.1-dev.9 05:28:35 v2.3.0 05:28:35 v2.3.0-dev.14 05:28:35 v2.3.0-dev.15 05:28:35 v2.3.0-dev.16 05:28:35 v2.3.0-dev.17 05:28:35 v2.3.0-dev.18 05:28:35 v2.3.0-dev.19 05:28:35 v2.3.0-dev.20 05:28:35 v2.3.0-dev.21 05:28:35 v2.3.0-dev.22 05:28:35 v2.3.0-dev.23 05:28:35 v2.3.0-dev.24 05:28:35 v2.3.0-dev.25 05:28:35 v2.3.0-dev.26 05:28:35 v2.3.0-dev.27 05:28:35 v2.3.0-dev.28 05:28:35 v2.3.0-dev.29 05:28:35 v2.3.0-dev.30 05:28:35 v2.3.0-dev.31 05:28:35 v2.3.0-dev.32 05:28:35 v2.3.0-dev.33 05:28:35 v2.3.0-dev.34 05:28:35 v2.3.0-dev.35 05:28:35 v2.3.0-dev.36 05:28:35 v2.3.0-dev.37 05:28:35 v2.3.0-dev.38 05:28:35 v2.3.0-dev.39 05:28:35 v2.3.0-dev.40 05:28:35 v2.3.0-dev.41 05:28:35 v2.3.0-dev.42 05:28:35 v2.3.0-dev.43 05:28:35 v2.3.0-dev.44 05:28:35 v2.3.0-dev.45 05:28:35 v2.3.0-dev.46 05:28:35 v2.3.0-dev.47 05:28:35 v2.3.0-dev.48 05:28:35 v2.3.0-dev.49 05:28:35 v2.3.0-dev.50 05:28:35 v2.3.0-dev.51 05:28:35 v2.3.1 05:28:35 v2.3.1-dev.1 05:28:35 v2.3.1-dev.2 05:28:35 v2.3.1-dev.3 05:28:35 v2.3.1-dev.4 05:28:35 v3.0.0-dev.1 05:28:35 v3.0.0-dev.10 05:28:35 v3.0.0-dev.11 05:28:35 v3.0.0-dev.12 05:28:35 v3.0.0-dev.13 05:28:35 v3.0.0-dev.14 05:28:35 v3.0.0-dev.15 05:28:35 v3.0.0-dev.16 05:28:35 v3.0.0-dev.17 05:28:35 v3.0.0-dev.18 05:28:35 v3.0.0-dev.19 05:28:35 v3.0.0-dev.2 05:28:35 v3.0.0-dev.20 05:28:35 v3.0.0-dev.21 05:28:35 v3.0.0-dev.22 05:28:35 v3.0.0-dev.23 05:28:35 v3.0.0-dev.24 05:28:35 v3.0.0-dev.25 05:28:35 v3.0.0-dev.26 05:28:35 v3.0.0-dev.27 05:28:35 v3.0.0-dev.28 05:28:35 v3.0.0-dev.29 05:28:35 v3.0.0-dev.3 05:28:35 v3.0.0-dev.30 05:28:35 v3.0.0-dev.31 05:28:35 v3.0.0-dev.32 05:28:35 v3.0.0-dev.33 05:28:35 v3.0.0-dev.34 05:28:35 v3.0.0-dev.35 05:28:35 v3.0.0-dev.36 05:28:35 v3.0.0-dev.37 05:28:35 v3.0.0-dev.38 05:28:35 v3.0.0-dev.39 05:28:35 v3.0.0-dev.4 05:28:35 v3.0.0-dev.40 05:28:35 v3.0.0-dev.41 05:28:35 v3.0.0-dev.42 05:28:35 v3.0.0-dev.43 05:28:35 v3.0.0-dev.44 05:28:35 v3.0.0-dev.45 05:28:35 v3.0.0-dev.46 05:28:35 v3.0.0-dev.47 05:28:35 v3.0.0-dev.48 05:28:35 v3.0.0-dev.49 05:28:35 v3.0.0-dev.5 05:28:35 v3.0.0-dev.50 05:28:35 v3.0.0-dev.51 05:28:35 v3.0.0-dev.52 05:28:35 v3.0.0-dev.53 05:28:35 v3.0.0-dev.54 05:28:35 v3.0.0-dev.55 05:28:35 v3.0.0-dev.56 05:28:35 v3.0.0-dev.57 05:28:35 v3.0.0-dev.58 05:28:35 v3.0.0-dev.59 05:28:35 v3.0.0-dev.6 05:28:35 v3.0.0-dev.60 05:28:35 v3.0.0-dev.61 05:28:35 v3.0.0-dev.62 05:28:35 v3.0.0-dev.63 05:28:35 v3.0.0-dev.64 05:28:35 v3.0.0-dev.65 05:28:35 v3.0.0-dev.66 05:28:35 v3.0.0-dev.67 05:28:35 v3.0.0-dev.68 05:28:35 v3.0.0-dev.69 05:28:35 v3.0.0-dev.7 05:28:35 v3.0.0-dev.70 05:28:35 v3.0.0-dev.71 05:28:35 v3.0.0-dev.72 05:28:35 v3.0.0-dev.73 05:28:35 v3.0.0-dev.74 05:28:35 v3.0.0-dev.8 05:28:35 v3.0.0-dev.9 [Pipeline] sh 05:28:35 + lftools sign git-tag v3.0.0-dev.74 05:28:36 Signing Git tag with Sigul... 05:28:36 Signing v3.0.0-dev.74 [Pipeline] echo 05:28:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:28:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:28:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:28:36 $ docker stop --time=1 c826a3f793cad7a4de37237459d9d4bbe15b6a60edc2d9675e3c3300324ca516 05:28:38 $ docker rm -f --volumes c826a3f793cad7a4de37237459d9d4bbe15b6a60edc2d9675e3c3300324ca516 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:28:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:28:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:28:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:38 prd-ubuntu20.04-docker-8c-8g-9483 does not seem to be running inside a container 05:28:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:28:39 $ docker top db1492ab56975b1c49afda3be06d1e492bb5efa2f5e61a77d775180890ab3780 -eo pid,comm 05:28:39 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:28:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:28:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:28:39 [ssh-agent] Looking for ssh-agent implementation... 05:28:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:28:39 $ docker exec db1492ab56975b1c49afda3be06d1e492bb5efa2f5e61a77d775180890ab3780 ssh-agent 05:28:39 SSH_AUTH_SOCK=/tmp/ssh-oxFecILAhLUR/agent.33 05:28:39 SSH_AGENT_PID=39 05:28:39 Running ssh-add (command line suppressed) 05:28:39 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5200670308353968601.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5200670308353968601.key) 05:28:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:28:39 + git semver bump pre 05:28:40 2023-04-24 05:28:40,075 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:28:40 2023-04-24 05:28:40,076 [bump_version] DEBUG bumping version:3.0.0-dev.74 on axis:pre with prefix:dev 05:28:40 2023-04-24 05:28:40,076 [bump_version] DEBUG bumped version:3.0.0-dev.75 05:28:40 2023-04-24 05:28:40,076 [write_version] DEBUG write version:3.0.0-dev.75 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:28:40 2023-04-24 05:28:40,076 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:28:40 2023-04-24 05:28:40,076 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:28:40 2023-04-24 05:28:40,078 [execute] INFO git cat-file --batch-check 05:28:40 2023-04-24 05:28:40,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:28:40 2023-04-24 05:28:40,084 [execute] INFO git cat-file --batch 05:28:40 2023-04-24 05:28:40,084 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:28:40 2023-04-24 05:28:40,090 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:28:40 3.0.0-dev.75 [Pipeline] } 05:28:40 $ docker exec --env ******** --env ******** db1492ab56975b1c49afda3be06d1e492bb5efa2f5e61a77d775180890ab3780 ssh-agent -k 05:28:40 unset SSH_AUTH_SOCK; 05:28:40 unset SSH_AGENT_PID; 05:28:40 echo Agent pid 39 killed; 05:28:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:28:40 + git semver [Pipeline] } 05:28:40 $ docker stop --time=1 db1492ab56975b1c49afda3be06d1e492bb5efa2f5e61a77d775180890ab3780 05:28:42 $ docker rm -f --volumes db1492ab56975b1c49afda3be06d1e492bb5efa2f5e61a77d775180890ab3780 [Pipeline] // withDockerContainer [Pipeline] sh 05:28:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:28:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:28:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:42 prd-ubuntu20.04-docker-8c-8g-9483 does not seem to be running inside a container 05:28:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:28:43 $ docker top 20762829c0e51bc6fd646aa0a512cf3c72b8a18b29ee24795c260a1b3ef95e54 -eo pid,comm 05:28:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:28:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:28:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:28:43 [ssh-agent] Looking for ssh-agent implementation... 05:28:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:28:43 $ docker exec 20762829c0e51bc6fd646aa0a512cf3c72b8a18b29ee24795c260a1b3ef95e54 ssh-agent 05:28:43 SSH_AUTH_SOCK=/tmp/ssh-b722GKV2XeKS/agent.32 05:28:43 SSH_AGENT_PID=37 05:28:43 Running ssh-add (command line suppressed) 05:28:43 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7244074098828297643.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7244074098828297643.key) 05:28:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:28:43 + git semver push 05:28:44 2023-04-24 05:28:44,046 [run_push] DEBUG push 05:28:44 2023-04-24 05:28:44,047 [execute] INFO git cat-file --batch-check 05:28:44 2023-04-24 05:28:44,047 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:28:44 2023-04-24 05:28:44,051 [execute] INFO git rev-list f65904256239aacf53cf15a4f96c09912a7a15a1 -- 05:28:44 2023-04-24 05:28:44,052 [execute] DEBUG Popen(['git', 'rev-list', 'f65904256239aacf53cf15a4f96c09912a7a15a1', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:28:44 2023-04-24 05:28:44,065 [execute] INFO git fetch -v origin 05:28:44 2023-04-24 05:28:44,065 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:28:44 2023-04-24 05:28:44,514 [run_push] DEBUG no remote changes detected 05:28:44 2023-04-24 05:28:44,514 [execute] INFO git push origin semver 05:28:44 2023-04-24 05:28:44,515 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:28:45 2023-04-24 05:28:45,232 [run_push] DEBUG push all version tags 05:28:45 2023-04-24 05:28:45,233 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:28:45 2023-04-24 05:28:45,233 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:28:46 2023-04-24 05:28:45,968 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:28:46 3.0.0-dev.75 [Pipeline] } 05:28:46 $ docker exec --env ******** --env ******** 20762829c0e51bc6fd646aa0a512cf3c72b8a18b29ee24795c260a1b3ef95e54 ssh-agent -k 05:28:46 unset SSH_AUTH_SOCK; 05:28:46 unset SSH_AGENT_PID; 05:28:46 echo Agent pid 37 killed; 05:28:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:28:46 + git semver [Pipeline] } 05:28:46 $ docker stop --time=1 20762829c0e51bc6fd646aa0a512cf3c72b8a18b29ee24795c260a1b3ef95e54 05:28:48 $ docker rm -f --volumes 20762829c0e51bc6fd646aa0a512cf3c72b8a18b29ee24795c260a1b3ef95e54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:28:48 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:28:48 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:28:48 total 16 05:28:48 drwxr-xr-x 3 root root 4096 Apr 24 05:19 . 05:28:48 drwxrwxr-x 12 jenkins jenkins 4096 Apr 24 05:28 .. 05:28:48 drwxr-xr-x 2 root root 4096 Apr 24 05:19 cost 05:28:48 -rw-r--r-- 1 root root 85 Apr 24 05:19 cost.csv 05:28:48 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:28:48 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:28:48 total 16 05:28:48 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 05:19 . 05:28:48 drwxrwxr-x 12 jenkins jenkins 4096 Apr 24 05:28 .. 05:28:48 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 05:19 cost 05:28:48 -rw-r--r-- 1 jenkins jenkins 85 Apr 24 05:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:28:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:28:49 ---> package-listing.sh 05:28:49 ++ facter osfamily 05:28:49 ++ tr '[:upper:]' '[:lower:]' 05:28:50 + OS_FAMILY=debian 05:28:50 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:28:50 + START_PACKAGES=/tmp/packages_start.txt 05:28:50 + END_PACKAGES=/tmp/packages_end.txt 05:28:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:28:50 + PACKAGES=/tmp/packages_start.txt 05:28:50 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:28:50 + PACKAGES=/tmp/packages_end.txt 05:28:50 + case "${OS_FAMILY}" in 05:28:50 + dpkg -l 05:28:50 + grep '^ii' 05:28:50 + '[' -f /tmp/packages_start.txt ']' 05:28:50 + '[' -f /tmp/packages_end.txt ']' 05:28:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:28:50 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:28:50 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:28:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:28:50 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:28:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:28:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:51 prd-ubuntu20.04-docker-8c-8g-9483 does not seem to be running inside a container 05:28:51 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:28:51 $ docker top fbb99b8a0f45d380bd18c7948b24bb0d6784ea17a671fb422ee64c5d1279e35b -eo pid,comm [Pipeline] { [Pipeline] sh 05:28:51 + touch /tmp/pre-build-complete [Pipeline] sh 05:28:52 + mkdir -p /var/log/sysstat [Pipeline] sh 05:28:52 + ls /var/log/sa-host 05:28:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:28:52 provisioning config files... 05:28:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5461751037909701557tmp [Pipeline] { [Pipeline] echo 05:28:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:28:52 ---> create-netrc.sh [Pipeline] } 05:28:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:28:53 ---> python-tools-install.sh [Pipeline] echo 05:28:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:28:53 ---> sudo-logs.sh 05:28:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:28:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:28:53 ---> job-cost.sh 05:28:53 lf-activate-venv: SKIPPING 05:28:53 DEBUG: total: 0.2199999988079071 05:28:53 INFO: Retrieving Stack Cost... 05:28:53 INFO: Retrieving Pricing Info for: v3-standard-8 05:28:54 INFO: Archiving Costs [Pipeline] echo 05:28:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:28:54 ---> logs-deploy.sh 05:28:54 lf-activate-venv: SKIPPING 05:28:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/205 05:28:54 INFO: archiving workspace using pattern(s): 05:28:55 Archives upload complete. 05:28:55 INFO: archiving logs to Nexus