Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 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-ssh4994181156283217224.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-ssh9557402319019497226.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-ssh15994718649983683548.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-ssh12744606616740829785.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-ssh4153150471469733731.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8507 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 (main) Commit message: "Merge pull request #1421 from hahattan/issue-1339" > git config core.sparsecheckout # timeout=10 > git checkout -f c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 # timeout=10 > git rev-list --no-walk 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:54:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:54:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:54:43 ========================================================= 04:54:43 EdgeX Global Pipelines Version Info 04:54:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:54:44 ------------------- 04:54:44 stable info: 04:54:44 ------------------- 04:54:44 Commited By: Bill Mahoney bill.mahoney@intel.com 04:54:44 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 04:54:44 Message: update stable to v1.0.248 04:54:45 ------------------- 04:54:45 experimental info: 04:54:45 ------------------- 04:54:45 Commited By: **** collab-it+edgex@linuxfoundation.org 04:54:45 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 04:54:45 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c527cc1 [Pipeline] echo 04:54:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:54:45 provisioning config files... 04:54:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11961265406230219435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:46 ---> docker-login.sh 04:54:46 nexus3.edgexfoundry.org:10001 04:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:48 Configure a credential helper to remove this warning. See 04:54:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:48 04:54:48 Login Succeeded 04:54:48 nexus3.edgexfoundry.org:10002 04:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:48 Configure a credential helper to remove this warning. See 04:54:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:48 04:54:48 Login Succeeded 04:54:48 nexus3.edgexfoundry.org:10003 04:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:48 Configure a credential helper to remove this warning. See 04:54:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:48 04:54:48 Login Succeeded 04:54:48 nexus3.edgexfoundry.org:10004 04:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:49 Configure a credential helper to remove this warning. See 04:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:49 04:54:49 Login Succeeded 04:54:49 docker.io 04:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:49 Configure a credential helper to remove this warning. See 04:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:49 04:54:49 Login Succeeded 04:54:49 ---> docker-login.sh ends [Pipeline] } 04:54:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:54:49 + git rev-list -1 --merges c527cc18e8dc5ba9098cf404cd39d1fac2754cd9~1..c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 [Pipeline] echo 04:54:49 -----------> git rev-list -1 --merges c527cc18e8dc5ba9098cf404cd39d1fac2754cd9~1..c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 04:54:49 c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 [false] [Pipeline] sh 04:54:50 + git log --format=format:%s -1 c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 [Pipeline] echo 04:54:50 ========================================================= 04:54:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:54:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:50 + git log --format=format:%s -1 c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 [Pipeline] echo 04:54:50 [semverPrep] GIT_COMMIT: c527cc18e8dc5ba9098cf404cd39d1fac2754cd9, Commit Message: Merge pull request #1421 from hahattan/issue-1339 [Pipeline] echo 04:54:50 [semverPrep] This is not a build commit. [Pipeline] sh 04:54:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:54:50 + grep -v github /etc/ssh/ssh_known_hosts 04:54:50 + [ -e /tmp/ssh_known_hosts ] 04:54:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:54:50 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:54:50 sudo tee -a /etc/ssh/ssh_known_hosts 04:54:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:51 04:54:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:52 0.1.4: Pulling from edgex-devops/py-git-semver 04:54:52 b85a868b505f: Pulling fs layer 04:54:52 e2be974225ed: Pulling fs layer 04:54:52 339a4e72a1f5: Pulling fs layer 04:54:52 988bab9f4d93: Pulling fs layer 04:54:52 1469e6f7b9e6: Pulling fs layer 04:54:52 eaf3925da568: Pulling fs layer 04:54:52 bab4dde63d76: Pulling fs layer 04:54:52 bde34c3a00c8: Pulling fs layer 04:54:52 b352a97aabf1: Pulling fs layer 04:54:52 4872d77fe225: Pulling fs layer 04:54:52 5851b861e8e6: Pulling fs layer 04:54:52 988bab9f4d93: Waiting 04:54:52 1469e6f7b9e6: Waiting 04:54:52 eaf3925da568: Waiting 04:54:52 bab4dde63d76: Waiting 04:54:52 bde34c3a00c8: Waiting 04:54:52 b352a97aabf1: Waiting 04:54:52 4872d77fe225: Waiting 04:54:52 5851b861e8e6: Waiting 04:54:52 e2be974225ed: Verifying Checksum 04:54:52 e2be974225ed: Download complete 04:54:52 988bab9f4d93: Verifying Checksum 04:54:52 988bab9f4d93: Download complete 04:54:52 1469e6f7b9e6: Verifying Checksum 04:54:52 1469e6f7b9e6: Download complete 04:54:52 eaf3925da568: Verifying Checksum 04:54:52 eaf3925da568: Download complete 04:54:52 339a4e72a1f5: Verifying Checksum 04:54:52 339a4e72a1f5: Download complete 04:54:52 bde34c3a00c8: Verifying Checksum 04:54:52 bde34c3a00c8: Download complete 04:54:52 b352a97aabf1: Download complete 04:54:52 b85a868b505f: Verifying Checksum 04:54:52 b85a868b505f: Download complete 04:54:52 5851b861e8e6: Verifying Checksum 04:54:52 5851b861e8e6: Download complete 04:54:52 4872d77fe225: Verifying Checksum 04:54:52 4872d77fe225: Download complete 04:54:53 bab4dde63d76: Verifying Checksum 04:54:53 bab4dde63d76: Download complete 04:54:54 b85a868b505f: Pull complete 04:54:54 e2be974225ed: Pull complete 04:54:55 339a4e72a1f5: Pull complete 04:54:55 988bab9f4d93: Pull complete 04:54:55 1469e6f7b9e6: Pull complete 04:54:55 eaf3925da568: Pull complete 04:54:57 bab4dde63d76: Pull complete 04:54:57 bde34c3a00c8: Pull complete 04:54:57 b352a97aabf1: Pull complete 04:54:58 4872d77fe225: Pull complete 04:54:58 5851b861e8e6: Pull complete 04:54:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:54:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:58 prd-ubuntu20.04-docker-8c-8g-8507 does not seem to be running inside a container 04:54:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:54:59 $ docker top 5a36dac5ecdd6c62878b1f5786a10270fa1d568888e7a62802b8353c78beaf9a -eo pid,comm 04:54:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:54:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:54:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:54:59 [ssh-agent] Looking for ssh-agent implementation... 04:54:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:54:59 $ docker exec 5a36dac5ecdd6c62878b1f5786a10270fa1d568888e7a62802b8353c78beaf9a ssh-agent 04:55:00 SSH_AUTH_SOCK=/tmp/ssh-KlC3IbKJCrOG/agent.31 04:55:00 SSH_AGENT_PID=37 04:55:00 Running ssh-add (command line suppressed) 04:55:00 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12323646415331770298.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12323646415331770298.key) 04:55:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:55:00 + git tag --points-at HEAD [Pipeline] } 04:55:00 $ docker exec --env ******** --env ******** 5a36dac5ecdd6c62878b1f5786a10270fa1d568888e7a62802b8353c78beaf9a ssh-agent -k 04:55:00 unset SSH_AUTH_SOCK; 04:55:00 unset SSH_AGENT_PID; 04:55:00 echo Agent pid 37 killed; 04:55:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:55:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:55:00 [ssh-agent] Looking for ssh-agent implementation... 04:55:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:55:00 $ docker exec 5a36dac5ecdd6c62878b1f5786a10270fa1d568888e7a62802b8353c78beaf9a ssh-agent 04:55:00 SSH_AUTH_SOCK=/tmp/ssh-p4SyQva0co14/agent.69 04:55:00 SSH_AGENT_PID=75 04:55:00 Running ssh-add (command line suppressed) 04:55:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14259084007158634951.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14259084007158634951.key) 04:55:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:55:01 + git semver init 04:55:01 2023-04-14 04:55:01,521 [run_init] DEBUG init version:0.0.0 force:False 04:55:01 2023-04-14 04:55:01,522 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:55:01 2023-04-14 04:55:01,522 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:55:01 2023-04-14 04:55:01,522 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:55:02 2023-04-14 04:55:02,579 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:55:02 2023-04-14 04:55:02,579 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:55:02 2023-04-14 04:55:02,579 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:55:02 2023-04-14 04:55:02,579 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:55:02 3.0.0-dev.67 [Pipeline] } 04:55:02 $ docker exec --env ******** --env ******** 5a36dac5ecdd6c62878b1f5786a10270fa1d568888e7a62802b8353c78beaf9a ssh-agent -k 04:55:03 unset SSH_AUTH_SOCK; 04:55:03 unset SSH_AGENT_PID; 04:55:03 echo Agent pid 75 killed; 04:55:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:55:03 + git semver [Pipeline] } 04:55:03 $ docker stop --time=1 5a36dac5ecdd6c62878b1f5786a10270fa1d568888e7a62802b8353c78beaf9a 04:55:04 $ docker rm -f --volumes 5a36dac5ecdd6c62878b1f5786a10270fa1d568888e7a62802b8353c78beaf9a [Pipeline] // withDockerContainer [Pipeline] sh 04:55:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:55:05 Stashed 1 file(s) [Pipeline] echo 04:55:05 [edgeXSemver]: initialized semver on version 3.0.0-dev.67 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:55:05 provisioning config files... 04:55:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12702534194944860293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:55:06 ---> docker-login.sh 04:55:06 nexus3.edgexfoundry.org:10001 04:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:06 Configure a credential helper to remove this warning. See 04:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:06 04:55:06 Login Succeeded 04:55:06 nexus3.edgexfoundry.org:10002 04:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:06 Configure a credential helper to remove this warning. See 04:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:06 04:55:06 Login Succeeded 04:55:06 nexus3.edgexfoundry.org:10003 04:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:06 Configure a credential helper to remove this warning. See 04:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:06 04:55:06 Login Succeeded 04:55:06 nexus3.edgexfoundry.org:10004 04:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:06 Configure a credential helper to remove this warning. See 04:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:06 04:55:06 Login Succeeded 04:55:06 docker.io 04:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:06 Configure a credential helper to remove this warning. See 04:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:06 04:55:06 Login Succeeded 04:55:06 ---> docker-login.sh ends [Pipeline] } 04:55:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:55:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:06 ========================================================= 04:55:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:55:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:06 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:55:06 Sending build context to Docker daemon 10.95MB 04:55:06 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:55:06 Step 2/10 : FROM ${BASE} AS builder 04:55:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:55:07 63b65145d645: Pulling fs layer 04:55:07 a2d21d5440eb: Pulling fs layer 04:55:07 935e6c44a52c: Pulling fs layer 04:55:07 94cc34f8dd06: Pulling fs layer 04:55:07 30dea6a524f1: Pulling fs layer 04:55:07 a2aff8979fd8: Pulling fs layer 04:55:07 6808be2612f2: Pulling fs layer 04:55:07 f25807f1079a: Pulling fs layer 04:55:07 30dea6a524f1: Waiting 04:55:07 a2aff8979fd8: Waiting 04:55:07 6808be2612f2: Waiting 04:55:07 f25807f1079a: Waiting 04:55:07 94cc34f8dd06: Waiting 04:55:07 a2d21d5440eb: Download complete 04:55:07 94cc34f8dd06: Verifying Checksum 04:55:07 94cc34f8dd06: Download complete 04:55:07 30dea6a524f1: Verifying Checksum 04:55:07 30dea6a524f1: Download complete 04:55:07 63b65145d645: Verifying Checksum 04:55:07 63b65145d645: Download complete 04:55:07 a2aff8979fd8: Verifying Checksum 04:55:07 a2aff8979fd8: Download complete 04:55:07 63b65145d645: Pull complete 04:55:07 a2d21d5440eb: Pull complete 04:55:07 f25807f1079a: Verifying Checksum 04:55:07 f25807f1079a: Download complete 04:55:07 935e6c44a52c: Verifying Checksum 04:55:07 935e6c44a52c: Download complete 04:55:07 6808be2612f2: Verifying Checksum 04:55:07 6808be2612f2: Download complete 04:55:11 935e6c44a52c: Pull complete 04:55:11 94cc34f8dd06: Pull complete 04:55:11 30dea6a524f1: Pull complete 04:55:11 a2aff8979fd8: Pull complete 04:55:14 6808be2612f2: Pull complete 04:55:14 f25807f1079a: Pull complete 04:55:14 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 04:55:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:55:14 ---> 3b553350e43f 04:55:14 Step 3/10 : ARG MAKE=make build 04:55:16 ---> Running in dfbeecca9501 04:55:16 Removing intermediate container dfbeecca9501 04:55:16 ---> 22986a26474d 04:55:16 Step 4/10 : WORKDIR /device-sdk-go 04:55:16 ---> Running in 49de63cdc1d3 04:55:16 Removing intermediate container 49de63cdc1d3 04:55:16 ---> 40535fe4914a 04:55:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:55:16 ---> Running in 0b789e7098d3 04:55:17 Removing intermediate container 0b789e7098d3 04:55:17 ---> a5fb703d96ad 04:55:17 Step 6/10 : RUN apk add --update --no-cache make git 04:55:17 ---> Running in a073fc4916dd 04:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:55:17 OK: 265 MiB in 53 packages 04:55:18 Removing intermediate container a073fc4916dd 04:55:18 ---> 3f6e45fd4edb 04:55:18 Step 7/10 : COPY go.mod vendor* ./ 04:55:18 ---> ce14c765f567 04:55:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:18 ---> Running in 086d8bd053fe 04:55:20 Still waiting to schedule task 04:55:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:55:56 Removing intermediate container 086d8bd053fe 04:55:56 ---> dcdf930f2496 04:55:56 Step 9/10 : COPY . . 04:55:56 ---> c4e66589a7db 04:55:56 Step 10/10 : RUN ${MAKE} 04:55:56 ---> Running in 1343fd22f820 04:55:56 noop 04:55:56 Removing intermediate container 1343fd22f820 04:55:56 ---> 24fc9d030b85 04:55:56 Successfully built 24fc9d030b85 04:55:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:57 + docker inspect -f . ci-base-image-x86_64 04:55:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:55:57 prd-ubuntu20.04-docker-8c-8g-8507 does not seem to be running inside a container 04:55:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:55:57 $ docker top 9f9e7440da17c1d62b12c7f1951c3f75aac03361a244199e77c4c6b2b48e4784 -eo pid,comm [Pipeline] { [Pipeline] sh 04:55:58 + go version 04:55:58 go version go1.20.2 linux/amd64 [Pipeline] } 04:55:58 $ docker stop --time=1 9f9e7440da17c1d62b12c7f1951c3f75aac03361a244199e77c4c6b2b48e4784 04:55:59 $ docker rm -f --volumes 9f9e7440da17c1d62b12c7f1951c3f75aac03361a244199e77c4c6b2b48e4784 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:59 + docker inspect -f . ci-base-image-x86_64 04:55:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:55:59 prd-ubuntu20.04-docker-8c-8g-8507 does not seem to be running inside a container 04:55:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:56:00 $ docker top 2fb6db2ecdef74a597872057d78fdfc4c8fa81037423c9461dfd2922d65c9c26 -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:00 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:56:00 + make test 04:56:00 go test -race -coverprofile=coverage.out ./... 04:56:07 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:56:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:56:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:56:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:56:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:56:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:56:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.070s coverage: 27.6% of statements 04:56:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:56:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:56:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 79.9% of statements 04:56:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.079s coverage: 86.0% of statements 04:56:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:56:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:56:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.094s coverage: 77.5% of statements 04:56:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:56:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:56:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:56:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.090s coverage: 14.6% of statements 04:56:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.087s coverage: 68.5% of statements 04:56:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.116s coverage: 89.2% of statements 04:56:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements 04:56:48 GO111MODULE=on go vet ./... 04:56:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:56:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:56:49 ./bin/test-attribution-txt.sh [Pipeline] echo 04:56:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:56:49 $ docker stop --time=1 2fb6db2ecdef74a597872057d78fdfc4c8fa81037423c9461dfd2922d65c9c26 04:56:52 $ docker rm -f --volumes 2fb6db2ecdef74a597872057d78fdfc4c8fa81037423c9461dfd2922d65c9c26 [Pipeline] // withDockerContainer [Pipeline] sh 04:56:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:56:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:56:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:56:53 + ls -al . 04:56:53 total 272 04:56:53 drwxrwxr-x 11 jenkins jenkins 4096 Apr 14 04:56 . 04:56:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 04:54 .. 04:56:53 -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 04:54 .dockerignore 04:56:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 04:55 .git 04:56:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 04:54 .github 04:56:53 -rw-rw-r-- 1 jenkins jenkins 131 Apr 14 04:54 .gitignore 04:56:53 -rw-rw-r-- 1 jenkins jenkins 42 Apr 14 04:54 .golangci.yml 04:56:53 drwxr-xr-x 3 jenkins jenkins 4096 Apr 14 04:55 .semver 04:56:53 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 14 04:54 CHANGELOG.md 04:56:53 -rw-rw-r-- 1 jenkins jenkins 677 Apr 14 04:54 GOVERNANCE.md 04:56:53 -rw-rw-r-- 1 jenkins jenkins 885 Apr 14 04:54 Jenkinsfile 04:56:53 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 04:54 LICENSE 04:56:53 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 14 04:54 Makefile 04:56:53 -rw-rw-r-- 1 jenkins jenkins 619 Apr 14 04:54 OWNERS.md 04:56:53 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 14 04:54 README.md 04:56:53 -rw-rw-r-- 1 jenkins jenkins 12 Apr 14 04:55 VERSION 04:56:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 04:54 bin 04:56:53 -rw-r--r-- 1 jenkins jenkins 105947 Apr 14 04:56 coverage.out 04:56:53 drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 04:54 example 04:56:53 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 14 04:54 go.mod 04:56:53 -rw-rw-r-- 1 jenkins jenkins 31006 Apr 14 04:54 go.sum 04:56:53 drwxrwxr-x 12 jenkins jenkins 4096 Apr 14 04:54 internal 04:56:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 04:54 openapi 04:56:53 drwxrwxr-x 6 jenkins jenkins 4096 Apr 14 04:54 pkg 04:56:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 04:54 snap 04:56:53 -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 04:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:54 + 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=c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 --label arch=amd64 --label version=3.0.0-dev.67 . 04:56:54 Sending build context to Docker daemon 11.05MB 04:56:54 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 04:56:54 Step 2/23 : FROM ${BASE} AS builder 04:56:54 ---> 24fc9d030b85 04:56:54 Step 3/23 : ARG MAKE=make build 04:56:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8508 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:56:55 Running in /w/workspace/device-sdk-go/198 [Pipeline] { [Pipeline] checkout 04:56:55 The recommended git tool is: git 04:56:55 ---> Running in d530043d3f08 04:56:56 Removing intermediate container d530043d3f08 04:56:56 ---> c065da04ef00 04:56:56 Step 4/23 : WORKDIR /device-sdk-go 04:56:57 ---> Running in 800fca64308f 04:56:59 Removing intermediate container 800fca64308f 04:56:59 ---> 0c0563c894c0 04:56:59 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:56:59 ---> Running in 33feac403063 04:57:00 Removing intermediate container 33feac403063 04:57:00 ---> 546e5f14c31f 04:57:00 Step 6/23 : RUN apk add --update --no-cache make git 04:57:00 using credential edgex-jenkins-ssh 04:57:00 Cloning the remote Git repository 04:57:01 ---> Running in 5f9df4706be0 04:57:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:57:00 > git init /w/workspace/device-sdk-go/198 # timeout=10 04:57:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:57:01 > git --version # timeout=10 04:57:01 > git --version # 'git version 2.25.1' 04:57:01 using GIT_SSH to set credentials SSH Credentials for GitHub 04:57:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:57:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:57:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:57:02 OK: 265 MiB in 53 packages 04:57:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:57:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:57:05 Removing intermediate container 5f9df4706be0 04:57:05 ---> 694a95c8931a 04:57:05 Step 7/23 : COPY go.mod vendor* ./ 04:57:06 Avoid second fetch 04:57:06 Checking out Revision c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 (main) 04:57:06 ---> b8894f8ea2bb 04:57:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:57:06 Commit message: "Merge pull request #1421 from hahattan/issue-1339" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 04:57:06 > git config core.sparsecheckout # timeout=10 04:57:06 > git checkout -f c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:57:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:57:07 % Total % Received % Xferd Average Speed Time Time Time Current 04:57:07 Dload Upload Total Spent Left Speed 04:57:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89795 04:57:07 ---> Running in b2324585c704 [Pipeline] sh 04:57:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:57:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:57:08 + sudo tee /etc/docker/daemon.new 04:57:08 { 04:57:08 "registry-mirrors": [ 04:57:08 "https://nexus3.edgexfoundry.org:10001" 04:57:08 ], 04:57:08 "bip": "10.250.0.254/24", 04:57:08 "hosts": [ 04:57:08 "tcp://0.0.0.0:5555", 04:57:08 "unix:///var/run/docker.sock" 04:57:08 ], 04:57:08 "mtu": 1458, 04:57:08 "selinux-enabled": true, 04:57:08 "seccomp-profile": "/etc/docker/seccomp.json" 04:57:08 } [Pipeline] sh 04:57:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:57:09 + sudo service docker restart 04:57:11 Removing intermediate container b2324585c704 04:57:11 ---> 8e5f55a4fb92 04:57:11 Step 9/23 : COPY . . 04:57:13 ---> d043c97396de 04:57:13 Step 10/23 : RUN ${MAKE} 04:57:15 ---> Running in ebb64a6653c3 04:57:15 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.67" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:57:27 provisioning config files... 04:57:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/198@tmp/config7809915801065562570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:27 ---> docker-login.sh 04:57:27 nexus3.edgexfoundry.org:10001 04:57:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:28 Configure a credential helper to remove this warning. See 04:57:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:28 04:57:28 Login Succeeded 04:57:28 nexus3.edgexfoundry.org:10002 04:57:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:28 Configure a credential helper to remove this warning. See 04:57:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:28 04:57:28 Login Succeeded 04:57:28 nexus3.edgexfoundry.org:10003 04:57:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:29 Configure a credential helper to remove this warning. See 04:57:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:29 04:57:29 Login Succeeded 04:57:29 nexus3.edgexfoundry.org:10004 04:57:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:29 Configure a credential helper to remove this warning. See 04:57:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:29 04:57:29 Login Succeeded 04:57:29 docker.io 04:57:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:30 Configure a credential helper to remove this warning. See 04:57:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:30 04:57:30 Login Succeeded 04:57:30 ---> docker-login.sh ends [Pipeline] } 04:57:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:57:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:57:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:57:30 ========================================================= 04:57:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:57:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:30 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:57:30 Sending build context to Docker daemon 5.87MB 04:57:31 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:57:31 Step 2/10 : FROM ${BASE} AS builder 04:57:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:57:32 af6eaf76a39c: Pulling fs layer 04:57:32 55522c791124: Pulling fs layer 04:57:32 ce5c4a1c91eb: Pulling fs layer 04:57:32 169dfbe0d373: Pulling fs layer 04:57:32 e1ff8fa3b103: Pulling fs layer 04:57:32 52ebb69f0ebf: Pulling fs layer 04:57:32 5abe8eddf0d5: Pulling fs layer 04:57:32 e1ff8fa3b103: Waiting 04:57:32 52ebb69f0ebf: Waiting 04:57:32 5abe8eddf0d5: Waiting 04:57:32 169dfbe0d373: Waiting 04:57:32 55522c791124: Download complete 04:57:32 169dfbe0d373: Download complete 04:57:32 e1ff8fa3b103: Verifying Checksum 04:57:32 e1ff8fa3b103: Download complete 04:57:32 af6eaf76a39c: Verifying Checksum 04:57:32 af6eaf76a39c: Download complete 04:57:33 af6eaf76a39c: Pull complete 04:57:33 5abe8eddf0d5: Verifying Checksum 04:57:33 5abe8eddf0d5: Download complete 04:57:33 55522c791124: Pull complete 04:57:34 Removing intermediate container ebb64a6653c3 04:57:34 ---> b61a99e6e7e3 04:57:34 Step 11/23 : FROM alpine:3.17 04:57:34 3.17: Pulling from library/alpine 04:57:34 f56be85fc22e: Pulling fs layer 04:57:34 f56be85fc22e: Download complete 04:57:34 f56be85fc22e: Pull complete 04:57:34 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:57:34 Status: Downloaded newer image for alpine:3.17 04:57:34 ---> 9ed4aefc74f6 04:57:34 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:57:34 ---> Running in 2a7e7c910859 04:57:34 Removing intermediate container 2a7e7c910859 04:57:34 ---> 427050541886 04:57:34 Step 13/23 : RUN apk add --update --no-cache 04:57:34 ---> Running in c2686c55f9e6 04:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:57:34 OK: 7 MiB in 15 packages 04:57:34 Removing intermediate container c2686c55f9e6 04:57:34 ---> 27e79c43a35f 04:57:34 Step 14/23 : WORKDIR / 04:57:34 ---> Running in 1d392ac3f613 04:57:34 Removing intermediate container 1d392ac3f613 04:57:34 ---> 993545e4ce65 04:57:34 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:57:34 ---> 47da2414486a 04:57:34 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:57:34 52ebb69f0ebf: Verifying Checksum 04:57:34 52ebb69f0ebf: Download complete 04:57:34 ce5c4a1c91eb: Download complete 04:57:35 ---> f45831b5d3a6 04:57:35 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:57:35 ---> eedd1f3ce84a 04:57:35 Step 18/23 : EXPOSE 59999 04:57:35 ---> Running in f23dd7f65580 04:57:35 Removing intermediate container f23dd7f65580 04:57:35 ---> 73a8c389d57b 04:57:35 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:57:35 ---> Running in 4bf6d85d7e82 04:57:35 Removing intermediate container 4bf6d85d7e82 04:57:35 ---> 0dd7ba002444 04:57:35 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:57:35 ---> Running in 68a27760dd58 04:57:35 Removing intermediate container 68a27760dd58 04:57:35 ---> 3ff7f04ce465 04:57:35 Step 21/23 : LABEL arch=amd64 04:57:35 ---> Running in 17bd29d5de0a 04:57:35 Removing intermediate container 17bd29d5de0a 04:57:35 ---> 0aebdb44c6a4 04:57:35 Step 22/23 : LABEL git_sha=c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 04:57:35 ---> Running in 1df194f13c81 04:57:35 Removing intermediate container 1df194f13c81 04:57:35 ---> 5ee2c9c97e31 04:57:35 Step 23/23 : LABEL version=3.0.0-dev.67 04:57:35 ---> Running in 5333ab405e9d 04:57:35 Removing intermediate container 5333ab405e9d 04:57:35 ---> 306bc51b64c0 04:57:35 [Warning] One or more build-args [ARCH] were not consumed 04:57:35 Successfully built 306bc51b64c0 04:57:35 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:57:36 04:57:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:57:36 latest: Pulling from edgex-lftools-log-publisher 04:57:36 5eb5b503b376: Pulling fs layer 04:57:36 5c69ac0246d0: Pulling fs layer 04:57:36 ec43610c2a17: Pulling fs layer 04:57:36 3a2ae6a8a46f: Pulling fs layer 04:57:36 33b1e0a273af: Pulling fs layer 04:57:36 5d3b04190fa2: Pulling fs layer 04:57:36 2f39f015ded8: Pulling fs layer 04:57:36 3a2ae6a8a46f: Waiting 04:57:36 33b1e0a273af: Waiting 04:57:36 2f39f015ded8: Waiting 04:57:36 5d3b04190fa2: Waiting 04:57:36 5c69ac0246d0: Download complete 04:57:36 3a2ae6a8a46f: Verifying Checksum 04:57:36 3a2ae6a8a46f: Download complete 04:57:36 33b1e0a273af: Verifying Checksum 04:57:36 33b1e0a273af: Download complete 04:57:36 5d3b04190fa2: Verifying Checksum 04:57:36 5d3b04190fa2: Download complete 04:57:36 ec43610c2a17: Verifying Checksum 04:57:36 ec43610c2a17: Download complete 04:57:36 5eb5b503b376: Verifying Checksum 04:57:36 5eb5b503b376: Download complete 04:57:37 2f39f015ded8: Download complete 04:57:38 5eb5b503b376: Pull complete 04:57:38 5c69ac0246d0: Pull complete 04:57:38 ec43610c2a17: Pull complete 04:57:38 3a2ae6a8a46f: Pull complete 04:57:38 33b1e0a273af: Pull complete 04:57:38 5d3b04190fa2: Pull complete 04:57:43 2f39f015ded8: Pull complete 04:57:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:57:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:57:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:43 prd-ubuntu20.04-docker-8c-8g-8507 does not seem to be running inside a container 04:57:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:57:45 $ docker top 304abaf4530b5b4ca6a30065967cb90fa7989e3da57c9bb08d5869a11f2eff62 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:45 ---> job-cost.sh 04:57:45 lf-activate-venv: SKIPPING 04:57:45 INFO: No Stack... 04:57:46 INFO: Retrieving Pricing Info for: v3-standard-8 04:57:46 INFO: Archiving Costs [Pipeline] sh 04:57:46 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:57:46 + cut -d, -f6 [Pipeline] lock 04:57:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-198-stack-cost] 04:57:46 Resource [jenkins-edgexfoundry-device-sdk-go-main-198-stack-cost] did not exist. Created. 04:57:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-198-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:57:47 ce5c4a1c91eb: Pull complete 04:57:47 169dfbe0d373: Pull complete 04:57:47 e1ff8fa3b103: Pull complete 04:57:47 + echo total: 0.2199999988079071 [Pipeline] stash 04:57:47 Stashed 1 file(s) [Pipeline] } 04:57:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-198-stack-cost] [Pipeline] // lock [Pipeline] } 04:57:47 $ docker stop --time=1 304abaf4530b5b4ca6a30065967cb90fa7989e3da57c9bb08d5869a11f2eff62 04:57:48 $ docker rm -f --volumes 304abaf4530b5b4ca6a30065967cb90fa7989e3da57c9bb08d5869a11f2eff62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:57:52 52ebb69f0ebf: Pull complete 04:57:54 5abe8eddf0d5: Pull complete 04:57:54 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 04:57:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:57:54 ---> 6cb57ee374ae 04:57:54 Step 3/10 : ARG MAKE=make build 04:57:56 ---> Running in 010e7c5a9e2e 04:57:56 Removing intermediate container 010e7c5a9e2e 04:57:56 ---> 176421c1aace 04:57:56 Step 4/10 : WORKDIR /device-sdk-go 04:57:56 ---> Running in 101904c273b5 04:57:56 Removing intermediate container 101904c273b5 04:57:56 ---> 2c8a37529939 04:57:56 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:57:56 ---> Running in 805634e80dc1 04:57:57 Removing intermediate container 805634e80dc1 04:57:57 ---> d9ee74a3161e 04:57:57 Step 6/10 : RUN apk add --update --no-cache make git 04:57:57 ---> Running in bb31cf734a9f 04:57:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:57:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:57:59 OK: 263 MiB in 53 packages 04:58:00 Removing intermediate container bb31cf734a9f 04:58:00 ---> accc38c3917a 04:58:00 Step 7/10 : COPY go.mod vendor* ./ 04:58:01 ---> d5bc01b5de20 04:58:01 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:58:01 ---> Running in aa7f17114893 04:59:09 Removing intermediate container aa7f17114893 04:59:09 ---> 77c7a6b049ae 04:59:09 Step 9/10 : COPY . . 04:59:09 ---> 8981820af1ed 04:59:09 Step 10/10 : RUN ${MAKE} 04:59:09 ---> Running in b42802c1fda9 04:59:09 noop 04:59:09 Removing intermediate container b42802c1fda9 04:59:09 ---> 07d430ffb79c 04:59:09 Successfully built 07d430ffb79c 04:59:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:09 + docker inspect -f . ci-base-image-arm64 04:59:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:09 prd-ubuntu20.04-docker-arm64-4c-16g-8508 does not seem to be running inside a container 04:59:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/198 -v /w/workspace/device-sdk-go/198:/w/workspace/device-sdk-go/198:rw,z -v /w/workspace/device-sdk-go/198@tmp:/w/workspace/device-sdk-go/198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:59:11 $ docker top 4143960d0bb9e06ace5fd8ec31aa6aff6e151f2ecc63da9681cafca971d9ae00 -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:12 + go version 04:59:12 go version go1.20.2 linux/arm64 [Pipeline] } 04:59:12 $ docker stop --time=1 4143960d0bb9e06ace5fd8ec31aa6aff6e151f2ecc63da9681cafca971d9ae00 04:59:13 $ docker rm -f --volumes 4143960d0bb9e06ace5fd8ec31aa6aff6e151f2ecc63da9681cafca971d9ae00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:14 + docker inspect -f . ci-base-image-arm64 04:59:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:14 prd-ubuntu20.04-docker-arm64-4c-16g-8508 does not seem to be running inside a container 04:59:14 $ 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/198 -v /w/workspace/device-sdk-go/198:/w/workspace/device-sdk-go/198:rw,z -v /w/workspace/device-sdk-go/198@tmp:/w/workspace/device-sdk-go/198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:59:17 $ docker top 9793427e2f8879c5c0deaf3326b374296f94b8d68547efa0aaf75449df003e48 -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:18 + git config --global --add safe.directory /w/workspace/device-sdk-go/198 [Pipeline] fileExists [Pipeline] sh 04:59:19 + make test 04:59:19 go test -race -coverprofile=coverage.out ./... 04:59:57 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:01:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:01:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:01:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:01:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:01:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:02:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.206s coverage: 27.6% of statements 05:02:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.298s coverage: 79.9% of statements 05:02:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:02:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:02:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.422s coverage: 86.0% of statements 05:02:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:02:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:02:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.569s coverage: 77.5% of statements 05:02:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.312s coverage: 14.6% of statements 05:02:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:02:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:02:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.403s coverage: 68.5% of statements 05:02:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.576s coverage: 89.2% of statements 05:02:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:02:28 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.238s coverage: 5.5% of statements 05:02:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:02:28 GO111MODULE=on go vet ./... 05:04:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:04:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:04:53 ./bin/test-attribution-txt.sh [Pipeline] echo 05:04:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:04:53 $ docker stop --time=1 9793427e2f8879c5c0deaf3326b374296f94b8d68547efa0aaf75449df003e48 05:04:55 $ docker rm -f --volumes 9793427e2f8879c5c0deaf3326b374296f94b8d68547efa0aaf75449df003e48 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:04:56 Warning: overwriting stash ‘coverage-report’ 05:04:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:04:58 + ls -al . 05:04:58 total 268 05:04:58 drwxrwxr-x 10 jenkins jenkins 4096 Apr 14 04:59 . 05:04:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 04:57 .. 05:04:58 -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 04:57 .dockerignore 05:04:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 04:57 .git 05:04:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 04:57 .github 05:04:58 -rw-rw-r-- 1 jenkins jenkins 131 Apr 14 04:57 .gitignore 05:04:58 -rw-rw-r-- 1 jenkins jenkins 42 Apr 14 04:57 .golangci.yml 05:04:58 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 14 04:57 CHANGELOG.md 05:04:58 -rw-rw-r-- 1 jenkins jenkins 677 Apr 14 04:57 GOVERNANCE.md 05:04:58 -rw-rw-r-- 1 jenkins jenkins 885 Apr 14 04:57 Jenkinsfile 05:04:58 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 04:57 LICENSE 05:04:58 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 14 04:57 Makefile 05:04:58 -rw-rw-r-- 1 jenkins jenkins 619 Apr 14 04:57 OWNERS.md 05:04:58 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 14 04:57 README.md 05:04:58 -rw-rw-r-- 1 jenkins jenkins 12 Apr 14 04:55 VERSION 05:04:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 04:57 bin 05:04:58 -rw-r--r-- 1 jenkins jenkins 105947 Apr 14 05:02 coverage.out 05:04:58 drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 04:57 example 05:04:58 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 14 04:57 go.mod 05:04:58 -rw-rw-r-- 1 jenkins jenkins 31006 Apr 14 04:57 go.sum 05:04:58 drwxrwxr-x 12 jenkins jenkins 4096 Apr 14 04:57 internal 05:04:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 04:57 openapi 05:04:58 drwxrwxr-x 6 jenkins jenkins 4096 Apr 14 04:57 pkg 05:04:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 04:57 snap 05:04:58 -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 04:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:58 + 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=c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 --label arch=arm64 --label version=3.0.0-dev.67 . 05:04:58 Sending build context to Docker daemon 5.977MB 05:04:58 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 05:04:58 Step 2/23 : FROM ${BASE} AS builder 05:04:58 ---> 07d430ffb79c 05:04:58 Step 3/23 : ARG MAKE=make build 05:05:00 ---> Running in 57107716a264 05:05:00 Removing intermediate container 57107716a264 05:05:00 ---> c7d7331b2eed 05:05:00 Step 4/23 : WORKDIR /device-sdk-go 05:05:01 ---> Running in 552d3623522a 05:05:01 Removing intermediate container 552d3623522a 05:05:01 ---> 4a09eb09da90 05:05:01 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:05:01 ---> Running in 6a2c7cef3213 05:05:01 Removing intermediate container 6a2c7cef3213 05:05:01 ---> 53acae36cb5f 05:05:01 Step 6/23 : RUN apk add --update --no-cache make git 05:05:01 ---> Running in 1cd3bf852bc9 05:05:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:05:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:05:04 OK: 263 MiB in 53 packages 05:05:04 Removing intermediate container 1cd3bf852bc9 05:05:04 ---> c49ca0bc3cf7 05:05:04 Step 7/23 : COPY go.mod vendor* ./ 05:05:05 ---> 2e52ace9b477 05:05:05 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:05 ---> Running in b3f9c7b3a001 05:05:07 Removing intermediate container b3f9c7b3a001 05:05:07 ---> e4e92b295430 05:05:07 Step 9/23 : COPY . . 05:05:08 ---> f7901384d581 05:05:08 Step 10/23 : RUN ${MAKE} 05:05:08 ---> Running in 7f467d928df1 05:05:09 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.67" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:07:16 Removing intermediate container 7f467d928df1 05:07:16 ---> df763e78a4d4 05:07:16 Step 11/23 : FROM alpine:3.17 05:07:16 3.17: Pulling from library/alpine 05:07:16 c41833b44d91: Pulling fs layer 05:07:16 c41833b44d91: Verifying Checksum 05:07:16 c41833b44d91: Download complete 05:07:16 c41833b44d91: Pull complete 05:07:16 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:07:16 Status: Downloaded newer image for alpine:3.17 05:07:16 ---> 51e60588ff2c 05:07:16 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:07:16 ---> Running in cba0f049b681 05:07:16 Removing intermediate container cba0f049b681 05:07:16 ---> c070ed1c24d4 05:07:16 Step 13/23 : RUN apk add --update --no-cache 05:07:16 ---> Running in 22b4f43e04d0 05:07:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:07:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:07:16 OK: 7 MiB in 15 packages 05:07:16 Removing intermediate container 22b4f43e04d0 05:07:16 ---> 18e8e784a3ae 05:07:16 Step 14/23 : WORKDIR / 05:07:16 ---> Running in 6457084209c3 05:07:16 Removing intermediate container 6457084209c3 05:07:16 ---> 89c40eb682b6 05:07:16 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:07:16 ---> e4bc698f77dd 05:07:16 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:07:16 ---> ae5dd935f320 05:07:16 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:07:16 ---> ef38345caf86 05:07:16 Step 18/23 : EXPOSE 59999 05:07:16 ---> Running in afaf472941ee 05:07:16 Removing intermediate container afaf472941ee 05:07:16 ---> 8b16f8e4df40 05:07:16 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:07:17 ---> Running in 5649cc218922 05:07:17 Removing intermediate container 5649cc218922 05:07:17 ---> 4265757bbde5 05:07:17 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:07:17 ---> Running in d7c57c1a256f 05:07:17 Removing intermediate container d7c57c1a256f 05:07:17 ---> 1094ff65dce3 05:07:17 Step 21/23 : LABEL arch=arm64 05:07:17 ---> Running in 8ec7df5551f3 05:07:17 Removing intermediate container 8ec7df5551f3 05:07:17 ---> 4fc62256b930 05:07:17 Step 22/23 : LABEL git_sha=c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 05:07:17 ---> Running in 610722ed2f7b 05:07:18 Removing intermediate container 610722ed2f7b 05:07:18 ---> 9d28aa9f7789 05:07:18 Step 23/23 : LABEL version=3.0.0-dev.67 05:07:18 ---> Running in f637881ad2f7 05:07:18 Removing intermediate container f637881ad2f7 05:07:18 ---> 5f9f25f3e244 05:07:18 [Warning] One or more build-args [ARCH] were not consumed 05:07:18 Successfully built 5f9f25f3e244 05:07: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:07:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:07:19 05:07:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:07:19 arm64: Pulling from edgex-lftools-log-publisher 05:07:19 8998bd30e6a1: Pulling fs layer 05:07:19 04944245beec: Pulling fs layer 05:07:19 699f458cf7ca: Pulling fs layer 05:07:19 765212b225bb: Pulling fs layer 05:07:19 f23df028b6ca: Pulling fs layer 05:07:19 d65c8cfc05b1: Pulling fs layer 05:07:19 2437ff75d9bd: Pulling fs layer 05:07:19 765212b225bb: Waiting 05:07:19 f23df028b6ca: Waiting 05:07:19 d65c8cfc05b1: Waiting 05:07:19 2437ff75d9bd: Waiting 05:07:19 04944245beec: Verifying Checksum 05:07:19 04944245beec: Download complete 05:07:19 765212b225bb: Verifying Checksum 05:07:19 765212b225bb: Download complete 05:07:19 f23df028b6ca: Verifying Checksum 05:07:19 f23df028b6ca: Download complete 05:07:19 d65c8cfc05b1: Verifying Checksum 05:07:19 d65c8cfc05b1: Download complete 05:07:20 699f458cf7ca: Verifying Checksum 05:07:20 699f458cf7ca: Download complete 05:07:20 8998bd30e6a1: Verifying Checksum 05:07:20 8998bd30e6a1: Download complete 05:07:23 2437ff75d9bd: Verifying Checksum 05:07:23 2437ff75d9bd: Download complete 05:07:24 8998bd30e6a1: Pull complete 05:07:25 04944245beec: Pull complete 05:07:26 699f458cf7ca: Pull complete 05:07:26 765212b225bb: Pull complete 05:07:27 f23df028b6ca: Pull complete 05:07:27 d65c8cfc05b1: Pull complete 05:07:42 2437ff75d9bd: Pull complete 05:07:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:07:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:07:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:42 prd-ubuntu20.04-docker-arm64-4c-16g-8508 does not seem to be running inside a container 05:07: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/198 -v /w/workspace/device-sdk-go/198:/w/workspace/device-sdk-go/198:rw,z -v /w/workspace/device-sdk-go/198@tmp:/w/workspace/device-sdk-go/198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:07:45 $ docker top 879c1d3c9d47d36eeb16cb297872929ccc549169c7a46dccb55b59acc796b72b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:45 ---> job-cost.sh 05:07:45 lf-activate-venv: SKIPPING 05:07:45 INFO: No Stack... 05:07:46 INFO: Retrieving Pricing Info for: v3-standard-4 05:07:47 INFO: Archiving Costs [Pipeline] sh 05:07:47 + cat /w/workspace/device-sdk-go/198/archives/cost.csv 05:07:47 + cut -d, -f6 [Pipeline] lock 05:07:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-198-stack-cost] 05:07:47 Resource [jenkins-edgexfoundry-device-sdk-go-main-198-stack-cost] did not exist. Created. 05:07:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-198-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:07:48 /w/workspace/device-sdk-go/198@tmp/durable-1b9d5fe0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:07:48 + echo total: 0.10999999940395355 [Pipeline] stash 05:07:48 Warning: overwriting stash ‘stack-cost’ 05:07:48 Stashed 1 file(s) [Pipeline] } 05:07:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-198-stack-cost] [Pipeline] // lock [Pipeline] } 05:07:48 $ docker stop --time=1 879c1d3c9d47d36eeb16cb297872929ccc549169c7a46dccb55b59acc796b72b 05:07:50 $ docker rm -f --volumes 879c1d3c9d47d36eeb16cb297872929ccc549169c7a46dccb55b59acc796b72b [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:07:50 provisioning config files... 05:07:50 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17470654768248401978tmp [Pipeline] { [Pipeline] sh 05:07:50 + set +x 05:07:50 + curl -s+ https://codecov.io/bash 05:07:50 bash -s -- 05:07:50 05:07:50 _____ _ 05:07:50 / ____| | | 05:07:50 | | ___ __| | ___ ___ _____ __ 05:07:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:07:50 | |___| (_) | (_| | __/ (_| (_) \ V / 05:07:50 \_____\___/ \__,_|\___|\___\___/ \_/ 05:07:50 Bash-1.0.6 05:07:50 05:07:50 05:07:50 ==> git version 2.25.1 found 05:07: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:07:50 Release-Date: 2020-01-08 05:07: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:07:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:07:50 ==> Jenkins CI detected. 05:07:50 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:07:50 project root: . 05:07:50 --> token set from env 05:07:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:07:50 ==> Running gcov in . (disable via -X gcov) 05:07:50 ==> Python coveragepy not found 05:07:50 ==> Searching for coverage reports in: 05:07:50 + . 05:07:51 -> Found 1 reports 05:07:51 ==> Detecting git/mercurial file structure 05:07:51 ==> Reading reports 05:07:51 + ./coverage.out bytes=105947 05:07:51 ==> Appending adjustments 05:07:51 https://docs.codecov.io/docs/fixing-reports 05:07:51 + Found adjustments 05:07:51 ==> Gzipping contents 05:07:51 16K /tmp/codecov.8mSSPm.gz 05:07:51 ==> Uploading reports 05:07:51 url: https://codecov.io 05:07:51 query: branch=main&commit=c527cc18e8dc5ba9098cf404cd39d1fac2754cd9&build=198&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F198%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:07:51 -> Pinging Codecov 05:07: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=c527cc18e8dc5ba9098cf404cd39d1fac2754cd9&build=198&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F198%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:07:51 -> Uploading to 05:07:51 https://storage.googleapis.com/codecov/v4/raw/2023-04-14/7E55EF52A471D76F132DFD9A03CDDE97/c527cc18e8dc5ba9098cf404cd39d1fac2754cd9/6c68a48e-89eb-47e3-87bb-4c0a84799e16.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230414%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230414T050751Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=02ea48253d583eec9bf0785436c300a61bec5e207321cfbfaa455aeb81086f4f 05:07:51 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:51 Dload Upload Total Spent Left Speed 05:07:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14961 0 0 100 14961 0 55003 --:--:-- --:--:-- --:--:-- 55003 05:07:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 [Pipeline] } 05:07:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:07:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:07:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:07:52 05:07:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:07:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:07:53 df9b9388f04a: Pulling fs layer 05:07:53 52dc419b0ee2: Pulling fs layer 05:07:53 25bc292e5bac: Pulling fs layer 05:07:53 114826534d7a: Pulling fs layer 05:07:53 4657fd5d0bcf: Pulling fs layer 05:07:53 6ad1cebc031e: Pulling fs layer 05:07:53 8a3aa393b2d8: Pulling fs layer 05:07:53 4657fd5d0bcf: Waiting 05:07:53 6ad1cebc031e: Waiting 05:07:53 8a3aa393b2d8: Waiting 05:07:53 114826534d7a: Waiting 05:07:53 25bc292e5bac: Verifying Checksum 05:07:53 25bc292e5bac: Download complete 05:07:53 52dc419b0ee2: Download complete 05:07:53 4657fd5d0bcf: Verifying Checksum 05:07:53 4657fd5d0bcf: Download complete 05:07:53 df9b9388f04a: Download complete 05:07:53 6ad1cebc031e: Verifying Checksum 05:07:53 6ad1cebc031e: Download complete 05:07:53 df9b9388f04a: Pull complete 05:07:54 52dc419b0ee2: Pull complete 05:07:54 114826534d7a: Verifying Checksum 05:07:54 114826534d7a: Download complete 05:07:54 8a3aa393b2d8: Verifying Checksum 05:07:54 8a3aa393b2d8: Download complete 05:07:54 25bc292e5bac: Pull complete 05:07:59 114826534d7a: Pull complete 05:07:59 4657fd5d0bcf: Pull complete 05:07:59 6ad1cebc031e: Pull complete 05:08:02 8a3aa393b2d8: Pull complete 05:08:02 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:08:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:08:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:02 prd-ubuntu20.04-docker-8c-8g-8507 does not seem to be running inside a container 05:08:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:08:04 $ docker top 43f99fa385df7e741dbaf4049e9c263f50bda8544bb7c0ef230c049184232e12 -eo pid,comm [Pipeline] { [Pipeline] echo 05:08:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:08:04 + set -o pipefail 05:08:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:09:12 05:09:12 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:09:12 05:09:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/d0e52fdf-c6c0-4c6f-bfd5-cf7cee4c2788 05:09:12 05:09:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:09:12 05:09:12 05:09:12 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:09:12 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:09:12 More details here: https://snyk.co/ue1NS 05:09:12 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 05:09:12 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:09:12 $ docker stop --time=1 43f99fa385df7e741dbaf4049e9c263f50bda8544bb7c0ef230c049184232e12 05:09:13 $ docker rm -f --volumes 43f99fa385df7e741dbaf4049e9c263f50bda8544bb7c0ef230c049184232e12 [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:09:14 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:14 provisioning config files... 05:09:14 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6169311023685979327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:14 --> edgex-publish-swagger.sh 05:09:14 === Publish openapi/v3 API === 05:09:14 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:09:14 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:09:14 % Total % Received % Xferd Average Speed Time Time Time Current 05:09:14 Dload Upload Total Spent Left Speed 05:09:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 33110 --:--:-- --:--:-- --:--:-- 33064 100 23674 0 0 100 23674 0 33110 --:--:-- --:--:-- --:--:-- 33064 05:09:15 05:09:15 [Pipeline] } 05:09:15 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:09:15 + git log --format=format:%s -1 c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 [Pipeline] sh 05:09:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:09:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:09:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:16 prd-ubuntu20.04-docker-8c-8g-8507 does not seem to be running inside a container 05:09:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:09:18 $ docker top ebee01750b50ec13a0b770e3cd8d95b823d8e2d2fc6b5974589860fc1cd4ac2e -eo pid,comm 05:09:18 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:09:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:09:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:18 [ssh-agent] Looking for ssh-agent implementation... 05:09:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:19 $ docker exec ebee01750b50ec13a0b770e3cd8d95b823d8e2d2fc6b5974589860fc1cd4ac2e ssh-agent 05:09:19 SSH_AUTH_SOCK=/tmp/ssh-hdgevjd8gHtO/agent.13 05:09:19 SSH_AGENT_PID=19 05:09:19 Running ssh-add (command line suppressed) 05:09:19 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_366802802486126828.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_366802802486126828.key) 05:09:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:19 + git semver tag 05:09:20 2023-04-14 05:09:19,971 [run_tag] DEBUG tag force:False 05:09:20 2023-04-14 05:09:19,971 [check_head_tag] DEBUG check head tag 05:09:20 2023-04-14 05:09:19,974 [execute] INFO git cat-file --batch-check 05:09:20 2023-04-14 05:09:19,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:09:20 2023-04-14 05:09:19,979 [execute] INFO git cat-file --batch 05:09:20 2023-04-14 05:09:19,979 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:09:20 2023-04-14 05:09:20,017 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:09:20 2023-04-14 05:09:20,018 [execute] INFO git tag -a v3.0.0-dev.67 -m v3.0.0-dev.67 05:09:20 2023-04-14 05:09:20,018 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.67', '-m', 'v3.0.0-dev.67'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:09:20 2023-04-14 05:09:20,023 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:09:20 3.0.0-dev.67 [Pipeline] } 05:09:20 $ docker exec --env ******** --env ******** ebee01750b50ec13a0b770e3cd8d95b823d8e2d2fc6b5974589860fc1cd4ac2e ssh-agent -k 05:09:20 unset SSH_AUTH_SOCK; 05:09:20 unset SSH_AGENT_PID; 05:09:20 echo Agent pid 19 killed; 05:09:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:09:20 + git semver [Pipeline] } 05:09:20 $ docker stop --time=1 ebee01750b50ec13a0b770e3cd8d95b823d8e2d2fc6b5974589860fc1cd4ac2e 05:09:22 $ docker rm -f --volumes ebee01750b50ec13a0b770e3cd8d95b823d8e2d2fc6b5974589860fc1cd4ac2e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:09:23 05:09:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:09:23 0.23.1-centos7: Pulling from edgex-lftools 05:09:23 ab5ef0e58194: Pulling fs layer 05:09:23 9712f1f96733: Pulling fs layer 05:09:23 63f879dbbcfc: Pulling fs layer 05:09:23 0d9ebad4ef96: Pulling fs layer 05:09:23 e9a5061849ea: Pulling fs layer 05:09:23 d747dcd14b5f: Pulling fs layer 05:09:23 2de7ff778b66: Pulling fs layer 05:09:23 e9a5061849ea: Waiting 05:09:23 d747dcd14b5f: Waiting 05:09:23 2de7ff778b66: Waiting 05:09:23 0d9ebad4ef96: Waiting 05:09:23 9712f1f96733: Verifying Checksum 05:09:23 9712f1f96733: Download complete 05:09:23 63f879dbbcfc: Verifying Checksum 05:09:23 63f879dbbcfc: Download complete 05:09:23 e9a5061849ea: Verifying Checksum 05:09:23 e9a5061849ea: Download complete 05:09:23 d747dcd14b5f: Verifying Checksum 05:09:23 d747dcd14b5f: Download complete 05:09:23 0d9ebad4ef96: Verifying Checksum 05:09:23 0d9ebad4ef96: Download complete 05:09:23 ab5ef0e58194: Verifying Checksum 05:09:23 ab5ef0e58194: Download complete 05:09:23 2de7ff778b66: Verifying Checksum 05:09:23 2de7ff778b66: Download complete 05:09:26 ab5ef0e58194: Pull complete 05:09:26 9712f1f96733: Pull complete 05:09:27 63f879dbbcfc: Pull complete 05:09:30 0d9ebad4ef96: Pull complete 05:09:30 e9a5061849ea: Pull complete 05:09:30 d747dcd14b5f: Pull complete 05:09:31 2de7ff778b66: Pull complete 05:09:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:09:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:09:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:31 prd-ubuntu20.04-docker-8c-8g-8507 does not seem to be running inside a container 05:09:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:09:34 $ docker top 47fd1660ab9b7afe24ee4adce6cb770897ce2365cd6326043e89b222e54b1c59 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:09:34 provisioning config files... 05:09:34 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7579438608831580100tmp 05:09:34 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13437136999537786398tmp 05:09:34 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3666171655095581308tmp [Pipeline] { [Pipeline] echo 05:09:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:09:34 ---> sigul-configuration.sh 05:09:34 gpg: directory `/root/.gnupg' created 05:09:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:09:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:09:34 gpg: keyring `/root/.gnupg/secring.gpg' created 05:09:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:09:34 gpg: CAST5 encrypted data 05:09:34 gpg: encrypted with 1 passphrase 05:09:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:09:34 + mkdir /home/jenkins 05:09:34 + mkdir /home/jenkins/sigul [Pipeline] sh 05:09:35 + 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:09:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:09:35 ---> sigul-install.sh 05:09:35 Sigul already installed; skipping installation. [Pipeline] sh 05:09:35 + git tag --list 05:09:35 0.7.1 05:09:35 delhi-tag 05:09:35 v1.0.0 05:09:35 v1.1.0 05:09:35 v1.1.1 05:09:35 v1.1.2 05:09:35 v1.2.0 05:09:35 v1.2.1 05:09:35 v1.2.2 05:09:35 v1.2.3 05:09:35 v1.3.0 05:09:35 v1.4.0 05:09:35 v2.0.0 05:09:35 v2.1.0 05:09:35 v2.1.1 05:09:35 v2.1.1-dev.2 05:09:35 v2.1.1-dev.3 05:09:35 v2.2.0 05:09:35 v2.2.1-dev.1 05:09:35 v2.2.1-dev.10 05:09:35 v2.2.1-dev.11 05:09:35 v2.2.1-dev.12 05:09:35 v2.2.1-dev.13 05:09:35 v2.2.1-dev.14 05:09:35 v2.2.1-dev.2 05:09:35 v2.2.1-dev.3 05:09:35 v2.2.1-dev.4 05:09:35 v2.2.1-dev.5 05:09:35 v2.2.1-dev.6 05:09:35 v2.2.1-dev.7 05:09:35 v2.2.1-dev.8 05:09:35 v2.2.1-dev.9 05:09:35 v2.3.0 05:09:35 v2.3.0-dev.14 05:09:35 v2.3.0-dev.15 05:09:35 v2.3.0-dev.16 05:09:35 v2.3.0-dev.17 05:09:35 v2.3.0-dev.18 05:09:35 v2.3.0-dev.19 05:09:35 v2.3.0-dev.20 05:09:35 v2.3.0-dev.21 05:09:35 v2.3.0-dev.22 05:09:35 v2.3.0-dev.23 05:09:35 v2.3.0-dev.24 05:09:35 v2.3.0-dev.25 05:09:35 v2.3.0-dev.26 05:09:35 v2.3.0-dev.27 05:09:35 v2.3.0-dev.28 05:09:35 v2.3.0-dev.29 05:09:35 v2.3.0-dev.30 05:09:35 v2.3.0-dev.31 05:09:35 v2.3.0-dev.32 05:09:35 v2.3.0-dev.33 05:09:35 v2.3.0-dev.34 05:09:35 v2.3.0-dev.35 05:09:35 v2.3.0-dev.36 05:09:35 v2.3.0-dev.37 05:09:35 v2.3.0-dev.38 05:09:35 v2.3.0-dev.39 05:09:35 v2.3.0-dev.40 05:09:35 v2.3.0-dev.41 05:09:35 v2.3.0-dev.42 05:09:35 v2.3.0-dev.43 05:09:35 v2.3.0-dev.44 05:09:35 v2.3.0-dev.45 05:09:35 v2.3.0-dev.46 05:09:35 v2.3.0-dev.47 05:09:35 v2.3.0-dev.48 05:09:35 v2.3.0-dev.49 05:09:35 v2.3.0-dev.50 05:09:35 v2.3.0-dev.51 05:09:35 v2.3.1 05:09:35 v2.3.1-dev.1 05:09:35 v2.3.1-dev.2 05:09:35 v2.3.1-dev.3 05:09:35 v2.3.1-dev.4 05:09:35 v3.0.0-dev.1 05:09:35 v3.0.0-dev.10 05:09:35 v3.0.0-dev.11 05:09:35 v3.0.0-dev.12 05:09:35 v3.0.0-dev.13 05:09:35 v3.0.0-dev.14 05:09:35 v3.0.0-dev.15 05:09:35 v3.0.0-dev.16 05:09:35 v3.0.0-dev.17 05:09:35 v3.0.0-dev.18 05:09:35 v3.0.0-dev.19 05:09:35 v3.0.0-dev.2 05:09:35 v3.0.0-dev.20 05:09:35 v3.0.0-dev.21 05:09:35 v3.0.0-dev.22 05:09:35 v3.0.0-dev.23 05:09:35 v3.0.0-dev.24 05:09:35 v3.0.0-dev.25 05:09:35 v3.0.0-dev.26 05:09:35 v3.0.0-dev.27 05:09:35 v3.0.0-dev.28 05:09:35 v3.0.0-dev.29 05:09:35 v3.0.0-dev.3 05:09:35 v3.0.0-dev.30 05:09:35 v3.0.0-dev.31 05:09:35 v3.0.0-dev.32 05:09:35 v3.0.0-dev.33 05:09:35 v3.0.0-dev.34 05:09:35 v3.0.0-dev.35 05:09:35 v3.0.0-dev.36 05:09:35 v3.0.0-dev.37 05:09:35 v3.0.0-dev.38 05:09:35 v3.0.0-dev.39 05:09:35 v3.0.0-dev.4 05:09:35 v3.0.0-dev.40 05:09:35 v3.0.0-dev.41 05:09:35 v3.0.0-dev.42 05:09:35 v3.0.0-dev.43 05:09:35 v3.0.0-dev.44 05:09:35 v3.0.0-dev.45 05:09:35 v3.0.0-dev.46 05:09:35 v3.0.0-dev.47 05:09:35 v3.0.0-dev.48 05:09:35 v3.0.0-dev.49 05:09:35 v3.0.0-dev.5 05:09:35 v3.0.0-dev.50 05:09:35 v3.0.0-dev.51 05:09:35 v3.0.0-dev.52 05:09:35 v3.0.0-dev.53 05:09:35 v3.0.0-dev.54 05:09:35 v3.0.0-dev.55 05:09:35 v3.0.0-dev.56 05:09:35 v3.0.0-dev.57 05:09:35 v3.0.0-dev.58 05:09:35 v3.0.0-dev.59 05:09:35 v3.0.0-dev.6 05:09:35 v3.0.0-dev.60 05:09:35 v3.0.0-dev.61 05:09:35 v3.0.0-dev.62 05:09:35 v3.0.0-dev.63 05:09:35 v3.0.0-dev.64 05:09:35 v3.0.0-dev.65 05:09:35 v3.0.0-dev.66 05:09:35 v3.0.0-dev.67 05:09:35 v3.0.0-dev.7 05:09:35 v3.0.0-dev.8 05:09:35 v3.0.0-dev.9 [Pipeline] sh 05:09:35 + lftools sign git-tag v3.0.0-dev.67 05:09:36 Signing Git tag with Sigul... 05:09:36 Signing v3.0.0-dev.67 [Pipeline] echo 05:09:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:09:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:09:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:09:37 $ docker stop --time=1 47fd1660ab9b7afe24ee4adce6cb770897ce2365cd6326043e89b222e54b1c59 05:09:38 $ docker rm -f --volumes 47fd1660ab9b7afe24ee4adce6cb770897ce2365cd6326043e89b222e54b1c59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:09:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:09:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:09:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:39 prd-ubuntu20.04-docker-8c-8g-8507 does not seem to be running inside a container 05:09:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:09:39 $ docker top e662d60480d6b7fc30cf1422a8e5e7674391217fa761c33ca7c5bca8b25b9030 -eo pid,comm 05:09: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:09:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:09:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:39 [ssh-agent] Looking for ssh-agent implementation... 05:09:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:39 $ docker exec e662d60480d6b7fc30cf1422a8e5e7674391217fa761c33ca7c5bca8b25b9030 ssh-agent 05:09:39 SSH_AUTH_SOCK=/tmp/ssh-pCRepsRTHYfK/agent.32 05:09:39 SSH_AGENT_PID=38 05:09:39 Running ssh-add (command line suppressed) 05:09:39 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4844255644965200023.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4844255644965200023.key) 05:09:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:40 + git semver bump pre 05:09:40 2023-04-14 05:09:40,442 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:09:40 2023-04-14 05:09:40,442 [bump_version] DEBUG bumping version:3.0.0-dev.67 on axis:pre with prefix:dev 05:09:40 2023-04-14 05:09:40,442 [bump_version] DEBUG bumped version:3.0.0-dev.68 05:09:40 2023-04-14 05:09:40,442 [write_version] DEBUG write version:3.0.0-dev.68 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:09:40 2023-04-14 05:09:40,442 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:09:40 2023-04-14 05:09:40,443 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:09:40 2023-04-14 05:09:40,444 [execute] INFO git cat-file --batch-check 05:09:40 2023-04-14 05:09:40,444 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:09:40 2023-04-14 05:09:40,449 [execute] INFO git cat-file --batch 05:09:40 2023-04-14 05:09:40,450 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:09:40 2023-04-14 05:09:40,455 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:09:40 3.0.0-dev.68 [Pipeline] } 05:09:40 $ docker exec --env ******** --env ******** e662d60480d6b7fc30cf1422a8e5e7674391217fa761c33ca7c5bca8b25b9030 ssh-agent -k 05:09:40 unset SSH_AUTH_SOCK; 05:09:40 unset SSH_AGENT_PID; 05:09:40 echo Agent pid 38 killed; 05:09:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:09:40 + git semver [Pipeline] } 05:09:41 $ docker stop --time=1 e662d60480d6b7fc30cf1422a8e5e7674391217fa761c33ca7c5bca8b25b9030 05:09:42 $ docker rm -f --volumes e662d60480d6b7fc30cf1422a8e5e7674391217fa761c33ca7c5bca8b25b9030 [Pipeline] // withDockerContainer [Pipeline] sh 05:09:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:09:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:09:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:43 prd-ubuntu20.04-docker-8c-8g-8507 does not seem to be running inside a container 05:09:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:09:43 $ docker top a28be4a028d19353c4312c2892083b023ce2abeee274106214e117ef72bff858 -eo pid,comm 05:09: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:09:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:09:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:43 [ssh-agent] Looking for ssh-agent implementation... 05:09:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:43 $ docker exec a28be4a028d19353c4312c2892083b023ce2abeee274106214e117ef72bff858 ssh-agent 05:09:43 SSH_AUTH_SOCK=/tmp/ssh-ELRR6jU4WoIS/agent.32 05:09:43 SSH_AGENT_PID=38 05:09:43 Running ssh-add (command line suppressed) 05:09:43 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10880056362382541923.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10880056362382541923.key) 05:09:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:44 + git semver push 05:09:44 2023-04-14 05:09:44,464 [run_push] DEBUG push 05:09:44 2023-04-14 05:09:44,465 [execute] INFO git cat-file --batch-check 05:09:44 2023-04-14 05:09:44,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:09:44 2023-04-14 05:09:44,468 [execute] INFO git rev-list 6c3e6d1fb4682ee606895589a037e6b8baaed120 -- 05:09:44 2023-04-14 05:09:44,468 [execute] DEBUG Popen(['git', 'rev-list', '6c3e6d1fb4682ee606895589a037e6b8baaed120', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:09:44 2023-04-14 05:09:44,481 [execute] INFO git fetch -v origin 05:09:44 2023-04-14 05:09:44,481 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:09:45 2023-04-14 05:09:44,945 [run_push] DEBUG no remote changes detected 05:09:45 2023-04-14 05:09:44,945 [execute] INFO git push origin semver 05:09:45 2023-04-14 05:09:44,946 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:09:46 2023-04-14 05:09:45,826 [run_push] DEBUG push all version tags 05:09:46 2023-04-14 05:09:45,826 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:09:46 2023-04-14 05:09:45,827 [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:09:47 2023-04-14 05:09:46,774 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:09:47 3.0.0-dev.68 [Pipeline] } 05:09:47 $ docker exec --env ******** --env ******** a28be4a028d19353c4312c2892083b023ce2abeee274106214e117ef72bff858 ssh-agent -k 05:09:47 unset SSH_AUTH_SOCK; 05:09:47 unset SSH_AGENT_PID; 05:09:47 echo Agent pid 38 killed; 05:09:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:09:47 + git semver [Pipeline] } 05:09:47 $ docker stop --time=1 a28be4a028d19353c4312c2892083b023ce2abeee274106214e117ef72bff858 05:09:48 $ docker rm -f --volumes a28be4a028d19353c4312c2892083b023ce2abeee274106214e117ef72bff858 [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:09:49 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:09:49 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:09:49 total 16 05:09:49 drwxr-xr-x 3 root root 4096 Apr 14 04:57 . 05:09:49 drwxrwxr-x 12 jenkins jenkins 4096 Apr 14 05:09 .. 05:09:49 drwxr-xr-x 2 root root 4096 Apr 14 04:57 cost 05:09:49 -rw-r--r-- 1 root root 85 Apr 14 04:57 cost.csv 05:09:49 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:09:49 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:09:49 total 16 05:09:49 drwxr-xr-x 3 jenkins jenkins 4096 Apr 14 04:57 . 05:09:49 drwxrwxr-x 12 jenkins jenkins 4096 Apr 14 05:09 .. 05:09:49 drwxr-xr-x 2 jenkins jenkins 4096 Apr 14 04:57 cost 05:09:49 -rw-r--r-- 1 jenkins jenkins 85 Apr 14 04:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:09:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:09:50 ---> package-listing.sh 05:09:50 ++ facter osfamily 05:09:50 ++ tr '[:upper:]' '[:lower:]' 05:09:51 + OS_FAMILY=debian 05:09:51 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:09:51 + START_PACKAGES=/tmp/packages_start.txt 05:09:51 + END_PACKAGES=/tmp/packages_end.txt 05:09:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:09:51 + PACKAGES=/tmp/packages_start.txt 05:09:51 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:09:51 + PACKAGES=/tmp/packages_end.txt 05:09:51 + case "${OS_FAMILY}" in 05:09:51 + dpkg -l 05:09:51 + grep '^ii' 05:09:51 + '[' -f /tmp/packages_start.txt ']' 05:09:51 + '[' -f /tmp/packages_end.txt ']' 05:09:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:09:51 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:09:51 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:09:51 + 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:09:51 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:09:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:09:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:51 prd-ubuntu20.04-docker-8c-8g-8507 does not seem to be running inside a container 05:09: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:09:52 $ docker top b716ec1b8fdfc01fe4882c7bbb3188450cb7b171c1a59bc0738a6a13e602d5e5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:52 + touch /tmp/pre-build-complete [Pipeline] sh 05:09:52 + mkdir -p /var/log/sysstat [Pipeline] sh 05:09:52 + ls /var/log/sa-host 05:09:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:53 provisioning config files... 05:09:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16270866629027298867tmp [Pipeline] { [Pipeline] echo 05:09:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:09:53 ---> create-netrc.sh [Pipeline] } 05:09:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:09:53 ---> python-tools-install.sh [Pipeline] echo 05:09:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:09:54 ---> sudo-logs.sh 05:09:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:09:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:09:54 ---> job-cost.sh 05:09:54 lf-activate-venv: SKIPPING 05:09:54 DEBUG: total: 0.2199999988079071 05:09:54 INFO: Retrieving Stack Cost... 05:09:54 INFO: Retrieving Pricing Info for: v3-standard-8 05:09:55 INFO: Archiving Costs [Pipeline] echo 05:09:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:09:55 ---> logs-deploy.sh 05:09:55 lf-activate-venv: SKIPPING 05:09:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/198 05:09:55 INFO: archiving workspace using pattern(s): 05:09:56 Archives upload complete. 05:09:56 INFO: archiving logs to Nexus