Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e90a65424e653825a35d2be9f99c695c2eda6bdd 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-ssh9123263246714550428.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-ssh12192976508389548246.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-ssh17596817265092162125.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-ssh3567356158914946653.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-ssh7769941226432357935.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8694 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e90a65424e653825a35d2be9f99c695c2eda6bdd (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e90a65424e653825a35d2be9f99c695c2eda6bdd # timeout=10 Commit message: "fix: update regex resourceName match logic (#1420)" > git rev-list --no-walk c527cc18e8dc5ba9098cf404cd39d1fac2754cd9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:38:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:38:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:38:24 ========================================================= 06:38:24 EdgeX Global Pipelines Version Info 06:38:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:38:24 ------------------- 06:38:24 stable info: 06:38:24 ------------------- 06:38:24 Commited By: Bill Mahoney bill.mahoney@intel.com 06:38:24 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:38:24 Message: update stable to v1.0.248 06:38:25 ------------------- 06:38:25 experimental info: 06:38:25 ------------------- 06:38:25 Commited By: **** collab-it+edgex@linuxfoundation.org 06:38:25 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:38:25 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e90a65424e653825a35d2be9f99c695c2eda6bdd [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e90a654 [Pipeline] echo 06:38:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:38:26 provisioning config files... 06:38:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7789413674309806605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:38:26 ---> docker-login.sh 06:38:26 nexus3.edgexfoundry.org:10001 06:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:26 Configure a credential helper to remove this warning. See 06:38:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:26 06:38:26 Login Succeeded 06:38:26 nexus3.edgexfoundry.org:10002 06:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:26 Configure a credential helper to remove this warning. See 06:38:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:26 06:38:26 Login Succeeded 06:38:26 nexus3.edgexfoundry.org:10003 06:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:26 Configure a credential helper to remove this warning. See 06:38:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:26 06:38:26 Login Succeeded 06:38:26 nexus3.edgexfoundry.org:10004 06:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:26 Configure a credential helper to remove this warning. See 06:38:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:26 06:38:26 Login Succeeded 06:38:26 docker.io 06:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:27 Configure a credential helper to remove this warning. See 06:38:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:27 06:38:27 Login Succeeded 06:38:27 ---> docker-login.sh ends [Pipeline] } 06:38:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:38:27 + git rev-list -1 --merges e90a65424e653825a35d2be9f99c695c2eda6bdd~1..e90a65424e653825a35d2be9f99c695c2eda6bdd [Pipeline] echo 06:38:27 -----------> git rev-list -1 --merges e90a65424e653825a35d2be9f99c695c2eda6bdd~1..e90a65424e653825a35d2be9f99c695c2eda6bdd e90a65424e653825a35d2be9f99c695c2eda6bdd [false] [Pipeline] sh 06:38:27 + git log --format=format:%s -1 e90a65424e653825a35d2be9f99c695c2eda6bdd [Pipeline] echo 06:38:27 ========================================================= 06:38:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:38:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:38:28 + git log --format=format:%s -1 e90a65424e653825a35d2be9f99c695c2eda6bdd [Pipeline] echo 06:38:28 [semverPrep] GIT_COMMIT: e90a65424e653825a35d2be9f99c695c2eda6bdd, Commit Message: fix: update regex resourceName match logic (#1420) [Pipeline] echo 06:38:28 [semverPrep] This is not a build commit. [Pipeline] sh 06:38:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:38:28 + grep -v github /etc/ssh/ssh_known_hosts 06:38:28 + [ -e /tmp/ssh_known_hosts ] 06:38:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:38:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:38:28 + sudo tee -a /etc/ssh/ssh_known_hosts 06:38:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:38:28 06:38:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:38:29 0.1.4: Pulling from edgex-devops/py-git-semver 06:38:29 b85a868b505f: Pulling fs layer 06:38:29 e2be974225ed: Pulling fs layer 06:38:29 339a4e72a1f5: Pulling fs layer 06:38:29 988bab9f4d93: Pulling fs layer 06:38:29 1469e6f7b9e6: Pulling fs layer 06:38:29 eaf3925da568: Pulling fs layer 06:38:29 bab4dde63d76: Pulling fs layer 06:38:29 bde34c3a00c8: Pulling fs layer 06:38:29 b352a97aabf1: Pulling fs layer 06:38:29 4872d77fe225: Pulling fs layer 06:38:29 5851b861e8e6: Pulling fs layer 06:38:29 bab4dde63d76: Waiting 06:38:29 bde34c3a00c8: Waiting 06:38:29 4872d77fe225: Waiting 06:38:29 988bab9f4d93: Waiting 06:38:29 1469e6f7b9e6: Waiting 06:38:29 5851b861e8e6: Waiting 06:38:29 eaf3925da568: Waiting 06:38:29 b352a97aabf1: Waiting 06:38:29 e2be974225ed: Verifying Checksum 06:38:29 e2be974225ed: Download complete 06:38:29 988bab9f4d93: Verifying Checksum 06:38:29 988bab9f4d93: Download complete 06:38:29 339a4e72a1f5: Verifying Checksum 06:38:29 339a4e72a1f5: Download complete 06:38:29 1469e6f7b9e6: Verifying Checksum 06:38:29 1469e6f7b9e6: Download complete 06:38:29 eaf3925da568: Verifying Checksum 06:38:29 eaf3925da568: Download complete 06:38:29 bde34c3a00c8: Verifying Checksum 06:38:29 bde34c3a00c8: Download complete 06:38:29 b352a97aabf1: Verifying Checksum 06:38:29 b352a97aabf1: Download complete 06:38:29 4872d77fe225: Verifying Checksum 06:38:29 4872d77fe225: Download complete 06:38:29 5851b861e8e6: Download complete 06:38:29 b85a868b505f: Verifying Checksum 06:38:29 b85a868b505f: Download complete 06:38:29 bab4dde63d76: Verifying Checksum 06:38:29 bab4dde63d76: Download complete 06:38:30 b85a868b505f: Pull complete 06:38:30 e2be974225ed: Pull complete 06:38:31 339a4e72a1f5: Pull complete 06:38:31 988bab9f4d93: Pull complete 06:38:31 1469e6f7b9e6: Pull complete 06:38:31 eaf3925da568: Pull complete 06:38:33 bab4dde63d76: Pull complete 06:38:33 bde34c3a00c8: Pull complete 06:38:33 b352a97aabf1: Pull complete 06:38:33 4872d77fe225: Pull complete 06:38:33 5851b861e8e6: Pull complete 06:38:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:38:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:38:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:38:33 prd-ubuntu20.04-docker-8c-8g-8694 does not seem to be running inside a container 06:38:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:38:35 $ docker top bc6192ddd27fb5d0509321a3783b975e4bc794f0d0ca1158dff2dc1b4ef877e8 -eo pid,comm 06:38:35 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). 06:38:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:38:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:38:35 [ssh-agent] Looking for ssh-agent implementation... 06:38:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:38:35 $ docker exec bc6192ddd27fb5d0509321a3783b975e4bc794f0d0ca1158dff2dc1b4ef877e8 ssh-agent 06:38:35 SSH_AUTH_SOCK=/tmp/ssh-4UkU2g8DpwTV/agent.32 06:38:35 SSH_AGENT_PID=38 06:38:35 Running ssh-add (command line suppressed) 06:38:35 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6105838566856421956.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6105838566856421956.key) 06:38:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:38:35 + git tag --points-at HEAD [Pipeline] } 06:38:35 $ docker exec --env ******** --env ******** bc6192ddd27fb5d0509321a3783b975e4bc794f0d0ca1158dff2dc1b4ef877e8 ssh-agent -k 06:38:35 unset SSH_AUTH_SOCK; 06:38:35 unset SSH_AGENT_PID; 06:38:35 echo Agent pid 38 killed; 06:38:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:38:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:38:35 [ssh-agent] Looking for ssh-agent implementation... 06:38:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:38:36 $ docker exec bc6192ddd27fb5d0509321a3783b975e4bc794f0d0ca1158dff2dc1b4ef877e8 ssh-agent 06:38:36 SSH_AUTH_SOCK=/tmp/ssh-EwUzqYDlUFBd/agent.70 06:38:36 SSH_AGENT_PID=76 06:38:36 Running ssh-add (command line suppressed) 06:38:36 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13980717589400169620.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13980717589400169620.key) 06:38:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:38:36 + git semver init 06:38:36 2023-04-17 06:38:36,781 [run_init] DEBUG init version:0.0.0 force:False 06:38:36 2023-04-17 06:38:36,783 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:38:36 2023-04-17 06:38:36,783 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:38:36 2023-04-17 06:38:36,783 [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) 06:38:37 2023-04-17 06:38:37,626 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 06:38:37 2023-04-17 06:38:37,627 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 06:38:37 2023-04-17 06:38:37,627 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:38:37 2023-04-17 06:38:37,627 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:38:37 3.0.0-dev.68 [Pipeline] } 06:38:37 $ docker exec --env ******** --env ******** bc6192ddd27fb5d0509321a3783b975e4bc794f0d0ca1158dff2dc1b4ef877e8 ssh-agent -k 06:38:37 unset SSH_AUTH_SOCK; 06:38:37 unset SSH_AGENT_PID; 06:38:37 echo Agent pid 76 killed; 06:38:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:38:38 + git semver [Pipeline] } 06:38:38 $ docker stop --time=1 bc6192ddd27fb5d0509321a3783b975e4bc794f0d0ca1158dff2dc1b4ef877e8 06:38:39 $ docker rm -f --volumes bc6192ddd27fb5d0509321a3783b975e4bc794f0d0ca1158dff2dc1b4ef877e8 [Pipeline] // withDockerContainer [Pipeline] sh 06:38:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:38:40 Stashed 1 file(s) [Pipeline] echo 06:38:40 [edgeXSemver]: initialized semver on version 3.0.0-dev.68 [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 06:38:40 provisioning config files... 06:38:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1893905808310298374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:38:40 ---> docker-login.sh 06:38:40 nexus3.edgexfoundry.org:10001 06:38:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:40 Configure a credential helper to remove this warning. See 06:38:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:40 06:38:40 Login Succeeded 06:38:40 nexus3.edgexfoundry.org:10002 06:38:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:40 Configure a credential helper to remove this warning. See 06:38:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:40 06:38:40 Login Succeeded 06:38:40 nexus3.edgexfoundry.org:10003 06:38:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:41 Configure a credential helper to remove this warning. See 06:38:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:41 06:38:41 Login Succeeded 06:38:41 nexus3.edgexfoundry.org:10004 06:38:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:41 Configure a credential helper to remove this warning. See 06:38:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:41 06:38:41 Login Succeeded 06:38:41 docker.io 06:38:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:41 Configure a credential helper to remove this warning. See 06:38:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:41 06:38:41 Login Succeeded 06:38:41 ---> docker-login.sh ends [Pipeline] } 06:38:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:38:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:38:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:38:41 ========================================================= 06:38:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:38:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:41 + 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 . 06:38:41 Sending build context to Docker daemon 10.95MB 06:38:41 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:38:41 Step 2/10 : FROM ${BASE} AS builder 06:38:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:38:41 63b65145d645: Pulling fs layer 06:38:41 a2d21d5440eb: Pulling fs layer 06:38:41 935e6c44a52c: Pulling fs layer 06:38:41 94cc34f8dd06: Pulling fs layer 06:38:41 30dea6a524f1: Pulling fs layer 06:38:41 a2aff8979fd8: Pulling fs layer 06:38:41 6808be2612f2: Pulling fs layer 06:38:41 f25807f1079a: Pulling fs layer 06:38:41 30dea6a524f1: Waiting 06:38:41 a2aff8979fd8: Waiting 06:38:41 94cc34f8dd06: Waiting 06:38:41 f25807f1079a: Waiting 06:38:41 a2d21d5440eb: Verifying Checksum 06:38:41 a2d21d5440eb: Download complete 06:38:41 94cc34f8dd06: Verifying Checksum 06:38:41 94cc34f8dd06: Download complete 06:38:41 30dea6a524f1: Verifying Checksum 06:38:41 63b65145d645: Verifying Checksum 06:38:41 63b65145d645: Download complete 06:38:41 a2aff8979fd8: Verifying Checksum 06:38:41 a2aff8979fd8: Download complete 06:38:42 63b65145d645: Pull complete 06:38:42 f25807f1079a: Verifying Checksum 06:38:42 f25807f1079a: Download complete 06:38:42 a2d21d5440eb: Pull complete 06:38:42 935e6c44a52c: Verifying Checksum 06:38:42 935e6c44a52c: Download complete 06:38:43 6808be2612f2: Verifying Checksum 06:38:43 6808be2612f2: Download complete 06:38:46 935e6c44a52c: Pull complete 06:38:46 94cc34f8dd06: Pull complete 06:38:46 30dea6a524f1: Pull complete 06:38:47 a2aff8979fd8: Pull complete 06:38:49 6808be2612f2: Pull complete 06:38:51 f25807f1079a: Pull complete 06:38:51 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:38:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:38:51 ---> 3b553350e43f 06:38:51 Step 3/10 : ARG MAKE=make build 06:38:55 Still waiting to schedule task 06:38:55 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8692’ 06:38:59 ---> Running in 49c41ede4087 06:38:59 Removing intermediate container 49c41ede4087 06:38:59 ---> e016f75ecad3 06:38:59 Step 4/10 : WORKDIR /device-sdk-go 06:38:59 ---> Running in 5ce243537f6c 06:39:01 Removing intermediate container 5ce243537f6c 06:39:01 ---> e935239d48f4 06:39:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:39:01 ---> Running in 239a7ccc1891 06:39:02 Removing intermediate container 239a7ccc1891 06:39:02 ---> eb6aa491f280 06:39:02 Step 6/10 : RUN apk add --update --no-cache make git 06:39:03 ---> Running in 4e019551926c 06:39:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:39:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:39:04 OK: 265 MiB in 53 packages 06:39:06 Removing intermediate container 4e019551926c 06:39:06 ---> aaedc8bb2233 06:39:06 Step 7/10 : COPY go.mod vendor* ./ 06:39:06 ---> 3e00712eb73b 06:39:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:39:06 ---> Running in 4356ab08951f 06:39:53 Removing intermediate container 4356ab08951f 06:39:53 ---> 6f77be2f5dbc 06:39:53 Step 9/10 : COPY . . 06:39:53 ---> 7723c41a46de 06:39:53 Step 10/10 : RUN ${MAKE} 06:39:53 ---> Running in f55c144859ce 06:39:54 noop 06:39:54 Removing intermediate container f55c144859ce 06:39:54 ---> bc06f2e4859c 06:39:54 Successfully built bc06f2e4859c 06:39:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:55 + docker inspect -f . ci-base-image-x86_64 06:39:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:55 prd-ubuntu20.04-docker-8c-8g-8694 does not seem to be running inside a container 06:39:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:39:55 $ docker top 2527adab7063b6e73959884342e65a05c2f7e9297f7a984171108aba12cccaba -eo pid,comm [Pipeline] { [Pipeline] sh 06:39:55 + go version 06:39:55 go version go1.20.2 linux/amd64 [Pipeline] } 06:39:55 $ docker stop --time=1 2527adab7063b6e73959884342e65a05c2f7e9297f7a984171108aba12cccaba 06:39:57 $ docker rm -f --volumes 2527adab7063b6e73959884342e65a05c2f7e9297f7a984171108aba12cccaba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:57 + docker inspect -f . ci-base-image-x86_64 06:39:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:57 prd-ubuntu20.04-docker-8c-8g-8694 does not seem to be running inside a container 06:39:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:39:57 $ docker top 4d724f9750824e12da873cc0377afbbffbbf3a5286cd19647434addda9a410fb -eo pid,comm [Pipeline] { [Pipeline] sh 06:39:58 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 06:39:58 + make test 06:39:58 go test -race -coverprofile=coverage.out ./... 06:40:05 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:40:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:40:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:40:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:40:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:40:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:40:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.047s coverage: 27.6% of statements 06:40:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:40:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:40:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.064s coverage: 80.2% of statements 06:40:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.084s coverage: 86.0% of statements 06:40:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:40:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 06:40:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.089s coverage: 77.5% of statements 06:40:20 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:40:20 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:40:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:40:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.063s coverage: 14.6% of statements 06:40:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.068s coverage: 68.5% of statements 06:40:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.110s coverage: 89.2% of statements 06:40:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements 06:40:41 GO111MODULE=on go vet ./... 06:40:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:40:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:40:45 ./bin/test-attribution-txt.sh [Pipeline] echo 06:40:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:40:45 $ docker stop --time=1 4d724f9750824e12da873cc0377afbbffbbf3a5286cd19647434addda9a410fb 06:40:49 $ docker rm -f --volumes 4d724f9750824e12da873cc0377afbbffbbf3a5286cd19647434addda9a410fb [Pipeline] // withDockerContainer [Pipeline] sh 06:40:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:40:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:40:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:40:51 + ls -al . 06:40:51 total 272 06:40:51 drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 06:39 . 06:40:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 06:38 .. 06:40:51 -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 06:38 .dockerignore 06:40:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 06:38 .git 06:40:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 06:38 .github 06:40:51 -rw-rw-r-- 1 jenkins jenkins 131 Apr 17 06:38 .gitignore 06:40:51 -rw-rw-r-- 1 jenkins jenkins 42 Apr 17 06:38 .golangci.yml 06:40:51 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 06:38 .semver 06:40:51 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 17 06:38 CHANGELOG.md 06:40:51 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 06:38 GOVERNANCE.md 06:40:51 -rw-rw-r-- 1 jenkins jenkins 885 Apr 17 06:38 Jenkinsfile 06:40:51 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 17 06:38 LICENSE 06:40:51 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 17 06:38 Makefile 06:40:51 -rw-rw-r-- 1 jenkins jenkins 619 Apr 17 06:38 OWNERS.md 06:40:51 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 17 06:38 README.md 06:40:51 -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 06:38 VERSION 06:40:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 06:38 bin 06:40:51 -rw-r--r-- 1 jenkins jenkins 106119 Apr 17 06:40 coverage.out 06:40:51 drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 06:38 example 06:40:51 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 17 06:38 go.mod 06:40:51 -rw-rw-r-- 1 jenkins jenkins 31006 Apr 17 06:38 go.sum 06:40:51 drwxrwxr-x 12 jenkins jenkins 4096 Apr 17 06:38 internal 06:40:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 06:38 openapi 06:40:51 drwxrwxr-x 6 jenkins jenkins 4096 Apr 17 06:38 pkg 06:40:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 06:38 snap 06:40:51 -rw-rw-r-- 1 jenkins jenkins 222 Apr 17 06:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:51 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=e90a65424e653825a35d2be9f99c695c2eda6bdd --label arch=amd64 --label version=3.0.0-dev.68 . 06:40:51 Sending build context to Docker daemon 11.06MB 06:40:51 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 06:40:51 Step 2/23 : FROM ${BASE} AS builder 06:40:51 ---> bc06f2e4859c 06:40:51 Step 3/23 : ARG MAKE=make build 06:40:51 ---> Running in 4a1f2c547954 06:40:52 Removing intermediate container 4a1f2c547954 06:40:52 ---> 76514c37d5e8 06:40:52 Step 4/23 : WORKDIR /device-sdk-go 06:40:52 ---> Running in 382341d42be5 06:40:52 Removing intermediate container 382341d42be5 06:40:52 ---> c038bc9d74ba 06:40:52 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:40:52 ---> Running in 736b730a60e5 06:40:53 Removing intermediate container 736b730a60e5 06:40:53 ---> 37f24cda280d 06:40:53 Step 6/23 : RUN apk add --update --no-cache make git 06:40:53 ---> Running in 3360f40cbf81 06:40:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:40:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:40:54 OK: 265 MiB in 53 packages 06:40:54 Removing intermediate container 3360f40cbf81 06:40:54 ---> be59f13eb98e 06:40:54 Step 7/23 : COPY go.mod vendor* ./ 06:40:54 ---> 7a8d1e3a8676 06:40:54 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:40:54 ---> Running in 62313775d5ad 06:40:55 Removing intermediate container 62313775d5ad 06:40:55 ---> d07472822b55 06:40:55 Step 9/23 : COPY . . 06:40:55 ---> 6dffa808ab58 06:40:55 Step 10/23 : RUN ${MAKE} 06:40:55 ---> Running in d572e30e1d00 06:40:56 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.68" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:41:14 Removing intermediate container d572e30e1d00 06:41:14 ---> 4f50d867b80a 06:41:14 Step 11/23 : FROM alpine:3.17 06:41:14 3.17: Pulling from library/alpine 06:41:14 f56be85fc22e: Pulling fs layer 06:41:14 f56be85fc22e: Download complete 06:41:14 f56be85fc22e: Pull complete 06:41:14 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:41:14 Status: Downloaded newer image for alpine:3.17 06:41:14 ---> 9ed4aefc74f6 06:41:14 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:41:14 ---> Running in 3df586e9c446 06:41:14 Removing intermediate container 3df586e9c446 06:41:14 ---> 6efa8448df23 06:41:14 Step 13/23 : RUN apk add --update --no-cache 06:41:14 ---> Running in 7f3e079c7766 06:41:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:41:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:41:14 OK: 7 MiB in 15 packages 06:41:14 Removing intermediate container 7f3e079c7766 06:41:14 ---> ab621f30ae71 06:41:14 Step 14/23 : WORKDIR / 06:41:14 ---> Running in 079f53d4e487 06:41:14 Removing intermediate container 079f53d4e487 06:41:14 ---> b1937bef2bd7 06:41:14 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:41:14 ---> 3c51375a9e6a 06:41:14 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:41:14 ---> be3bc2454b25 06:41:14 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:41:14 ---> dc936f59e9cd 06:41:14 Step 18/23 : EXPOSE 59999 06:41:14 ---> Running in 5e00b1ed189f 06:41:14 Removing intermediate container 5e00b1ed189f 06:41:14 ---> 1358fdf9b2ad 06:41:14 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:41:14 ---> Running in 6e6a659f31b2 06:41:14 Removing intermediate container 6e6a659f31b2 06:41:14 ---> 7ec1b188156c 06:41:14 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:41:14 ---> Running in fc288d7d00e2 06:41:14 Removing intermediate container fc288d7d00e2 06:41:14 ---> fe1e7f1e1c30 06:41:14 Step 21/23 : LABEL arch=amd64 06:41:14 ---> Running in 756eccbca8b4 06:41:14 Removing intermediate container 756eccbca8b4 06:41:14 ---> 6da954121e47 06:41:14 Step 22/23 : LABEL git_sha=e90a65424e653825a35d2be9f99c695c2eda6bdd 06:41:14 ---> Running in 59cb9f444226 06:41:14 Removing intermediate container 59cb9f444226 06:41:14 ---> 545198b91446 06:41:14 Step 23/23 : LABEL version=3.0.0-dev.68 06:41:14 ---> Running in 36cd0a711a97 06:41:15 Removing intermediate container 36cd0a711a97 06:41:15 ---> 89ebe3fd0c0a 06:41:15 [Warning] One or more build-args [ARCH] were not consumed 06:41:15 Successfully built 89ebe3fd0c0a 06:41:15 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:41:15 06:41:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:41:15 latest: Pulling from edgex-lftools-log-publisher 06:41:15 5eb5b503b376: Pulling fs layer 06:41:15 5c69ac0246d0: Pulling fs layer 06:41:15 ec43610c2a17: Pulling fs layer 06:41:15 3a2ae6a8a46f: Pulling fs layer 06:41:15 33b1e0a273af: Pulling fs layer 06:41:15 5d3b04190fa2: Pulling fs layer 06:41:15 2f39f015ded8: Pulling fs layer 06:41:15 3a2ae6a8a46f: Waiting 06:41:15 33b1e0a273af: Waiting 06:41:15 5d3b04190fa2: Waiting 06:41:15 2f39f015ded8: Waiting 06:41:15 3a2ae6a8a46f: Verifying Checksum 06:41:15 3a2ae6a8a46f: Download complete 06:41:15 33b1e0a273af: Verifying Checksum 06:41:15 33b1e0a273af: Download complete 06:41:15 5d3b04190fa2: Verifying Checksum 06:41:15 5d3b04190fa2: Download complete 06:41:15 ec43610c2a17: Download complete 06:41:16 5eb5b503b376: Download complete 06:41:16 2f39f015ded8: Verifying Checksum 06:41:16 2f39f015ded8: Download complete 06:41:17 5eb5b503b376: Pull complete 06:41:17 5c69ac0246d0: Pull complete 06:41:17 ec43610c2a17: Pull complete 06:41:17 3a2ae6a8a46f: Pull complete 06:41:18 33b1e0a273af: Pull complete 06:41:18 5d3b04190fa2: Pull complete 06:41:22 2f39f015ded8: Pull complete 06:41:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:41:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:41:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:41:22 prd-ubuntu20.04-docker-8c-8g-8694 does not seem to be running inside a container 06:41:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:41:23 $ docker top b67a6cd63e2a19eda538c0081ba4422f18e2ecc2ac6f29c9a3cf0db0b2b9eb23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:41:24 ---> job-cost.sh 06:41:24 lf-activate-venv: SKIPPING 06:41:24 INFO: No Stack... 06:41:24 INFO: Retrieving Pricing Info for: v3-standard-8 06:41:25 INFO: Archiving Costs [Pipeline] sh 06:41:25 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 06:41:25 + cut -d, -f6 [Pipeline] lock 06:41:25 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-199-stack-cost] 06:41:25 Resource [jenkins-edgexfoundry-device-sdk-go-main-199-stack-cost] did not exist. Created. 06:41:25 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-199-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:41:25 + echo total: 0.2199999988079071 [Pipeline] stash 06:41:25 Stashed 1 file(s) [Pipeline] } 06:41:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-199-stack-cost] [Pipeline] // lock [Pipeline] } 06:41:25 $ docker stop --time=1 b67a6cd63e2a19eda538c0081ba4422f18e2ecc2ac6f29c9a3cf0db0b2b9eb23 06:41:26 $ docker rm -f --volumes b67a6cd63e2a19eda538c0081ba4422f18e2ecc2ac6f29c9a3cf0db0b2b9eb23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:42:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8695 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 06:42:26 Running in /w/workspace/device-sdk-go/199 [Pipeline] { [Pipeline] checkout 06:42:26 The recommended git tool is: git 06:42:32 using credential edgex-jenkins-ssh 06:42:32 Cloning the remote Git repository 06:42:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:42:32 > git init /w/workspace/device-sdk-go/199 # timeout=10 06:42:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:42:32 > git --version # timeout=10 06:42:32 > git --version # 'git version 2.25.1' 06:42:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:42:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:42:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:42:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:42:35 Avoid second fetch 06:42:35 Checking out Revision e90a65424e653825a35d2be9f99c695c2eda6bdd (main) 06:42:36 Commit message: "fix: update regex resourceName match logic (#1420)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:42:35 > git config core.sparsecheckout # timeout=10 06:42:35 > git checkout -f e90a65424e653825a35d2be9f99c695c2eda6bdd # timeout=10 06:42:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:42:37 % Total % Received % Xferd Average Speed Time Time Time Current 06:42:37 Dload Upload Total Spent Left Speed 06:42:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 06:42:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:42:37 + sudo tee /etc/docker/daemon.new 06:42:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:42:37 { 06:42:37 "registry-mirrors": [ 06:42:37 "https://nexus3.edgexfoundry.org:10001" 06:42:37 ], 06:42:37 "bip": "10.250.0.254/24", 06:42:37 "hosts": [ 06:42:37 "tcp://0.0.0.0:5555", 06:42:37 "unix:///var/run/docker.sock" 06:42:37 ], 06:42:37 "mtu": 1458, 06:42:37 "selinux-enabled": true, 06:42:37 "seccomp-profile": "/etc/docker/seccomp.json" 06:42:37 } [Pipeline] sh 06:42:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:42:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:43:00 provisioning config files... 06:43:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/199@tmp/config7779271099538587749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:01 ---> docker-login.sh 06:43:01 nexus3.edgexfoundry.org:10001 06:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:01 Configure a credential helper to remove this warning. See 06:43:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:01 06:43:01 Login Succeeded 06:43:01 nexus3.edgexfoundry.org:10002 06:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:01 Configure a credential helper to remove this warning. See 06:43:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:01 06:43:01 Login Succeeded 06:43:01 nexus3.edgexfoundry.org:10003 06:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:02 Configure a credential helper to remove this warning. See 06:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:02 06:43:02 Login Succeeded 06:43:02 nexus3.edgexfoundry.org:10004 06:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:02 Configure a credential helper to remove this warning. See 06:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:02 06:43:02 Login Succeeded 06:43:02 docker.io 06:43:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:03 Configure a credential helper to remove this warning. See 06:43:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:03 06:43:03 Login Succeeded 06:43:03 ---> docker-login.sh ends [Pipeline] } 06:43:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:43:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:43:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:43:03 ========================================================= 06:43:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:43:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:03 + 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 . 06:43:04 Sending build context to Docker daemon 5.883MB 06:43:04 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:43:04 Step 2/10 : FROM ${BASE} AS builder 06:43:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:43:04 af6eaf76a39c: Pulling fs layer 06:43:04 55522c791124: Pulling fs layer 06:43:04 ce5c4a1c91eb: Pulling fs layer 06:43:04 169dfbe0d373: Pulling fs layer 06:43:04 e1ff8fa3b103: Pulling fs layer 06:43:04 52ebb69f0ebf: Pulling fs layer 06:43:04 5abe8eddf0d5: Pulling fs layer 06:43:04 e1ff8fa3b103: Waiting 06:43:04 52ebb69f0ebf: Waiting 06:43:04 5abe8eddf0d5: Waiting 06:43:04 169dfbe0d373: Waiting 06:43:04 55522c791124: Download complete 06:43:04 169dfbe0d373: Verifying Checksum 06:43:04 169dfbe0d373: Download complete 06:43:04 e1ff8fa3b103: Verifying Checksum 06:43:04 e1ff8fa3b103: Download complete 06:43:04 af6eaf76a39c: Verifying Checksum 06:43:04 af6eaf76a39c: Download complete 06:43:05 af6eaf76a39c: Pull complete 06:43:05 5abe8eddf0d5: Verifying Checksum 06:43:05 5abe8eddf0d5: Download complete 06:43:06 55522c791124: Pull complete 06:43:07 52ebb69f0ebf: Verifying Checksum 06:43:07 52ebb69f0ebf: Download complete 06:43:07 ce5c4a1c91eb: Verifying Checksum 06:43:07 ce5c4a1c91eb: Download complete 06:43:17 ce5c4a1c91eb: Pull complete 06:43:17 169dfbe0d373: Pull complete 06:43:18 e1ff8fa3b103: Pull complete 06:43:24 52ebb69f0ebf: Pull complete 06:43:26 5abe8eddf0d5: Pull complete 06:43:26 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:43:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:43:26 ---> 6cb57ee374ae 06:43:26 Step 3/10 : ARG MAKE=make build 06:43:28 ---> Running in 0f214741efe3 06:43:28 Removing intermediate container 0f214741efe3 06:43:28 ---> 8724a3150cc1 06:43:28 Step 4/10 : WORKDIR /device-sdk-go 06:43:28 ---> Running in b20c22de07e1 06:43:28 Removing intermediate container b20c22de07e1 06:43:28 ---> b2fb3e64fd3c 06:43:28 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:43:28 ---> Running in cdddaeceadac 06:43:29 Removing intermediate container cdddaeceadac 06:43:29 ---> 2880f6971772 06:43:29 Step 6/10 : RUN apk add --update --no-cache make git 06:43:29 ---> Running in 8ba45fd74bc1 06:43:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:43:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:43:32 OK: 263 MiB in 53 packages 06:43:32 Removing intermediate container 8ba45fd74bc1 06:43:32 ---> 53d59bb23bfd 06:43:32 Step 7/10 : COPY go.mod vendor* ./ 06:43:33 ---> c98c371c8019 06:43:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:43:33 ---> Running in 4274cbbe7bfe 06:44:41 Removing intermediate container 4274cbbe7bfe 06:44:41 ---> a5b0b3e6c485 06:44:41 Step 9/10 : COPY . . 06:44:41 ---> d29d44b9ca5f 06:44:41 Step 10/10 : RUN ${MAKE} 06:44:41 ---> Running in f2849f9b90fc 06:44:41 noop 06:44:42 Removing intermediate container f2849f9b90fc 06:44:42 ---> 21f76f94eb10 06:44:42 Successfully built 21f76f94eb10 06:44:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:42 + docker inspect -f . ci-base-image-arm64 06:44:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:44:42 prd-ubuntu20.04-docker-arm64-4c-16g-8695 does not seem to be running inside a container 06:44:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/199 -v /w/workspace/device-sdk-go/199:/w/workspace/device-sdk-go/199:rw,z -v /w/workspace/device-sdk-go/199@tmp:/w/workspace/device-sdk-go/199@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 06:44:44 $ docker top 0db9b4cc96c88dc9fceae28b467ab30efa3fc300b9e75ebe1d54aea529922f58 -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:44 + go version 06:44:45 go version go1.20.2 linux/arm64 [Pipeline] } 06:44:45 $ docker stop --time=1 0db9b4cc96c88dc9fceae28b467ab30efa3fc300b9e75ebe1d54aea529922f58 06:44:46 $ docker rm -f --volumes 0db9b4cc96c88dc9fceae28b467ab30efa3fc300b9e75ebe1d54aea529922f58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:47 + docker inspect -f . ci-base-image-arm64 06:44:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:44:47 prd-ubuntu20.04-docker-arm64-4c-16g-8695 does not seem to be running inside a container 06:44:47 $ 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/199 -v /w/workspace/device-sdk-go/199:/w/workspace/device-sdk-go/199:rw,z -v /w/workspace/device-sdk-go/199@tmp:/w/workspace/device-sdk-go/199@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 06:44:48 $ docker top 6b54c79f39e9ae92f81b91e601f9462f7c02dada421e4b98116651f7963505f5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:49 + git config --global --add safe.directory /w/workspace/device-sdk-go/199 [Pipeline] fileExists [Pipeline] sh 06:44:49 + make test 06:44:49 go test -race -coverprofile=coverage.out ./... 06:45:28 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:47:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:47:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:47:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:47:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:47:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:47:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.267s coverage: 27.6% of statements 06:47:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.283s coverage: 80.2% of statements 06:47:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:47:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:47:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.343s coverage: 86.0% of statements 06:48:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:48:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.462s coverage: 77.5% of statements 06:48:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 06:48:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:48:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:48:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.262s coverage: 14.6% of statements 06:48:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.414s coverage: 68.5% of statements 06:48:11 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.420s coverage: 89.2% of statements 06:48:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:48:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.232s coverage: 5.5% of statements 06:48:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:48:13 GO111MODULE=on go vet ./... 06:50:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:50:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:50:50 ./bin/test-attribution-txt.sh [Pipeline] echo 06:50:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:50:50 $ docker stop --time=1 6b54c79f39e9ae92f81b91e601f9462f7c02dada421e4b98116651f7963505f5 06:50:52 $ docker rm -f --volumes 6b54c79f39e9ae92f81b91e601f9462f7c02dada421e4b98116651f7963505f5 [Pipeline] // withDockerContainer [Pipeline] sh 06:50:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:50:53 Warning: overwriting stash ‘coverage-report’ 06:50:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:50:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:50:55 + ls -al . 06:50:55 total 268 06:50:55 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 06:44 . 06:50:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 06:42 .. 06:50:55 -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 06:42 .dockerignore 06:50:55 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 06:42 .git 06:50:55 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 06:42 .github 06:50:55 -rw-rw-r-- 1 jenkins jenkins 131 Apr 17 06:42 .gitignore 06:50:55 -rw-rw-r-- 1 jenkins jenkins 42 Apr 17 06:42 .golangci.yml 06:50:55 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 17 06:42 CHANGELOG.md 06:50:55 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 06:42 GOVERNANCE.md 06:50:55 -rw-rw-r-- 1 jenkins jenkins 885 Apr 17 06:42 Jenkinsfile 06:50:55 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 17 06:42 LICENSE 06:50:55 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 17 06:42 Makefile 06:50:55 -rw-rw-r-- 1 jenkins jenkins 619 Apr 17 06:42 OWNERS.md 06:50:55 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 17 06:42 README.md 06:50:55 -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 06:38 VERSION 06:50:55 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 06:42 bin 06:50:55 -rw-r--r-- 1 jenkins jenkins 106119 Apr 17 06:48 coverage.out 06:50:55 drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 06:42 example 06:50:55 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 17 06:42 go.mod 06:50:55 -rw-rw-r-- 1 jenkins jenkins 31006 Apr 17 06:42 go.sum 06:50:55 drwxrwxr-x 12 jenkins jenkins 4096 Apr 17 06:42 internal 06:50:55 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 06:42 openapi 06:50:55 drwxrwxr-x 6 jenkins jenkins 4096 Apr 17 06:42 pkg 06:50:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 06:42 snap 06:50:55 -rw-rw-r-- 1 jenkins jenkins 222 Apr 17 06:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:50:55 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e90a65424e653825a35d2be9f99c695c2eda6bdd --label arch=arm64 --label version=3.0.0-dev.68 . 06:50:55 Sending build context to Docker daemon 5.99MB 06:50:56 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 06:50:56 Step 2/23 : FROM ${BASE} AS builder 06:50:56 ---> 21f76f94eb10 06:50:56 Step 3/23 : ARG MAKE=make build 06:50:56 ---> Running in fdb8c4cc31e0 06:50:56 Removing intermediate container fdb8c4cc31e0 06:50:56 ---> a8087814e471 06:50:56 Step 4/23 : WORKDIR /device-sdk-go 06:50:56 ---> Running in 5c0cfcfd6206 06:50:56 Removing intermediate container 5c0cfcfd6206 06:50:56 ---> d9ce34102387 06:50:56 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:50:56 ---> Running in 94fa29900981 06:50:57 Removing intermediate container 94fa29900981 06:50:57 ---> 1ac3ee44b83c 06:50:57 Step 6/23 : RUN apk add --update --no-cache make git 06:50:57 ---> Running in da86e3879ef8 06:50:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:50:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:50:59 OK: 263 MiB in 53 packages 06:51:01 Removing intermediate container da86e3879ef8 06:51:01 ---> 831ee8c7d7d1 06:51:01 Step 7/23 : COPY go.mod vendor* ./ 06:51:01 ---> 099316af53fc 06:51:01 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:51:01 ---> Running in 239420a74e79 06:51:04 Removing intermediate container 239420a74e79 06:51:04 ---> e1fc0d03296e 06:51:04 Step 9/23 : COPY . . 06:51:05 ---> 3c9825489e3b 06:51:05 Step 10/23 : RUN ${MAKE} 06:51:05 ---> Running in 06935ccdfd07 06:51:06 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.68" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:53:16 Removing intermediate container 06935ccdfd07 06:53:16 ---> e7d4dc6bf371 06:53:16 Step 11/23 : FROM alpine:3.17 06:53:16 3.17: Pulling from library/alpine 06:53:16 c41833b44d91: Pulling fs layer 06:53:16 c41833b44d91: Verifying Checksum 06:53:16 c41833b44d91: Download complete 06:53:16 c41833b44d91: Pull complete 06:53:16 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:53:16 Status: Downloaded newer image for alpine:3.17 06:53:16 ---> 51e60588ff2c 06:53:16 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:53:16 ---> Running in 04c3970bb107 06:53:16 Removing intermediate container 04c3970bb107 06:53:16 ---> 8a8eabd24e91 06:53:16 Step 13/23 : RUN apk add --update --no-cache 06:53:16 ---> Running in cae07965d47c 06:53:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:53:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:53:16 OK: 7 MiB in 15 packages 06:53:16 Removing intermediate container cae07965d47c 06:53:16 ---> 6395937877ec 06:53:16 Step 14/23 : WORKDIR / 06:53:16 ---> Running in 2d1e23fd0c0a 06:53:17 Removing intermediate container 2d1e23fd0c0a 06:53:17 ---> 394d78ee9065 06:53:17 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:53:17 ---> 33865f33707b 06:53:17 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:53:19 ---> 6ed53301be8c 06:53:19 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:53:19 ---> cda6a93aa06c 06:53:19 Step 18/23 : EXPOSE 59999 06:53:19 ---> Running in 861f377225c9 06:53:19 Removing intermediate container 861f377225c9 06:53:19 ---> 55f1ddc5057c 06:53:19 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:53:19 ---> Running in 5762858fa0f8 06:53:20 Removing intermediate container 5762858fa0f8 06:53:20 ---> a5bde0cd7949 06:53:20 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:53:20 ---> Running in 37ed0a241178 06:53:20 Removing intermediate container 37ed0a241178 06:53:20 ---> 87b1b682c944 06:53:20 Step 21/23 : LABEL arch=arm64 06:53:20 ---> Running in f932687da430 06:53:21 Removing intermediate container f932687da430 06:53:21 ---> 5811737bb74c 06:53:21 Step 22/23 : LABEL git_sha=e90a65424e653825a35d2be9f99c695c2eda6bdd 06:53:21 ---> Running in 52a1f9acc61e 06:53:21 Removing intermediate container 52a1f9acc61e 06:53:21 ---> 0bc567caf7eb 06:53:21 Step 23/23 : LABEL version=3.0.0-dev.68 06:53:21 ---> Running in 43c920181e54 06:53:21 Removing intermediate container 43c920181e54 06:53:21 ---> 72c3307ab24d 06:53:21 [Warning] One or more build-args [ARCH] were not consumed 06:53:21 Successfully built 72c3307ab24d 06:53:21 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 06:53:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:53:22 06:53:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:53:22 arm64: Pulling from edgex-lftools-log-publisher 06:53:22 8998bd30e6a1: Pulling fs layer 06:53:22 04944245beec: Pulling fs layer 06:53:22 699f458cf7ca: Pulling fs layer 06:53:22 765212b225bb: Pulling fs layer 06:53:22 f23df028b6ca: Pulling fs layer 06:53:22 d65c8cfc05b1: Pulling fs layer 06:53:22 2437ff75d9bd: Pulling fs layer 06:53:22 765212b225bb: Waiting 06:53:22 f23df028b6ca: Waiting 06:53:22 d65c8cfc05b1: Waiting 06:53:22 2437ff75d9bd: Waiting 06:53:22 04944245beec: Verifying Checksum 06:53:22 04944245beec: Download complete 06:53:22 765212b225bb: Verifying Checksum 06:53:22 765212b225bb: Download complete 06:53:22 f23df028b6ca: Verifying Checksum 06:53:22 f23df028b6ca: Download complete 06:53:23 d65c8cfc05b1: Verifying Checksum 06:53:23 d65c8cfc05b1: Download complete 06:53:23 699f458cf7ca: Verifying Checksum 06:53:23 699f458cf7ca: Download complete 06:53:23 8998bd30e6a1: Verifying Checksum 06:53:23 8998bd30e6a1: Download complete 06:53:26 2437ff75d9bd: Verifying Checksum 06:53:26 2437ff75d9bd: Download complete 06:53:27 8998bd30e6a1: Pull complete 06:53:28 04944245beec: Pull complete 06:53:29 699f458cf7ca: Pull complete 06:53:29 765212b225bb: Pull complete 06:53:30 f23df028b6ca: Pull complete 06:53:30 d65c8cfc05b1: Pull complete 06:53:45 2437ff75d9bd: Pull complete 06:53:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:53:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:53:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:45 prd-ubuntu20.04-docker-arm64-4c-16g-8695 does not seem to be running inside a container 06:53:45 $ 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/199 -v /w/workspace/device-sdk-go/199:/w/workspace/device-sdk-go/199:rw,z -v /w/workspace/device-sdk-go/199@tmp:/w/workspace/device-sdk-go/199@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 06:53:48 $ docker top 66431c26ce56552bb040bb46f9b50eada66c18920b04324af7e14a974c1a033f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:53:49 ---> job-cost.sh 06:53:49 lf-activate-venv: SKIPPING 06:53:49 INFO: No Stack... 06:53:49 INFO: Retrieving Pricing Info for: v3-standard-4 06:53:50 INFO: Archiving Costs [Pipeline] sh 06:53:51 + cat /w/workspace/device-sdk-go/199/archives/cost.csv 06:53:51 + cut -d, -f6 [Pipeline] lock 06:53:51 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-199-stack-cost] 06:53:51 Resource [jenkins-edgexfoundry-device-sdk-go-main-199-stack-cost] did not exist. Created. 06:53:51 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-199-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:53:51 /w/workspace/device-sdk-go/199@tmp/durable-6bfeda30/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:53:51 + echo total: 0.10999999940395355 [Pipeline] stash 06:53:51 Warning: overwriting stash ‘stack-cost’ 06:53:51 Stashed 1 file(s) [Pipeline] } 06:53:51 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-199-stack-cost] [Pipeline] // lock [Pipeline] } 06:53:51 $ docker stop --time=1 66431c26ce56552bb040bb46f9b50eada66c18920b04324af7e14a974c1a033f 06:53:53 $ docker rm -f --volumes 66431c26ce56552bb040bb46f9b50eada66c18920b04324af7e14a974c1a033f [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 06:53:53 provisioning config files... 06:53:53 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4192674367462209798tmp [Pipeline] { [Pipeline] sh 06:53:54 + set +x 06:53:54 + curl -s https://codecov.io/bash 06:53:54 + bash -s -- 06:53:54 06:53:54 _____ _ 06:53:54 / ____| | | 06:53:54 | | ___ __| | ___ ___ _____ __ 06:53:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:53:54 | |___| (_) | (_| | __/ (_| (_) \ V / 06:53:54 \_____\___/ \__,_|\___|\___\___/ \_/ 06:53:54 Bash-1.0.6 06:53:54 06:53:54 06:53:54 ==> git version 2.25.1 found 06:53:54 ==> 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 06:53:54 Release-Date: 2020-01-08 06:53:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:53:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:53:54 ==> Jenkins CI detected. 06:53:54 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 06:53:54 project root: . 06:53:54 --> token set from env 06:53:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:53:54 ==> Running gcov in . (disable via -X gcov) 06:53:54 ==> Python coveragepy not found 06:53:54 ==> Searching for coverage reports in: 06:53:54 + . 06:53:54 -> Found 1 reports 06:53:54 ==> Detecting git/mercurial file structure 06:53:54 ==> Reading reports 06:53:54 + ./coverage.out bytes=106119 06:53:54 ==> Appending adjustments 06:53:54 https://docs.codecov.io/docs/fixing-reports 06:53:54 + Found adjustments 06:53:54 ==> Gzipping contents 06:53:54 16K /tmp/codecov.RYeLzq.gz 06:53:54 ==> Uploading reports 06:53:54 url: https://codecov.io 06:53:54 query: branch=main&commit=e90a65424e653825a35d2be9f99c695c2eda6bdd&build=199&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F199%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:53:54 -> Pinging Codecov 06:53:54 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=e90a65424e653825a35d2be9f99c695c2eda6bdd&build=199&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F199%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:53:54 -> Uploading to 06:53:54 https://storage.googleapis.com/codecov/v4/raw/2023-04-17/7E55EF52A471D76F132DFD9A03CDDE97/e90a65424e653825a35d2be9f99c695c2eda6bdd/4cc42424-f170-4284-b19f-1817bf07d0de.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T065354Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62d8d9f021493a1d6b15bdc66bd66713d8d12121db7b77bab6f2de0de11d602c 06:53:54 % Total % Received % Xferd Average Speed Time Time Time Current 06:53:54 Dload Upload Total Spent Left Speed 06:53:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15027 0 0 100 15027 0 57574 --:--:-- --:--:-- --:--:-- 57574 06:53:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e90a65424e653825a35d2be9f99c695c2eda6bdd [Pipeline] } 06:53:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:53:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:53:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:53:55 06:53:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:53:55 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:53:55 df9b9388f04a: Pulling fs layer 06:53:55 52dc419b0ee2: Pulling fs layer 06:53:55 25bc292e5bac: Pulling fs layer 06:53:55 114826534d7a: Pulling fs layer 06:53:55 4657fd5d0bcf: Pulling fs layer 06:53:55 6ad1cebc031e: Pulling fs layer 06:53:55 8a3aa393b2d8: Pulling fs layer 06:53:55 114826534d7a: Waiting 06:53:55 4657fd5d0bcf: Waiting 06:53:55 6ad1cebc031e: Waiting 06:53:55 25bc292e5bac: Download complete 06:53:55 52dc419b0ee2: Verifying Checksum 06:53:55 52dc419b0ee2: Download complete 06:53:55 4657fd5d0bcf: Verifying Checksum 06:53:55 4657fd5d0bcf: Download complete 06:53:55 df9b9388f04a: Verifying Checksum 06:53:56 df9b9388f04a: Pull complete 06:53:56 52dc419b0ee2: Pull complete 06:53:56 25bc292e5bac: Pull complete 06:53:56 6ad1cebc031e: Verifying Checksum 06:53:56 6ad1cebc031e: Download complete 06:53:56 114826534d7a: Verifying Checksum 06:53:56 114826534d7a: Download complete 06:53:56 8a3aa393b2d8: Verifying Checksum 06:53:56 8a3aa393b2d8: Download complete 06:54:00 114826534d7a: Pull complete 06:54:00 4657fd5d0bcf: Pull complete 06:54:00 6ad1cebc031e: Pull complete 06:54:02 8a3aa393b2d8: Pull complete 06:54:02 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:54:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:54:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:54:02 prd-ubuntu20.04-docker-8c-8g-8694 does not seem to be running inside a container 06:54:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:54:04 $ docker top 77cfb7fb674202e03042fa05e784d720e885ca0d9eaedead73de6f2a70f0762f -eo pid,comm [Pipeline] { [Pipeline] echo 06:54:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 06:54:04 + set -o pipefail 06:54:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 06:54:10 06:54:10 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 06:54:10 06:54:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/0c178c06-b512-41bb-b725-28c6fa6db2a7 06:54:10 06:54:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:54:10 06:54:10 06:54:10 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:54:10 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:54:10 More details here: https://snyk.co/ue1NS [Pipeline] } 06:54:10 $ docker stop --time=1 77cfb7fb674202e03042fa05e784d720e885ca0d9eaedead73de6f2a70f0762f 06:54:12 $ docker rm -f --volumes 77cfb7fb674202e03042fa05e784d720e885ca0d9eaedead73de6f2a70f0762f [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 06:54:12 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:54:12 provisioning config files... 06:54:12 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12943446141980888001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:54:12 --> edgex-publish-swagger.sh 06:54:12 === Publish openapi/v3 API === 06:54:12 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 06:54:12 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 06:54:12 % Total % Received % Xferd Average Speed Time Time Time Current 06:54:12 Dload Upload Total Spent Left Speed 06:54:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 39456 --:--:-- --:--:-- --:--:-- 39456 06:54:13 06:54:13 [Pipeline] } 06:54:13 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 06:54:13 + git log --format=format:%s -1 e90a65424e653825a35d2be9f99c695c2eda6bdd [Pipeline] sh 06:54:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:54:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:54:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:54:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:54:14 prd-ubuntu20.04-docker-8c-8g-8694 does not seem to be running inside a container 06:54:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:54:14 $ docker top 0cb943c607c9ace7b29244468ebe888d713d19ef43ebcd377aa0552a4e90aeb4 -eo pid,comm 06:54:14 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). 06:54:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:54:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:54:14 [ssh-agent] Looking for ssh-agent implementation... 06:54:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:54:14 $ docker exec 0cb943c607c9ace7b29244468ebe888d713d19ef43ebcd377aa0552a4e90aeb4 ssh-agent 06:54:14 SSH_AUTH_SOCK=/tmp/ssh-yuQbHwg64skh/agent.32 06:54:14 SSH_AGENT_PID=38 06:54:14 Running ssh-add (command line suppressed) 06:54:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15797121534027892050.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15797121534027892050.key) 06:54:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:54:15 + git semver tag 06:54:15 2023-04-17 06:54:15,556 [run_tag] DEBUG tag force:False 06:54:15 2023-04-17 06:54:15,556 [check_head_tag] DEBUG check head tag 06:54:15 2023-04-17 06:54:15,558 [execute] INFO git cat-file --batch-check 06:54:15 2023-04-17 06:54:15,558 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:54:15 2023-04-17 06:54:15,562 [execute] INFO git cat-file --batch 06:54:15 2023-04-17 06:54:15,562 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:54:15 2023-04-17 06:54:15,595 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:54:15 2023-04-17 06:54:15,595 [execute] INFO git tag -a v3.0.0-dev.68 -m v3.0.0-dev.68 06:54:15 2023-04-17 06:54:15,595 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.68', '-m', 'v3.0.0-dev.68'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:54:15 2023-04-17 06:54:15,599 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:54:15 3.0.0-dev.68 [Pipeline] } 06:54:15 $ docker exec --env ******** --env ******** 0cb943c607c9ace7b29244468ebe888d713d19ef43ebcd377aa0552a4e90aeb4 ssh-agent -k 06:54:15 unset SSH_AUTH_SOCK; 06:54:15 unset SSH_AGENT_PID; 06:54:15 echo Agent pid 38 killed; 06:54:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:54:16 + git semver [Pipeline] } 06:54:16 $ docker stop --time=1 0cb943c607c9ace7b29244468ebe888d713d19ef43ebcd377aa0552a4e90aeb4 06:54:17 $ docker rm -f --volumes 0cb943c607c9ace7b29244468ebe888d713d19ef43ebcd377aa0552a4e90aeb4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:54:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:54:18 06:54:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:54:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:54:18 0.23.1-centos7: Pulling from edgex-lftools 06:54:18 ab5ef0e58194: Pulling fs layer 06:54:18 9712f1f96733: Pulling fs layer 06:54:18 63f879dbbcfc: Pulling fs layer 06:54:18 0d9ebad4ef96: Pulling fs layer 06:54:18 e9a5061849ea: Pulling fs layer 06:54:18 d747dcd14b5f: Pulling fs layer 06:54:18 2de7ff778b66: Pulling fs layer 06:54:18 d747dcd14b5f: Waiting 06:54:18 0d9ebad4ef96: Waiting 06:54:18 e9a5061849ea: Waiting 06:54:18 9712f1f96733: Verifying Checksum 06:54:18 9712f1f96733: Download complete 06:54:18 63f879dbbcfc: Verifying Checksum 06:54:18 63f879dbbcfc: Download complete 06:54:18 e9a5061849ea: Verifying Checksum 06:54:18 e9a5061849ea: Download complete 06:54:18 0d9ebad4ef96: Verifying Checksum 06:54:18 0d9ebad4ef96: Download complete 06:54:18 d747dcd14b5f: Verifying Checksum 06:54:18 d747dcd14b5f: Download complete 06:54:18 ab5ef0e58194: Verifying Checksum 06:54:18 ab5ef0e58194: Download complete 06:54:18 2de7ff778b66: Verifying Checksum 06:54:18 2de7ff778b66: Download complete 06:54:21 ab5ef0e58194: Pull complete 06:54:21 9712f1f96733: Pull complete 06:54:22 63f879dbbcfc: Pull complete 06:54:25 0d9ebad4ef96: Pull complete 06:54:25 e9a5061849ea: Pull complete 06:54:25 d747dcd14b5f: Pull complete 06:54:26 2de7ff778b66: Pull complete 06:54:26 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:54:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:54:26 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:54:26 prd-ubuntu20.04-docker-8c-8g-8694 does not seem to be running inside a container 06:54:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:54:28 $ docker top e884d66362512966760637e7bf1a29acf1a0dd2770d9797177c3ae59808018b4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:54:28 provisioning config files... 06:54:28 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1407017395914388723tmp 06:54:28 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2687854958909750145tmp 06:54:28 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5192812399672970068tmp [Pipeline] { [Pipeline] echo 06:54:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:54:28 ---> sigul-configuration.sh 06:54:28 gpg: directory `/root/.gnupg' created 06:54:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:54:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:54:28 gpg: keyring `/root/.gnupg/secring.gpg' created 06:54:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:54:28 gpg: CAST5 encrypted data 06:54:28 gpg: encrypted with 1 passphrase 06:54:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:54:28 + mkdir /home/jenkins 06:54:28 + mkdir /home/jenkins/sigul [Pipeline] sh 06:54:29 + 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 06:54:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:54:29 ---> sigul-install.sh 06:54:29 Sigul already installed; skipping installation. [Pipeline] sh 06:54:29 + git tag --list 06:54:29 0.7.1 06:54:29 delhi-tag 06:54:29 v1.0.0 06:54:29 v1.1.0 06:54:29 v1.1.1 06:54:29 v1.1.2 06:54:29 v1.2.0 06:54:29 v1.2.1 06:54:29 v1.2.2 06:54:29 v1.2.3 06:54:29 v1.3.0 06:54:29 v1.4.0 06:54:29 v2.0.0 06:54:29 v2.1.0 06:54:29 v2.1.1 06:54:29 v2.1.1-dev.2 06:54:29 v2.1.1-dev.3 06:54:29 v2.2.0 06:54:29 v2.2.1-dev.1 06:54:29 v2.2.1-dev.10 06:54:29 v2.2.1-dev.11 06:54:29 v2.2.1-dev.12 06:54:29 v2.2.1-dev.13 06:54:29 v2.2.1-dev.14 06:54:29 v2.2.1-dev.2 06:54:29 v2.2.1-dev.3 06:54:29 v2.2.1-dev.4 06:54:29 v2.2.1-dev.5 06:54:29 v2.2.1-dev.6 06:54:29 v2.2.1-dev.7 06:54:29 v2.2.1-dev.8 06:54:29 v2.2.1-dev.9 06:54:29 v2.3.0 06:54:29 v2.3.0-dev.14 06:54:29 v2.3.0-dev.15 06:54:29 v2.3.0-dev.16 06:54:29 v2.3.0-dev.17 06:54:29 v2.3.0-dev.18 06:54:29 v2.3.0-dev.19 06:54:29 v2.3.0-dev.20 06:54:29 v2.3.0-dev.21 06:54:29 v2.3.0-dev.22 06:54:29 v2.3.0-dev.23 06:54:29 v2.3.0-dev.24 06:54:29 v2.3.0-dev.25 06:54:29 v2.3.0-dev.26 06:54:29 v2.3.0-dev.27 06:54:29 v2.3.0-dev.28 06:54:29 v2.3.0-dev.29 06:54:29 v2.3.0-dev.30 06:54:29 v2.3.0-dev.31 06:54:29 v2.3.0-dev.32 06:54:29 v2.3.0-dev.33 06:54:29 v2.3.0-dev.34 06:54:29 v2.3.0-dev.35 06:54:29 v2.3.0-dev.36 06:54:29 v2.3.0-dev.37 06:54:29 v2.3.0-dev.38 06:54:29 v2.3.0-dev.39 06:54:29 v2.3.0-dev.40 06:54:29 v2.3.0-dev.41 06:54:29 v2.3.0-dev.42 06:54:29 v2.3.0-dev.43 06:54:29 v2.3.0-dev.44 06:54:29 v2.3.0-dev.45 06:54:29 v2.3.0-dev.46 06:54:29 v2.3.0-dev.47 06:54:29 v2.3.0-dev.48 06:54:29 v2.3.0-dev.49 06:54:29 v2.3.0-dev.50 06:54:29 v2.3.0-dev.51 06:54:29 v2.3.1 06:54:29 v2.3.1-dev.1 06:54:29 v2.3.1-dev.2 06:54:29 v2.3.1-dev.3 06:54:29 v2.3.1-dev.4 06:54:29 v3.0.0-dev.1 06:54:29 v3.0.0-dev.10 06:54:29 v3.0.0-dev.11 06:54:29 v3.0.0-dev.12 06:54:29 v3.0.0-dev.13 06:54:29 v3.0.0-dev.14 06:54:29 v3.0.0-dev.15 06:54:29 v3.0.0-dev.16 06:54:29 v3.0.0-dev.17 06:54:29 v3.0.0-dev.18 06:54:29 v3.0.0-dev.19 06:54:29 v3.0.0-dev.2 06:54:29 v3.0.0-dev.20 06:54:29 v3.0.0-dev.21 06:54:29 v3.0.0-dev.22 06:54:29 v3.0.0-dev.23 06:54:29 v3.0.0-dev.24 06:54:29 v3.0.0-dev.25 06:54:29 v3.0.0-dev.26 06:54:29 v3.0.0-dev.27 06:54:29 v3.0.0-dev.28 06:54:29 v3.0.0-dev.29 06:54:29 v3.0.0-dev.3 06:54:29 v3.0.0-dev.30 06:54:29 v3.0.0-dev.31 06:54:29 v3.0.0-dev.32 06:54:29 v3.0.0-dev.33 06:54:29 v3.0.0-dev.34 06:54:29 v3.0.0-dev.35 06:54:29 v3.0.0-dev.36 06:54:29 v3.0.0-dev.37 06:54:29 v3.0.0-dev.38 06:54:29 v3.0.0-dev.39 06:54:29 v3.0.0-dev.4 06:54:29 v3.0.0-dev.40 06:54:29 v3.0.0-dev.41 06:54:29 v3.0.0-dev.42 06:54:29 v3.0.0-dev.43 06:54:29 v3.0.0-dev.44 06:54:29 v3.0.0-dev.45 06:54:29 v3.0.0-dev.46 06:54:29 v3.0.0-dev.47 06:54:29 v3.0.0-dev.48 06:54:29 v3.0.0-dev.49 06:54:29 v3.0.0-dev.5 06:54:29 v3.0.0-dev.50 06:54:29 v3.0.0-dev.51 06:54:29 v3.0.0-dev.52 06:54:29 v3.0.0-dev.53 06:54:29 v3.0.0-dev.54 06:54:29 v3.0.0-dev.55 06:54:29 v3.0.0-dev.56 06:54:29 v3.0.0-dev.57 06:54:29 v3.0.0-dev.58 06:54:29 v3.0.0-dev.59 06:54:29 v3.0.0-dev.6 06:54:29 v3.0.0-dev.60 06:54:29 v3.0.0-dev.61 06:54:29 v3.0.0-dev.62 06:54:29 v3.0.0-dev.63 06:54:29 v3.0.0-dev.64 06:54:29 v3.0.0-dev.65 06:54:29 v3.0.0-dev.66 06:54:29 v3.0.0-dev.67 06:54:29 v3.0.0-dev.68 06:54:29 v3.0.0-dev.7 06:54:29 v3.0.0-dev.8 06:54:29 v3.0.0-dev.9 [Pipeline] sh 06:54:30 + lftools sign git-tag v3.0.0-dev.68 06:54:30 Signing Git tag with Sigul... 06:54:30 Signing v3.0.0-dev.68 [Pipeline] echo 06:54:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:54:31 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:54:31 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:54:31 $ docker stop --time=1 e884d66362512966760637e7bf1a29acf1a0dd2770d9797177c3ae59808018b4 06:54:32 $ docker rm -f --volumes e884d66362512966760637e7bf1a29acf1a0dd2770d9797177c3ae59808018b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:54:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:54:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:54:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:54:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:54:33 prd-ubuntu20.04-docker-8c-8g-8694 does not seem to be running inside a container 06:54:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:54:33 $ docker top f4d07405ef5b6296dc8ae0cdce860e3b19f53b0998a2130e222a6dcb75dd9bbd -eo pid,comm 06:54:33 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). 06:54:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:54:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:54:33 [ssh-agent] Looking for ssh-agent implementation... 06:54:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:54:33 $ docker exec f4d07405ef5b6296dc8ae0cdce860e3b19f53b0998a2130e222a6dcb75dd9bbd ssh-agent 06:54:33 SSH_AUTH_SOCK=/tmp/ssh-lp67qyKbeCp5/agent.32 06:54:33 SSH_AGENT_PID=38 06:54:33 Running ssh-add (command line suppressed) 06:54:34 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9928184062588624583.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9928184062588624583.key) 06:54:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:54:34 + git semver bump pre 06:54:34 2023-04-17 06:54:34,522 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:54:34 2023-04-17 06:54:34,522 [bump_version] DEBUG bumping version:3.0.0-dev.68 on axis:pre with prefix:dev 06:54:34 2023-04-17 06:54:34,522 [bump_version] DEBUG bumped version:3.0.0-dev.69 06:54:34 2023-04-17 06:54:34,522 [write_version] DEBUG write version:3.0.0-dev.69 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 06:54:34 2023-04-17 06:54:34,522 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:54:34 2023-04-17 06:54:34,522 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:54:34 2023-04-17 06:54:34,524 [execute] INFO git cat-file --batch-check 06:54:34 2023-04-17 06:54:34,524 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:54:34 2023-04-17 06:54:34,531 [execute] INFO git cat-file --batch 06:54:34 2023-04-17 06:54:34,531 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:54:34 2023-04-17 06:54:34,536 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:54:34 3.0.0-dev.69 [Pipeline] } 06:54:34 $ docker exec --env ******** --env ******** f4d07405ef5b6296dc8ae0cdce860e3b19f53b0998a2130e222a6dcb75dd9bbd ssh-agent -k 06:54:34 unset SSH_AUTH_SOCK; 06:54:34 unset SSH_AGENT_PID; 06:54:34 echo Agent pid 38 killed; 06:54:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:54:35 + git semver [Pipeline] } 06:54:35 $ docker stop --time=1 f4d07405ef5b6296dc8ae0cdce860e3b19f53b0998a2130e222a6dcb75dd9bbd 06:54:36 $ docker rm -f --volumes f4d07405ef5b6296dc8ae0cdce860e3b19f53b0998a2130e222a6dcb75dd9bbd [Pipeline] // withDockerContainer [Pipeline] sh 06:54:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:54:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:54:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:54:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:54:37 prd-ubuntu20.04-docker-8c-8g-8694 does not seem to be running inside a container 06:54:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:54:37 $ docker top 0576e11e7404310148b47bcea6218f9ccbe56e9b6f937519e6bea0b3328f8c42 -eo pid,comm 06:54:37 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). 06:54:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:54:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:54:37 [ssh-agent] Looking for ssh-agent implementation... 06:54:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:54:37 $ docker exec 0576e11e7404310148b47bcea6218f9ccbe56e9b6f937519e6bea0b3328f8c42 ssh-agent 06:54:38 SSH_AUTH_SOCK=/tmp/ssh-5vSW7JDAtFpv/agent.32 06:54:38 SSH_AGENT_PID=38 06:54:38 Running ssh-add (command line suppressed) 06:54:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12596458923208440010.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12596458923208440010.key) 06:54:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:54:38 + git semver push 06:54:38 2023-04-17 06:54:38,610 [run_push] DEBUG push 06:54:38 2023-04-17 06:54:38,611 [execute] INFO git cat-file --batch-check 06:54:38 2023-04-17 06:54:38,612 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:54:38 2023-04-17 06:54:38,615 [execute] INFO git rev-list 4ab1b4d33d8f0e40e7b3a1d7d4b6be5f8f842670 -- 06:54:38 2023-04-17 06:54:38,615 [execute] DEBUG Popen(['git', 'rev-list', '4ab1b4d33d8f0e40e7b3a1d7d4b6be5f8f842670', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:54:38 2023-04-17 06:54:38,627 [execute] INFO git fetch -v origin 06:54:38 2023-04-17 06:54:38,627 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:54:39 2023-04-17 06:54:39,194 [run_push] DEBUG no remote changes detected 06:54:39 2023-04-17 06:54:39,195 [execute] INFO git push origin semver 06:54:39 2023-04-17 06:54:39,195 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:54:40 2023-04-17 06:54:39,989 [run_push] DEBUG push all version tags 06:54:40 2023-04-17 06:54:39,989 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:54:40 2023-04-17 06:54:39,990 [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) 06:54:40 2023-04-17 06:54:40,722 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:54:40 3.0.0-dev.69 [Pipeline] } 06:54:40 $ docker exec --env ******** --env ******** 0576e11e7404310148b47bcea6218f9ccbe56e9b6f937519e6bea0b3328f8c42 ssh-agent -k 06:54:40 unset SSH_AUTH_SOCK; 06:54:40 unset SSH_AGENT_PID; 06:54:40 echo Agent pid 38 killed; 06:54:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:54:41 + git semver [Pipeline] } 06:54:41 $ docker stop --time=1 0576e11e7404310148b47bcea6218f9ccbe56e9b6f937519e6bea0b3328f8c42 06:54:42 $ docker rm -f --volumes 0576e11e7404310148b47bcea6218f9ccbe56e9b6f937519e6bea0b3328f8c42 [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 06:54:43 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 06:54:43 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:54:43 total 16 06:54:43 drwxr-xr-x 3 root root 4096 Apr 17 06:41 . 06:54:43 drwxrwxr-x 12 jenkins jenkins 4096 Apr 17 06:54 .. 06:54:43 drwxr-xr-x 2 root root 4096 Apr 17 06:41 cost 06:54:43 -rw-r--r-- 1 root root 85 Apr 17 06:41 cost.csv 06:54:43 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:54:43 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:54:43 total 16 06:54:43 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 06:41 . 06:54:43 drwxrwxr-x 12 jenkins jenkins 4096 Apr 17 06:54 .. 06:54:43 drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 06:41 cost 06:54:43 -rw-r--r-- 1 jenkins jenkins 85 Apr 17 06:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:54:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:54:44 ---> package-listing.sh 06:54:44 ++ facter osfamily 06:54:44 ++ tr '[:upper:]' '[:lower:]' 06:54:44 + OS_FAMILY=debian 06:54:44 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 06:54:44 + START_PACKAGES=/tmp/packages_start.txt 06:54:44 + END_PACKAGES=/tmp/packages_end.txt 06:54:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:54:44 + PACKAGES=/tmp/packages_start.txt 06:54:44 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:54:44 + PACKAGES=/tmp/packages_end.txt 06:54:44 + case "${OS_FAMILY}" in 06:54:44 + dpkg -l 06:54:44 + grep '^ii' 06:54:44 + '[' -f /tmp/packages_start.txt ']' 06:54:44 + '[' -f /tmp/packages_end.txt ']' 06:54:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:54:44 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:54:44 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 06:54:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 06:54:44 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 06:54:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:54:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:54:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:54:45 prd-ubuntu20.04-docker-8c-8g-8694 does not seem to be running inside a container 06:54:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:54:46 $ docker top 7b391269e7eaba3c4a3480408dc4cc6ca177a4db25286ed3ab2629386b154c36 -eo pid,comm [Pipeline] { [Pipeline] sh 06:54:46 + touch /tmp/pre-build-complete [Pipeline] sh 06:54:46 + mkdir -p /var/log/sysstat [Pipeline] sh 06:54:47 + ls /var/log/sa-host 06:54:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:54:47 provisioning config files... 06:54:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9710320420074688277tmp [Pipeline] { [Pipeline] echo 06:54:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:54:47 ---> create-netrc.sh [Pipeline] } 06:54:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:54:47 ---> python-tools-install.sh [Pipeline] echo 06:54:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:54:48 ---> sudo-logs.sh 06:54:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:54:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:54:48 ---> job-cost.sh 06:54:48 lf-activate-venv: SKIPPING 06:54:48 DEBUG: total: 0.2199999988079071 06:54:48 INFO: Retrieving Stack Cost... 06:54:48 INFO: Retrieving Pricing Info for: v3-standard-8 06:54:49 INFO: Archiving Costs [Pipeline] echo 06:54:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:54:49 ---> logs-deploy.sh 06:54:49 lf-activate-venv: SKIPPING 06:54:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/199 06:54:49 INFO: archiving workspace using pattern(s): 06:54:50 Archives upload complete. 06:54:50 INFO: archiving logs to Nexus