Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3feff72630b5a64f0b1c499fc37cf8ca79db70fa 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-ssh783222151808165137.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-ssh16273224981790682490.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-ssh2579123469759943973.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-ssh8306408079654400758.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-ssh16327547869233491014.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-8698 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 3feff72630b5a64f0b1c499fc37cf8ca79db70fa (main) Commit message: "Merge pull request #1422 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v3-3.0.0-dev.22" > git config core.sparsecheckout # timeout=10 > git checkout -f 3feff72630b5a64f0b1c499fc37cf8ca79db70fa # timeout=10 > git rev-list --no-walk e90a65424e653825a35d2be9f99c695c2eda6bdd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:58:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:58:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:58:10 ========================================================= 06:58:10 EdgeX Global Pipelines Version Info 06:58:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:58:11 ------------------- 06:58:11 stable info: 06:58:11 ------------------- 06:58:11 Commited By: Bill Mahoney bill.mahoney@intel.com 06:58:11 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:58:11 Message: update stable to v1.0.248 06:58:11 ------------------- 06:58:11 experimental info: 06:58:11 ------------------- 06:58:11 Commited By: **** collab-it+edgex@linuxfoundation.org 06:58:11 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:58:11 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3feff72630b5a64f0b1c499fc37cf8ca79db70fa [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3feff72 [Pipeline] echo 06:58:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:58:12 provisioning config files... 06:58:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11450720929032204952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:58:12 ---> docker-login.sh 06:58:12 nexus3.edgexfoundry.org:10001 06:58:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:13 Configure a credential helper to remove this warning. See 06:58:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:13 06:58:13 Login Succeeded 06:58:13 nexus3.edgexfoundry.org:10002 06:58:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:13 Configure a credential helper to remove this warning. See 06:58:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:13 06:58:13 Login Succeeded 06:58:13 nexus3.edgexfoundry.org:10003 06:58:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:13 Configure a credential helper to remove this warning. See 06:58:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:13 06:58:13 Login Succeeded 06:58:13 nexus3.edgexfoundry.org:10004 06:58:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:13 Configure a credential helper to remove this warning. See 06:58:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:13 06:58:13 Login Succeeded 06:58:13 docker.io 06:58:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:13 Configure a credential helper to remove this warning. See 06:58:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:13 06:58:13 Login Succeeded 06:58:13 ---> docker-login.sh ends [Pipeline] } 06:58:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:58:14 + git rev-list -1 --merges 3feff72630b5a64f0b1c499fc37cf8ca79db70fa~1..3feff72630b5a64f0b1c499fc37cf8ca79db70fa [Pipeline] echo 06:58:14 -----------> git rev-list -1 --merges 3feff72630b5a64f0b1c499fc37cf8ca79db70fa~1..3feff72630b5a64f0b1c499fc37cf8ca79db70fa 3feff72630b5a64f0b1c499fc37cf8ca79db70fa 06:58:14 3feff72630b5a64f0b1c499fc37cf8ca79db70fa [false] [Pipeline] sh 06:58:14 + git log --format=format:%s -1 3feff72630b5a64f0b1c499fc37cf8ca79db70fa [Pipeline] echo 06:58:14 ========================================================= 06:58:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:58:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:58:14 + git log --format=format:%s -1 3feff72630b5a64f0b1c499fc37cf8ca79db70fa [Pipeline] echo 06:58:14 [semverPrep] GIT_COMMIT: 3feff72630b5a64f0b1c499fc37cf8ca79db70fa, Commit Message: Merge pull request #1422 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v3-3.0.0-dev.22 [Pipeline] echo 06:58:14 [semverPrep] This is not a build commit. [Pipeline] sh 06:58:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:58:15 + grep -v github /etc/ssh/ssh_known_hosts 06:58:15 + [ -e /tmp/ssh_known_hosts ] 06:58:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:58:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:58:15 + sudo tee -a /etc/ssh/ssh_known_hosts 06:58:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:58:15 06:58:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:58:15 0.1.4: Pulling from edgex-devops/py-git-semver 06:58:15 b85a868b505f: Pulling fs layer 06:58:15 e2be974225ed: Pulling fs layer 06:58:15 339a4e72a1f5: Pulling fs layer 06:58:15 988bab9f4d93: Pulling fs layer 06:58:15 1469e6f7b9e6: Pulling fs layer 06:58:15 eaf3925da568: Pulling fs layer 06:58:15 bab4dde63d76: Pulling fs layer 06:58:15 bde34c3a00c8: Pulling fs layer 06:58:15 b352a97aabf1: Pulling fs layer 06:58:15 4872d77fe225: Pulling fs layer 06:58:15 5851b861e8e6: Pulling fs layer 06:58:15 1469e6f7b9e6: Waiting 06:58:15 4872d77fe225: Waiting 06:58:15 988bab9f4d93: Waiting 06:58:15 eaf3925da568: Waiting 06:58:15 5851b861e8e6: Waiting 06:58:15 bde34c3a00c8: Waiting 06:58:15 b352a97aabf1: Waiting 06:58:15 bab4dde63d76: Waiting 06:58:15 e2be974225ed: Verifying Checksum 06:58:15 e2be974225ed: Download complete 06:58:15 988bab9f4d93: Verifying Checksum 06:58:15 988bab9f4d93: Download complete 06:58:16 339a4e72a1f5: Verifying Checksum 06:58:16 339a4e72a1f5: Download complete 06:58:16 1469e6f7b9e6: Verifying Checksum 06:58:16 1469e6f7b9e6: Download complete 06:58:16 eaf3925da568: Download complete 06:58:16 bde34c3a00c8: Verifying Checksum 06:58:16 bde34c3a00c8: Download complete 06:58:16 b352a97aabf1: Download complete 06:58:16 4872d77fe225: Verifying Checksum 06:58:16 4872d77fe225: Download complete 06:58:16 5851b861e8e6: Download complete 06:58:16 b85a868b505f: Verifying Checksum 06:58:16 b85a868b505f: Download complete 06:58:16 bab4dde63d76: Verifying Checksum 06:58:16 bab4dde63d76: Download complete 06:58:17 b85a868b505f: Pull complete 06:58:17 e2be974225ed: Pull complete 06:58:17 339a4e72a1f5: Pull complete 06:58:18 988bab9f4d93: Pull complete 06:58:18 1469e6f7b9e6: Pull complete 06:58:18 eaf3925da568: Pull complete 06:58:20 bab4dde63d76: Pull complete 06:58:20 bde34c3a00c8: Pull complete 06:58:20 b352a97aabf1: Pull complete 06:58:20 4872d77fe225: Pull complete 06:58:20 5851b861e8e6: Pull complete 06:58:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:58:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:58:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:58:20 prd-ubuntu20.04-docker-8c-8g-8698 does not seem to be running inside a container 06:58:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:58:21 $ docker top 005b484731feeaeadd59fce12fd3c40edf4604bf21df825e3b97c6b5f1db103c -eo pid,comm 06:58:21 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:58:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:58:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:58:22 [ssh-agent] Looking for ssh-agent implementation... 06:58:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:58:22 $ docker exec 005b484731feeaeadd59fce12fd3c40edf4604bf21df825e3b97c6b5f1db103c ssh-agent 06:58:22 SSH_AUTH_SOCK=/tmp/ssh-5WRGSHVuaDfQ/agent.33 06:58:22 SSH_AGENT_PID=39 06:58:22 Running ssh-add (command line suppressed) 06:58:22 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12492503860204732126.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12492503860204732126.key) 06:58:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:58:22 + git tag --points-at HEAD [Pipeline] } 06:58:22 $ docker exec --env ******** --env ******** 005b484731feeaeadd59fce12fd3c40edf4604bf21df825e3b97c6b5f1db103c ssh-agent -k 06:58:22 unset SSH_AUTH_SOCK; 06:58:22 unset SSH_AGENT_PID; 06:58:22 echo Agent pid 39 killed; 06:58:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:58:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:58:22 [ssh-agent] Looking for ssh-agent implementation... 06:58:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:58:22 $ docker exec 005b484731feeaeadd59fce12fd3c40edf4604bf21df825e3b97c6b5f1db103c ssh-agent 06:58:23 SSH_AUTH_SOCK=/tmp/ssh-WhhhNzRE3PfC/agent.72 06:58:23 SSH_AGENT_PID=78 06:58:23 Running ssh-add (command line suppressed) 06:58:23 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10340389346104675521.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10340389346104675521.key) 06:58:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:58:23 + git semver init 06:58:23 2023-04-17 06:58:23,670 [run_init] DEBUG init version:0.0.0 force:False 06:58:23 2023-04-17 06:58:23,671 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:58:23 2023-04-17 06:58:23,671 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:58:23 2023-04-17 06:58:23,672 [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:58:24 2023-04-17 06:58:24,518 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 06:58:24 2023-04-17 06:58:24,519 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 06:58:24 2023-04-17 06:58:24,519 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:58:24 2023-04-17 06:58:24,519 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:58:24 3.0.0-dev.69 [Pipeline] } 06:58:24 $ docker exec --env ******** --env ******** 005b484731feeaeadd59fce12fd3c40edf4604bf21df825e3b97c6b5f1db103c ssh-agent -k 06:58:24 unset SSH_AUTH_SOCK; 06:58:24 unset SSH_AGENT_PID; 06:58:24 echo Agent pid 78 killed; 06:58:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:58:25 + git semver [Pipeline] } 06:58:25 $ docker stop --time=1 005b484731feeaeadd59fce12fd3c40edf4604bf21df825e3b97c6b5f1db103c 06:58:26 $ docker rm -f --volumes 005b484731feeaeadd59fce12fd3c40edf4604bf21df825e3b97c6b5f1db103c [Pipeline] // withDockerContainer [Pipeline] sh 06:58:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:58:27 Stashed 1 file(s) [Pipeline] echo 06:58:27 [edgeXSemver]: initialized semver on version 3.0.0-dev.69 [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:58:27 provisioning config files... 06:58:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14238078218145719596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:58:27 ---> docker-login.sh 06:58:27 nexus3.edgexfoundry.org:10001 06:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:27 Configure a credential helper to remove this warning. See 06:58:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:27 06:58:27 Login Succeeded 06:58:27 nexus3.edgexfoundry.org:10002 06:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:27 Configure a credential helper to remove this warning. See 06:58:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:27 06:58:27 Login Succeeded 06:58:27 nexus3.edgexfoundry.org:10003 06:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:27 Configure a credential helper to remove this warning. See 06:58:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:27 06:58:27 Login Succeeded 06:58:27 nexus3.edgexfoundry.org:10004 06:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:27 Configure a credential helper to remove this warning. See 06:58:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:27 06:58:27 Login Succeeded 06:58:27 docker.io 06:58:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:28 Configure a credential helper to remove this warning. See 06:58:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:28 06:58:28 Login Succeeded 06:58:28 ---> docker-login.sh ends [Pipeline] } 06:58:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:58:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:58:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:58:28 ========================================================= 06:58:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:58:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:28 + 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:58:28 Sending build context to Docker daemon 10.95MB 06:58:28 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:58:28 Step 2/10 : FROM ${BASE} AS builder 06:58:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:58:28 63b65145d645: Pulling fs layer 06:58:28 a2d21d5440eb: Pulling fs layer 06:58:28 935e6c44a52c: Pulling fs layer 06:58:28 94cc34f8dd06: Pulling fs layer 06:58:28 30dea6a524f1: Pulling fs layer 06:58:28 a2aff8979fd8: Pulling fs layer 06:58:28 6808be2612f2: Pulling fs layer 06:58:28 f25807f1079a: Pulling fs layer 06:58:28 a2aff8979fd8: Waiting 06:58:28 30dea6a524f1: Waiting 06:58:28 6808be2612f2: Waiting 06:58:28 f25807f1079a: Waiting 06:58:28 94cc34f8dd06: Waiting 06:58:28 a2d21d5440eb: Download complete 06:58:28 94cc34f8dd06: Verifying Checksum 06:58:28 94cc34f8dd06: Download complete 06:58:28 30dea6a524f1: Verifying Checksum 06:58:28 30dea6a524f1: Download complete 06:58:28 63b65145d645: Verifying Checksum 06:58:28 63b65145d645: Download complete 06:58:28 a2aff8979fd8: Verifying Checksum 06:58:28 a2aff8979fd8: Download complete 06:58:28 63b65145d645: Pull complete 06:58:29 a2d21d5440eb: Pull complete 06:58:29 f25807f1079a: Verifying Checksum 06:58:29 f25807f1079a: Download complete 06:58:29 935e6c44a52c: Verifying Checksum 06:58:29 935e6c44a52c: Download complete 06:58:29 6808be2612f2: Verifying Checksum 06:58:29 6808be2612f2: Download complete 06:58:32 935e6c44a52c: Pull complete 06:58:33 94cc34f8dd06: Pull complete 06:58:33 30dea6a524f1: Pull complete 06:58:33 a2aff8979fd8: Pull complete 06:58:35 6808be2612f2: Pull complete 06:58:36 f25807f1079a: Pull complete 06:58:36 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:58:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:58:36 ---> 3b553350e43f 06:58:36 Step 3/10 : ARG MAKE=make build 06:58:38 ---> Running in 4a6d46040fa9 06:58:38 Removing intermediate container 4a6d46040fa9 06:58:38 ---> 84b5fdd82f58 06:58:38 Step 4/10 : WORKDIR /device-sdk-go 06:58:38 ---> Running in 14c4c19efce6 06:58:38 Removing intermediate container 14c4c19efce6 06:58:38 ---> 843516105576 06:58:38 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:58:38 ---> Running in 25ef4b837ba4 06:58:38 Removing intermediate container 25ef4b837ba4 06:58:38 ---> bb39a6fb24f9 06:58:38 Step 6/10 : RUN apk add --update --no-cache make git 06:58:38 ---> Running in 524d31eab39e 06:58:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:58:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:58:38 OK: 265 MiB in 53 packages 06:58:39 Removing intermediate container 524d31eab39e 06:58:39 ---> ccf3c6abffaa 06:58:39 Step 7/10 : COPY go.mod vendor* ./ 06:58:39 ---> eb4fba11acce 06:58:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:58:39 ---> Running in 8b74e5fdc72b 06:58:42 Still waiting to schedule task 06:58:42 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8697’ 06:59:05 Removing intermediate container 8b74e5fdc72b 06:59:05 ---> ba7f1adaed21 06:59:05 Step 9/10 : COPY . . 06:59:05 ---> 9eb5b7e66689 06:59:05 Step 10/10 : RUN ${MAKE} 06:59:05 ---> Running in fb948ef6bfaf 06:59:05 noop 06:59:05 Removing intermediate container fb948ef6bfaf 06:59:05 ---> f0e23d0ea83c 06:59:05 Successfully built f0e23d0ea83c 06:59:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:06 + docker inspect -f . ci-base-image-x86_64 06:59:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:59:06 prd-ubuntu20.04-docker-8c-8g-8698 does not seem to be running inside a container 06:59:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:59:06 $ docker top c5f3e0c8a8873c2d2595e2da63e499451edeb43ad3eb36892910c3b4e7c6e43c -eo pid,comm [Pipeline] { [Pipeline] sh 06:59:07 + go version 06:59:07 go version go1.20.2 linux/amd64 [Pipeline] } 06:59:07 $ docker stop --time=1 c5f3e0c8a8873c2d2595e2da63e499451edeb43ad3eb36892910c3b4e7c6e43c 06:59:08 $ docker rm -f --volumes c5f3e0c8a8873c2d2595e2da63e499451edeb43ad3eb36892910c3b4e7c6e43c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:08 + docker inspect -f . ci-base-image-x86_64 06:59:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:59:08 prd-ubuntu20.04-docker-8c-8g-8698 does not seem to be running inside a container 06:59:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:59:09 $ docker top f49632aadb7857b7c2c6c40587340ef0d69c25cb20f32ecb46a2d45b01b8b1ce -eo pid,comm [Pipeline] { [Pipeline] sh 06:59:09 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 06:59:09 + make test 06:59:09 go test -race -coverprofile=coverage.out ./... 06:59:18 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:59:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:59:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:59:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:59:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:59:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:59:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.044s coverage: 27.6% of statements 06:59:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:59:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:59:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 80.2% of statements 06:59:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.083s coverage: 86.0% of statements 06:59:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:59:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 06:59:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.103s coverage: 77.5% of statements 06:59:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:59:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:59:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:59:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.071s coverage: 14.6% of statements 06:59:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.086s coverage: 68.5% of statements 06:59:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.119s coverage: 89.2% of statements 06:59:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.5% of statements 06:59:59 GO111MODULE=on go vet ./... 07:00:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:00:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:00:00 ./bin/test-attribution-txt.sh [Pipeline] echo 07:00:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:00:00 $ docker stop --time=1 f49632aadb7857b7c2c6c40587340ef0d69c25cb20f32ecb46a2d45b01b8b1ce 07:00:02 $ docker rm -f --volumes f49632aadb7857b7c2c6c40587340ef0d69c25cb20f32ecb46a2d45b01b8b1ce [Pipeline] // withDockerContainer [Pipeline] sh 07:00:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:00:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:00:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:00:04 + ls -al . 07:00:04 total 272 07:00:04 drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 06:59 . 07:00:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 06:58 .. 07:00:04 -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 06:58 .dockerignore 07:00:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 06:58 .git 07:00:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 06:58 .github 07:00:04 -rw-rw-r-- 1 jenkins jenkins 131 Apr 17 06:58 .gitignore 07:00:04 -rw-rw-r-- 1 jenkins jenkins 42 Apr 17 06:58 .golangci.yml 07:00:04 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 06:58 .semver 07:00:04 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 17 06:58 CHANGELOG.md 07:00:04 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 06:58 GOVERNANCE.md 07:00:04 -rw-rw-r-- 1 jenkins jenkins 885 Apr 17 06:58 Jenkinsfile 07:00:04 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 17 06:58 LICENSE 07:00:04 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 17 06:58 Makefile 07:00:04 -rw-rw-r-- 1 jenkins jenkins 619 Apr 17 06:58 OWNERS.md 07:00:04 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 17 06:58 README.md 07:00:04 -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 06:58 VERSION 07:00:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 06:58 bin 07:00:04 -rw-r--r-- 1 jenkins jenkins 106119 Apr 17 06:59 coverage.out 07:00:04 drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 06:58 example 07:00:04 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 17 06:58 go.mod 07:00:04 -rw-rw-r-- 1 jenkins jenkins 31006 Apr 17 06:58 go.sum 07:00:04 drwxrwxr-x 12 jenkins jenkins 4096 Apr 17 06:58 internal 07:00:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 06:58 openapi 07:00:04 drwxrwxr-x 6 jenkins jenkins 4096 Apr 17 06:58 pkg 07:00:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 06:58 snap 07:00:04 -rw-rw-r-- 1 jenkins jenkins 222 Apr 17 06:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:04 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=3feff72630b5a64f0b1c499fc37cf8ca79db70fa --label arch=amd64 --label version=3.0.0-dev.69 . 07:00:04 Sending build context to Docker daemon 11.06MB 07:00:04 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 07:00:04 Step 2/23 : FROM ${BASE} AS builder 07:00:04 ---> f0e23d0ea83c 07:00:04 Step 3/23 : ARG MAKE=make build 07:00:04 ---> Running in 129c41516a27 07:00:04 Removing intermediate container 129c41516a27 07:00:04 ---> 2c3c86d141e7 07:00:04 Step 4/23 : WORKDIR /device-sdk-go 07:00:04 ---> Running in 9ec1140b2057 07:00:04 Removing intermediate container 9ec1140b2057 07:00:04 ---> aca009ed2bb7 07:00:04 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:00:04 ---> Running in 8e6a5f333b05 07:00:04 Removing intermediate container 8e6a5f333b05 07:00:04 ---> f8053eea1a40 07:00:04 Step 6/23 : RUN apk add --update --no-cache make git 07:00:04 ---> Running in 931326a10ed5 07:00:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:00:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:00:05 OK: 265 MiB in 53 packages 07:00:05 Removing intermediate container 931326a10ed5 07:00:05 ---> 9d8dc781e849 07:00:05 Step 7/23 : COPY go.mod vendor* ./ 07:00:05 ---> f4f2a1736c17 07:00:05 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:00:05 ---> Running in 85dec83dd0b6 07:00:06 Removing intermediate container 85dec83dd0b6 07:00:06 ---> 3b3da801f36e 07:00:06 Step 9/23 : COPY . . 07:00:07 ---> a03eccde9c08 07:00:07 Step 10/23 : RUN ${MAKE} 07:00:07 ---> Running in 63aa9abf6dee 07:00:07 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.69" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:00:25 Removing intermediate container 63aa9abf6dee 07:00:25 ---> 8b42db8c5582 07:00:25 Step 11/23 : FROM alpine:3.17 07:00:25 3.17: Pulling from library/alpine 07:00:25 f56be85fc22e: Pulling fs layer 07:00:25 f56be85fc22e: Verifying Checksum 07:00:25 f56be85fc22e: Download complete 07:00:26 f56be85fc22e: Pull complete 07:00:26 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:00:26 Status: Downloaded newer image for alpine:3.17 07:00:26 ---> 9ed4aefc74f6 07:00:26 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:00:26 ---> Running in 1f292f50e6e1 07:00:26 Removing intermediate container 1f292f50e6e1 07:00:26 ---> 67e293389ebc 07:00:26 Step 13/23 : RUN apk add --update --no-cache 07:00:26 ---> Running in c023dba2fb2f 07:00:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:00:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:00:26 OK: 7 MiB in 15 packages 07:00:27 Removing intermediate container c023dba2fb2f 07:00:27 ---> cc1acfbf742e 07:00:27 Step 14/23 : WORKDIR / 07:00:27 ---> Running in d2e47445a956 07:00:27 Removing intermediate container d2e47445a956 07:00:27 ---> b5d22b4b9320 07:00:27 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:00:27 ---> 75ba29c3bd51 07:00:27 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:00:28 ---> 29d75bddd840 07:00:28 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:00:28 ---> ca2e5942ade7 07:00:28 Step 18/23 : EXPOSE 59999 07:00:28 ---> Running in 14a188a87c8b 07:00:28 Removing intermediate container 14a188a87c8b 07:00:28 ---> cb44f3980f93 07:00:28 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:00:28 ---> Running in a11ffff7a34d 07:00:28 Removing intermediate container a11ffff7a34d 07:00:28 ---> a745fccd834a 07:00:28 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:00:28 ---> Running in fe817835a4fa 07:00:28 Removing intermediate container fe817835a4fa 07:00:28 ---> 444525884b57 07:00:28 Step 21/23 : LABEL arch=amd64 07:00:28 ---> Running in d293bfdcb56d 07:00:28 Removing intermediate container d293bfdcb56d 07:00:28 ---> c7a9e749d253 07:00:28 Step 22/23 : LABEL git_sha=3feff72630b5a64f0b1c499fc37cf8ca79db70fa 07:00:28 ---> Running in 1a0ed2b61ea9 07:00:28 Removing intermediate container 1a0ed2b61ea9 07:00:28 ---> 525abbe0b88b 07:00:28 Step 23/23 : LABEL version=3.0.0-dev.69 07:00:28 ---> Running in 965fda00113d 07:00:29 Removing intermediate container 965fda00113d 07:00:29 ---> 08aff3ae9ca6 07:00:29 [Warning] One or more build-args [ARCH] were not consumed 07:00:29 Successfully built 08aff3ae9ca6 07:00:29 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 07:00:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:29 07:00:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:29 latest: Pulling from edgex-lftools-log-publisher 07:00:29 5eb5b503b376: Pulling fs layer 07:00:29 5c69ac0246d0: Pulling fs layer 07:00:29 ec43610c2a17: Pulling fs layer 07:00:29 3a2ae6a8a46f: Pulling fs layer 07:00:29 33b1e0a273af: Pulling fs layer 07:00:29 3a2ae6a8a46f: Waiting 07:00:29 5d3b04190fa2: Pulling fs layer 07:00:29 2f39f015ded8: Pulling fs layer 07:00:29 33b1e0a273af: Waiting 07:00:29 5d3b04190fa2: Waiting 07:00:29 2f39f015ded8: Waiting 07:00:29 5c69ac0246d0: Download complete 07:00:29 3a2ae6a8a46f: Download complete 07:00:29 33b1e0a273af: Verifying Checksum 07:00:29 33b1e0a273af: Download complete 07:00:29 5d3b04190fa2: Download complete 07:00:29 ec43610c2a17: Download complete 07:00:30 5eb5b503b376: Verifying Checksum 07:00:30 5eb5b503b376: Download complete 07:00:30 2f39f015ded8: Download complete 07:00:31 5eb5b503b376: Pull complete 07:00:31 5c69ac0246d0: Pull complete 07:00:31 ec43610c2a17: Pull complete 07:00:31 3a2ae6a8a46f: Pull complete 07:00:32 33b1e0a273af: Pull complete 07:00:32 5d3b04190fa2: Pull complete 07:00:36 2f39f015ded8: Pull complete 07:00:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:00:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:00:36 prd-ubuntu20.04-docker-8c-8g-8698 does not seem to be running inside a container 07:00:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:00:38 $ docker top 751ee9d742b1c654f8a7c6f1a0d0493848e85377de22e25041f68d643ee4105e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:00:38 ---> job-cost.sh 07:00:38 lf-activate-venv: SKIPPING 07:00:38 INFO: No Stack... 07:00:39 INFO: Retrieving Pricing Info for: v3-standard-8 07:00:39 INFO: Archiving Costs [Pipeline] sh 07:00:39 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 07:00:39 + cut -d, -f6 [Pipeline] lock 07:00:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-200-stack-cost] 07:00:39 Resource [jenkins-edgexfoundry-device-sdk-go-main-200-stack-cost] did not exist. Created. 07:00:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-200-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:00:39 + echo total: 0.2199999988079071 [Pipeline] stash 07:00:40 Stashed 1 file(s) [Pipeline] } 07:00:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-200-stack-cost] [Pipeline] // lock [Pipeline] } 07:00:40 $ docker stop --time=1 751ee9d742b1c654f8a7c6f1a0d0493848e85377de22e25041f68d643ee4105e 07:00:41 $ docker rm -f --volumes 751ee9d742b1c654f8a7c6f1a0d0493848e85377de22e25041f68d643ee4105e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:01:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8699 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 07:01:56 Running in /w/workspace/device-sdk-go/200 [Pipeline] { [Pipeline] checkout 07:01:56 The recommended git tool is: git 07:02:01 using credential edgex-jenkins-ssh 07:02:01 Cloning the remote Git repository 07:02:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:02:01 > git init /w/workspace/device-sdk-go/200 # timeout=10 07:02:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:02:01 > git --version # timeout=10 07:02:02 > git --version # 'git version 2.25.1' 07:02:02 using GIT_SSH to set credentials SSH Credentials for GitHub 07:02:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:02:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:02:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:02:04 Avoid second fetch 07:02:04 Checking out Revision 3feff72630b5a64f0b1c499fc37cf8ca79db70fa (main) 07:02:05 Commit message: "Merge pull request #1422 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v3-3.0.0-dev.22" 07:02:04 > git config core.sparsecheckout # timeout=10 07:02:04 > git checkout -f 3feff72630b5a64f0b1c499fc37cf8ca79db70fa # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:02:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:02:06 % Total % Received % Xferd Average Speed Time Time Time Current 07:02:06 Dload Upload Total Spent Left Speed 07:02:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh 07:02:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:02:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:02:07 + sudo tee /etc/docker/daemon.new 07:02:07 { 07:02:07 "registry-mirrors": [ 07:02:07 "https://nexus3.edgexfoundry.org:10001" 07:02:07 ], 07:02:07 "bip": "10.250.0.254/24", 07:02:07 "hosts": [ 07:02:07 "tcp://0.0.0.0:5555", 07:02:07 "unix:///var/run/docker.sock" 07:02:07 ], 07:02:07 "mtu": 1458, 07:02:07 "selinux-enabled": true, 07:02:07 "seccomp-profile": "/etc/docker/seccomp.json" 07:02:07 } [Pipeline] sh 07:02:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:02:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:02:25 provisioning config files... 07:02:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/200@tmp/config8871039437175562486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:02:26 ---> docker-login.sh 07:02:26 nexus3.edgexfoundry.org:10001 07:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:26 Configure a credential helper to remove this warning. See 07:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:26 07:02:26 Login Succeeded 07:02:26 nexus3.edgexfoundry.org:10002 07:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:27 Configure a credential helper to remove this warning. See 07:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:27 07:02:27 Login Succeeded 07:02:27 nexus3.edgexfoundry.org:10003 07:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:27 Configure a credential helper to remove this warning. See 07:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:27 07:02:27 Login Succeeded 07:02:27 nexus3.edgexfoundry.org:10004 07:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:28 Configure a credential helper to remove this warning. See 07:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:28 07:02:28 Login Succeeded 07:02:28 docker.io 07:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:28 Configure a credential helper to remove this warning. See 07:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:28 07:02:28 Login Succeeded 07:02:28 ---> docker-login.sh ends [Pipeline] } 07:02:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:02:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:02:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:02:28 ========================================================= 07:02:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:02:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:29 + 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 . 07:02:29 Sending build context to Docker daemon 5.875MB 07:02:29 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:02:29 Step 2/10 : FROM ${BASE} AS builder 07:02:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:02:29 af6eaf76a39c: Pulling fs layer 07:02:29 55522c791124: Pulling fs layer 07:02:29 ce5c4a1c91eb: Pulling fs layer 07:02:29 169dfbe0d373: Pulling fs layer 07:02:29 e1ff8fa3b103: Pulling fs layer 07:02:29 52ebb69f0ebf: Pulling fs layer 07:02:29 5abe8eddf0d5: Pulling fs layer 07:02:29 e1ff8fa3b103: Waiting 07:02:29 52ebb69f0ebf: Waiting 07:02:29 5abe8eddf0d5: Waiting 07:02:29 169dfbe0d373: Waiting 07:02:29 55522c791124: Verifying Checksum 07:02:29 55522c791124: Download complete 07:02:29 169dfbe0d373: Verifying Checksum 07:02:29 169dfbe0d373: Download complete 07:02:29 e1ff8fa3b103: Verifying Checksum 07:02:29 e1ff8fa3b103: Download complete 07:02:29 af6eaf76a39c: Verifying Checksum 07:02:30 af6eaf76a39c: Pull complete 07:02:30 5abe8eddf0d5: Download complete 07:02:31 55522c791124: Pull complete 07:02:32 ce5c4a1c91eb: Verifying Checksum 07:02:32 ce5c4a1c91eb: Download complete 07:02:32 52ebb69f0ebf: Verifying Checksum 07:02:32 52ebb69f0ebf: Download complete 07:02:44 ce5c4a1c91eb: Pull complete 07:02:44 169dfbe0d373: Pull complete 07:02:44 e1ff8fa3b103: Pull complete 07:02:50 52ebb69f0ebf: Pull complete 07:02:52 5abe8eddf0d5: Pull complete 07:02:52 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:02:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:02:52 ---> 6cb57ee374ae 07:02:52 Step 3/10 : ARG MAKE=make build 07:02:54 ---> Running in c7e8e0ff0ea7 07:02:54 Removing intermediate container c7e8e0ff0ea7 07:02:54 ---> 54c7e9adc157 07:02:54 Step 4/10 : WORKDIR /device-sdk-go 07:02:54 ---> Running in 3daeebba5a21 07:02:55 Removing intermediate container 3daeebba5a21 07:02:55 ---> ecd035c7924e 07:02:55 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:02:55 ---> Running in 2b0a981e24bc 07:02:55 Removing intermediate container 2b0a981e24bc 07:02:55 ---> deb1ab62195a 07:02:55 Step 6/10 : RUN apk add --update --no-cache make git 07:02:55 ---> Running in 5b67a81261f6 07:02:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:02:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:02:58 OK: 263 MiB in 53 packages 07:02:59 Removing intermediate container 5b67a81261f6 07:02:59 ---> a9dbfe4e2465 07:02:59 Step 7/10 : COPY go.mod vendor* ./ 07:03:00 ---> b78acb2d56e3 07:03:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:03:00 ---> Running in 5c586165aa56 07:04:08 Removing intermediate container 5c586165aa56 07:04:08 ---> 50a09bdfbcbb 07:04:08 Step 9/10 : COPY . . 07:04:08 ---> 4bcef8c65f67 07:04:08 Step 10/10 : RUN ${MAKE} 07:04:08 ---> Running in af9457278fc5 07:04:08 noop 07:04:08 Removing intermediate container af9457278fc5 07:04:08 ---> 38450d4f9a6d 07:04:08 Successfully built 38450d4f9a6d 07:04:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:04:08 + docker inspect -f . ci-base-image-arm64 07:04:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:04:08 prd-ubuntu20.04-docker-arm64-4c-16g-8699 does not seem to be running inside a container 07:04:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/200 -v /w/workspace/device-sdk-go/200:/w/workspace/device-sdk-go/200:rw,z -v /w/workspace/device-sdk-go/200@tmp:/w/workspace/device-sdk-go/200@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 07:04:09 $ docker top 879dd901e90b663d158f63a523b05b6e3e904c69bc8168224245960aa51ed9c3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:04:10 + go version 07:04:10 go version go1.20.2 linux/arm64 [Pipeline] } 07:04:10 $ docker stop --time=1 879dd901e90b663d158f63a523b05b6e3e904c69bc8168224245960aa51ed9c3 07:04:12 $ docker rm -f --volumes 879dd901e90b663d158f63a523b05b6e3e904c69bc8168224245960aa51ed9c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:04:12 + docker inspect -f . ci-base-image-arm64 07:04:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:04:13 prd-ubuntu20.04-docker-arm64-4c-16g-8699 does not seem to be running inside a container 07:04:13 $ 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/200 -v /w/workspace/device-sdk-go/200:/w/workspace/device-sdk-go/200:rw,z -v /w/workspace/device-sdk-go/200@tmp:/w/workspace/device-sdk-go/200@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 07:04:14 $ docker top 2d8d83b3f2a4ec99138006dec12bb9b285caf23fc0346c9f5b4fe331417ea6b2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:04:15 + git config --global --add safe.directory /w/workspace/device-sdk-go/200 [Pipeline] fileExists [Pipeline] sh 07:04:15 + make test 07:04:15 go test -race -coverprofile=coverage.out ./... 07:05:02 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:07:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:07:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:07:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:07:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:07:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:07:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.478s coverage: 27.6% of statements 07:07:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.617s coverage: 80.2% of statements 07:07:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:07:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:07:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.334s coverage: 86.0% of statements 07:07:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:07:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.454s coverage: 77.5% of statements 07:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 07:07:47 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:07:47 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:07:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.327s coverage: 14.6% of statements 07:07:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.459s coverage: 68.5% of statements 07:07:52 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.435s coverage: 89.2% of statements 07:07:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:07:54 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.254s coverage: 5.5% of statements 07:07:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:07:55 GO111MODULE=on go vet ./... 07:10:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:10:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:10:31 ./bin/test-attribution-txt.sh [Pipeline] echo 07:10:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:10:31 $ docker stop --time=1 2d8d83b3f2a4ec99138006dec12bb9b285caf23fc0346c9f5b4fe331417ea6b2 07:10:34 $ docker rm -f --volumes 2d8d83b3f2a4ec99138006dec12bb9b285caf23fc0346c9f5b4fe331417ea6b2 [Pipeline] // withDockerContainer [Pipeline] sh 07:10:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:10:35 Warning: overwriting stash ‘coverage-report’ 07:10:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:10:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:10:36 + ls -al . 07:10:36 total 268 07:10:36 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 07:04 . 07:10:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 07:02 .. 07:10:36 -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 07:02 .dockerignore 07:10:36 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 07:02 .git 07:10:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 07:02 .github 07:10:36 -rw-rw-r-- 1 jenkins jenkins 131 Apr 17 07:02 .gitignore 07:10:36 -rw-rw-r-- 1 jenkins jenkins 42 Apr 17 07:02 .golangci.yml 07:10:36 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 17 07:02 CHANGELOG.md 07:10:36 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 07:02 GOVERNANCE.md 07:10:36 -rw-rw-r-- 1 jenkins jenkins 885 Apr 17 07:02 Jenkinsfile 07:10:36 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 17 07:02 LICENSE 07:10:36 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 17 07:02 Makefile 07:10:36 -rw-rw-r-- 1 jenkins jenkins 619 Apr 17 07:02 OWNERS.md 07:10:36 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 17 07:02 README.md 07:10:36 -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 06:58 VERSION 07:10:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 07:02 bin 07:10:36 -rw-r--r-- 1 jenkins jenkins 106119 Apr 17 07:07 coverage.out 07:10:36 drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 07:02 example 07:10:36 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 17 07:02 go.mod 07:10:36 -rw-rw-r-- 1 jenkins jenkins 31006 Apr 17 07:02 go.sum 07:10:36 drwxrwxr-x 12 jenkins jenkins 4096 Apr 17 07:02 internal 07:10:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 07:02 openapi 07:10:36 drwxrwxr-x 6 jenkins jenkins 4096 Apr 17 07:02 pkg 07:10:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 07:02 snap 07:10:36 -rw-rw-r-- 1 jenkins jenkins 222 Apr 17 07:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:37 + 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=3feff72630b5a64f0b1c499fc37cf8ca79db70fa --label arch=arm64 --label version=3.0.0-dev.69 . 07:10:37 Sending build context to Docker daemon 5.982MB 07:10:37 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 07:10:37 Step 2/23 : FROM ${BASE} AS builder 07:10:37 ---> 38450d4f9a6d 07:10:37 Step 3/23 : ARG MAKE=make build 07:10:37 ---> Running in 283015aa1ba2 07:10:38 Removing intermediate container 283015aa1ba2 07:10:38 ---> cbdef9c9aee9 07:10:38 Step 4/23 : WORKDIR /device-sdk-go 07:10:38 ---> Running in b47eeedae16b 07:10:38 Removing intermediate container b47eeedae16b 07:10:38 ---> 709bc26649c7 07:10:38 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:10:38 ---> Running in d0c73c9fc8d5 07:10:38 Removing intermediate container d0c73c9fc8d5 07:10:38 ---> 44d14e92a289 07:10:38 Step 6/23 : RUN apk add --update --no-cache make git 07:10:38 ---> Running in 3651b32fe9fe 07:10:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:10:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:10:41 OK: 263 MiB in 53 packages 07:10:42 Removing intermediate container 3651b32fe9fe 07:10:42 ---> 2671b2b1f11a 07:10:42 Step 7/23 : COPY go.mod vendor* ./ 07:10:42 ---> 6a3c2d36c2ab 07:10:42 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:10:42 ---> Running in e0d43e89dcc0 07:10:47 Removing intermediate container e0d43e89dcc0 07:10:47 ---> cc5d437fcb21 07:10:47 Step 9/23 : COPY . . 07:10:47 ---> da1cb7177376 07:10:47 Step 10/23 : RUN ${MAKE} 07:10:48 ---> Running in e2d3177449ea 07:10:49 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.69" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:13:10 Removing intermediate container e2d3177449ea 07:13:10 ---> 4be9a5a98b92 07:13:10 Step 11/23 : FROM alpine:3.17 07:13:10 3.17: Pulling from library/alpine 07:13:10 c41833b44d91: Pulling fs layer 07:13:10 c41833b44d91: Verifying Checksum 07:13:10 c41833b44d91: Download complete 07:13:10 c41833b44d91: Pull complete 07:13:10 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:13:10 Status: Downloaded newer image for alpine:3.17 07:13:10 ---> 51e60588ff2c 07:13:10 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:13:10 ---> Running in 67b0af09bdfa 07:13:10 Removing intermediate container 67b0af09bdfa 07:13:10 ---> 3001e354d1a4 07:13:10 Step 13/23 : RUN apk add --update --no-cache 07:13:10 ---> Running in bc28deaa7aa8 07:13:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:13:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:13:10 OK: 7 MiB in 15 packages 07:13:11 Removing intermediate container bc28deaa7aa8 07:13:11 ---> 2cb36ed49c78 07:13:11 Step 14/23 : WORKDIR / 07:13:11 ---> Running in 9149ba20fb0b 07:13:12 Removing intermediate container 9149ba20fb0b 07:13:12 ---> 15061a604dc5 07:13:12 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:13:12 ---> 8d12d97882eb 07:13:12 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:13:14 ---> 6cb8bc831e98 07:13:14 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:13:14 ---> 52940f353859 07:13:14 Step 18/23 : EXPOSE 59999 07:13:14 ---> Running in ebdfce293845 07:13:14 Removing intermediate container ebdfce293845 07:13:14 ---> b719778ec98b 07:13:14 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:13:14 ---> Running in f37fb7b9cb4e 07:13:15 Removing intermediate container f37fb7b9cb4e 07:13:15 ---> e637b66a7cf4 07:13:15 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:13:15 ---> Running in 6a6fd43e7835 07:13:15 Removing intermediate container 6a6fd43e7835 07:13:15 ---> 958f68be9152 07:13:15 Step 21/23 : LABEL arch=arm64 07:13:15 ---> Running in 1ee35d9283dd 07:13:15 Removing intermediate container 1ee35d9283dd 07:13:15 ---> 6dcb06be59b7 07:13:15 Step 22/23 : LABEL git_sha=3feff72630b5a64f0b1c499fc37cf8ca79db70fa 07:13:15 ---> Running in fa3038c0b6ec 07:13:16 Removing intermediate container fa3038c0b6ec 07:13:16 ---> c0465951c516 07:13:16 Step 23/23 : LABEL version=3.0.0-dev.69 07:13:16 ---> Running in 404f631855d6 07:13:16 Removing intermediate container 404f631855d6 07:13:16 ---> bac431369d4d 07:13:16 [Warning] One or more build-args [ARCH] were not consumed 07:13:16 Successfully built bac431369d4d 07:13:16 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 07:13:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:13:16 07:13:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:13:17 arm64: Pulling from edgex-lftools-log-publisher 07:13:17 8998bd30e6a1: Pulling fs layer 07:13:17 04944245beec: Pulling fs layer 07:13:17 699f458cf7ca: Pulling fs layer 07:13:17 765212b225bb: Pulling fs layer 07:13:17 f23df028b6ca: Pulling fs layer 07:13:17 d65c8cfc05b1: Pulling fs layer 07:13:17 2437ff75d9bd: Pulling fs layer 07:13:17 765212b225bb: Waiting 07:13:17 f23df028b6ca: Waiting 07:13:17 d65c8cfc05b1: Waiting 07:13:17 2437ff75d9bd: Waiting 07:13:17 04944245beec: Verifying Checksum 07:13:17 04944245beec: Download complete 07:13:17 765212b225bb: Verifying Checksum 07:13:17 765212b225bb: Download complete 07:13:17 f23df028b6ca: Download complete 07:13:17 d65c8cfc05b1: Verifying Checksum 07:13:17 d65c8cfc05b1: Download complete 07:13:17 699f458cf7ca: Verifying Checksum 07:13:17 699f458cf7ca: Download complete 07:13:18 8998bd30e6a1: Download complete 07:13:20 2437ff75d9bd: Verifying Checksum 07:13:20 2437ff75d9bd: Download complete 07:13:21 8998bd30e6a1: Pull complete 07:13:22 04944245beec: Pull complete 07:13:24 699f458cf7ca: Pull complete 07:13:24 765212b225bb: Pull complete 07:13:24 f23df028b6ca: Pull complete 07:13:25 d65c8cfc05b1: Pull complete 07:13:40 2437ff75d9bd: Pull complete 07:13:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:13:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:13:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:13:40 prd-ubuntu20.04-docker-arm64-4c-16g-8699 does not seem to be running inside a container 07:13:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/200 -v /w/workspace/device-sdk-go/200:/w/workspace/device-sdk-go/200:rw,z -v /w/workspace/device-sdk-go/200@tmp:/w/workspace/device-sdk-go/200@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 07:13:43 $ docker top 398afaf5e5b3135d52eb5fe6b482fd5fec7ad83693e282d86f49c7f28ed3e459 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:13:44 ---> job-cost.sh 07:13:44 lf-activate-venv: SKIPPING 07:13:44 INFO: No Stack... 07:13:45 INFO: Retrieving Pricing Info for: v3-standard-4 07:13:46 INFO: Archiving Costs [Pipeline] sh 07:13:46 + cat /w/workspace/device-sdk-go/200/archives/cost.csv 07:13:46 + cut -d, -f6 [Pipeline] lock 07:13:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-200-stack-cost] 07:13:46 Resource [jenkins-edgexfoundry-device-sdk-go-main-200-stack-cost] did not exist. Created. 07:13:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-200-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:13:47 /w/workspace/device-sdk-go/200@tmp/durable-ed68976e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:13:48 + echo total: 0.10999999940395355 [Pipeline] stash 07:13:48 Warning: overwriting stash ‘stack-cost’ 07:13:48 Stashed 1 file(s) [Pipeline] } 07:13:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-200-stack-cost] [Pipeline] // lock [Pipeline] } 07:13:48 $ docker stop --time=1 398afaf5e5b3135d52eb5fe6b482fd5fec7ad83693e282d86f49c7f28ed3e459 07:13:52 $ docker rm -f --volumes 398afaf5e5b3135d52eb5fe6b482fd5fec7ad83693e282d86f49c7f28ed3e459 [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 07:13:52 provisioning config files... 07:13:52 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10236185352499228550tmp [Pipeline] { [Pipeline] sh 07:13:53 + set +x 07:13:53 + curl -s https://codecov.io/bash 07:13:53 + bash -s -- 07:13:53 07:13:53 _____ _ 07:13:53 / ____| | | 07:13:53 | | ___ __| | ___ ___ _____ __ 07:13:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:13:53 | |___| (_) | (_| | __/ (_| (_) \ V / 07:13:53 \_____\___/ \__,_|\___|\___\___/ \_/ 07:13:53 Bash-1.0.6 07:13:53 07:13:53 07:13:53 ==> git version 2.25.1 found 07:13:53 ==> 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 07:13:53 Release-Date: 2020-01-08 07:13:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:13:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:13:53 ==> Jenkins CI detected. 07:13:53 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 07:13:53 project root: . 07:13:53 --> token set from env 07:13:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:13:53 ==> Running gcov in . (disable via -X gcov) 07:13:53 ==> Python coveragepy not found 07:13:53 ==> Searching for coverage reports in: 07:13:53 + . 07:13:53 -> Found 1 reports 07:13:53 ==> Detecting git/mercurial file structure 07:13:53 ==> Reading reports 07:13:53 + ./coverage.out bytes=106119 07:13:53 ==> Appending adjustments 07:13:53 https://docs.codecov.io/docs/fixing-reports 07:13:53 + Found adjustments 07:13:53 ==> Gzipping contents 07:13:53 16K /tmp/codecov.EU57VQ.gz 07:13:53 ==> Uploading reports 07:13:53 url: https://codecov.io 07:13:53 query: branch=main&commit=3feff72630b5a64f0b1c499fc37cf8ca79db70fa&build=200&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F200%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:13:53 -> Pinging Codecov 07:13:53 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=3feff72630b5a64f0b1c499fc37cf8ca79db70fa&build=200&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F200%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:13:53 -> Uploading to 07:13:53 https://storage.googleapis.com/codecov/v4/raw/2023-04-17/7E55EF52A471D76F132DFD9A03CDDE97/3feff72630b5a64f0b1c499fc37cf8ca79db70fa/f7a353d6-43f3-427b-ac10-991c6941965a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T071353Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c4d714940cd08b8c5f5aa63b2065d0c54621f636e23fc034640c9ad120aec442 07:13:53 % Total % Received % Xferd Average Speed Time Time Time Current 07:13:53 Dload Upload Total Spent Left Speed 07:13:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15027 0 0 100 15027 0 67995 --:--:-- --:--:-- --:--:-- 67689 100 15027 0 0 100 15027 0 58470 --:--:-- --:--:-- --:--:-- 58470 07:13:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/3feff72630b5a64f0b1c499fc37cf8ca79db70fa [Pipeline] } 07:13:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:13:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:13:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:13:54 07:13:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:13:54 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:13:54 df9b9388f04a: Pulling fs layer 07:13:54 52dc419b0ee2: Pulling fs layer 07:13:54 25bc292e5bac: Pulling fs layer 07:13:54 114826534d7a: Pulling fs layer 07:13:54 4657fd5d0bcf: Pulling fs layer 07:13:54 6ad1cebc031e: Pulling fs layer 07:13:54 8a3aa393b2d8: Pulling fs layer 07:13:54 114826534d7a: Waiting 07:13:54 4657fd5d0bcf: Waiting 07:13:54 6ad1cebc031e: Waiting 07:13:54 8a3aa393b2d8: Waiting 07:13:54 25bc292e5bac: Download complete 07:13:54 52dc419b0ee2: Verifying Checksum 07:13:54 52dc419b0ee2: Download complete 07:13:54 4657fd5d0bcf: Verifying Checksum 07:13:54 4657fd5d0bcf: Download complete 07:13:54 df9b9388f04a: Download complete 07:13:54 6ad1cebc031e: Verifying Checksum 07:13:54 6ad1cebc031e: Download complete 07:13:54 df9b9388f04a: Pull complete 07:13:54 52dc419b0ee2: Pull complete 07:13:54 25bc292e5bac: Pull complete 07:13:55 114826534d7a: Verifying Checksum 07:13:55 114826534d7a: Download complete 07:13:55 8a3aa393b2d8: Verifying Checksum 07:13:55 8a3aa393b2d8: Download complete 07:13:58 114826534d7a: Pull complete 07:13:58 4657fd5d0bcf: Pull complete 07:13:59 6ad1cebc031e: Pull complete 07:14:01 8a3aa393b2d8: Pull complete 07:14:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:14:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:14:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:01 prd-ubuntu20.04-docker-8c-8g-8698 does not seem to be running inside a container 07:14:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:14:04 $ docker top 47e3d98ca7b68cbcbc14105f69f6a0e884633121e0091f6e015ef89ff37dc8e6 -eo pid,comm [Pipeline] { [Pipeline] echo 07:14:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 07:14:04 + set -o pipefail 07:14:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 07:14:10 07:14:10 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 07:14:10 07:14:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/7aed4b37-7eac-4db7-93e0-3b909dc2b461 07:14:10 07:14:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:14:10 07:14:10 07:14:10 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:14:10 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:14:10 More details here: https://snyk.co/ue1NS [Pipeline] } 07:14:10 $ docker stop --time=1 47e3d98ca7b68cbcbc14105f69f6a0e884633121e0091f6e015ef89ff37dc8e6 07:14:12 $ docker rm -f --volumes 47e3d98ca7b68cbcbc14105f69f6a0e884633121e0091f6e015ef89ff37dc8e6 [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 07:14:12 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:14:12 provisioning config files... 07:14:12 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10676067342548492254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:14:13 --> edgex-publish-swagger.sh 07:14:13 === Publish openapi/v3 API === 07:14:13 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 07:14:13 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 07:14:13 % Total % Received % Xferd Average Speed Time Time Time Current 07:14:13 Dload Upload Total Spent Left Speed 07:14:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 41679 --:--:-- --:--:-- --:--:-- 41679 100 23674 0 0 100 23674 0 41679 --:--:-- --:--:-- --:--:-- 41606 07:14:13 07:14:13 [Pipeline] } 07:14: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 07:14:14 + git log --format=format:%s -1 3feff72630b5a64f0b1c499fc37cf8ca79db70fa [Pipeline] sh 07:14:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:14:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:14:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:14 prd-ubuntu20.04-docker-8c-8g-8698 does not seem to be running inside a container 07:14: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:14:15 $ docker top 61a724fcb6837261ed2fed934f1c6fc2fec7ee08c1af5020351112f32b4891bf -eo pid,comm 07:14:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:14:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:14:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:15 [ssh-agent] Looking for ssh-agent implementation... 07:14:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:15 $ docker exec 61a724fcb6837261ed2fed934f1c6fc2fec7ee08c1af5020351112f32b4891bf ssh-agent 07:14:15 SSH_AUTH_SOCK=/tmp/ssh-6iNmWK7mqAIk/agent.32 07:14:15 SSH_AGENT_PID=38 07:14:15 Running ssh-add (command line suppressed) 07:14:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_707172843820809882.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_707172843820809882.key) 07:14:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:16 + git semver tag 07:14:16 2023-04-17 07:14:16,318 [run_tag] DEBUG tag force:False 07:14:16 2023-04-17 07:14:16,318 [check_head_tag] DEBUG check head tag 07:14:16 2023-04-17 07:14:16,320 [execute] INFO git cat-file --batch-check 07:14:16 2023-04-17 07:14:16,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:14:16 2023-04-17 07:14:16,324 [execute] INFO git cat-file --batch 07:14:16 2023-04-17 07:14:16,324 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:14:16 2023-04-17 07:14:16,367 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:14:16 2023-04-17 07:14:16,368 [execute] INFO git tag -a v3.0.0-dev.69 -m v3.0.0-dev.69 07:14:16 2023-04-17 07:14:16,368 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.69', '-m', 'v3.0.0-dev.69'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 07:14:16 2023-04-17 07:14:16,373 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:14:16 3.0.0-dev.69 [Pipeline] } 07:14:16 $ docker exec --env ******** --env ******** 61a724fcb6837261ed2fed934f1c6fc2fec7ee08c1af5020351112f32b4891bf ssh-agent -k 07:14:16 unset SSH_AUTH_SOCK; 07:14:16 unset SSH_AGENT_PID; 07:14:16 echo Agent pid 38 killed; 07:14:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:14:17 + git semver [Pipeline] } 07:14:17 $ docker stop --time=1 61a724fcb6837261ed2fed934f1c6fc2fec7ee08c1af5020351112f32b4891bf 07:14:18 $ docker rm -f --volumes 61a724fcb6837261ed2fed934f1c6fc2fec7ee08c1af5020351112f32b4891bf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:14:19 07:14:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:14:19 0.23.1-centos7: Pulling from edgex-lftools 07:14:19 ab5ef0e58194: Pulling fs layer 07:14:19 9712f1f96733: Pulling fs layer 07:14:19 63f879dbbcfc: Pulling fs layer 07:14:19 0d9ebad4ef96: Pulling fs layer 07:14:19 e9a5061849ea: Pulling fs layer 07:14:19 d747dcd14b5f: Pulling fs layer 07:14:19 2de7ff778b66: Pulling fs layer 07:14:19 0d9ebad4ef96: Waiting 07:14:19 e9a5061849ea: Waiting 07:14:19 d747dcd14b5f: Waiting 07:14:19 2de7ff778b66: Waiting 07:14:19 9712f1f96733: Verifying Checksum 07:14:19 9712f1f96733: Download complete 07:14:19 63f879dbbcfc: Verifying Checksum 07:14:19 63f879dbbcfc: Download complete 07:14:19 0d9ebad4ef96: Verifying Checksum 07:14:19 0d9ebad4ef96: Download complete 07:14:19 d747dcd14b5f: Download complete 07:14:19 e9a5061849ea: Verifying Checksum 07:14:19 e9a5061849ea: Download complete 07:14:19 ab5ef0e58194: Verifying Checksum 07:14:19 ab5ef0e58194: Download complete 07:14:19 2de7ff778b66: Verifying Checksum 07:14:23 ab5ef0e58194: Pull complete 07:14:23 9712f1f96733: Pull complete 07:14:23 63f879dbbcfc: Pull complete 07:14:27 0d9ebad4ef96: Pull complete 07:14:27 e9a5061849ea: Pull complete 07:14:27 d747dcd14b5f: Pull complete 07:14:29 2de7ff778b66: Pull complete 07:14:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:14:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:14:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:29 prd-ubuntu20.04-docker-8c-8g-8698 does not seem to be running inside a container 07:14:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:14:31 $ docker top dcbd802c43a93366a69acd94a90bb8af9d67d8e177da85e8fed5f5b491a2ed20 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:14:31 provisioning config files... 07:14:31 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11080455396744185219tmp 07:14:32 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3014351435334082397tmp 07:14:32 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6309064855041717272tmp [Pipeline] { [Pipeline] echo 07:14:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:14:32 ---> sigul-configuration.sh 07:14:32 gpg: directory `/root/.gnupg' created 07:14:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:14:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:14:32 gpg: keyring `/root/.gnupg/secring.gpg' created 07:14:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:14:32 gpg: CAST5 encrypted data 07:14:32 gpg: encrypted with 1 passphrase 07:14:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:14:32 + mkdir /home/jenkins 07:14:32 + mkdir /home/jenkins/sigul [Pipeline] sh 07:14:32 + 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 07:14:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:14:33 ---> sigul-install.sh 07:14:33 Sigul already installed; skipping installation. [Pipeline] sh 07:14:33 + git tag --list 07:14:33 0.7.1 07:14:33 delhi-tag 07:14:33 v1.0.0 07:14:33 v1.1.0 07:14:33 v1.1.1 07:14:33 v1.1.2 07:14:33 v1.2.0 07:14:33 v1.2.1 07:14:33 v1.2.2 07:14:33 v1.2.3 07:14:33 v1.3.0 07:14:33 v1.4.0 07:14:33 v2.0.0 07:14:33 v2.1.0 07:14:33 v2.1.1 07:14:33 v2.1.1-dev.2 07:14:33 v2.1.1-dev.3 07:14:33 v2.2.0 07:14:33 v2.2.1-dev.1 07:14:33 v2.2.1-dev.10 07:14:33 v2.2.1-dev.11 07:14:33 v2.2.1-dev.12 07:14:33 v2.2.1-dev.13 07:14:33 v2.2.1-dev.14 07:14:33 v2.2.1-dev.2 07:14:33 v2.2.1-dev.3 07:14:33 v2.2.1-dev.4 07:14:33 v2.2.1-dev.5 07:14:33 v2.2.1-dev.6 07:14:33 v2.2.1-dev.7 07:14:33 v2.2.1-dev.8 07:14:33 v2.2.1-dev.9 07:14:33 v2.3.0 07:14:33 v2.3.0-dev.14 07:14:33 v2.3.0-dev.15 07:14:33 v2.3.0-dev.16 07:14:33 v2.3.0-dev.17 07:14:33 v2.3.0-dev.18 07:14:33 v2.3.0-dev.19 07:14:33 v2.3.0-dev.20 07:14:33 v2.3.0-dev.21 07:14:33 v2.3.0-dev.22 07:14:33 v2.3.0-dev.23 07:14:33 v2.3.0-dev.24 07:14:33 v2.3.0-dev.25 07:14:33 v2.3.0-dev.26 07:14:33 v2.3.0-dev.27 07:14:33 v2.3.0-dev.28 07:14:33 v2.3.0-dev.29 07:14:33 v2.3.0-dev.30 07:14:33 v2.3.0-dev.31 07:14:33 v2.3.0-dev.32 07:14:33 v2.3.0-dev.33 07:14:33 v2.3.0-dev.34 07:14:33 v2.3.0-dev.35 07:14:33 v2.3.0-dev.36 07:14:33 v2.3.0-dev.37 07:14:33 v2.3.0-dev.38 07:14:33 v2.3.0-dev.39 07:14:33 v2.3.0-dev.40 07:14:33 v2.3.0-dev.41 07:14:33 v2.3.0-dev.42 07:14:33 v2.3.0-dev.43 07:14:33 v2.3.0-dev.44 07:14:33 v2.3.0-dev.45 07:14:33 v2.3.0-dev.46 07:14:33 v2.3.0-dev.47 07:14:33 v2.3.0-dev.48 07:14:33 v2.3.0-dev.49 07:14:33 v2.3.0-dev.50 07:14:33 v2.3.0-dev.51 07:14:33 v2.3.1 07:14:33 v2.3.1-dev.1 07:14:33 v2.3.1-dev.2 07:14:33 v2.3.1-dev.3 07:14:33 v2.3.1-dev.4 07:14:33 v3.0.0-dev.1 07:14:33 v3.0.0-dev.10 07:14:33 v3.0.0-dev.11 07:14:33 v3.0.0-dev.12 07:14:33 v3.0.0-dev.13 07:14:33 v3.0.0-dev.14 07:14:33 v3.0.0-dev.15 07:14:33 v3.0.0-dev.16 07:14:33 v3.0.0-dev.17 07:14:33 v3.0.0-dev.18 07:14:33 v3.0.0-dev.19 07:14:33 v3.0.0-dev.2 07:14:33 v3.0.0-dev.20 07:14:33 v3.0.0-dev.21 07:14:33 v3.0.0-dev.22 07:14:33 v3.0.0-dev.23 07:14:33 v3.0.0-dev.24 07:14:33 v3.0.0-dev.25 07:14:33 v3.0.0-dev.26 07:14:33 v3.0.0-dev.27 07:14:33 v3.0.0-dev.28 07:14:33 v3.0.0-dev.29 07:14:33 v3.0.0-dev.3 07:14:33 v3.0.0-dev.30 07:14:33 v3.0.0-dev.31 07:14:33 v3.0.0-dev.32 07:14:33 v3.0.0-dev.33 07:14:33 v3.0.0-dev.34 07:14:33 v3.0.0-dev.35 07:14:33 v3.0.0-dev.36 07:14:33 v3.0.0-dev.37 07:14:33 v3.0.0-dev.38 07:14:33 v3.0.0-dev.39 07:14:33 v3.0.0-dev.4 07:14:33 v3.0.0-dev.40 07:14:33 v3.0.0-dev.41 07:14:33 v3.0.0-dev.42 07:14:33 v3.0.0-dev.43 07:14:33 v3.0.0-dev.44 07:14:33 v3.0.0-dev.45 07:14:33 v3.0.0-dev.46 07:14:33 v3.0.0-dev.47 07:14:33 v3.0.0-dev.48 07:14:33 v3.0.0-dev.49 07:14:33 v3.0.0-dev.5 07:14:33 v3.0.0-dev.50 07:14:33 v3.0.0-dev.51 07:14:33 v3.0.0-dev.52 07:14:33 v3.0.0-dev.53 07:14:33 v3.0.0-dev.54 07:14:33 v3.0.0-dev.55 07:14:33 v3.0.0-dev.56 07:14:33 v3.0.0-dev.57 07:14:33 v3.0.0-dev.58 07:14:33 v3.0.0-dev.59 07:14:33 v3.0.0-dev.6 07:14:33 v3.0.0-dev.60 07:14:33 v3.0.0-dev.61 07:14:33 v3.0.0-dev.62 07:14:33 v3.0.0-dev.63 07:14:33 v3.0.0-dev.64 07:14:33 v3.0.0-dev.65 07:14:33 v3.0.0-dev.66 07:14:33 v3.0.0-dev.67 07:14:33 v3.0.0-dev.68 07:14:33 v3.0.0-dev.69 07:14:33 v3.0.0-dev.7 07:14:33 v3.0.0-dev.8 07:14:33 v3.0.0-dev.9 [Pipeline] sh 07:14:33 + lftools sign git-tag v3.0.0-dev.69 07:14:34 Signing Git tag with Sigul... 07:14:34 Signing v3.0.0-dev.69 [Pipeline] echo 07:14:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:14:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:14:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:14:35 $ docker stop --time=1 dcbd802c43a93366a69acd94a90bb8af9d67d8e177da85e8fed5f5b491a2ed20 07:14:36 $ docker rm -f --volumes dcbd802c43a93366a69acd94a90bb8af9d67d8e177da85e8fed5f5b491a2ed20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:14:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:14:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:14:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:37 prd-ubuntu20.04-docker-8c-8g-8698 does not seem to be running inside a container 07:14: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:14:37 $ docker top 936f0cd67c770d56a9a09d3004a017c55644fbb2f4aec94b955dfc3ad617b7cd -eo pid,comm 07:14: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). 07:14:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:14:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:37 [ssh-agent] Looking for ssh-agent implementation... 07:14:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:37 $ docker exec 936f0cd67c770d56a9a09d3004a017c55644fbb2f4aec94b955dfc3ad617b7cd ssh-agent 07:14:38 SSH_AUTH_SOCK=/tmp/ssh-xUxNzqvFf6t6/agent.32 07:14:38 SSH_AGENT_PID=38 07:14:38 Running ssh-add (command line suppressed) 07:14:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6043418400213299566.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6043418400213299566.key) 07:14:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:38 + git semver bump pre 07:14:38 2023-04-17 07:14:38,685 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:14:38 2023-04-17 07:14:38,686 [bump_version] DEBUG bumping version:3.0.0-dev.69 on axis:pre with prefix:dev 07:14:38 2023-04-17 07:14:38,686 [bump_version] DEBUG bumped version:3.0.0-dev.70 07:14:38 2023-04-17 07:14:38,686 [write_version] DEBUG write version:3.0.0-dev.70 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 07:14:38 2023-04-17 07:14:38,686 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:14:38 2023-04-17 07:14:38,686 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:14:38 2023-04-17 07:14:38,688 [execute] INFO git cat-file --batch-check 07:14:38 2023-04-17 07:14:38,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:14:38 2023-04-17 07:14:38,694 [execute] INFO git cat-file --batch 07:14:38 2023-04-17 07:14:38,694 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:14:38 2023-04-17 07:14:38,700 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:14:38 3.0.0-dev.70 [Pipeline] } 07:14:38 $ docker exec --env ******** --env ******** 936f0cd67c770d56a9a09d3004a017c55644fbb2f4aec94b955dfc3ad617b7cd ssh-agent -k 07:14:38 unset SSH_AUTH_SOCK; 07:14:38 unset SSH_AGENT_PID; 07:14:38 echo Agent pid 38 killed; 07:14:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:14:39 + git semver [Pipeline] } 07:14:39 $ docker stop --time=1 936f0cd67c770d56a9a09d3004a017c55644fbb2f4aec94b955dfc3ad617b7cd 07:14:41 $ docker rm -f --volumes 936f0cd67c770d56a9a09d3004a017c55644fbb2f4aec94b955dfc3ad617b7cd [Pipeline] // withDockerContainer [Pipeline] sh 07:14:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:14:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:14:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:42 prd-ubuntu20.04-docker-8c-8g-8698 does not seem to be running inside a container 07:14:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:14:45 $ docker top b51f32f8947f001802f0c421feb1825a4c8dbef932c61f24b32817e42191911f -eo pid,comm 07:14:45 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). 07:14:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:14:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:45 [ssh-agent] Looking for ssh-agent implementation... 07:14:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:45 $ docker exec b51f32f8947f001802f0c421feb1825a4c8dbef932c61f24b32817e42191911f ssh-agent 07:14:45 SSH_AUTH_SOCK=/tmp/ssh-fP5DS5Y9URM1/agent.14 07:14:45 SSH_AGENT_PID=20 07:14:45 Running ssh-add (command line suppressed) 07:14:45 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10997024244013220851.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10997024244013220851.key) 07:14:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:45 + git semver push 07:14:46 2023-04-17 07:14:45,982 [run_push] DEBUG push 07:14:46 2023-04-17 07:14:45,983 [execute] INFO git cat-file --batch-check 07:14:46 2023-04-17 07:14:45,984 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:14:46 2023-04-17 07:14:45,988 [execute] INFO git rev-list c01aeacae84298191e46c3a898da2440cdda58f7 -- 07:14:46 2023-04-17 07:14:45,989 [execute] DEBUG Popen(['git', 'rev-list', 'c01aeacae84298191e46c3a898da2440cdda58f7', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:14:46 2023-04-17 07:14:46,000 [execute] INFO git fetch -v origin 07:14:46 2023-04-17 07:14:46,000 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:14:46 2023-04-17 07:14:46,489 [run_push] DEBUG no remote changes detected 07:14:46 2023-04-17 07:14:46,490 [execute] INFO git push origin semver 07:14:46 2023-04-17 07:14:46,490 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:14:47 2023-04-17 07:14:47,256 [run_push] DEBUG push all version tags 07:14:47 2023-04-17 07:14:47,256 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:14:47 2023-04-17 07:14:47,257 [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) 07:14:48 2023-04-17 07:14:48,076 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:14:48 3.0.0-dev.70 [Pipeline] } 07:14:48 $ docker exec --env ******** --env ******** b51f32f8947f001802f0c421feb1825a4c8dbef932c61f24b32817e42191911f ssh-agent -k 07:14:48 unset SSH_AUTH_SOCK; 07:14:48 unset SSH_AGENT_PID; 07:14:48 echo Agent pid 20 killed; 07:14:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:14:48 + git semver [Pipeline] } 07:14:49 $ docker stop --time=1 b51f32f8947f001802f0c421feb1825a4c8dbef932c61f24b32817e42191911f 07:14:52 $ docker rm -f --volumes b51f32f8947f001802f0c421feb1825a4c8dbef932c61f24b32817e42191911f [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 07:14:52 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 07:14:52 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:14:52 total 16 07:14:52 drwxr-xr-x 3 root root 4096 Apr 17 07:00 . 07:14:52 drwxrwxr-x 12 jenkins jenkins 4096 Apr 17 07:14 .. 07:14:52 drwxr-xr-x 2 root root 4096 Apr 17 07:00 cost 07:14:52 -rw-r--r-- 1 root root 85 Apr 17 07:00 cost.csv 07:14:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:14:52 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:14:52 total 16 07:14:52 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 07:00 . 07:14:52 drwxrwxr-x 12 jenkins jenkins 4096 Apr 17 07:14 .. 07:14:52 drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 07:00 cost 07:14:52 -rw-r--r-- 1 jenkins jenkins 85 Apr 17 07:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:14:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:14:54 ---> package-listing.sh 07:14:54 ++ facter osfamily 07:14:54 ++ tr '[:upper:]' '[:lower:]' 07:14:54 + OS_FAMILY=debian 07:14:54 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 07:14:54 + START_PACKAGES=/tmp/packages_start.txt 07:14:54 + END_PACKAGES=/tmp/packages_end.txt 07:14:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:14:54 + PACKAGES=/tmp/packages_start.txt 07:14:54 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:14:54 + PACKAGES=/tmp/packages_end.txt 07:14:54 + case "${OS_FAMILY}" in 07:14:54 + dpkg -l 07:14:54 + grep '^ii' 07:14:54 + '[' -f /tmp/packages_start.txt ']' 07:14:54 + '[' -f /tmp/packages_end.txt ']' 07:14:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:14:54 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:14:54 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 07:14:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 07:14:54 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 07:14:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:14:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:55 prd-ubuntu20.04-docker-8c-8g-8698 does not seem to be running inside a container 07:14:55 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:14:55 $ docker top 5a534a1d6cfdbadc23fe9788458f8c6dd8baedd0fc21ae8b2b18d08097cf1c5e -eo pid,comm [Pipeline] { [Pipeline] sh 07:14:55 + touch /tmp/pre-build-complete [Pipeline] sh 07:14:56 + mkdir -p /var/log/sysstat [Pipeline] sh 07:14:56 + ls /var/log/sa-host 07:14:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:14:56 provisioning config files... 07:14:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2716063468785252319tmp [Pipeline] { [Pipeline] echo 07:14:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:14:56 ---> create-netrc.sh [Pipeline] } 07:14:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:14:57 ---> python-tools-install.sh [Pipeline] echo 07:14:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:14:57 ---> sudo-logs.sh 07:14:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:14:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:14:57 ---> job-cost.sh 07:14:57 lf-activate-venv: SKIPPING 07:14:57 DEBUG: total: 0.2199999988079071 07:14:57 INFO: Retrieving Stack Cost... 07:14:57 INFO: Retrieving Pricing Info for: v3-standard-8 07:14:58 INFO: Archiving Costs [Pipeline] echo 07:14:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:14:58 ---> logs-deploy.sh 07:14:58 lf-activate-venv: SKIPPING 07:14:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/200 07:14:58 INFO: archiving workspace using pattern(s): 07:14:59 Archives upload complete. 07:15:00 INFO: archiving logs to Nexus