Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 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-ssh10066862163947891484.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-ssh15439621856869273175.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-ssh6148066337627894236.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-ssh16946911938969037570.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-ssh5738833018346688013.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11863 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 cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 (main) Commit message: "Merge pull request #1436 from lenny-intel/dev-mode" > 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 cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 # timeout=10 > git rev-list --no-walk c31da6b9bd8f881b09bfcd5597f8ef9d6377d9f8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:56:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:56:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:56:09 ========================================================= 04:56:09 EdgeX Global Pipelines Version Info 04:56:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:56:09 ------------------- 04:56:09 stable info: 04:56:09 ------------------- 04:56:09 Commited By: Bill Mahoney bill.mahoney@intel.com 04:56:09 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 04:56:09 Message: update stable to v1.0.248 04:56:10 ------------------- 04:56:10 experimental info: 04:56:10 ------------------- 04:56:10 Commited By: **** collab-it+edgex@linuxfoundation.org 04:56:10 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 04:56:10 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc1c191 [Pipeline] echo 04:56:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:56:10 provisioning config files... 04:56:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2597778546349708495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:56:11 ---> docker-login.sh 04:56:11 nexus3.edgexfoundry.org:10001 04:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:11 Configure a credential helper to remove this warning. See 04:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:11 04:56:11 Login Succeeded 04:56:11 nexus3.edgexfoundry.org:10002 04:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:11 Configure a credential helper to remove this warning. See 04:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:11 04:56:11 Login Succeeded 04:56:11 nexus3.edgexfoundry.org:10003 04:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:11 Configure a credential helper to remove this warning. See 04:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:11 04:56:11 Login Succeeded 04:56:11 nexus3.edgexfoundry.org:10004 04:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:11 Configure a credential helper to remove this warning. See 04:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:11 04:56:11 Login Succeeded 04:56:11 docker.io 04:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:11 Configure a credential helper to remove this warning. See 04:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:11 04:56:11 Login Succeeded 04:56:11 ---> docker-login.sh ends [Pipeline] } 04:56:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:56:12 + git rev-list -1 --merges cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2~1..cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 [Pipeline] echo 04:56:12 -----------> git rev-list -1 --merges cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2~1..cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 04:56:12 cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 [false] [Pipeline] sh 04:56:12 + git log --format=format:%s -1 cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 [Pipeline] echo 04:56:12 ========================================================= 04:56:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:56:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:56:13 + git log --format=format:%s -1 cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 [Pipeline] echo 04:56:13 [semverPrep] GIT_COMMIT: cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2, Commit Message: Merge pull request #1436 from lenny-intel/dev-mode [Pipeline] echo 04:56:13 [semverPrep] This is not a build commit. [Pipeline] sh 04:56:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:56:13 + grep -v github /etc/ssh/ssh_known_hosts 04:56:13 + [ -e /tmp/ssh_known_hosts ] 04:56:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:56:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 04:56:13 sudo tee -a /etc/ssh/ssh_known_hosts 04:56:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:56:13 04:56:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:56:14 0.1.4: Pulling from edgex-devops/py-git-semver 04:56:14 b85a868b505f: Pulling fs layer 04:56:14 e2be974225ed: Pulling fs layer 04:56:14 339a4e72a1f5: Pulling fs layer 04:56:14 988bab9f4d93: Pulling fs layer 04:56:14 1469e6f7b9e6: Pulling fs layer 04:56:14 eaf3925da568: Pulling fs layer 04:56:14 bab4dde63d76: Pulling fs layer 04:56:14 bde34c3a00c8: Pulling fs layer 04:56:14 b352a97aabf1: Pulling fs layer 04:56:14 4872d77fe225: Pulling fs layer 04:56:14 5851b861e8e6: Pulling fs layer 04:56:14 988bab9f4d93: Waiting 04:56:14 1469e6f7b9e6: Waiting 04:56:14 eaf3925da568: Waiting 04:56:14 bab4dde63d76: Waiting 04:56:14 4872d77fe225: Waiting 04:56:14 5851b861e8e6: Waiting 04:56:14 b352a97aabf1: Waiting 04:56:14 bde34c3a00c8: Waiting 04:56:14 e2be974225ed: Verifying Checksum 04:56:14 e2be974225ed: Download complete 04:56:14 988bab9f4d93: Download complete 04:56:14 1469e6f7b9e6: Verifying Checksum 04:56:14 1469e6f7b9e6: Download complete 04:56:14 339a4e72a1f5: Verifying Checksum 04:56:14 339a4e72a1f5: Download complete 04:56:14 eaf3925da568: Verifying Checksum 04:56:14 eaf3925da568: Download complete 04:56:14 bde34c3a00c8: Verifying Checksum 04:56:14 bde34c3a00c8: Download complete 04:56:14 b352a97aabf1: Download complete 04:56:14 4872d77fe225: Verifying Checksum 04:56:14 4872d77fe225: Download complete 04:56:14 5851b861e8e6: Verifying Checksum 04:56:14 5851b861e8e6: Download complete 04:56:14 b85a868b505f: Verifying Checksum 04:56:14 b85a868b505f: Download complete 04:56:14 bab4dde63d76: Verifying Checksum 04:56:14 bab4dde63d76: Download complete 04:56:15 b85a868b505f: Pull complete 04:56:15 e2be974225ed: Pull complete 04:56:16 339a4e72a1f5: Pull complete 04:56:16 988bab9f4d93: Pull complete 04:56:16 1469e6f7b9e6: Pull complete 04:56:16 eaf3925da568: Pull complete 04:56:17 bab4dde63d76: Pull complete 04:56:17 bde34c3a00c8: Pull complete 04:56:17 b352a97aabf1: Pull complete 04:56:17 4872d77fe225: Pull complete 04:56:18 5851b861e8e6: Pull complete 04:56:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:56:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:56:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:18 prd-ubuntu20.04-docker-8c-8g-11863 does not seem to be running inside a container 04:56:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:56:21 $ docker top 6270a06e572d9b844914e378d201b81a4b6c18d9107bc063db392e4e8b562f76 -eo pid,comm 04:56:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:56:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:56:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:56:21 [ssh-agent] Looking for ssh-agent implementation... 04:56:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:56:21 $ docker exec 6270a06e572d9b844914e378d201b81a4b6c18d9107bc063db392e4e8b562f76 ssh-agent 04:56:21 SSH_AUTH_SOCK=/tmp/ssh-6j4DF40O5IXc/agent.32 04:56:21 SSH_AGENT_PID=38 04:56:21 Running ssh-add (command line suppressed) 04:56:21 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17712632011116870088.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17712632011116870088.key) 04:56:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:56:22 + git tag --points-at HEAD [Pipeline] } 04:56:22 $ docker exec --env ******** --env ******** 6270a06e572d9b844914e378d201b81a4b6c18d9107bc063db392e4e8b562f76 ssh-agent -k 04:56:22 unset SSH_AUTH_SOCK; 04:56:22 unset SSH_AGENT_PID; 04:56:22 echo Agent pid 38 killed; 04:56:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:56:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:56:22 [ssh-agent] Looking for ssh-agent implementation... 04:56:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:56:22 $ docker exec 6270a06e572d9b844914e378d201b81a4b6c18d9107bc063db392e4e8b562f76 ssh-agent 04:56:22 SSH_AUTH_SOCK=/tmp/ssh-1yisG0DlJPyu/agent.70 04:56:22 SSH_AGENT_PID=76 04:56:22 Running ssh-add (command line suppressed) 04:56:22 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3615003749455943420.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3615003749455943420.key) 04:56:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:56:22 + git semver init 04:56:23 2023-04-27 04:56:23,004 [run_init] DEBUG init version:0.0.0 force:False 04:56:23 2023-04-27 04:56:23,004 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:56:23 2023-04-27 04:56:23,005 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:56:23 2023-04-27 04:56:23,005 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:56:24 2023-04-27 04:56:23,887 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:56:24 2023-04-27 04:56:23,887 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:56:24 2023-04-27 04:56:23,888 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:56:24 2023-04-27 04:56:23,888 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:56:24 3.0.0-dev.77 [Pipeline] } 04:56:24 $ docker exec --env ******** --env ******** 6270a06e572d9b844914e378d201b81a4b6c18d9107bc063db392e4e8b562f76 ssh-agent -k 04:56:24 unset SSH_AUTH_SOCK; 04:56:24 unset SSH_AGENT_PID; 04:56:24 echo Agent pid 76 killed; 04:56:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:56:24 + git semver [Pipeline] } 04:56:24 $ docker stop --time=1 6270a06e572d9b844914e378d201b81a4b6c18d9107bc063db392e4e8b562f76 04:56:26 $ docker rm -f --volumes 6270a06e572d9b844914e378d201b81a4b6c18d9107bc063db392e4e8b562f76 [Pipeline] // withDockerContainer [Pipeline] sh 04:56:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:56:26 Stashed 1 file(s) [Pipeline] echo 04:56:26 [edgeXSemver]: initialized semver on version 3.0.0-dev.77 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:56:26 provisioning config files... 04:56:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1029329665816545736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:56:27 ---> docker-login.sh 04:56:27 nexus3.edgexfoundry.org:10001 04:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:27 Configure a credential helper to remove this warning. See 04:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:27 04:56:27 Login Succeeded 04:56:27 nexus3.edgexfoundry.org:10002 04:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:27 Configure a credential helper to remove this warning. See 04:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:27 04:56:27 Login Succeeded 04:56:27 nexus3.edgexfoundry.org:10003 04:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:27 Configure a credential helper to remove this warning. See 04:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:27 04:56:27 Login Succeeded 04:56:27 nexus3.edgexfoundry.org:10004 04:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:27 Configure a credential helper to remove this warning. See 04:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:27 04:56:27 Login Succeeded 04:56:27 docker.io 04:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:27 Configure a credential helper to remove this warning. See 04:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:27 04:56:27 Login Succeeded 04:56:27 ---> docker-login.sh ends [Pipeline] } 04:56:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:56:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:56:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:56:27 ========================================================= 04:56:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:56:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:27 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:56:27 Sending build context to Docker daemon 11MB 04:56:27 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:56:27 Step 2/10 : FROM ${BASE} AS builder 04:56:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:56:27 f56be85fc22e: Pulling fs layer 04:56:27 85791d961cd3: Pulling fs layer 04:56:27 d694b5ae8c79: Pulling fs layer 04:56:27 9f32a84ed3da: Pulling fs layer 04:56:27 4d19c01a9841: Pulling fs layer 04:56:27 9325e15d5711: Pulling fs layer 04:56:27 556b6ee489ea: Pulling fs layer 04:56:27 c5a4b2cf53e6: Pulling fs layer 04:56:27 9f32a84ed3da: Waiting 04:56:27 4d19c01a9841: Waiting 04:56:27 9325e15d5711: Waiting 04:56:27 556b6ee489ea: Waiting 04:56:27 c5a4b2cf53e6: Waiting 04:56:27 85791d961cd3: Verifying Checksum 04:56:27 85791d961cd3: Download complete 04:56:28 9f32a84ed3da: Verifying Checksum 04:56:28 9f32a84ed3da: Download complete 04:56:28 4d19c01a9841: Verifying Checksum 04:56:28 4d19c01a9841: Download complete 04:56:28 f56be85fc22e: Verifying Checksum 04:56:28 f56be85fc22e: Download complete 04:56:28 9325e15d5711: Verifying Checksum 04:56:28 9325e15d5711: Download complete 04:56:28 f56be85fc22e: Pull complete 04:56:28 85791d961cd3: Pull complete 04:56:28 d694b5ae8c79: Verifying Checksum 04:56:28 d694b5ae8c79: Download complete 04:56:29 c5a4b2cf53e6: Verifying Checksum 04:56:29 c5a4b2cf53e6: Download complete 04:56:29 556b6ee489ea: Verifying Checksum 04:56:29 556b6ee489ea: Download complete 04:56:32 d694b5ae8c79: Pull complete 04:56:32 9f32a84ed3da: Pull complete 04:56:32 4d19c01a9841: Pull complete 04:56:32 9325e15d5711: Pull complete 04:56:34 556b6ee489ea: Pull complete 04:56:35 c5a4b2cf53e6: Pull complete 04:56:35 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:56:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:56:35 ---> c4be618373d6 04:56:35 Step 3/10 : ARG MAKE=make build 04:56:39 ---> Running in 5f410fc9a664 04:56:39 Removing intermediate container 5f410fc9a664 04:56:39 ---> 87e6d3d95ecf 04:56:39 Step 4/10 : WORKDIR /device-sdk-go 04:56:39 ---> Running in 6154f6adea92 04:56:39 Removing intermediate container 6154f6adea92 04:56:39 ---> cf54b59539be 04:56:39 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:56:39 ---> Running in bced845e5ec3 04:56:39 Removing intermediate container bced845e5ec3 04:56:39 ---> 84f99468ba0a 04:56:39 Step 6/10 : RUN apk add --update --no-cache make git 04:56:39 ---> Running in 0fe962d333a1 04:56:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:56:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:56:40 OK: 265 MiB in 53 packages 04:56:40 Removing intermediate container 0fe962d333a1 04:56:40 ---> dc7ccb46fcde 04:56:40 Step 7/10 : COPY go.mod vendor* ./ 04:56:40 ---> 9a511a5ec2d5 04:56:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:56:40 ---> Running in 2cfe5d438ad7 04:56:41 Still waiting to schedule task 04:56:41 ‘prd-centos7-blackbox-4c-2g-9351’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 04:56:41 ‘prd-centos7-blackbox-4c-2g-9352’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 04:56:41 ‘prd-ubuntu20.04-docker-arm64-4c-16g-11864’ is offline 04:57:07 Removing intermediate container 2cfe5d438ad7 04:57:07 ---> 32f2b2b0871f 04:57:07 Step 9/10 : COPY . . 04:57:07 ---> ce5079c097c3 04:57:07 Step 10/10 : RUN ${MAKE} 04:57:07 ---> Running in ba9455032cd8 04:57:07 noop 04:57:07 Removing intermediate container ba9455032cd8 04:57:07 ---> 73a66acb98fc 04:57:07 Successfully built 73a66acb98fc 04:57:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:08 + docker inspect -f . ci-base-image-x86_64 04:57:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:08 prd-ubuntu20.04-docker-8c-8g-11863 does not seem to be running inside a container 04:57:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:57:08 $ docker top 882ad661cc2e4eb0be180e67c2e912c7b0858b6fe9b3b4189b03e651399d09ed -eo pid,comm [Pipeline] { [Pipeline] sh 04:57:08 + go version 04:57:08 go version go1.20.2 linux/amd64 [Pipeline] } 04:57:08 $ docker stop --time=1 882ad661cc2e4eb0be180e67c2e912c7b0858b6fe9b3b4189b03e651399d09ed 04:57:10 $ docker rm -f --volumes 882ad661cc2e4eb0be180e67c2e912c7b0858b6fe9b3b4189b03e651399d09ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:10 + docker inspect -f . ci-base-image-x86_64 04:57:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:10 prd-ubuntu20.04-docker-8c-8g-11863 does not seem to be running inside a container 04:57:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:57:10 $ docker top 93db301e1f637d9bd5132c2990501b55491ad403ccd832b0c3ae955220650235 -eo pid,comm [Pipeline] { [Pipeline] sh 04:57:11 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:57:11 + make test 04:57:11 go test -race -coverprofile=coverage.out ./... 04:57:18 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:57:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:57:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:57:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:57:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:57:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:57:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.060s coverage: 27.6% of statements 04:57:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:57:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:57:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.057s coverage: 80.2% of statements 04:57:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.070s coverage: 86.0% of statements 04:57:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:57:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:57:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.085s coverage: 77.5% of statements 04:57:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:57:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:57:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:57:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.082s coverage: 14.6% of statements 04:57:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.069s coverage: 68.5% of statements 04:57:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.112s coverage: 89.2% of statements 04:57:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements 04:57:54 GO111MODULE=on go vet ./... 04:57:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:57:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:57:57 ./bin/test-attribution-txt.sh [Pipeline] echo 04:57:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:57:57 $ docker stop --time=1 93db301e1f637d9bd5132c2990501b55491ad403ccd832b0c3ae955220650235 04:58:02 $ docker rm -f --volumes 93db301e1f637d9bd5132c2990501b55491ad403ccd832b0c3ae955220650235 [Pipeline] // withDockerContainer [Pipeline] sh 04:58:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:58:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:58:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:58:03 + ls -al . 04:58:03 total 272 04:58:03 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 04:57 . 04:58:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:56 .. 04:58:03 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:56 .dockerignore 04:58:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:56 .git 04:58:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:56 .github 04:58:03 -rw-rw-r-- 1 jenkins jenkins 131 Apr 27 04:56 .gitignore 04:58:03 -rw-rw-r-- 1 jenkins jenkins 42 Apr 27 04:56 .golangci.yml 04:58:03 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 04:56 .semver 04:58:03 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 27 04:56 CHANGELOG.md 04:58:03 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:56 GOVERNANCE.md 04:58:03 -rw-rw-r-- 1 jenkins jenkins 885 Apr 27 04:56 Jenkinsfile 04:58:03 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 04:56 LICENSE 04:58:03 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 27 04:56 Makefile 04:58:03 -rw-rw-r-- 1 jenkins jenkins 619 Apr 27 04:56 OWNERS.md 04:58:03 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 27 04:56 README.md 04:58:03 -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 04:56 VERSION 04:58:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:56 bin 04:58:03 -rw-r--r-- 1 jenkins jenkins 106122 Apr 27 04:57 coverage.out 04:58:03 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:56 example 04:58:03 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 27 04:56 go.mod 04:58:03 -rw-rw-r-- 1 jenkins jenkins 30896 Apr 27 04:56 go.sum 04:58:03 drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 04:56 internal 04:58:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:56 openapi 04:58:03 drwxrwxr-x 6 jenkins jenkins 4096 Apr 27 04:56 pkg 04:58:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:56 snap 04:58:03 -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 04:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:03 + 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=cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 --label arch=amd64 --label version=3.0.0-dev.77 . 04:58:03 Sending build context to Docker daemon 11.11MB 04:58:03 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 04:58:03 Step 2/23 : FROM ${BASE} AS builder 04:58:03 ---> 73a66acb98fc 04:58:03 Step 3/23 : ARG MAKE=make build 04:58:04 ---> Running in 1dcbb2a19e77 04:58:04 Removing intermediate container 1dcbb2a19e77 04:58:04 ---> 69b32eac32e3 04:58:04 Step 4/23 : WORKDIR /device-sdk-go 04:58:04 ---> Running in 3b5f24e41ab3 04:58:04 Removing intermediate container 3b5f24e41ab3 04:58:04 ---> 33553d375ea1 04:58:04 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:58:04 ---> Running in 2a1f067ead24 04:58:04 Removing intermediate container 2a1f067ead24 04:58:04 ---> 99aa0b4781f4 04:58:04 Step 6/23 : RUN apk add --update --no-cache make git 04:58:04 ---> Running in b5869d088bd5 04:58:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:58:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:58:04 OK: 265 MiB in 53 packages 04:58:05 Removing intermediate container b5869d088bd5 04:58:05 ---> 1a133ef4ddeb 04:58:05 Step 7/23 : COPY go.mod vendor* ./ 04:58:05 ---> 011e053382cb 04:58:05 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:58:05 ---> Running in d544352dacc0 04:58:05 Removing intermediate container d544352dacc0 04:58:05 ---> d8afa74e339b 04:58:05 Step 9/23 : COPY . . 04:58:06 ---> cd2ad7b8d5f7 04:58:06 Step 10/23 : RUN ${MAKE} 04:58:06 ---> Running in 4f57dd8246e3 04:58:06 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.77" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:58:24 Removing intermediate container 4f57dd8246e3 04:58:24 ---> 48182aef097f 04:58:24 Step 11/23 : FROM alpine:3.17 04:58:24 3.17: Pulling from library/alpine 04:58:24 f56be85fc22e: Already exists 04:58:24 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:58:24 Status: Downloaded newer image for alpine:3.17 04:58:24 ---> 9ed4aefc74f6 04:58:24 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:58:24 ---> Running in a1de4d9fef26 04:58:24 Removing intermediate container a1de4d9fef26 04:58:24 ---> c9987ca357dc 04:58:24 Step 13/23 : RUN apk add --update --no-cache 04:58:24 ---> Running in 109e63b19e2e 04:58:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:58:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:58:25 OK: 7 MiB in 15 packages 04:58:25 Removing intermediate container 109e63b19e2e 04:58:25 ---> 2b733b4ac15c 04:58:25 Step 14/23 : WORKDIR / 04:58:25 ---> Running in cbd85c41b996 04:58:25 Removing intermediate container cbd85c41b996 04:58:25 ---> 301cd774665d 04:58:25 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:58:25 ---> 2c724dd85115 04:58:25 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:58:26 ---> e289716de29d 04:58:26 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:58:26 ---> 19a616244a0a 04:58:26 Step 18/23 : EXPOSE 59999 04:58:26 ---> Running in bc303124e2c5 04:58:26 Removing intermediate container bc303124e2c5 04:58:26 ---> efe9d2b7d0b9 04:58:26 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:58:26 ---> Running in 4a9684a85558 04:58:26 Removing intermediate container 4a9684a85558 04:58:26 ---> 43d4575e95d6 04:58:26 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:58:26 ---> Running in 02b129c6be71 04:58:27 Removing intermediate container 02b129c6be71 04:58:27 ---> 9cd2f1ced618 04:58:27 Step 21/23 : LABEL arch=amd64 04:58:27 ---> Running in 337ace468f7a 04:58:27 Removing intermediate container 337ace468f7a 04:58:27 ---> f850739df622 04:58:27 Step 22/23 : LABEL git_sha=cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 04:58:27 ---> Running in a613035dffd9 04:58:27 Removing intermediate container a613035dffd9 04:58:27 ---> 469f9b49591e 04:58:27 Step 23/23 : LABEL version=3.0.0-dev.77 04:58:27 ---> Running in 7935ce083d10 04:58:27 Removing intermediate container 7935ce083d10 04:58:27 ---> 367d2e3d5a4d 04:58:27 [Warning] One or more build-args [ARCH] were not consumed 04:58:27 Successfully built 367d2e3d5a4d 04:58:27 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:58:27 04:58:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:58:28 latest: Pulling from edgex-lftools-log-publisher 04:58:28 5eb5b503b376: Pulling fs layer 04:58:28 5c69ac0246d0: Pulling fs layer 04:58:28 ec43610c2a17: Pulling fs layer 04:58:28 3a2ae6a8a46f: Pulling fs layer 04:58:28 33b1e0a273af: Pulling fs layer 04:58:28 5d3b04190fa2: Pulling fs layer 04:58:28 2f39f015ded8: Pulling fs layer 04:58:28 33b1e0a273af: Waiting 04:58:28 2f39f015ded8: Waiting 04:58:28 3a2ae6a8a46f: Waiting 04:58:28 5d3b04190fa2: Waiting 04:58:28 5c69ac0246d0: Download complete 04:58:28 3a2ae6a8a46f: Download complete 04:58:28 33b1e0a273af: Verifying Checksum 04:58:28 33b1e0a273af: Download complete 04:58:28 ec43610c2a17: Verifying Checksum 04:58:28 ec43610c2a17: Download complete 04:58:28 5d3b04190fa2: Verifying Checksum 04:58:28 5d3b04190fa2: Download complete 04:58:28 5eb5b503b376: Verifying Checksum 04:58:28 5eb5b503b376: Download complete 04:58:28 2f39f015ded8: Verifying Checksum 04:58:28 2f39f015ded8: Download complete 04:58:29 5eb5b503b376: Pull complete 04:58:29 5c69ac0246d0: Pull complete 04:58:29 ec43610c2a17: Pull complete 04:58:29 3a2ae6a8a46f: Pull complete 04:58:29 33b1e0a273af: Pull complete 04:58:30 5d3b04190fa2: Pull complete 04:58:34 2f39f015ded8: Pull complete 04:58:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:58:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:58:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:34 prd-ubuntu20.04-docker-8c-8g-11863 does not seem to be running inside a container 04:58:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:58:38 $ docker top bf20e544c9344951df16ed911a9ee27e1001e1f208165b3b975703711c013b58 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:58:38 ---> job-cost.sh 04:58:38 lf-activate-venv: SKIPPING 04:58:38 INFO: No Stack... 04:58:38 INFO: Retrieving Pricing Info for: v3-standard-8 04:58:38 INFO: Archiving Costs [Pipeline] sh 04:58:39 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:58:39 + cut -d, -f6 [Pipeline] lock 04:58:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-208-stack-cost] 04:58:39 Resource [jenkins-edgexfoundry-device-sdk-go-main-208-stack-cost] did not exist. Created. 04:58:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-208-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:58:39 + echo total: 0.2199999988079071 [Pipeline] stash 04:58:39 Stashed 1 file(s) [Pipeline] } 04:58:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-208-stack-cost] [Pipeline] // lock [Pipeline] } 04:58:39 $ docker stop --time=1 bf20e544c9344951df16ed911a9ee27e1001e1f208165b3b975703711c013b58 04:58:40 $ docker rm -f --volumes bf20e544c9344951df16ed911a9ee27e1001e1f208165b3b975703711c013b58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:00:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11865 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:00:50 Running in /w/workspace/device-sdk-go/208 [Pipeline] { [Pipeline] checkout 05:00:50 The recommended git tool is: git 05:00:57 using credential edgex-jenkins-ssh 05:00:57 Cloning the remote Git repository 05:00:57 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:00:57 > git init /w/workspace/device-sdk-go/208 # timeout=10 05:00:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:00:57 > git --version # timeout=10 05:00:57 > git --version # 'git version 2.25.1' 05:00:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:00:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:01:00 Avoid second fetch 05:01:00 Checking out Revision cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 (main) 05:00:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:00:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:01:00 > git config core.sparsecheckout # timeout=10 05:01:00 > git checkout -f cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 # timeout=10 05:01:01 Commit message: "Merge pull request #1436 from lenny-intel/dev-mode" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:01:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:01:02 % Total % Received % Xferd Average Speed Time Time Time Current 05:01:02 Dload Upload Total Spent Left Speed 05:01:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh 05:01:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:01:03 + sudo tee /etc/docker/daemon.new 05:01:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:01:03 { 05:01:03 "registry-mirrors": [ 05:01:03 "https://nexus3.edgexfoundry.org:10001" 05:01:03 ], 05:01:03 "bip": "10.250.0.254/24", 05:01:03 "hosts": [ 05:01:03 "tcp://0.0.0.0:5555", 05:01:03 "unix:///var/run/docker.sock" 05:01:03 ], 05:01:03 "mtu": 1458, 05:01:03 "selinux-enabled": true, 05:01:03 "seccomp-profile": "/etc/docker/seccomp.json" 05:01:03 } [Pipeline] sh 05:01:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:01:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:01:22 provisioning config files... 05:01:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/208@tmp/config7743956394475479602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:22 ---> docker-login.sh 05:01:22 nexus3.edgexfoundry.org:10001 05:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:23 Configure a credential helper to remove this warning. See 05:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:23 05:01:23 Login Succeeded 05:01:23 nexus3.edgexfoundry.org:10002 05:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:24 Configure a credential helper to remove this warning. See 05:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:24 05:01:24 Login Succeeded 05:01:24 nexus3.edgexfoundry.org:10003 05:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:24 Configure a credential helper to remove this warning. See 05:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:24 05:01:24 Login Succeeded 05:01:24 nexus3.edgexfoundry.org:10004 05:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:24 Configure a credential helper to remove this warning. See 05:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:24 05:01:24 Login Succeeded 05:01:24 docker.io 05:01:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:25 Configure a credential helper to remove this warning. See 05:01:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:25 05:01:25 Login Succeeded 05:01:25 ---> docker-login.sh ends [Pipeline] } 05:01:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:01:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:01:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:01:25 ========================================================= 05:01:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:01:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:26 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:01:26 Sending build context to Docker daemon 5.911MB 05:01:26 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:01:26 Step 2/10 : FROM ${BASE} AS builder 05:01:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:01:26 c41833b44d91: Pulling fs layer 05:01:26 ed15518f5707: Pulling fs layer 05:01:26 feae8fd75edb: Pulling fs layer 05:01:26 242c74f7c9fa: Pulling fs layer 05:01:26 3cdef696dda3: Pulling fs layer 05:01:26 2ced38df9373: Pulling fs layer 05:01:26 58f1dce35555: Pulling fs layer 05:01:26 3cdef696dda3: Waiting 05:01:26 242c74f7c9fa: Waiting 05:01:26 2ced38df9373: Waiting 05:01:26 58f1dce35555: Waiting 05:01:26 ed15518f5707: Verifying Checksum 05:01:26 ed15518f5707: Download complete 05:01:26 242c74f7c9fa: Download complete 05:01:27 3cdef696dda3: Verifying Checksum 05:01:27 3cdef696dda3: Download complete 05:01:27 c41833b44d91: Verifying Checksum 05:01:27 c41833b44d91: Download complete 05:01:28 c41833b44d91: Pull complete 05:01:28 58f1dce35555: Verifying Checksum 05:01:28 58f1dce35555: Download complete 05:01:28 ed15518f5707: Pull complete 05:01:30 feae8fd75edb: Verifying Checksum 05:01:30 feae8fd75edb: Download complete 05:01:30 2ced38df9373: Verifying Checksum 05:01:30 2ced38df9373: Download complete 05:01:40 feae8fd75edb: Pull complete 05:01:40 242c74f7c9fa: Pull complete 05:01:40 3cdef696dda3: Pull complete 05:01:49 2ced38df9373: Pull complete 05:01:50 58f1dce35555: Pull complete 05:01:50 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 05:01:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:01:50 ---> fadd8f120f05 05:01:50 Step 3/10 : ARG MAKE=make build 05:01:52 ---> Running in f032b1727972 05:01:52 Removing intermediate container f032b1727972 05:01:52 ---> a3387a1c7542 05:01:52 Step 4/10 : WORKDIR /device-sdk-go 05:01:52 ---> Running in 0785fa6b5335 05:01:53 Removing intermediate container 0785fa6b5335 05:01:53 ---> 8187563a131b 05:01:53 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:01:53 ---> Running in ebf587b58595 05:01:53 Removing intermediate container ebf587b58595 05:01:53 ---> 88bfc32fa0dc 05:01:53 Step 6/10 : RUN apk add --update --no-cache make git 05:01:53 ---> Running in aa6e9717bd70 05:01:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:01:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:01:59 OK: 263 MiB in 53 packages 05:02:00 Removing intermediate container aa6e9717bd70 05:02:00 ---> 418975ce6eca 05:02:00 Step 7/10 : COPY go.mod vendor* ./ 05:02:00 ---> a48fb1be6060 05:02:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:02:00 ---> Running in 5e284345e749 05:03:09 Removing intermediate container 5e284345e749 05:03:09 ---> b270de71928a 05:03:09 Step 9/10 : COPY . . 05:03:09 ---> 46fa0602c7df 05:03:09 Step 10/10 : RUN ${MAKE} 05:03:09 ---> Running in 7d7d3e7f6aef 05:03:09 noop 05:03:09 Removing intermediate container 7d7d3e7f6aef 05:03:09 ---> 69745e095e23 05:03:09 Successfully built 69745e095e23 05:03:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:09 + docker inspect -f . ci-base-image-arm64 05:03:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:09 prd-ubuntu20.04-docker-arm64-4c-16g-11865 does not seem to be running inside a container 05:03:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/208 -v /w/workspace/device-sdk-go/208:/w/workspace/device-sdk-go/208:rw,z -v /w/workspace/device-sdk-go/208@tmp:/w/workspace/device-sdk-go/208@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 05:03:10 $ docker top 8e3c55c2f3dfe2260be9c71c30263c9d95ca72122132e23eed4f53b1357cd4d2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:11 + go version 05:03:11 go version go1.20.2 linux/arm64 [Pipeline] } 05:03:11 $ docker stop --time=1 8e3c55c2f3dfe2260be9c71c30263c9d95ca72122132e23eed4f53b1357cd4d2 05:03:13 $ docker rm -f --volumes 8e3c55c2f3dfe2260be9c71c30263c9d95ca72122132e23eed4f53b1357cd4d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:14 + docker inspect -f . ci-base-image-arm64 05:03:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:14 prd-ubuntu20.04-docker-arm64-4c-16g-11865 does not seem to be running inside a container 05:03:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/208 -v /w/workspace/device-sdk-go/208:/w/workspace/device-sdk-go/208:rw,z -v /w/workspace/device-sdk-go/208@tmp:/w/workspace/device-sdk-go/208@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 05:03:15 $ docker top 4b71f597500406f82a6ed17ed147bf9b327d4824036c8c66910dd975a8802cf9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:16 + git config --global --add safe.directory /w/workspace/device-sdk-go/208 [Pipeline] fileExists [Pipeline] sh 05:03:17 + make test 05:03:17 go test -race -coverprofile=coverage.out ./... 05:04:04 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:06:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:06:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:06:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:06:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:06:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:06:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.209s coverage: 27.6% of statements 05:06:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.283s coverage: 80.2% of statements 05:06:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:06:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:06:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.344s coverage: 86.0% of statements 05:06:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:06:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.417s coverage: 77.5% of statements 05:06:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:06:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:06:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:06:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.281s coverage: 14.6% of statements 05:06:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.404s coverage: 68.5% of statements 05:06:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.442s coverage: 89.2% of statements 05:06:50 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:06:50 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.238s coverage: 5.5% of statements 05:06:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:06:51 GO111MODULE=on go vet ./... 05:09:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:09:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:09:13 ./bin/test-attribution-txt.sh [Pipeline] echo 05:09:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:09:13 $ docker stop --time=1 4b71f597500406f82a6ed17ed147bf9b327d4824036c8c66910dd975a8802cf9 05:09:15 $ docker rm -f --volumes 4b71f597500406f82a6ed17ed147bf9b327d4824036c8c66910dd975a8802cf9 [Pipeline] // withDockerContainer [Pipeline] sh 05:09:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:09:17 Warning: overwriting stash ‘coverage-report’ 05:09:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:09:18 + ls -al . 05:09:18 total 268 05:09:18 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 05:03 . 05:09:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 05:00 .. 05:09:18 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 05:01 .dockerignore 05:09:18 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 05:01 .git 05:09:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 05:01 .github 05:09:18 -rw-rw-r-- 1 jenkins jenkins 131 Apr 27 05:01 .gitignore 05:09:18 -rw-rw-r-- 1 jenkins jenkins 42 Apr 27 05:01 .golangci.yml 05:09:18 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 27 05:01 CHANGELOG.md 05:09:18 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 05:01 GOVERNANCE.md 05:09:18 -rw-rw-r-- 1 jenkins jenkins 885 Apr 27 05:01 Jenkinsfile 05:09:18 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 05:01 LICENSE 05:09:18 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 27 05:01 Makefile 05:09:18 -rw-rw-r-- 1 jenkins jenkins 619 Apr 27 05:01 OWNERS.md 05:09:18 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 27 05:01 README.md 05:09:18 -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 04:56 VERSION 05:09:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 05:01 bin 05:09:18 -rw-r--r-- 1 jenkins jenkins 106119 Apr 27 05:06 coverage.out 05:09:18 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 05:01 example 05:09:18 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 27 05:01 go.mod 05:09:18 -rw-rw-r-- 1 jenkins jenkins 30896 Apr 27 05:01 go.sum 05:09:18 drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 05:01 internal 05:09:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 05:01 openapi 05:09:18 drwxrwxr-x 6 jenkins jenkins 4096 Apr 27 05:01 pkg 05:09:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 05:01 snap 05:09:18 -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 05:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:19 + 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=cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 --label arch=arm64 --label version=3.0.0-dev.77 . 05:09:19 Sending build context to Docker daemon 6.018MB 05:09:19 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 05:09:19 Step 2/23 : FROM ${BASE} AS builder 05:09:19 ---> 69745e095e23 05:09:19 Step 3/23 : ARG MAKE=make build 05:09:19 ---> Running in 4477bc242972 05:09:19 Removing intermediate container 4477bc242972 05:09:19 ---> 61de1aa70448 05:09:19 Step 4/23 : WORKDIR /device-sdk-go 05:09:19 ---> Running in 6701f3b6ece2 05:09:20 Removing intermediate container 6701f3b6ece2 05:09:20 ---> b0b92a2d86dd 05:09:20 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:09:20 ---> Running in 4c6abb9e359c 05:09:20 Removing intermediate container 4c6abb9e359c 05:09:20 ---> a0353052604b 05:09:20 Step 6/23 : RUN apk add --update --no-cache make git 05:09:20 ---> Running in 4b3af9d936f8 05:09:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:09:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:09:23 OK: 263 MiB in 53 packages 05:09:24 Removing intermediate container 4b3af9d936f8 05:09:24 ---> c6223056406f 05:09:24 Step 7/23 : COPY go.mod vendor* ./ 05:09:24 ---> 558b136509c2 05:09:24 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:24 ---> Running in cd07797094ad 05:09:27 Removing intermediate container cd07797094ad 05:09:27 ---> f9d0377d9f75 05:09:27 Step 9/23 : COPY . . 05:09:29 ---> 2673b0de4d15 05:09:29 Step 10/23 : RUN ${MAKE} 05:09:30 ---> Running in 00a2b39e18c5 05:09:31 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.77" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:11:38 Removing intermediate container 00a2b39e18c5 05:11:38 ---> 7e0e33a53224 05:11:38 Step 11/23 : FROM alpine:3.17 05:11:38 3.17: Pulling from library/alpine 05:11:38 c41833b44d91: Already exists 05:11:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:11:38 Status: Downloaded newer image for alpine:3.17 05:11:38 ---> 51e60588ff2c 05:11:38 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:11:38 ---> Running in f74d9d66f799 05:11:38 Removing intermediate container f74d9d66f799 05:11:38 ---> 8bafe69603b7 05:11:38 Step 13/23 : RUN apk add --update --no-cache 05:11:38 ---> Running in e02a4ef39679 05:11:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:11:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:11:38 OK: 7 MiB in 15 packages 05:11:39 Removing intermediate container e02a4ef39679 05:11:39 ---> 750fbe338d84 05:11:39 Step 14/23 : WORKDIR / 05:11:39 ---> Running in 0db80db8ce69 05:11:39 Removing intermediate container 0db80db8ce69 05:11:39 ---> e406b6ec5e8f 05:11:39 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:11:42 ---> c791a742715d 05:11:42 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:11:43 ---> 01750eea3782 05:11:43 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:11:43 ---> 0e24d5b40bc5 05:11:43 Step 18/23 : EXPOSE 59999 05:11:43 ---> Running in 854a886ef37b 05:11:44 Removing intermediate container 854a886ef37b 05:11:44 ---> 0505400305e6 05:11:44 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:11:44 ---> Running in ae854c377c03 05:11:44 Removing intermediate container ae854c377c03 05:11:44 ---> 831a668910ac 05:11:44 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:11:44 ---> Running in f617fd84b7e8 05:11:44 Removing intermediate container f617fd84b7e8 05:11:44 ---> 0bd46e2c1b94 05:11:44 Step 21/23 : LABEL arch=arm64 05:11:44 ---> Running in e2159d7faf86 05:11:44 Removing intermediate container e2159d7faf86 05:11:44 ---> ba628fa1981b 05:11:44 Step 22/23 : LABEL git_sha=cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 05:11:45 ---> Running in bda8b17108b9 05:11:45 Removing intermediate container bda8b17108b9 05:11:45 ---> 59b230892000 05:11:45 Step 23/23 : LABEL version=3.0.0-dev.77 05:11:45 ---> Running in ea370609ce65 05:11:45 Removing intermediate container ea370609ce65 05:11:45 ---> 4dfdb0fcd07f 05:11:45 [Warning] One or more build-args [ARCH] were not consumed 05:11:45 Successfully built 4dfdb0fcd07f 05:11:45 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:46 05:11:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:46 arm64: Pulling from edgex-lftools-log-publisher 05:11:46 8998bd30e6a1: Pulling fs layer 05:11:46 04944245beec: Pulling fs layer 05:11:46 699f458cf7ca: Pulling fs layer 05:11:46 765212b225bb: Pulling fs layer 05:11:46 f23df028b6ca: Pulling fs layer 05:11:46 d65c8cfc05b1: Pulling fs layer 05:11:46 2437ff75d9bd: Pulling fs layer 05:11:46 765212b225bb: Waiting 05:11:46 f23df028b6ca: Waiting 05:11:46 d65c8cfc05b1: Waiting 05:11:46 2437ff75d9bd: Waiting 05:11:46 04944245beec: Verifying Checksum 05:11:46 04944245beec: Download complete 05:11:46 765212b225bb: Verifying Checksum 05:11:46 765212b225bb: Download complete 05:11:46 f23df028b6ca: Verifying Checksum 05:11:46 f23df028b6ca: Download complete 05:11:46 d65c8cfc05b1: Verifying Checksum 05:11:46 d65c8cfc05b1: Download complete 05:11:46 699f458cf7ca: Verifying Checksum 05:11:46 699f458cf7ca: Download complete 05:11:47 8998bd30e6a1: Verifying Checksum 05:11:47 8998bd30e6a1: Download complete 05:11:49 2437ff75d9bd: Verifying Checksum 05:11:49 2437ff75d9bd: Download complete 05:11:51 8998bd30e6a1: Pull complete 05:11:51 04944245beec: Pull complete 05:11:54 699f458cf7ca: Pull complete 05:11:54 765212b225bb: Pull complete 05:11:55 f23df028b6ca: Pull complete 05:11:55 d65c8cfc05b1: Pull complete 05:12:10 2437ff75d9bd: Pull complete 05:12:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:12:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:11 prd-ubuntu20.04-docker-arm64-4c-16g-11865 does not seem to be running inside a container 05:12:11 $ 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/208 -v /w/workspace/device-sdk-go/208:/w/workspace/device-sdk-go/208:rw,z -v /w/workspace/device-sdk-go/208@tmp:/w/workspace/device-sdk-go/208@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:12:13 $ docker top 3fdbe393b9370affb782f4f94d9c9f1ecffec801ed83a1910ab26943824baea8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:12:14 ---> job-cost.sh 05:12:14 lf-activate-venv: SKIPPING 05:12:14 INFO: No Stack... 05:12:15 INFO: Retrieving Pricing Info for: v3-standard-4 05:12:15 INFO: Archiving Costs [Pipeline] sh 05:12:16 + cat /w/workspace/device-sdk-go/208/archives/cost.csv 05:12:16 + cut -d, -f6 [Pipeline] lock 05:12:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-208-stack-cost] 05:12:16 Resource [jenkins-edgexfoundry-device-sdk-go-main-208-stack-cost] did not exist. Created. 05:12:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-208-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:12:16 /w/workspace/device-sdk-go/208@tmp/durable-e7f34855/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:12:17 + echo total: 0.10999999940395355 [Pipeline] stash 05:12:17 Warning: overwriting stash ‘stack-cost’ 05:12:17 Stashed 1 file(s) [Pipeline] } 05:12:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-208-stack-cost] [Pipeline] // lock [Pipeline] } 05:12:17 $ docker stop --time=1 3fdbe393b9370affb782f4f94d9c9f1ecffec801ed83a1910ab26943824baea8 05:12:21 $ docker rm -f --volumes 3fdbe393b9370affb782f4f94d9c9f1ecffec801ed83a1910ab26943824baea8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:12:22 provisioning config files... 05:12:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4403327459864217391tmp [Pipeline] { [Pipeline] sh 05:12:22 + set +x 05:12:22 + + bash -s -- 05:12:22 curl -s https://codecov.io/bash 05:12:22 05:12:22 _____ _ 05:12:22 / ____| | | 05:12:22 | | ___ __| | ___ ___ _____ __ 05:12:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:12:22 | |___| (_) | (_| | __/ (_| (_) \ V / 05:12:22 \_____\___/ \__,_|\___|\___\___/ \_/ 05:12:22 Bash-1.0.6 05:12:22 05:12:22 05:12:22 ==> git version 2.25.1 found 05:12:22 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:12:22 Release-Date: 2020-01-08 05:12:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:12:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:12:22 ==> Jenkins CI detected. 05:12:22 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:12:22 project root: . 05:12:22 --> token set from env 05:12:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:12:22 ==> Running gcov in . (disable via -X gcov) 05:12:22 ==> Python coveragepy not found 05:12:22 ==> Searching for coverage reports in: 05:12:22 + . 05:12:22 -> Found 1 reports 05:12:22 ==> Detecting git/mercurial file structure 05:12:22 ==> Reading reports 05:12:22 + ./coverage.out bytes=106119 05:12:22 ==> Appending adjustments 05:12:22 https://docs.codecov.io/docs/fixing-reports 05:12:23 + Found adjustments 05:12:23 ==> Gzipping contents 05:12:23 16K /tmp/codecov.ZmF48E.gz 05:12:23 ==> Uploading reports 05:12:23 url: https://codecov.io 05:12:23 query: branch=main&commit=cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2&build=208&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F208%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:12:23 -> Pinging Codecov 05:12:23 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=cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2&build=208&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F208%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:12:23 -> Uploading to 05:12:23 https://storage.googleapis.com/codecov/v4/raw/2023-04-27/7E55EF52A471D76F132DFD9A03CDDE97/cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2/5d0d9771-0837-4a9c-b2f2-038fb0394f9a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230427T051222Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2e7080b4c26f98d108c2ce51dcaef6bf87e17e6e3fae775120d9abbd3b4e9d7b 05:12:23 % Total % Received % Xferd Average Speed Time Time Time Current 05:12:23 Dload Upload Total Spent Left Speed 05:12:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15024 0 0 100 15024 0 65038 --:--:-- --:--:-- --:--:-- 65038 05:12:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 [Pipeline] } 05:12:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:12:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:12:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:12:23 05:12:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:12:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:12:24 df9b9388f04a: Pulling fs layer 05:12:24 52dc419b0ee2: Pulling fs layer 05:12:24 25bc292e5bac: Pulling fs layer 05:12:24 114826534d7a: Pulling fs layer 05:12:24 4657fd5d0bcf: Pulling fs layer 05:12:24 6ad1cebc031e: Pulling fs layer 05:12:24 8a3aa393b2d8: Pulling fs layer 05:12:24 114826534d7a: Waiting 05:12:24 4657fd5d0bcf: Waiting 05:12:24 6ad1cebc031e: Waiting 05:12:24 8a3aa393b2d8: Waiting 05:12:24 25bc292e5bac: Verifying Checksum 05:12:24 25bc292e5bac: Download complete 05:12:24 52dc419b0ee2: Download complete 05:12:24 4657fd5d0bcf: Verifying Checksum 05:12:24 4657fd5d0bcf: Download complete 05:12:24 df9b9388f04a: Verifying Checksum 05:12:24 df9b9388f04a: Download complete 05:12:24 df9b9388f04a: Pull complete 05:12:24 52dc419b0ee2: Pull complete 05:12:24 6ad1cebc031e: Verifying Checksum 05:12:24 6ad1cebc031e: Download complete 05:12:24 25bc292e5bac: Pull complete 05:12:24 114826534d7a: Verifying Checksum 05:12:24 114826534d7a: Download complete 05:12:25 8a3aa393b2d8: Verifying Checksum 05:12:25 8a3aa393b2d8: Download complete 05:12:28 114826534d7a: Pull complete 05:12:28 4657fd5d0bcf: Pull complete 05:12:28 6ad1cebc031e: Pull complete 05:12:30 8a3aa393b2d8: Pull complete 05:12:30 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:12:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:12:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:30 prd-ubuntu20.04-docker-8c-8g-11863 does not seem to be running inside a container 05:12:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:12:34 $ docker top 8d55dd04f88eff63ba6c60f5947a46bcfdbf2e97372e4fb5f7fd2301371a0694 -eo pid,comm [Pipeline] { [Pipeline] echo 05:12:34 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:12:34 + set -o pipefail 05:12:34 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:12:44 05:12:44 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:12:44 05:12:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/0861978d-9701-4855-bc7b-6022d7f83bd5 05:12:44 05:12:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:12:44 05:12:44 05:12:44 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:12:44 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:12:44 More details here: https://snyk.co/ue1NS [Pipeline] } 05:12:44 $ docker stop --time=1 8d55dd04f88eff63ba6c60f5947a46bcfdbf2e97372e4fb5f7fd2301371a0694 05:12:47 $ docker rm -f --volumes 8d55dd04f88eff63ba6c60f5947a46bcfdbf2e97372e4fb5f7fd2301371a0694 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 05:12:48 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:12:48 provisioning config files... 05:12:48 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6532910201629974157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:12:48 --> edgex-publish-swagger.sh 05:12:48 === Publish openapi/v3 API === 05:12:48 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:12:48 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:12:48 % Total % Received % Xferd Average Speed Time Time Time Current 05:12:48 Dload Upload Total Spent Left Speed 05:12:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 109k --:--:-- --:--:-- --:--:-- 108k 100 23674 0 0 100 23674 0 43438 --:--:-- --:--:-- --:--:-- 43358 05:12:49 05:12:49 [Pipeline] } 05:12:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:12:49 + git log --format=format:%s -1 cc1c191f7136a36b2a7f5a8b6d3c5c2ccaccd9b2 [Pipeline] sh 05:12:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:12:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:12:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:50 prd-ubuntu20.04-docker-8c-8g-11863 does not seem to be running inside a container 05:12: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:12:50 $ docker top 5ba725372217cfc4b8a2d576c6d5d8f7315ac40a59998752c14d7c4fe7ee68a1 -eo pid,comm 05:12:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:12:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:12:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:12:50 [ssh-agent] Looking for ssh-agent implementation... 05:12:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:12:50 $ docker exec 5ba725372217cfc4b8a2d576c6d5d8f7315ac40a59998752c14d7c4fe7ee68a1 ssh-agent 05:12:50 SSH_AUTH_SOCK=/tmp/ssh-lSxwkdd2sBqg/agent.32 05:12:50 SSH_AGENT_PID=38 05:12:50 Running ssh-add (command line suppressed) 05:12:51 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7195373481744770125.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7195373481744770125.key) 05:12:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:12:51 + git semver tag 05:12:51 2023-04-27 05:12:51,526 [run_tag] DEBUG tag force:False 05:12:51 2023-04-27 05:12:51,526 [check_head_tag] DEBUG check head tag 05:12:51 2023-04-27 05:12:51,528 [execute] INFO git cat-file --batch-check 05:12:51 2023-04-27 05:12:51,528 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:12:51 2023-04-27 05:12:51,532 [execute] INFO git cat-file --batch 05:12:51 2023-04-27 05:12:51,532 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:12:51 2023-04-27 05:12:51,568 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:12:51 2023-04-27 05:12:51,568 [execute] INFO git tag -a v3.0.0-dev.77 -m v3.0.0-dev.77 05:12:51 2023-04-27 05:12:51,568 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.77', '-m', 'v3.0.0-dev.77'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:12:51 2023-04-27 05:12:51,573 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:12:51 3.0.0-dev.77 [Pipeline] } 05:12:51 $ docker exec --env ******** --env ******** 5ba725372217cfc4b8a2d576c6d5d8f7315ac40a59998752c14d7c4fe7ee68a1 ssh-agent -k 05:12:51 unset SSH_AUTH_SOCK; 05:12:51 unset SSH_AGENT_PID; 05:12:51 echo Agent pid 38 killed; 05:12:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:12:52 + git semver [Pipeline] } 05:12:52 $ docker stop --time=1 5ba725372217cfc4b8a2d576c6d5d8f7315ac40a59998752c14d7c4fe7ee68a1 05:12:53 $ docker rm -f --volumes 5ba725372217cfc4b8a2d576c6d5d8f7315ac40a59998752c14d7c4fe7ee68a1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:12:53 05:12:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:12:54 0.23.1-centos7: Pulling from edgex-lftools 05:12:54 ab5ef0e58194: Pulling fs layer 05:12:54 9712f1f96733: Pulling fs layer 05:12:54 63f879dbbcfc: Pulling fs layer 05:12:54 0d9ebad4ef96: Pulling fs layer 05:12:54 e9a5061849ea: Pulling fs layer 05:12:54 d747dcd14b5f: Pulling fs layer 05:12:54 2de7ff778b66: Pulling fs layer 05:12:54 e9a5061849ea: Waiting 05:12:54 d747dcd14b5f: Waiting 05:12:54 0d9ebad4ef96: Waiting 05:12:54 9712f1f96733: Verifying Checksum 05:12:54 9712f1f96733: Download complete 05:12:54 63f879dbbcfc: Verifying Checksum 05:12:54 63f879dbbcfc: Download complete 05:12:54 0d9ebad4ef96: Verifying Checksum 05:12:54 0d9ebad4ef96: Download complete 05:12:54 d747dcd14b5f: Download complete 05:12:54 e9a5061849ea: Verifying Checksum 05:12:54 e9a5061849ea: Download complete 05:12:54 ab5ef0e58194: Verifying Checksum 05:12:54 ab5ef0e58194: Download complete 05:12:55 2de7ff778b66: Verifying Checksum 05:12:55 2de7ff778b66: Download complete 05:12:57 ab5ef0e58194: Pull complete 05:12:57 9712f1f96733: Pull complete 05:12:58 63f879dbbcfc: Pull complete 05:13:01 0d9ebad4ef96: Pull complete 05:13:01 e9a5061849ea: Pull complete 05:13:01 d747dcd14b5f: Pull complete 05:13:02 2de7ff778b66: Pull complete 05:13:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:13:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:13:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:02 prd-ubuntu20.04-docker-8c-8g-11863 does not seem to be running inside a container 05:13:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:13:07 $ docker top 82b4fe0d66064a5be0b18da4868878c3479ed7b5db523a950ca5d6412d50c033 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:13:07 provisioning config files... 05:13:07 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5448595495541916309tmp 05:13:07 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17697989353879763785tmp 05:13:07 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13566582869010117738tmp [Pipeline] { [Pipeline] echo 05:13:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:13:07 ---> sigul-configuration.sh 05:13:07 gpg: directory `/root/.gnupg' created 05:13:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:13:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:13:07 gpg: keyring `/root/.gnupg/secring.gpg' created 05:13:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:13:07 gpg: CAST5 encrypted data 05:13:07 gpg: encrypted with 1 passphrase 05:13:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:13:08 + mkdir /home/jenkins 05:13:08 + mkdir /home/jenkins/sigul [Pipeline] sh 05:13:08 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:13:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:13:08 ---> sigul-install.sh 05:13:08 Sigul already installed; skipping installation. [Pipeline] sh 05:13:08 + git tag --list 05:13:08 0.7.1 05:13:08 delhi-tag 05:13:08 v1.0.0 05:13:08 v1.1.0 05:13:08 v1.1.1 05:13:08 v1.1.2 05:13:08 v1.2.0 05:13:08 v1.2.1 05:13:08 v1.2.2 05:13:08 v1.2.3 05:13:08 v1.3.0 05:13:08 v1.4.0 05:13:08 v2.0.0 05:13:08 v2.1.0 05:13:08 v2.1.1 05:13:08 v2.1.1-dev.2 05:13:08 v2.1.1-dev.3 05:13:08 v2.2.0 05:13:08 v2.2.1-dev.1 05:13:08 v2.2.1-dev.10 05:13:08 v2.2.1-dev.11 05:13:08 v2.2.1-dev.12 05:13:08 v2.2.1-dev.13 05:13:08 v2.2.1-dev.14 05:13:08 v2.2.1-dev.2 05:13:08 v2.2.1-dev.3 05:13:08 v2.2.1-dev.4 05:13:08 v2.2.1-dev.5 05:13:08 v2.2.1-dev.6 05:13:08 v2.2.1-dev.7 05:13:08 v2.2.1-dev.8 05:13:08 v2.2.1-dev.9 05:13:08 v2.3.0 05:13:08 v2.3.0-dev.14 05:13:08 v2.3.0-dev.15 05:13:08 v2.3.0-dev.16 05:13:08 v2.3.0-dev.17 05:13:08 v2.3.0-dev.18 05:13:08 v2.3.0-dev.19 05:13:08 v2.3.0-dev.20 05:13:08 v2.3.0-dev.21 05:13:08 v2.3.0-dev.22 05:13:08 v2.3.0-dev.23 05:13:08 v2.3.0-dev.24 05:13:08 v2.3.0-dev.25 05:13:08 v2.3.0-dev.26 05:13:08 v2.3.0-dev.27 05:13:08 v2.3.0-dev.28 05:13:08 v2.3.0-dev.29 05:13:08 v2.3.0-dev.30 05:13:08 v2.3.0-dev.31 05:13:08 v2.3.0-dev.32 05:13:08 v2.3.0-dev.33 05:13:08 v2.3.0-dev.34 05:13:08 v2.3.0-dev.35 05:13:08 v2.3.0-dev.36 05:13:08 v2.3.0-dev.37 05:13:08 v2.3.0-dev.38 05:13:08 v2.3.0-dev.39 05:13:08 v2.3.0-dev.40 05:13:08 v2.3.0-dev.41 05:13:08 v2.3.0-dev.42 05:13:08 v2.3.0-dev.43 05:13:08 v2.3.0-dev.44 05:13:08 v2.3.0-dev.45 05:13:08 v2.3.0-dev.46 05:13:08 v2.3.0-dev.47 05:13:08 v2.3.0-dev.48 05:13:08 v2.3.0-dev.49 05:13:08 v2.3.0-dev.50 05:13:08 v2.3.0-dev.51 05:13:08 v2.3.1 05:13:08 v2.3.1-dev.1 05:13:08 v2.3.1-dev.2 05:13:08 v2.3.1-dev.3 05:13:08 v2.3.1-dev.4 05:13:08 v3.0.0-dev.1 05:13:08 v3.0.0-dev.10 05:13:08 v3.0.0-dev.11 05:13:08 v3.0.0-dev.12 05:13:08 v3.0.0-dev.13 05:13:08 v3.0.0-dev.14 05:13:08 v3.0.0-dev.15 05:13:08 v3.0.0-dev.16 05:13:08 v3.0.0-dev.17 05:13:08 v3.0.0-dev.18 05:13:08 v3.0.0-dev.19 05:13:08 v3.0.0-dev.2 05:13:08 v3.0.0-dev.20 05:13:08 v3.0.0-dev.21 05:13:08 v3.0.0-dev.22 05:13:08 v3.0.0-dev.23 05:13:08 v3.0.0-dev.24 05:13:08 v3.0.0-dev.25 05:13:08 v3.0.0-dev.26 05:13:08 v3.0.0-dev.27 05:13:08 v3.0.0-dev.28 05:13:08 v3.0.0-dev.29 05:13:08 v3.0.0-dev.3 05:13:08 v3.0.0-dev.30 05:13:08 v3.0.0-dev.31 05:13:08 v3.0.0-dev.32 05:13:08 v3.0.0-dev.33 05:13:08 v3.0.0-dev.34 05:13:08 v3.0.0-dev.35 05:13:08 v3.0.0-dev.36 05:13:08 v3.0.0-dev.37 05:13:08 v3.0.0-dev.38 05:13:08 v3.0.0-dev.39 05:13:08 v3.0.0-dev.4 05:13:08 v3.0.0-dev.40 05:13:08 v3.0.0-dev.41 05:13:08 v3.0.0-dev.42 05:13:08 v3.0.0-dev.43 05:13:08 v3.0.0-dev.44 05:13:08 v3.0.0-dev.45 05:13:08 v3.0.0-dev.46 05:13:08 v3.0.0-dev.47 05:13:08 v3.0.0-dev.48 05:13:08 v3.0.0-dev.49 05:13:08 v3.0.0-dev.5 05:13:08 v3.0.0-dev.50 05:13:08 v3.0.0-dev.51 05:13:08 v3.0.0-dev.52 05:13:08 v3.0.0-dev.53 05:13:08 v3.0.0-dev.54 05:13:08 v3.0.0-dev.55 05:13:08 v3.0.0-dev.56 05:13:08 v3.0.0-dev.57 05:13:08 v3.0.0-dev.58 05:13:08 v3.0.0-dev.59 05:13:08 v3.0.0-dev.6 05:13:08 v3.0.0-dev.60 05:13:08 v3.0.0-dev.61 05:13:08 v3.0.0-dev.62 05:13:08 v3.0.0-dev.63 05:13:08 v3.0.0-dev.64 05:13:08 v3.0.0-dev.65 05:13:08 v3.0.0-dev.66 05:13:08 v3.0.0-dev.67 05:13:08 v3.0.0-dev.68 05:13:08 v3.0.0-dev.69 05:13:08 v3.0.0-dev.7 05:13:08 v3.0.0-dev.70 05:13:08 v3.0.0-dev.71 05:13:08 v3.0.0-dev.72 05:13:08 v3.0.0-dev.73 05:13:08 v3.0.0-dev.74 05:13:08 v3.0.0-dev.75 05:13:08 v3.0.0-dev.76 05:13:08 v3.0.0-dev.77 05:13:08 v3.0.0-dev.8 05:13:08 v3.0.0-dev.9 [Pipeline] sh 05:13:09 + lftools sign git-tag v3.0.0-dev.77 05:13:09 Signing Git tag with Sigul... 05:13:09 Signing v3.0.0-dev.77 [Pipeline] echo 05:13:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:13:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:13:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:13:10 $ docker stop --time=1 82b4fe0d66064a5be0b18da4868878c3479ed7b5db523a950ca5d6412d50c033 05:13:11 $ docker rm -f --volumes 82b4fe0d66064a5be0b18da4868878c3479ed7b5db523a950ca5d6412d50c033 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:13:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:13:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:13:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:12 prd-ubuntu20.04-docker-8c-8g-11863 does not seem to be running inside a container 05:13:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:13:12 $ docker top 38b18d7e5ad182ce01b4698939ff2fd9231963a07a4b147ba0d324ee31c120d4 -eo pid,comm 05:13:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:13:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:13:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:13:12 [ssh-agent] Looking for ssh-agent implementation... 05:13:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:13:13 $ docker exec 38b18d7e5ad182ce01b4698939ff2fd9231963a07a4b147ba0d324ee31c120d4 ssh-agent 05:13:13 SSH_AUTH_SOCK=/tmp/ssh-05UE0L0J4v2T/agent.31 05:13:13 SSH_AGENT_PID=37 05:13:13 Running ssh-add (command line suppressed) 05:13:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7316954204381068128.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7316954204381068128.key) 05:13:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:13:13 + git semver bump pre 05:13:13 2023-04-27 05:13:13,705 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:13:13 2023-04-27 05:13:13,705 [bump_version] DEBUG bumping version:3.0.0-dev.77 on axis:pre with prefix:dev 05:13:13 2023-04-27 05:13:13,706 [bump_version] DEBUG bumped version:3.0.0-dev.78 05:13:13 2023-04-27 05:13:13,706 [write_version] DEBUG write version:3.0.0-dev.78 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:13:13 2023-04-27 05:13:13,706 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:13:13 2023-04-27 05:13:13,706 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:13:13 2023-04-27 05:13:13,707 [execute] INFO git cat-file --batch-check 05:13:13 2023-04-27 05:13:13,708 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:13:13 2023-04-27 05:13:13,713 [execute] INFO git cat-file --batch 05:13:13 2023-04-27 05:13:13,713 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:13:13 2023-04-27 05:13:13,718 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:13:13 3.0.0-dev.78 [Pipeline] } 05:13:13 $ docker exec --env ******** --env ******** 38b18d7e5ad182ce01b4698939ff2fd9231963a07a4b147ba0d324ee31c120d4 ssh-agent -k 05:13:13 unset SSH_AUTH_SOCK; 05:13:13 unset SSH_AGENT_PID; 05:13:13 echo Agent pid 37 killed; 05:13:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:13:14 + git semver [Pipeline] } 05:13:14 $ docker stop --time=1 38b18d7e5ad182ce01b4698939ff2fd9231963a07a4b147ba0d324ee31c120d4 05:13:15 $ docker rm -f --volumes 38b18d7e5ad182ce01b4698939ff2fd9231963a07a4b147ba0d324ee31c120d4 [Pipeline] // withDockerContainer [Pipeline] sh 05:13:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:13:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:13:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:16 prd-ubuntu20.04-docker-8c-8g-11863 does not seem to be running inside a container 05:13:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:13:16 $ docker top 9f737a0b6ac09c9b4c40bf757a926af80cf9b77507e0b0cc480798b6f35c121a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:13:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:13:16 [ssh-agent] Looking for ssh-agent implementation... 05:13:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:13:17 $ docker exec 9f737a0b6ac09c9b4c40bf757a926af80cf9b77507e0b0cc480798b6f35c121a ssh-agent 05:13:17 SSH_AUTH_SOCK=/tmp/ssh-gRaZsRmN16LA/agent.33 05:13:17 SSH_AGENT_PID=39 05:13:17 Running ssh-add (command line suppressed) 05:13:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12787188682265109897.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12787188682265109897.key) 05:13:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:13:17 + git semver push 05:13:17 2023-04-27 05:13:17,733 [run_push] DEBUG push 05:13:17 2023-04-27 05:13:17,733 [execute] INFO git cat-file --batch-check 05:13:17 2023-04-27 05:13:17,734 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:13:17 2023-04-27 05:13:17,737 [execute] INFO git rev-list 3cc0767fbf61ca7001a4f4b8fa99ab5c517da92b -- 05:13:17 2023-04-27 05:13:17,737 [execute] DEBUG Popen(['git', 'rev-list', '3cc0767fbf61ca7001a4f4b8fa99ab5c517da92b', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:13:17 2023-04-27 05:13:17,748 [execute] INFO git fetch -v origin 05:13:17 2023-04-27 05:13:17,748 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:13:18 2023-04-27 05:13:18,193 [run_push] DEBUG no remote changes detected 05:13:18 2023-04-27 05:13:18,193 [execute] INFO git push origin semver 05:13:18 2023-04-27 05:13:18,194 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:13:18 2023-04-27 05:13:18,955 [run_push] DEBUG push all version tags 05:13:18 2023-04-27 05:13:18,955 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:13:18 2023-04-27 05:13:18,956 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:13:19 2023-04-27 05:13:19,676 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:13:19 3.0.0-dev.78 [Pipeline] } 05:13:19 $ docker exec --env ******** --env ******** 9f737a0b6ac09c9b4c40bf757a926af80cf9b77507e0b0cc480798b6f35c121a ssh-agent -k 05:13:20 unset SSH_AUTH_SOCK; 05:13:20 unset SSH_AGENT_PID; 05:13:20 echo Agent pid 39 killed; 05:13:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:13:20 + git semver [Pipeline] } 05:13:20 $ docker stop --time=1 9f737a0b6ac09c9b4c40bf757a926af80cf9b77507e0b0cc480798b6f35c121a 05:13:21 $ docker rm -f --volumes 9f737a0b6ac09c9b4c40bf757a926af80cf9b77507e0b0cc480798b6f35c121a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:13:22 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:13:22 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:13:22 total 16 05:13:22 drwxr-xr-x 3 root root 4096 Apr 27 04:58 . 05:13:22 drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 05:13 .. 05:13:22 drwxr-xr-x 2 root root 4096 Apr 27 04:58 cost 05:13:22 -rw-r--r-- 1 root root 85 Apr 27 04:58 cost.csv 05:13:22 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:13:22 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:13:22 total 16 05:13:22 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 04:58 . 05:13:22 drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 05:13 .. 05:13:22 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 04:58 cost 05:13:22 -rw-r--r-- 1 jenkins jenkins 85 Apr 27 04:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:13:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:13:23 ---> package-listing.sh 05:13:23 ++ facter osfamily 05:13:23 ++ tr '[:upper:]' '[:lower:]' 05:13:23 + OS_FAMILY=debian 05:13:23 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:13:23 + START_PACKAGES=/tmp/packages_start.txt 05:13:23 + END_PACKAGES=/tmp/packages_end.txt 05:13:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:13:23 + PACKAGES=/tmp/packages_start.txt 05:13:23 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:13:23 + PACKAGES=/tmp/packages_end.txt 05:13:23 + case "${OS_FAMILY}" in 05:13:23 + dpkg -l 05:13:23 + grep '^ii' 05:13:23 + '[' -f /tmp/packages_start.txt ']' 05:13:23 + '[' -f /tmp/packages_end.txt ']' 05:13:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:13:23 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:13:23 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:13:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:13:23 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:13:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:24 prd-ubuntu20.04-docker-8c-8g-11863 does not seem to be running inside a container 05:13:25 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:13:25 $ docker top 3f52cacb08768e5dbd6d2bf82077cde09c3ba99efe896c00596f13c109ee0123 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:25 + touch /tmp/pre-build-complete [Pipeline] sh 05:13:25 + mkdir -p /var/log/sysstat [Pipeline] sh 05:13:26 + ls /var/log/sa-host 05:13:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:26 provisioning config files... 05:13:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11025118516226061061tmp [Pipeline] { [Pipeline] echo 05:13:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:13:26 ---> create-netrc.sh [Pipeline] } 05:13:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:13:26 ---> python-tools-install.sh [Pipeline] echo 05:13:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:13:27 ---> sudo-logs.sh 05:13:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:13:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:13:27 ---> job-cost.sh 05:13:27 lf-activate-venv: SKIPPING 05:13:27 DEBUG: total: 0.2199999988079071 05:13:27 INFO: Retrieving Stack Cost... 05:13:27 INFO: Retrieving Pricing Info for: v3-standard-8 05:13:28 INFO: Archiving Costs [Pipeline] echo 05:13:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:13:28 ---> logs-deploy.sh 05:13:28 lf-activate-venv: SKIPPING 05:13:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/208 05:13:28 INFO: archiving workspace using pattern(s): 05:13:29 Archives upload complete. 05:13:29 INFO: archiving logs to Nexus