Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8615fc25123047f243aada2a729ac9237acb70ec 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-ssh7457946890995741322.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-ssh10017829745409432660.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-ssh16422224992914838168.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-ssh16639153923558477131.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-ssh3716858296521203274.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8968 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8615fc25123047f243aada2a729ac9237acb70ec (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8615fc25123047f243aada2a729ac9237acb70ec # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1426)" > git rev-list --no-walk bf9c3392919180a8df7f2fb5f876c062118bfa6b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:00:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:00:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:00:40 ========================================================= 19:00:40 EdgeX Global Pipelines Version Info 19:00:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:00:40 ------------------- 19:00:40 stable info: 19:00:40 ------------------- 19:00:40 Commited By: Bill Mahoney bill.mahoney@intel.com 19:00:40 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 19:00:40 Message: update stable to v1.0.248 19:00:41 ------------------- 19:00:41 experimental info: 19:00:41 ------------------- 19:00:41 Commited By: **** collab-it+edgex@linuxfoundation.org 19:00:41 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 19:00:41 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 19:00:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:00:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:00:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:00:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:00:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:00:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:00:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:00:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:00:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8615fc25123047f243aada2a729ac9237acb70ec [Pipeline] echo 19:00:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8615fc2 [Pipeline] echo 19:00:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:00:42 provisioning config files... 19:00:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1431196138698170235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:00:42 ---> docker-login.sh 19:00:42 nexus3.edgexfoundry.org:10001 19:00:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:42 Configure a credential helper to remove this warning. See 19:00:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:42 19:00:42 Login Succeeded 19:00:42 nexus3.edgexfoundry.org:10002 19:00:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:43 Configure a credential helper to remove this warning. See 19:00:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:43 19:00:43 Login Succeeded 19:00:43 nexus3.edgexfoundry.org:10003 19:00:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:43 Configure a credential helper to remove this warning. See 19:00:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:43 19:00:43 Login Succeeded 19:00:43 nexus3.edgexfoundry.org:10004 19:00:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:43 Configure a credential helper to remove this warning. See 19:00:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:43 19:00:43 Login Succeeded 19:00:43 docker.io 19:00:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:43 Configure a credential helper to remove this warning. See 19:00:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:43 19:00:43 Login Succeeded 19:00:43 ---> docker-login.sh ends [Pipeline] } 19:00:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:00:43 + git rev-list -1 --merges 8615fc25123047f243aada2a729ac9237acb70ec~1..8615fc25123047f243aada2a729ac9237acb70ec [Pipeline] echo 19:00:44 -----------> git rev-list -1 --merges 8615fc25123047f243aada2a729ac9237acb70ec~1..8615fc25123047f243aada2a729ac9237acb70ec 8615fc25123047f243aada2a729ac9237acb70ec [false] [Pipeline] sh 19:00:44 + git log --format=format:%s -1 8615fc25123047f243aada2a729ac9237acb70ec [Pipeline] echo 19:00:44 ========================================================= 19:00:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:00:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:00:44 + git log --format=format:%s -1 8615fc25123047f243aada2a729ac9237acb70ec [Pipeline] echo 19:00:44 [semverPrep] GIT_COMMIT: 8615fc25123047f243aada2a729ac9237acb70ec, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1426) [Pipeline] echo 19:00:44 [semverPrep] This is not a build commit. [Pipeline] sh 19:00:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:00:45 + grep -v github /etc/ssh/ssh_known_hosts 19:00:45 + [ -e /tmp/ssh_known_hosts ] 19:00:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:00:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:00:45 + sudo tee -a /etc/ssh/ssh_known_hosts 19:00:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:45 19:00:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:45 0.1.4: Pulling from edgex-devops/py-git-semver 19:00:45 b85a868b505f: Pulling fs layer 19:00:45 e2be974225ed: Pulling fs layer 19:00:45 339a4e72a1f5: Pulling fs layer 19:00:45 988bab9f4d93: Pulling fs layer 19:00:45 1469e6f7b9e6: Pulling fs layer 19:00:45 eaf3925da568: Pulling fs layer 19:00:45 bab4dde63d76: Pulling fs layer 19:00:45 bde34c3a00c8: Pulling fs layer 19:00:45 b352a97aabf1: Pulling fs layer 19:00:45 4872d77fe225: Pulling fs layer 19:00:45 5851b861e8e6: Pulling fs layer 19:00:45 988bab9f4d93: Waiting 19:00:45 1469e6f7b9e6: Waiting 19:00:45 eaf3925da568: Waiting 19:00:45 bab4dde63d76: Waiting 19:00:45 bde34c3a00c8: Waiting 19:00:45 b352a97aabf1: Waiting 19:00:45 4872d77fe225: Waiting 19:00:45 5851b861e8e6: Waiting 19:00:45 e2be974225ed: Verifying Checksum 19:00:45 e2be974225ed: Download complete 19:00:45 988bab9f4d93: Verifying Checksum 19:00:45 988bab9f4d93: Download complete 19:00:45 339a4e72a1f5: Verifying Checksum 19:00:45 339a4e72a1f5: Download complete 19:00:45 1469e6f7b9e6: Verifying Checksum 19:00:45 1469e6f7b9e6: Download complete 19:00:45 eaf3925da568: Verifying Checksum 19:00:45 eaf3925da568: Download complete 19:00:45 bde34c3a00c8: Download complete 19:00:45 b352a97aabf1: Verifying Checksum 19:00:45 b352a97aabf1: Download complete 19:00:45 4872d77fe225: Verifying Checksum 19:00:45 4872d77fe225: Download complete 19:00:45 5851b861e8e6: Verifying Checksum 19:00:45 5851b861e8e6: Download complete 19:00:45 b85a868b505f: Verifying Checksum 19:00:45 b85a868b505f: Download complete 19:00:46 bab4dde63d76: Verifying Checksum 19:00:46 bab4dde63d76: Download complete 19:00:47 b85a868b505f: Pull complete 19:00:47 e2be974225ed: Pull complete 19:00:48 339a4e72a1f5: Pull complete 19:00:48 988bab9f4d93: Pull complete 19:00:48 1469e6f7b9e6: Pull complete 19:00:48 eaf3925da568: Pull complete 19:00:50 bab4dde63d76: Pull complete 19:00:50 bde34c3a00c8: Pull complete 19:00:50 b352a97aabf1: Pull complete 19:00:50 4872d77fe225: Pull complete 19:00:50 5851b861e8e6: Pull complete 19:00:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:00:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:50 prd-ubuntu20.04-docker-8c-8g-8968 does not seem to be running inside a container 19:00:50 $ 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 19:00:54 $ docker top a8f01670d45aba74b58998917017f1d67a9ad859a1527d41f80d166fdd41adf8 -eo pid,comm 19:00:54 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). 19:00:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:00:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:00:54 [ssh-agent] Looking for ssh-agent implementation... 19:00:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:00:54 $ docker exec a8f01670d45aba74b58998917017f1d67a9ad859a1527d41f80d166fdd41adf8 ssh-agent 19:00:54 SSH_AUTH_SOCK=/tmp/ssh-niA0mTwWfm14/agent.32 19:00:54 SSH_AGENT_PID=38 19:00:54 Running ssh-add (command line suppressed) 19:00:55 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7940481687528393277.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7940481687528393277.key) 19:00:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:00:55 + git tag --points-at HEAD [Pipeline] } 19:00:55 $ docker exec --env ******** --env ******** a8f01670d45aba74b58998917017f1d67a9ad859a1527d41f80d166fdd41adf8 ssh-agent -k 19:00:55 unset SSH_AUTH_SOCK; 19:00:55 unset SSH_AGENT_PID; 19:00:55 echo Agent pid 38 killed; 19:00:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:00:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:00:55 [ssh-agent] Looking for ssh-agent implementation... 19:00:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:00:55 $ docker exec a8f01670d45aba74b58998917017f1d67a9ad859a1527d41f80d166fdd41adf8 ssh-agent 19:00:55 SSH_AUTH_SOCK=/tmp/ssh-gGoOrU7FN49T/agent.70 19:00:55 SSH_AGENT_PID=76 19:00:55 Running ssh-add (command line suppressed) 19:00:55 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15384901344863851097.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15384901344863851097.key) 19:00:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:00:56 + git semver init 19:00:56 2023-04-18 19:00:56,344 [run_init] DEBUG init version:0.0.0 force:False 19:00:56 2023-04-18 19:00:56,345 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 19:00:56 2023-04-18 19:00:56,345 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 19:00:56 2023-04-18 19:00:56,345 [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) 19:00:57 2023-04-18 19:00:57,242 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 19:00:57 2023-04-18 19:00:57,243 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 19:00:57 2023-04-18 19:00:57,243 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:00:57 2023-04-18 19:00:57,243 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:00:57 3.0.0-dev.71 [Pipeline] } 19:00:57 $ docker exec --env ******** --env ******** a8f01670d45aba74b58998917017f1d67a9ad859a1527d41f80d166fdd41adf8 ssh-agent -k 19:00:57 unset SSH_AUTH_SOCK; 19:00:57 unset SSH_AGENT_PID; 19:00:57 echo Agent pid 76 killed; 19:00:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:00:57 + git semver [Pipeline] } 19:00:58 $ docker stop --time=1 a8f01670d45aba74b58998917017f1d67a9ad859a1527d41f80d166fdd41adf8 19:00:59 $ docker rm -f --volumes a8f01670d45aba74b58998917017f1d67a9ad859a1527d41f80d166fdd41adf8 [Pipeline] // withDockerContainer [Pipeline] sh 19:00:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:00:59 Stashed 1 file(s) [Pipeline] echo 19:00:59 [edgeXSemver]: initialized semver on version 3.0.0-dev.71 [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 19:01:00 provisioning config files... 19:01:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2270931907361921365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:00 ---> docker-login.sh 19:01:00 nexus3.edgexfoundry.org:10001 19:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:00 Configure a credential helper to remove this warning. See 19:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:00 19:01:00 Login Succeeded 19:01:00 nexus3.edgexfoundry.org:10002 19:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:00 Configure a credential helper to remove this warning. See 19:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:00 19:01:00 Login Succeeded 19:01:00 nexus3.edgexfoundry.org:10003 19:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:00 Configure a credential helper to remove this warning. See 19:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:00 19:01:00 Login Succeeded 19:01:00 nexus3.edgexfoundry.org:10004 19:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:00 Configure a credential helper to remove this warning. See 19:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:00 19:01:00 Login Succeeded 19:01:00 docker.io 19:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:00 Configure a credential helper to remove this warning. See 19:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:00 19:01:00 Login Succeeded 19:01:00 ---> docker-login.sh ends [Pipeline] } 19:01:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:01:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:01:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:01:01 ========================================================= 19:01:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:01:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:01 + 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 . 19:01:01 Sending build context to Docker daemon 10.96MB 19:01:01 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 19:01:01 Step 2/10 : FROM ${BASE} AS builder 19:01:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:01:01 63b65145d645: Pulling fs layer 19:01:01 a2d21d5440eb: Pulling fs layer 19:01:01 935e6c44a52c: Pulling fs layer 19:01:01 94cc34f8dd06: Pulling fs layer 19:01:01 30dea6a524f1: Pulling fs layer 19:01:01 a2aff8979fd8: Pulling fs layer 19:01:01 6808be2612f2: Pulling fs layer 19:01:01 f25807f1079a: Pulling fs layer 19:01:01 a2aff8979fd8: Waiting 19:01:01 6808be2612f2: Waiting 19:01:01 f25807f1079a: Waiting 19:01:01 94cc34f8dd06: Waiting 19:01:01 30dea6a524f1: Waiting 19:01:01 a2d21d5440eb: Verifying Checksum 19:01:01 a2d21d5440eb: Download complete 19:01:01 94cc34f8dd06: Verifying Checksum 19:01:01 94cc34f8dd06: Download complete 19:01:01 30dea6a524f1: Verifying Checksum 19:01:01 30dea6a524f1: Download complete 19:01:01 63b65145d645: Download complete 19:01:01 a2aff8979fd8: Verifying Checksum 19:01:01 a2aff8979fd8: Download complete 19:01:01 63b65145d645: Pull complete 19:01:01 a2d21d5440eb: Pull complete 19:01:01 f25807f1079a: Verifying Checksum 19:01:01 f25807f1079a: Download complete 19:01:02 935e6c44a52c: Verifying Checksum 19:01:02 935e6c44a52c: Download complete 19:01:02 6808be2612f2: Verifying Checksum 19:01:02 6808be2612f2: Download complete 19:01:05 935e6c44a52c: Pull complete 19:01:05 94cc34f8dd06: Pull complete 19:01:05 30dea6a524f1: Pull complete 19:01:05 a2aff8979fd8: Pull complete 19:01:08 6808be2612f2: Pull complete 19:01:09 f25807f1079a: Pull complete 19:01:09 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 19:01:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:01:09 ---> 3b553350e43f 19:01:09 Step 3/10 : ARG MAKE=make build 19:01:14 ---> Running in af8612057a5e 19:01:14 Removing intermediate container af8612057a5e 19:01:14 ---> 71cd1d278c9d 19:01:14 Step 4/10 : WORKDIR /device-sdk-go 19:01:14 ---> Running in c39a4d5c4c83 19:01:14 Removing intermediate container c39a4d5c4c83 19:01:14 ---> 64aa7e93107f 19:01:14 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:01:14 ---> Running in 1c3eef71223e 19:01:14 Removing intermediate container 1c3eef71223e 19:01:14 ---> 184e3f08fa00 19:01:14 Step 6/10 : RUN apk add --update --no-cache make git 19:01:14 ---> Running in d32c8b4c5e01 19:01:15 Still waiting to schedule task 19:01:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:01:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:01:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:01:15 OK: 265 MiB in 53 packages 19:01:15 Removing intermediate container d32c8b4c5e01 19:01:15 ---> e026a51bcf65 19:01:15 Step 7/10 : COPY go.mod vendor* ./ 19:01:15 ---> 6f169c88d3f3 19:01:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:01:15 ---> Running in ed95898751bd 19:01:54 Removing intermediate container ed95898751bd 19:01:54 ---> b66c6cf4ea8e 19:01:54 Step 9/10 : COPY . . 19:01:54 ---> d38cd26b635b 19:01:54 Step 10/10 : RUN ${MAKE} 19:01:54 ---> Running in 0b1bde7b4a38 19:01:54 noop 19:01:54 Removing intermediate container 0b1bde7b4a38 19:01:54 ---> 352ddf3677a2 19:01:54 Successfully built 352ddf3677a2 19:01:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:54 + docker inspect -f . ci-base-image-x86_64 19:01:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:55 prd-ubuntu20.04-docker-8c-8g-8968 does not seem to be running inside a container 19:01:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:01:55 $ docker top 32d8fb606c2b3f19e40e0537e2a265e40d578e09f80cf58ab325fb30b3a71216 -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:55 + go version 19:01:55 go version go1.20.2 linux/amd64 [Pipeline] } 19:01:55 $ docker stop --time=1 32d8fb606c2b3f19e40e0537e2a265e40d578e09f80cf58ab325fb30b3a71216 19:01:57 $ docker rm -f --volumes 32d8fb606c2b3f19e40e0537e2a265e40d578e09f80cf58ab325fb30b3a71216 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:57 + docker inspect -f . ci-base-image-x86_64 19:01:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:57 prd-ubuntu20.04-docker-8c-8g-8968 does not seem to be running inside a container 19:01:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:01:57 $ docker top 22d3ea244031e215a1e489d6727254db38edf98b2aee6e494cf952f6ff33365f -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:58 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 19:01:58 + make test 19:01:58 go test -race -coverprofile=coverage.out ./... 19:02:06 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 19:02:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 19:02:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 19:02:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 19:02:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 19:02:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 19:02:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements 19:02:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 19:02:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 19:02:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.063s coverage: 80.2% of statements 19:02:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.075s coverage: 86.0% of statements 19:02:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 19:02:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 19:02:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.105s coverage: 77.5% of statements 19:02:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 19:02:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 19:02:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 19:02:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.057s coverage: 14.6% of statements 19:02:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.084s coverage: 68.5% of statements 19:02:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.115s coverage: 89.2% of statements 19:02:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.064s coverage: 5.5% of statements 19:02:52 GO111MODULE=on go vet ./... 19:02:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:02:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:02:53 ./bin/test-attribution-txt.sh [Pipeline] echo 19:02:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:02:53 $ docker stop --time=1 22d3ea244031e215a1e489d6727254db38edf98b2aee6e494cf952f6ff33365f 19:02:57 $ docker rm -f --volumes 22d3ea244031e215a1e489d6727254db38edf98b2aee6e494cf952f6ff33365f [Pipeline] // withDockerContainer [Pipeline] sh 19:02:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:02:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:02:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:02:59 + ls -al . 19:02:59 total 272 19:02:59 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 19:01 . 19:02:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 19:00 .. 19:02:59 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 19:00 .dockerignore 19:02:59 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 19:00 .git 19:02:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 19:00 .github 19:02:59 -rw-rw-r-- 1 jenkins jenkins 131 Apr 18 19:00 .gitignore 19:02:59 -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 19:00 .golangci.yml 19:02:59 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 19:00 .semver 19:02:59 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 18 19:00 CHANGELOG.md 19:02:59 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 19:00 GOVERNANCE.md 19:02:59 -rw-rw-r-- 1 jenkins jenkins 885 Apr 18 19:00 Jenkinsfile 19:02:59 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 18 19:00 LICENSE 19:02:59 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 18 19:00 Makefile 19:02:59 -rw-rw-r-- 1 jenkins jenkins 619 Apr 18 19:00 OWNERS.md 19:02:59 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 18 19:00 README.md 19:02:59 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 19:00 VERSION 19:02:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 19:00 bin 19:02:59 -rw-r--r-- 1 jenkins jenkins 106119 Apr 18 19:02 coverage.out 19:02:59 drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 19:00 example 19:02:59 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 18 19:00 go.mod 19:02:59 -rw-rw-r-- 1 jenkins jenkins 30896 Apr 18 19:00 go.sum 19:02:59 drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 19:00 internal 19:02:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 19:00 openapi 19:02:59 drwxrwxr-x 6 jenkins jenkins 4096 Apr 18 19:00 pkg 19:02:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 19:00 snap 19:02:59 -rw-rw-r-- 1 jenkins jenkins 222 Apr 18 19:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:59 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=8615fc25123047f243aada2a729ac9237acb70ec --label arch=amd64 --label version=3.0.0-dev.71 . 19:02:59 Sending build context to Docker daemon 11.07MB 19:02:59 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 19:02:59 Step 2/23 : FROM ${BASE} AS builder 19:02:59 ---> 352ddf3677a2 19:02:59 Step 3/23 : ARG MAKE=make build 19:03:00 ---> Running in 71fc846e8b8e 19:03:00 Removing intermediate container 71fc846e8b8e 19:03:00 ---> 0d132aeae3f2 19:03:00 Step 4/23 : WORKDIR /device-sdk-go 19:03:00 ---> Running in 822ac01245e6 19:03:00 Removing intermediate container 822ac01245e6 19:03:00 ---> 60522634a89e 19:03:00 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:03:00 ---> Running in ee3c6677be29 19:03:00 Removing intermediate container ee3c6677be29 19:03:00 ---> 2d07cbde7c79 19:03:00 Step 6/23 : RUN apk add --update --no-cache make git 19:03:00 ---> Running in 674ba137a1fc 19:03:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:03:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:03:00 OK: 265 MiB in 53 packages 19:03:01 Removing intermediate container 674ba137a1fc 19:03:01 ---> 2e185ca225f3 19:03:01 Step 7/23 : COPY go.mod vendor* ./ 19:03:01 ---> 47fe507ce83a 19:03:01 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:03:01 ---> Running in c519fc672e0e 19:03:02 Removing intermediate container c519fc672e0e 19:03:02 ---> 49f4318d7af7 19:03:02 Step 9/23 : COPY . . 19:03:02 ---> d064cdfa7729 19:03:02 Step 10/23 : RUN ${MAKE} 19:03:02 ---> Running in bc79f98cd66f 19:03:02 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.71" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:03:24 Removing intermediate container bc79f98cd66f 19:03:24 ---> 2b66e043d331 19:03:24 Step 11/23 : FROM alpine:3.17 19:03:25 3.17: Pulling from library/alpine 19:03:25 f56be85fc22e: Pulling fs layer 19:03:25 f56be85fc22e: Verifying Checksum 19:03:25 f56be85fc22e: Download complete 19:03:25 f56be85fc22e: Pull complete 19:03:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:03:25 Status: Downloaded newer image for alpine:3.17 19:03:25 ---> 9ed4aefc74f6 19:03:25 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:03:25 ---> Running in 4bc85935d276 19:03:25 Removing intermediate container 4bc85935d276 19:03:25 ---> 2389b300ef04 19:03:25 Step 13/23 : RUN apk add --update --no-cache 19:03:25 ---> Running in 73fcb3957253 19:03:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:03:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:03:26 OK: 7 MiB in 15 packages 19:03:26 Removing intermediate container 73fcb3957253 19:03:26 ---> 8bbbb9983f2f 19:03:26 Step 14/23 : WORKDIR / 19:03:26 ---> Running in 055e8df0f066 19:03:26 Removing intermediate container 055e8df0f066 19:03:26 ---> 567a80d4262c 19:03:26 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:03:26 ---> 9ca1e7d4971b 19:03:26 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:03:27 ---> 01d7d50a1338 19:03:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:03:27 ---> 5c33a4fedfff 19:03:27 Step 18/23 : EXPOSE 59999 19:03:27 ---> Running in 0643b86bb81c 19:03:27 Removing intermediate container 0643b86bb81c 19:03:27 ---> 2c8f2832d9f2 19:03:27 Step 19/23 : ENTRYPOINT ["/device-simple"] 19:03:27 ---> Running in 9cb5862d4579 19:03:27 Removing intermediate container 9cb5862d4579 19:03:27 ---> fbeff45f5969 19:03:27 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:03:27 ---> Running in de409f5644cc 19:03:28 Removing intermediate container de409f5644cc 19:03:28 ---> 0722ebc4a2e2 19:03:28 Step 21/23 : LABEL arch=amd64 19:03:28 ---> Running in 001726dc2949 19:03:28 Removing intermediate container 001726dc2949 19:03:28 ---> 3da422b0e0b9 19:03:28 Step 22/23 : LABEL git_sha=8615fc25123047f243aada2a729ac9237acb70ec 19:03:28 ---> Running in 56754ca5f6b5 19:03:28 Removing intermediate container 56754ca5f6b5 19:03:28 ---> 003902851f7b 19:03:28 Step 23/23 : LABEL version=3.0.0-dev.71 19:03:28 ---> Running in 494d330f8596 19:03:28 Removing intermediate container 494d330f8596 19:03:28 ---> a9aa9cfe45ec 19:03:28 [Warning] One or more build-args [ARCH] were not consumed 19:03:28 Successfully built a9aa9cfe45ec 19:03:28 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 19:03:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:03:28 19:03:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:03:29 latest: Pulling from edgex-lftools-log-publisher 19:03:29 5eb5b503b376: Pulling fs layer 19:03:29 5c69ac0246d0: Pulling fs layer 19:03:29 ec43610c2a17: Pulling fs layer 19:03:29 3a2ae6a8a46f: Pulling fs layer 19:03:29 33b1e0a273af: Pulling fs layer 19:03:29 3a2ae6a8a46f: Waiting 19:03:29 5d3b04190fa2: Pulling fs layer 19:03:29 33b1e0a273af: Waiting 19:03:29 2f39f015ded8: Pulling fs layer 19:03:29 5d3b04190fa2: Waiting 19:03:29 2f39f015ded8: Waiting 19:03:29 5c69ac0246d0: Verifying Checksum 19:03:29 5c69ac0246d0: Download complete 19:03:29 3a2ae6a8a46f: Verifying Checksum 19:03:29 3a2ae6a8a46f: Download complete 19:03:29 33b1e0a273af: Verifying Checksum 19:03:29 33b1e0a273af: Download complete 19:03:29 ec43610c2a17: Verifying Checksum 19:03:29 ec43610c2a17: Download complete 19:03:29 5d3b04190fa2: Verifying Checksum 19:03:29 5d3b04190fa2: Download complete 19:03:29 5eb5b503b376: Verifying Checksum 19:03:29 5eb5b503b376: Download complete 19:03:30 2f39f015ded8: Verifying Checksum 19:03:30 2f39f015ded8: Download complete 19:03:30 5eb5b503b376: Pull complete 19:03:30 5c69ac0246d0: Pull complete 19:03:31 ec43610c2a17: Pull complete 19:03:31 3a2ae6a8a46f: Pull complete 19:03:31 33b1e0a273af: Pull complete 19:03:31 5d3b04190fa2: Pull complete 19:03:35 2f39f015ded8: Pull complete 19:03:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:03:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:03:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:36 prd-ubuntu20.04-docker-8c-8g-8968 does not seem to be running inside a container 19:03:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8974 in /w/workspace/edgexfoundry_device-sdk-go_main 19:03: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 19:03:42 $ docker top f2887882ae0fdb22ebd5dd70e96a862e8a6621d0ac15ef7a73a9eb59f7fef41c -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 19:03:42 Running in /w/workspace/device-sdk-go/202 [Pipeline] { [Pipeline] checkout 19:03:42 The recommended git tool is: git 19:03:43 ---> job-cost.sh 19:03:43 lf-activate-venv: SKIPPING 19:03:43 INFO: No Stack... 19:03:43 INFO: Retrieving Pricing Info for: v3-standard-8 19:03:43 INFO: Archiving Costs [Pipeline] sh 19:03:43 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 19:03:43 + cut -d, -f6 [Pipeline] lock 19:03:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-202-stack-cost] 19:03:43 Resource [jenkins-edgexfoundry-device-sdk-go-main-202-stack-cost] did not exist. Created. 19:03:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-202-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:03:44 + echo total: 0.2199999988079071 [Pipeline] stash 19:03:44 Stashed 1 file(s) [Pipeline] } 19:03:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-202-stack-cost] [Pipeline] // lock [Pipeline] } 19:03:44 $ docker stop --time=1 f2887882ae0fdb22ebd5dd70e96a862e8a6621d0ac15ef7a73a9eb59f7fef41c 19:03:45 $ docker rm -f --volumes f2887882ae0fdb22ebd5dd70e96a862e8a6621d0ac15ef7a73a9eb59f7fef41c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:03:48 using credential edgex-jenkins-ssh 19:03:48 Cloning the remote Git repository 19:03:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 19:03:48 > git init /w/workspace/device-sdk-go/202 # timeout=10 19:03:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:03:49 > git --version # timeout=10 19:03:49 > git --version # 'git version 2.25.1' 19:03:49 using GIT_SSH to set credentials SSH Credentials for GitHub 19:03:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:03:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:03:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:03:51 Avoid second fetch 19:03:51 Checking out Revision 8615fc25123047f243aada2a729ac9237acb70ec (main) 19:03:52 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1426)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:03:51 > git config core.sparsecheckout # timeout=10 19:03:52 > git checkout -f 8615fc25123047f243aada2a729ac9237acb70ec # timeout=10 19:03:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:03:53 % Total % Received % Xferd Average Speed Time Time Time Current 19:03:53 Dload Upload Total Spent Left Speed 19:03:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 19:03:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:03:54 + sudo tee /etc/docker/daemon.new 19:03:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:03:54 { 19:03:54 "registry-mirrors": [ 19:03:54 "https://nexus3.edgexfoundry.org:10001" 19:03:54 ], 19:03:54 "bip": "10.250.0.254/24", 19:03:54 "hosts": [ 19:03:54 "tcp://0.0.0.0:5555", 19:03:54 "unix:///var/run/docker.sock" 19:03:54 ], 19:03:54 "mtu": 1458, 19:03:54 "selinux-enabled": true, 19:03:54 "seccomp-profile": "/etc/docker/seccomp.json" 19:03:54 } [Pipeline] sh 19:03:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:03:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:04:13 provisioning config files... 19:04:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/202@tmp/config13187455805856683499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:04:13 ---> docker-login.sh 19:04:13 nexus3.edgexfoundry.org:10001 19:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:14 Configure a credential helper to remove this warning. See 19:04:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:14 19:04:14 Login Succeeded 19:04:14 nexus3.edgexfoundry.org:10002 19:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:15 Configure a credential helper to remove this warning. See 19:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:15 19:04:15 Login Succeeded 19:04:15 nexus3.edgexfoundry.org:10003 19:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:15 Configure a credential helper to remove this warning. See 19:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:15 19:04:15 Login Succeeded 19:04:15 nexus3.edgexfoundry.org:10004 19:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:15 Configure a credential helper to remove this warning. See 19:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:15 19:04:15 Login Succeeded 19:04:15 docker.io 19:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:16 Configure a credential helper to remove this warning. See 19:04:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:16 19:04:16 Login Succeeded 19:04:16 ---> docker-login.sh ends [Pipeline] } 19:04:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:04:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:04:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:04:16 ========================================================= 19:04:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:04:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:17 + 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 . 19:04:19 Sending build context to Docker daemon 5.882MB 19:04:19 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 19:04:19 Step 2/10 : FROM ${BASE} AS builder 19:04:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:04:19 af6eaf76a39c: Pulling fs layer 19:04:19 55522c791124: Pulling fs layer 19:04:19 ce5c4a1c91eb: Pulling fs layer 19:04:19 169dfbe0d373: Pulling fs layer 19:04:19 e1ff8fa3b103: Pulling fs layer 19:04:19 52ebb69f0ebf: Pulling fs layer 19:04:19 5abe8eddf0d5: Pulling fs layer 19:04:19 e1ff8fa3b103: Waiting 19:04:19 52ebb69f0ebf: Waiting 19:04:19 169dfbe0d373: Waiting 19:04:19 5abe8eddf0d5: Waiting 19:04:19 55522c791124: Download complete 19:04:19 169dfbe0d373: Verifying Checksum 19:04:19 169dfbe0d373: Download complete 19:04:19 e1ff8fa3b103: Download complete 19:04:19 af6eaf76a39c: Verifying Checksum 19:04:19 af6eaf76a39c: Download complete 19:04:20 af6eaf76a39c: Pull complete 19:04:20 5abe8eddf0d5: Verifying Checksum 19:04:20 5abe8eddf0d5: Download complete 19:04:21 55522c791124: Pull complete 19:04:22 ce5c4a1c91eb: Verifying Checksum 19:04:22 ce5c4a1c91eb: Download complete 19:04:22 52ebb69f0ebf: Download complete 19:04:34 ce5c4a1c91eb: Pull complete 19:04:34 169dfbe0d373: Pull complete 19:04:34 e1ff8fa3b103: Pull complete 19:04:41 52ebb69f0ebf: Pull complete 19:04:46 5abe8eddf0d5: Pull complete 19:04:46 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 19:04:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:04:46 ---> 6cb57ee374ae 19:04:46 Step 3/10 : ARG MAKE=make build 19:04:48 ---> Running in 58ea5e061184 19:04:48 Removing intermediate container 58ea5e061184 19:04:48 ---> b8d801fb5e7a 19:04:48 Step 4/10 : WORKDIR /device-sdk-go 19:04:48 ---> Running in 6d04b5493f2e 19:04:48 Removing intermediate container 6d04b5493f2e 19:04:48 ---> b18253018c35 19:04:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:04:48 ---> Running in 2b2657f12036 19:04:48 Removing intermediate container 2b2657f12036 19:04:48 ---> 9eb72f7adbe1 19:04:48 Step 6/10 : RUN apk add --update --no-cache make git 19:04:49 ---> Running in 00afaf284c5d 19:04:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:04:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:04:51 OK: 263 MiB in 53 packages 19:04:52 Removing intermediate container 00afaf284c5d 19:04:52 ---> 2a1cd72b90f4 19:04:52 Step 7/10 : COPY go.mod vendor* ./ 19:04:53 ---> 74f0a70cfc96 19:04:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:04:53 ---> Running in 2178289bc7d3 19:06:01 Removing intermediate container 2178289bc7d3 19:06:01 ---> 8ecf6fd8f5d5 19:06:01 Step 9/10 : COPY . . 19:06:01 ---> 9a24d175d84f 19:06:01 Step 10/10 : RUN ${MAKE} 19:06:01 ---> Running in 98faafdd8f4c 19:06:01 noop 19:06:01 Removing intermediate container 98faafdd8f4c 19:06:01 ---> 6bd2eca43d2a 19:06:01 Successfully built 6bd2eca43d2a 19:06:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:01 + docker inspect -f . ci-base-image-arm64 19:06:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:06:01 prd-ubuntu20.04-docker-arm64-4c-16g-8974 does not seem to be running inside a container 19:06:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/202 -v /w/workspace/device-sdk-go/202:/w/workspace/device-sdk-go/202:rw,z -v /w/workspace/device-sdk-go/202@tmp:/w/workspace/device-sdk-go/202@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 19:06:03 $ docker top 3042e076edf9228f49749edf26656b82653b5a0a282eef68c5fc64bde744f528 -eo pid,comm [Pipeline] { [Pipeline] sh 19:06:04 + go version 19:06:04 go version go1.20.2 linux/arm64 [Pipeline] } 19:06:04 $ docker stop --time=1 3042e076edf9228f49749edf26656b82653b5a0a282eef68c5fc64bde744f528 19:06:05 $ docker rm -f --volumes 3042e076edf9228f49749edf26656b82653b5a0a282eef68c5fc64bde744f528 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:06 + docker inspect -f . ci-base-image-arm64 19:06:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:06:06 prd-ubuntu20.04-docker-arm64-4c-16g-8974 does not seem to be running inside a container 19:06:06 $ 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/202 -v /w/workspace/device-sdk-go/202:/w/workspace/device-sdk-go/202:rw,z -v /w/workspace/device-sdk-go/202@tmp:/w/workspace/device-sdk-go/202@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 19:06:07 $ docker top 52c168607e139d26591b815b18eed725c5b047154ce3c496a079f20364a3d798 -eo pid,comm [Pipeline] { [Pipeline] sh 19:06:08 + git config --global --add safe.directory /w/workspace/device-sdk-go/202 [Pipeline] fileExists [Pipeline] sh 19:06:09 + make test 19:06:09 go test -race -coverprofile=coverage.out ./... 19:06:59 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 19:09:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 19:09:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 19:09:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 19:09:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 19:09:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 19:09:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.232s coverage: 27.6% of statements 19:09:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.295s coverage: 80.2% of statements 19:09:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 19:09:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 19:09:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.388s coverage: 86.0% of statements 19:10:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 19:10:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.485s coverage: 77.5% of statements 19:10:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 19:10:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 19:10:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 19:10:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.280s coverage: 14.6% of statements 19:10:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.471s coverage: 68.5% of statements 19:10:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.456s coverage: 89.2% of statements 19:10:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 19:10:18 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.258s coverage: 5.5% of statements 19:10:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:10:19 GO111MODULE=on go vet ./... 19:12:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:12:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:12:56 ./bin/test-attribution-txt.sh [Pipeline] echo 19:12:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:12:56 $ docker stop --time=1 52c168607e139d26591b815b18eed725c5b047154ce3c496a079f20364a3d798 19:12:58 $ docker rm -f --volumes 52c168607e139d26591b815b18eed725c5b047154ce3c496a079f20364a3d798 [Pipeline] // withDockerContainer [Pipeline] sh 19:12:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:12:59 Warning: overwriting stash ‘coverage-report’ 19:13:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:13:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:13:01 + ls -al . 19:13:01 total 268 19:13:01 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 19:06 . 19:13:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 19:03 .. 19:13:01 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 19:03 .dockerignore 19:13:01 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 19:03 .git 19:13:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 19:03 .github 19:13:01 -rw-rw-r-- 1 jenkins jenkins 131 Apr 18 19:03 .gitignore 19:13:01 -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 19:03 .golangci.yml 19:13:01 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 18 19:03 CHANGELOG.md 19:13:01 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 19:03 GOVERNANCE.md 19:13:01 -rw-rw-r-- 1 jenkins jenkins 885 Apr 18 19:03 Jenkinsfile 19:13:01 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 18 19:03 LICENSE 19:13:01 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 18 19:03 Makefile 19:13:01 -rw-rw-r-- 1 jenkins jenkins 619 Apr 18 19:03 OWNERS.md 19:13:01 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 18 19:03 README.md 19:13:01 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 19:00 VERSION 19:13:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 19:03 bin 19:13:01 -rw-r--r-- 1 jenkins jenkins 106121 Apr 18 19:10 coverage.out 19:13:01 drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 19:03 example 19:13:01 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 18 19:03 go.mod 19:13:01 -rw-rw-r-- 1 jenkins jenkins 30896 Apr 18 19:03 go.sum 19:13:01 drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 19:03 internal 19:13:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 19:03 openapi 19:13:01 drwxrwxr-x 6 jenkins jenkins 4096 Apr 18 19:03 pkg 19:13:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 19:03 snap 19:13:01 -rw-rw-r-- 1 jenkins jenkins 222 Apr 18 19:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:01 + 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=8615fc25123047f243aada2a729ac9237acb70ec --label arch=arm64 --label version=3.0.0-dev.71 . 19:13:01 Sending build context to Docker daemon 5.989MB 19:13:02 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 19:13:02 Step 2/23 : FROM ${BASE} AS builder 19:13:02 ---> 6bd2eca43d2a 19:13:02 Step 3/23 : ARG MAKE=make build 19:13:02 ---> Running in c1137eda6c49 19:13:02 Removing intermediate container c1137eda6c49 19:13:02 ---> 0793743d6c42 19:13:02 Step 4/23 : WORKDIR /device-sdk-go 19:13:02 ---> Running in 392daa26f289 19:13:02 Removing intermediate container 392daa26f289 19:13:02 ---> 5ffcdd54383d 19:13:02 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:13:02 ---> Running in ed18e0dadabe 19:13:03 Removing intermediate container ed18e0dadabe 19:13:03 ---> 48c1f17b7c6e 19:13:03 Step 6/23 : RUN apk add --update --no-cache make git 19:13:03 ---> Running in 8a6d95d11fe7 19:13:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:13:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:13:06 OK: 263 MiB in 53 packages 19:13:07 Removing intermediate container 8a6d95d11fe7 19:13:07 ---> 68a9e5377b8b 19:13:07 Step 7/23 : COPY go.mod vendor* ./ 19:13:07 ---> ef7939de3f72 19:13:07 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:13:07 ---> Running in d41c2e3532c5 19:13:10 Removing intermediate container d41c2e3532c5 19:13:10 ---> a687aa50e323 19:13:10 Step 9/23 : COPY . . 19:13:11 ---> d40812b2b426 19:13:11 Step 10/23 : RUN ${MAKE} 19:13:11 ---> Running in e8f3b8ca02df 19:13:12 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.71" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:15:34 Removing intermediate container e8f3b8ca02df 19:15:34 ---> e1b42afcb749 19:15:34 Step 11/23 : FROM alpine:3.17 19:15:34 3.17: Pulling from library/alpine 19:15:34 c41833b44d91: Pulling fs layer 19:15:34 c41833b44d91: Verifying Checksum 19:15:34 c41833b44d91: Download complete 19:15:34 c41833b44d91: Pull complete 19:15:34 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:15:34 Status: Downloaded newer image for alpine:3.17 19:15:34 ---> 51e60588ff2c 19:15:34 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:15:34 ---> Running in 50b6e5b0e848 19:15:34 Removing intermediate container 50b6e5b0e848 19:15:34 ---> 89bf86cc7eb5 19:15:34 Step 13/23 : RUN apk add --update --no-cache 19:15:34 ---> Running in 721bb78249bc 19:15:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:15:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:15:37 OK: 7 MiB in 15 packages 19:15:38 Removing intermediate container 721bb78249bc 19:15:38 ---> a228ab7a6456 19:15:38 Step 14/23 : WORKDIR / 19:15:38 ---> Running in c842d095a69b 19:15:39 Removing intermediate container c842d095a69b 19:15:39 ---> f656353e06ee 19:15:39 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:15:39 ---> 5dd46944425a 19:15:39 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:15:41 ---> 4fcecd231515 19:15:41 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:15:41 ---> d07f73e1972f 19:15:41 Step 18/23 : EXPOSE 59999 19:15:41 ---> Running in 8d2c026588b9 19:15:41 Removing intermediate container 8d2c026588b9 19:15:41 ---> e592a5cd9786 19:15:41 Step 19/23 : ENTRYPOINT ["/device-simple"] 19:15:41 ---> Running in 8e900e41e2fd 19:15:42 Removing intermediate container 8e900e41e2fd 19:15:42 ---> 5e8604ffd2ce 19:15:42 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:15:42 ---> Running in fe611aa258f1 19:15:42 Removing intermediate container fe611aa258f1 19:15:42 ---> e3770ce3fbf8 19:15:42 Step 21/23 : LABEL arch=arm64 19:15:42 ---> Running in d28d764979e2 19:15:42 Removing intermediate container d28d764979e2 19:15:42 ---> 5f4f96fc4a66 19:15:42 Step 22/23 : LABEL git_sha=8615fc25123047f243aada2a729ac9237acb70ec 19:15:42 ---> Running in 3e9d53256544 19:15:43 Removing intermediate container 3e9d53256544 19:15:43 ---> 6c4bfb683bb8 19:15:43 Step 23/23 : LABEL version=3.0.0-dev.71 19:15:43 ---> Running in 971e8dd278c1 19:15:43 Removing intermediate container 971e8dd278c1 19:15:43 ---> b95cbe14f365 19:15:43 [Warning] One or more build-args [ARCH] were not consumed 19:15:43 Successfully built b95cbe14f365 19:15:43 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 19:15:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:15:44 19:15:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:15:44 arm64: Pulling from edgex-lftools-log-publisher 19:15:44 8998bd30e6a1: Pulling fs layer 19:15:44 04944245beec: Pulling fs layer 19:15:44 699f458cf7ca: Pulling fs layer 19:15:44 765212b225bb: Pulling fs layer 19:15:44 f23df028b6ca: Pulling fs layer 19:15:44 d65c8cfc05b1: Pulling fs layer 19:15:44 2437ff75d9bd: Pulling fs layer 19:15:44 765212b225bb: Waiting 19:15:44 f23df028b6ca: Waiting 19:15:44 d65c8cfc05b1: Waiting 19:15:44 2437ff75d9bd: Waiting 19:15:44 04944245beec: Verifying Checksum 19:15:44 04944245beec: Download complete 19:15:44 765212b225bb: Verifying Checksum 19:15:44 765212b225bb: Download complete 19:15:44 f23df028b6ca: Verifying Checksum 19:15:44 f23df028b6ca: Download complete 19:15:44 d65c8cfc05b1: Verifying Checksum 19:15:44 d65c8cfc05b1: Download complete 19:15:45 699f458cf7ca: Verifying Checksum 19:15:45 699f458cf7ca: Download complete 19:15:45 8998bd30e6a1: Verifying Checksum 19:15:45 8998bd30e6a1: Download complete 19:15:47 2437ff75d9bd: Verifying Checksum 19:15:47 2437ff75d9bd: Download complete 19:15:49 8998bd30e6a1: Pull complete 19:15:49 04944245beec: Pull complete 19:15:50 699f458cf7ca: Pull complete 19:15:50 765212b225bb: Pull complete 19:15:51 f23df028b6ca: Pull complete 19:15:51 d65c8cfc05b1: Pull complete 19:16:03 2437ff75d9bd: Pull complete 19:16:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:16:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:16:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:16:04 prd-ubuntu20.04-docker-arm64-4c-16g-8974 does not seem to be running inside a container 19:16:04 $ 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/202 -v /w/workspace/device-sdk-go/202:/w/workspace/device-sdk-go/202:rw,z -v /w/workspace/device-sdk-go/202@tmp:/w/workspace/device-sdk-go/202@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 19:16:06 $ docker top a18cb29a68f0b925fe04dc67985165a206ab29c01df4d8238b6b6fc5264a5ce7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:16:07 ---> job-cost.sh 19:16:07 lf-activate-venv: SKIPPING 19:16:07 INFO: No Stack... 19:16:08 INFO: Retrieving Pricing Info for: v3-standard-4 19:16:09 INFO: Archiving Costs [Pipeline] sh 19:16:09 + + cat /w/workspace/device-sdk-go/202/archives/cost.csv 19:16:09 cut -d, -f6 [Pipeline] lock 19:16:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-202-stack-cost] 19:16:09 Resource [jenkins-edgexfoundry-device-sdk-go-main-202-stack-cost] did not exist. Created. 19:16:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-202-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:16:10 /w/workspace/device-sdk-go/202@tmp/durable-b54ff89c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:16:11 + echo total: 0.10999999940395355 [Pipeline] stash 19:16:11 Warning: overwriting stash ‘stack-cost’ 19:16:11 Stashed 1 file(s) [Pipeline] } 19:16:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-202-stack-cost] [Pipeline] // lock [Pipeline] } 19:16:11 $ docker stop --time=1 a18cb29a68f0b925fe04dc67985165a206ab29c01df4d8238b6b6fc5264a5ce7 19:16:12 $ docker rm -f --volumes a18cb29a68f0b925fe04dc67985165a206ab29c01df4d8238b6b6fc5264a5ce7 [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 19:16:13 provisioning config files... 19:16:13 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config228176049617737673tmp [Pipeline] { [Pipeline] sh 19:16:13 + set +x 19:16:13 + curl -s+ https://codecov.io/bash 19:16:13 bash -s -- 19:16:13 19:16:13 _____ _ 19:16:13 / ____| | | 19:16:13 | | ___ __| | ___ ___ _____ __ 19:16:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:16:13 | |___| (_) | (_| | __/ (_| (_) \ V / 19:16:13 \_____\___/ \__,_|\___|\___\___/ \_/ 19:16:13 Bash-1.0.6 19:16:13 19:16:13 19:16:13 ==> git version 2.25.1 found 19:16:13 ==> 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 19:16:13 Release-Date: 2020-01-08 19:16:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:16:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:16:13 ==> Jenkins CI detected. 19:16:13 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 19:16:13 project root: . 19:16:13 --> token set from env 19:16:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:16:13 ==> Running gcov in . (disable via -X gcov) 19:16:13 ==> Python coveragepy not found 19:16:13 ==> Searching for coverage reports in: 19:16:13 + . 19:16:13 -> Found 1 reports 19:16:13 ==> Detecting git/mercurial file structure 19:16:13 ==> Reading reports 19:16:13 + ./coverage.out bytes=106121 19:16:13 ==> Appending adjustments 19:16:13 https://docs.codecov.io/docs/fixing-reports 19:16:13 + Found adjustments 19:16:13 ==> Gzipping contents 19:16:13 16K /tmp/codecov.dVXKVU.gz 19:16:13 ==> Uploading reports 19:16:13 url: https://codecov.io 19:16:13 query: branch=main&commit=8615fc25123047f243aada2a729ac9237acb70ec&build=202&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F202%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:16:13 -> Pinging Codecov 19:16:13 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=8615fc25123047f243aada2a729ac9237acb70ec&build=202&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F202%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:16:13 -> Uploading to 19:16:13 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/7E55EF52A471D76F132DFD9A03CDDE97/8615fc25123047f243aada2a729ac9237acb70ec/b98c03ea-529b-43c0-a7b6-197439992d43.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T191613Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2824c7070aa3200f2515d42c8c7e69a4deabc4a60bcbbb36dc7d1bbd17d1da88 19:16:13 % Total % Received % Xferd Average Speed Time Time Time Current 19:16:13 Dload Upload Total Spent Left Speed 19:16:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15031 0 0 100 15031 0 69911 --:--:-- --:--:-- --:--:-- 69911 19:16:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8615fc25123047f243aada2a729ac9237acb70ec [Pipeline] } 19:16:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:16:14 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:16:14 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:16:14 19:16:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:16:14 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:16:14 df9b9388f04a: Pulling fs layer 19:16:14 52dc419b0ee2: Pulling fs layer 19:16:14 25bc292e5bac: Pulling fs layer 19:16:14 114826534d7a: Pulling fs layer 19:16:14 4657fd5d0bcf: Pulling fs layer 19:16:14 6ad1cebc031e: Pulling fs layer 19:16:14 8a3aa393b2d8: Pulling fs layer 19:16:14 4657fd5d0bcf: Waiting 19:16:14 6ad1cebc031e: Waiting 19:16:14 8a3aa393b2d8: Waiting 19:16:14 114826534d7a: Waiting 19:16:14 52dc419b0ee2: Verifying Checksum 19:16:14 52dc419b0ee2: Download complete 19:16:14 4657fd5d0bcf: Verifying Checksum 19:16:14 4657fd5d0bcf: Download complete 19:16:14 df9b9388f04a: Verifying Checksum 19:16:14 df9b9388f04a: Download complete 19:16:15 df9b9388f04a: Pull complete 19:16:15 6ad1cebc031e: Download complete 19:16:15 52dc419b0ee2: Pull complete 19:16:15 25bc292e5bac: Pull complete 19:16:15 114826534d7a: Verifying Checksum 19:16:15 114826534d7a: Download complete 19:16:15 8a3aa393b2d8: Download complete 19:16:20 114826534d7a: Pull complete 19:16:20 4657fd5d0bcf: Pull complete 19:16:20 6ad1cebc031e: Pull complete 19:16:23 8a3aa393b2d8: Pull complete 19:16:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:16:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:16:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:16:23 prd-ubuntu20.04-docker-8c-8g-8968 does not seem to be running inside a container 19:16:23 $ 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 19:16:29 $ docker top 648c7e081d1c7f8208741d3edb5cf38d0db81ce60edba302247ef921d583ed9c -eo pid,comm [Pipeline] { [Pipeline] echo 19:16:29 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 19:16:29 + set -o pipefail 19:16:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 19:16:36 19:16:36 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 19:16:36 19:16:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/d856f1c5-6ab5-4144-bd6f-ef07ea30e34c 19:16:36 19:16:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:16:36 19:16:36 19:16:36 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:16:36 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:16:36 More details here: https://snyk.co/ue1NS [Pipeline] } 19:16:36 $ docker stop --time=1 648c7e081d1c7f8208741d3edb5cf38d0db81ce60edba302247ef921d583ed9c 19:16:40 $ docker rm -f --volumes 648c7e081d1c7f8208741d3edb5cf38d0db81ce60edba302247ef921d583ed9c [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 19:16:40 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:16:40 provisioning config files... 19:16:40 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9225285925179132836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:16:41 --> edgex-publish-swagger.sh 19:16:41 === Publish openapi/v3 API === 19:16:41 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 19:16:41 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 19:16:41 % Total % Received % Xferd Average Speed Time Time Time Current 19:16:41 Dload Upload Total Spent Left Speed 19:16:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 44837 --:--:-- --:--:-- --:--:-- 44837 19:16:41 19:16:41 [Pipeline] } 19:16:41 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 19:16:42 + git log --format=format:%s -1 8615fc25123047f243aada2a729ac9237acb70ec [Pipeline] sh 19:16:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:16:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:16:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:16:42 prd-ubuntu20.04-docker-8c-8g-8968 does not seem to be running inside a container 19:16: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 19:16:43 $ docker top 785491942cb95eec6d6e7880d89fb2defd9b7271ebf4b0e5573f39ad7ed4ac5c -eo pid,comm 19:16:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:16:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:16:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:16:43 [ssh-agent] Looking for ssh-agent implementation... 19:16:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:16:43 $ docker exec 785491942cb95eec6d6e7880d89fb2defd9b7271ebf4b0e5573f39ad7ed4ac5c ssh-agent 19:16:43 SSH_AUTH_SOCK=/tmp/ssh-JGGfz7ZqY9HO/agent.32 19:16:43 SSH_AGENT_PID=38 19:16:43 Running ssh-add (command line suppressed) 19:16:43 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9605527694359887431.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9605527694359887431.key) 19:16:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:16:44 + git semver tag 19:16:44 2023-04-18 19:16:44,329 [run_tag] DEBUG tag force:False 19:16:44 2023-04-18 19:16:44,329 [check_head_tag] DEBUG check head tag 19:16:44 2023-04-18 19:16:44,332 [execute] INFO git cat-file --batch-check 19:16:44 2023-04-18 19:16:44,332 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 19:16:44 2023-04-18 19:16:44,336 [execute] INFO git cat-file --batch 19:16:44 2023-04-18 19:16:44,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 19:16:44 2023-04-18 19:16:44,374 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:16:44 2023-04-18 19:16:44,374 [execute] INFO git tag -a v3.0.0-dev.71 -m v3.0.0-dev.71 19:16:44 2023-04-18 19:16:44,374 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.71', '-m', 'v3.0.0-dev.71'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 19:16:44 2023-04-18 19:16:44,378 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:16:44 3.0.0-dev.71 [Pipeline] } 19:16:44 $ docker exec --env ******** --env ******** 785491942cb95eec6d6e7880d89fb2defd9b7271ebf4b0e5573f39ad7ed4ac5c ssh-agent -k 19:16:44 unset SSH_AUTH_SOCK; 19:16:44 unset SSH_AGENT_PID; 19:16:44 echo Agent pid 38 killed; 19:16:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:16:44 + git semver [Pipeline] } 19:16:45 $ docker stop --time=1 785491942cb95eec6d6e7880d89fb2defd9b7271ebf4b0e5573f39ad7ed4ac5c 19:16:46 $ docker rm -f --volumes 785491942cb95eec6d6e7880d89fb2defd9b7271ebf4b0e5573f39ad7ed4ac5c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:16:46 19:16:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:16:47 0.23.1-centos7: Pulling from edgex-lftools 19:16:47 ab5ef0e58194: Pulling fs layer 19:16:47 9712f1f96733: Pulling fs layer 19:16:47 63f879dbbcfc: Pulling fs layer 19:16:47 0d9ebad4ef96: Pulling fs layer 19:16:47 e9a5061849ea: Pulling fs layer 19:16:47 d747dcd14b5f: Pulling fs layer 19:16:47 2de7ff778b66: Pulling fs layer 19:16:47 e9a5061849ea: Waiting 19:16:47 d747dcd14b5f: Waiting 19:16:47 0d9ebad4ef96: Waiting 19:16:47 2de7ff778b66: Waiting 19:16:47 9712f1f96733: Download complete 19:16:47 63f879dbbcfc: Verifying Checksum 19:16:47 63f879dbbcfc: Download complete 19:16:47 e9a5061849ea: Verifying Checksum 19:16:47 e9a5061849ea: Download complete 19:16:47 d747dcd14b5f: Verifying Checksum 19:16:47 d747dcd14b5f: Download complete 19:16:47 0d9ebad4ef96: Verifying Checksum 19:16:47 0d9ebad4ef96: Download complete 19:16:47 ab5ef0e58194: Download complete 19:16:47 2de7ff778b66: Verifying Checksum 19:16:47 2de7ff778b66: Download complete 19:16:51 ab5ef0e58194: Pull complete 19:16:51 9712f1f96733: Pull complete 19:16:51 63f879dbbcfc: Pull complete 19:16:55 0d9ebad4ef96: Pull complete 19:16:55 e9a5061849ea: Pull complete 19:16:55 d747dcd14b5f: Pull complete 19:16:56 2de7ff778b66: Pull complete 19:16:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:16:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:16:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:16:56 prd-ubuntu20.04-docker-8c-8g-8968 does not seem to be running inside a container 19:16:56 $ 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 19:17:03 $ docker top e77f9b82fd6b8e9259fc0e2668ca62137075b333871f335b0545a9e1f713b3ed -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:17:04 provisioning config files... 19:17:04 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1368620519948883427tmp 19:17:04 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15803077761468250880tmp 19:17:04 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16107874327561222142tmp [Pipeline] { [Pipeline] echo 19:17:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:17:04 ---> sigul-configuration.sh 19:17:04 gpg: directory `/root/.gnupg' created 19:17:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:17:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:17:04 gpg: keyring `/root/.gnupg/secring.gpg' created 19:17:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:17:04 gpg: CAST5 encrypted data 19:17:04 gpg: encrypted with 1 passphrase 19:17:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:17:04 + mkdir /home/jenkins 19:17:04 + mkdir /home/jenkins/sigul [Pipeline] sh 19:17:04 + 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 19:17:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:17:05 ---> sigul-install.sh 19:17:05 Sigul already installed; skipping installation. [Pipeline] sh 19:17:05 + git tag --list 19:17:05 0.7.1 19:17:05 delhi-tag 19:17:05 v1.0.0 19:17:05 v1.1.0 19:17:05 v1.1.1 19:17:05 v1.1.2 19:17:05 v1.2.0 19:17:05 v1.2.1 19:17:05 v1.2.2 19:17:05 v1.2.3 19:17:05 v1.3.0 19:17:05 v1.4.0 19:17:05 v2.0.0 19:17:05 v2.1.0 19:17:05 v2.1.1 19:17:05 v2.1.1-dev.2 19:17:05 v2.1.1-dev.3 19:17:05 v2.2.0 19:17:05 v2.2.1-dev.1 19:17:05 v2.2.1-dev.10 19:17:05 v2.2.1-dev.11 19:17:05 v2.2.1-dev.12 19:17:05 v2.2.1-dev.13 19:17:05 v2.2.1-dev.14 19:17:05 v2.2.1-dev.2 19:17:05 v2.2.1-dev.3 19:17:05 v2.2.1-dev.4 19:17:05 v2.2.1-dev.5 19:17:05 v2.2.1-dev.6 19:17:05 v2.2.1-dev.7 19:17:05 v2.2.1-dev.8 19:17:05 v2.2.1-dev.9 19:17:05 v2.3.0 19:17:05 v2.3.0-dev.14 19:17:05 v2.3.0-dev.15 19:17:05 v2.3.0-dev.16 19:17:05 v2.3.0-dev.17 19:17:05 v2.3.0-dev.18 19:17:05 v2.3.0-dev.19 19:17:05 v2.3.0-dev.20 19:17:05 v2.3.0-dev.21 19:17:05 v2.3.0-dev.22 19:17:05 v2.3.0-dev.23 19:17:05 v2.3.0-dev.24 19:17:05 v2.3.0-dev.25 19:17:05 v2.3.0-dev.26 19:17:05 v2.3.0-dev.27 19:17:05 v2.3.0-dev.28 19:17:05 v2.3.0-dev.29 19:17:05 v2.3.0-dev.30 19:17:05 v2.3.0-dev.31 19:17:05 v2.3.0-dev.32 19:17:05 v2.3.0-dev.33 19:17:05 v2.3.0-dev.34 19:17:05 v2.3.0-dev.35 19:17:05 v2.3.0-dev.36 19:17:05 v2.3.0-dev.37 19:17:05 v2.3.0-dev.38 19:17:05 v2.3.0-dev.39 19:17:05 v2.3.0-dev.40 19:17:05 v2.3.0-dev.41 19:17:05 v2.3.0-dev.42 19:17:05 v2.3.0-dev.43 19:17:05 v2.3.0-dev.44 19:17:05 v2.3.0-dev.45 19:17:05 v2.3.0-dev.46 19:17:05 v2.3.0-dev.47 19:17:05 v2.3.0-dev.48 19:17:05 v2.3.0-dev.49 19:17:05 v2.3.0-dev.50 19:17:05 v2.3.0-dev.51 19:17:05 v2.3.1 19:17:05 v2.3.1-dev.1 19:17:05 v2.3.1-dev.2 19:17:05 v2.3.1-dev.3 19:17:05 v2.3.1-dev.4 19:17:05 v3.0.0-dev.1 19:17:05 v3.0.0-dev.10 19:17:05 v3.0.0-dev.11 19:17:05 v3.0.0-dev.12 19:17:05 v3.0.0-dev.13 19:17:05 v3.0.0-dev.14 19:17:05 v3.0.0-dev.15 19:17:05 v3.0.0-dev.16 19:17:05 v3.0.0-dev.17 19:17:05 v3.0.0-dev.18 19:17:05 v3.0.0-dev.19 19:17:05 v3.0.0-dev.2 19:17:05 v3.0.0-dev.20 19:17:05 v3.0.0-dev.21 19:17:05 v3.0.0-dev.22 19:17:05 v3.0.0-dev.23 19:17:05 v3.0.0-dev.24 19:17:05 v3.0.0-dev.25 19:17:05 v3.0.0-dev.26 19:17:05 v3.0.0-dev.27 19:17:05 v3.0.0-dev.28 19:17:05 v3.0.0-dev.29 19:17:05 v3.0.0-dev.3 19:17:05 v3.0.0-dev.30 19:17:05 v3.0.0-dev.31 19:17:05 v3.0.0-dev.32 19:17:05 v3.0.0-dev.33 19:17:05 v3.0.0-dev.34 19:17:05 v3.0.0-dev.35 19:17:05 v3.0.0-dev.36 19:17:05 v3.0.0-dev.37 19:17:05 v3.0.0-dev.38 19:17:05 v3.0.0-dev.39 19:17:05 v3.0.0-dev.4 19:17:05 v3.0.0-dev.40 19:17:05 v3.0.0-dev.41 19:17:05 v3.0.0-dev.42 19:17:05 v3.0.0-dev.43 19:17:05 v3.0.0-dev.44 19:17:05 v3.0.0-dev.45 19:17:05 v3.0.0-dev.46 19:17:05 v3.0.0-dev.47 19:17:05 v3.0.0-dev.48 19:17:05 v3.0.0-dev.49 19:17:05 v3.0.0-dev.5 19:17:05 v3.0.0-dev.50 19:17:05 v3.0.0-dev.51 19:17:05 v3.0.0-dev.52 19:17:05 v3.0.0-dev.53 19:17:05 v3.0.0-dev.54 19:17:05 v3.0.0-dev.55 19:17:05 v3.0.0-dev.56 19:17:05 v3.0.0-dev.57 19:17:05 v3.0.0-dev.58 19:17:05 v3.0.0-dev.59 19:17:05 v3.0.0-dev.6 19:17:05 v3.0.0-dev.60 19:17:05 v3.0.0-dev.61 19:17:05 v3.0.0-dev.62 19:17:05 v3.0.0-dev.63 19:17:05 v3.0.0-dev.64 19:17:05 v3.0.0-dev.65 19:17:05 v3.0.0-dev.66 19:17:05 v3.0.0-dev.67 19:17:05 v3.0.0-dev.68 19:17:05 v3.0.0-dev.69 19:17:05 v3.0.0-dev.7 19:17:05 v3.0.0-dev.70 19:17:05 v3.0.0-dev.71 19:17:05 v3.0.0-dev.8 19:17:05 v3.0.0-dev.9 [Pipeline] sh 19:17:05 + lftools sign git-tag v3.0.0-dev.71 19:17:06 Signing Git tag with Sigul... 19:17:06 Signing v3.0.0-dev.71 [Pipeline] echo 19:17:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:17:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:17:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:17:06 $ docker stop --time=1 e77f9b82fd6b8e9259fc0e2668ca62137075b333871f335b0545a9e1f713b3ed 19:17:08 $ docker rm -f --volumes e77f9b82fd6b8e9259fc0e2668ca62137075b333871f335b0545a9e1f713b3ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:17:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:17:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:17:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:17:09 prd-ubuntu20.04-docker-8c-8g-8968 does not seem to be running inside a container 19:17:09 $ 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 19:17:09 $ docker top be394a3c29c8bf9cdf11fd7426fe0ca02e0db1fa1f3ccafd1e6717c12efb0357 -eo pid,comm 19:17:09 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). 19:17:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:17:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:17:09 [ssh-agent] Looking for ssh-agent implementation... 19:17:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:17:09 $ docker exec be394a3c29c8bf9cdf11fd7426fe0ca02e0db1fa1f3ccafd1e6717c12efb0357 ssh-agent 19:17:09 SSH_AUTH_SOCK=/tmp/ssh-hBerBkUnMikS/agent.32 19:17:09 SSH_AGENT_PID=38 19:17:09 Running ssh-add (command line suppressed) 19:17:09 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6801690666116052225.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6801690666116052225.key) 19:17:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:17:10 + git semver bump pre 19:17:10 2023-04-18 19:17:10,317 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:17:10 2023-04-18 19:17:10,317 [bump_version] DEBUG bumping version:3.0.0-dev.71 on axis:pre with prefix:dev 19:17:10 2023-04-18 19:17:10,317 [bump_version] DEBUG bumped version:3.0.0-dev.72 19:17:10 2023-04-18 19:17:10,317 [write_version] DEBUG write version:3.0.0-dev.72 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 19:17:10 2023-04-18 19:17:10,317 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:17:10 2023-04-18 19:17:10,317 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:17:10 2023-04-18 19:17:10,319 [execute] INFO git cat-file --batch-check 19:17:10 2023-04-18 19:17:10,320 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:17:10 2023-04-18 19:17:10,326 [execute] INFO git cat-file --batch 19:17:10 2023-04-18 19:17:10,326 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:17:10 2023-04-18 19:17:10,332 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:17:10 3.0.0-dev.72 [Pipeline] } 19:17:10 $ docker exec --env ******** --env ******** be394a3c29c8bf9cdf11fd7426fe0ca02e0db1fa1f3ccafd1e6717c12efb0357 ssh-agent -k 19:17:10 unset SSH_AUTH_SOCK; 19:17:10 unset SSH_AGENT_PID; 19:17:10 echo Agent pid 38 killed; 19:17:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:17:10 + git semver [Pipeline] } 19:17:11 $ docker stop --time=1 be394a3c29c8bf9cdf11fd7426fe0ca02e0db1fa1f3ccafd1e6717c12efb0357 19:17:12 $ docker rm -f --volumes be394a3c29c8bf9cdf11fd7426fe0ca02e0db1fa1f3ccafd1e6717c12efb0357 [Pipeline] // withDockerContainer [Pipeline] sh 19:17:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:17:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:17:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:17:13 prd-ubuntu20.04-docker-8c-8g-8968 does not seem to be running inside a container 19:17:13 $ 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 19:17:13 $ docker top 419a543a6efcd0effbc4453ce91fd891671b8195e6daea95928a844304a21a48 -eo pid,comm 19:17:13 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). 19:17:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:17:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:17:13 [ssh-agent] Looking for ssh-agent implementation... 19:17:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:17:13 $ docker exec 419a543a6efcd0effbc4453ce91fd891671b8195e6daea95928a844304a21a48 ssh-agent 19:17:13 SSH_AUTH_SOCK=/tmp/ssh-Z1seF97RSHu3/agent.31 19:17:13 SSH_AGENT_PID=37 19:17:13 Running ssh-add (command line suppressed) 19:17:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6384718153670910500.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6384718153670910500.key) 19:17:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:17:14 + git semver push 19:17:14 2023-04-18 19:17:14,356 [run_push] DEBUG push 19:17:14 2023-04-18 19:17:14,357 [execute] INFO git cat-file --batch-check 19:17:14 2023-04-18 19:17:14,357 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:17:14 2023-04-18 19:17:14,361 [execute] INFO git rev-list 50fde02b75e8694371d927518a551bcd648095e4 -- 19:17:14 2023-04-18 19:17:14,362 [execute] DEBUG Popen(['git', 'rev-list', '50fde02b75e8694371d927518a551bcd648095e4', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:17:14 2023-04-18 19:17:14,374 [execute] INFO git fetch -v origin 19:17:14 2023-04-18 19:17:14,375 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 19:17:15 2023-04-18 19:17:14,828 [run_push] DEBUG no remote changes detected 19:17:15 2023-04-18 19:17:14,828 [execute] INFO git push origin semver 19:17:15 2023-04-18 19:17:14,829 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:17:15 2023-04-18 19:17:15,703 [run_push] DEBUG push all version tags 19:17:15 2023-04-18 19:17:15,703 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:17:15 2023-04-18 19:17:15,704 [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) 19:17:16 2023-04-18 19:17:16,493 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:17:16 3.0.0-dev.72 [Pipeline] } 19:17:16 $ docker exec --env ******** --env ******** 419a543a6efcd0effbc4453ce91fd891671b8195e6daea95928a844304a21a48 ssh-agent -k 19:17:16 unset SSH_AUTH_SOCK; 19:17:16 unset SSH_AGENT_PID; 19:17:16 echo Agent pid 37 killed; 19:17:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:17:17 + git semver [Pipeline] } 19:17:17 $ docker stop --time=1 419a543a6efcd0effbc4453ce91fd891671b8195e6daea95928a844304a21a48 19:17:18 $ docker rm -f --volumes 419a543a6efcd0effbc4453ce91fd891671b8195e6daea95928a844304a21a48 [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 19:17:19 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 19:17:19 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:17:19 total 16 19:17:19 drwxr-xr-x 3 root root 4096 Apr 18 19:03 . 19:17:19 drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 19:17 .. 19:17:19 drwxr-xr-x 2 root root 4096 Apr 18 19:03 cost 19:17:19 -rw-r--r-- 1 root root 85 Apr 18 19:03 cost.csv 19:17:19 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:17:19 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:17:19 total 16 19:17:19 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 19:03 . 19:17:19 drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 19:17 .. 19:17:19 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 19:03 cost 19:17:19 -rw-r--r-- 1 jenkins jenkins 85 Apr 18 19:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:17:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:17:20 ---> package-listing.sh 19:17:20 ++ facter osfamily 19:17:20 ++ tr '[:upper:]' '[:lower:]' 19:17:20 + OS_FAMILY=debian 19:17:20 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 19:17:20 + START_PACKAGES=/tmp/packages_start.txt 19:17:20 + END_PACKAGES=/tmp/packages_end.txt 19:17:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:17:20 + PACKAGES=/tmp/packages_start.txt 19:17:20 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 19:17:20 + PACKAGES=/tmp/packages_end.txt 19:17:20 + case "${OS_FAMILY}" in 19:17:20 + dpkg -l 19:17:20 + grep '^ii' 19:17:20 + '[' -f /tmp/packages_start.txt ']' 19:17:20 + '[' -f /tmp/packages_end.txt ']' 19:17:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:17:20 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 19:17:20 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 19:17:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 19:17:20 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 19:17:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:17:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:17:21 prd-ubuntu20.04-docker-8c-8g-8968 does not seem to be running inside a container 19:17:21 $ 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 19:17:21 $ docker top 3bf047f4d8e4abef2b3ebe6e44dce916ae026a073749ffe3ea3c8545497b5039 -eo pid,comm [Pipeline] { [Pipeline] sh 19:17:22 + touch /tmp/pre-build-complete [Pipeline] sh 19:17:22 + mkdir -p /var/log/sysstat [Pipeline] sh 19:17:22 + ls /var/log/sa-host 19:17:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:17:22 provisioning config files... 19:17:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6257841186594069935tmp [Pipeline] { [Pipeline] echo 19:17:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:17:23 ---> create-netrc.sh [Pipeline] } 19:17:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:17:23 ---> python-tools-install.sh [Pipeline] echo 19:17:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:17:23 ---> sudo-logs.sh 19:17:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:17:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:17:24 ---> job-cost.sh 19:17:24 lf-activate-venv: SKIPPING 19:17:24 DEBUG: total: 0.2199999988079071 19:17:24 INFO: Retrieving Stack Cost... 19:17:24 INFO: Retrieving Pricing Info for: v3-standard-8 19:17:25 INFO: Archiving Costs [Pipeline] echo 19:17:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:17:25 ---> logs-deploy.sh 19:17:25 lf-activate-venv: SKIPPING 19:17:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/202 19:17:25 INFO: archiving workspace using pattern(s): 19:17:26 Archives upload complete. 19:17:26 INFO: archiving logs to Nexus