Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a6f9b4558a5053ff5451a91be1399b57291d8939 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-ssh13642324310823771784.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh16718395477812566918.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh6066759445400362460.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh9153633998910912864.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-ssh544312144193604238.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.18 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-8773 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 a6f9b4558a5053ff5451a91be1399b57291d8939 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6f9b4558a5053ff5451a91be1399b57291d8939 # timeout=10 Commit message: "feat: Device ProtocolProperties have typed values (#1365)" > git rev-list --no-walk 23e758ba57e1012933f954ab76dd88bf8d98992d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:59:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:59:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:59:19 ========================================================= 08:59:19 EdgeX Global Pipelines Version Info 08:59:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:59:20 ------------------- 08:59:20 stable info: 08:59:20 ------------------- 08:59:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:59:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 08:59:20 Message: update stable to v1.0.244 08:59:21 ------------------- 08:59:21 experimental info: 08:59:21 ------------------- 08:59:21 Commited By: **** collab-it+edgex@linuxfoundation.org 08:59:21 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 08:59:21 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6f9b4558a5053ff5451a91be1399b57291d8939 [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6f9b45 [Pipeline] echo 08:59:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:59:21 provisioning config files... 08:59:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5863772356976583618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:21 ---> docker-login.sh 08:59:21 nexus3.edgexfoundry.org:10001 08:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:22 Configure a credential helper to remove this warning. See 08:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:22 08:59:22 Login Succeeded 08:59:22 nexus3.edgexfoundry.org:10002 08:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:22 Configure a credential helper to remove this warning. See 08:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:22 08:59:22 Login Succeeded 08:59:22 nexus3.edgexfoundry.org:10003 08:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:22 Configure a credential helper to remove this warning. See 08:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:22 08:59:22 Login Succeeded 08:59:22 nexus3.edgexfoundry.org:10004 08:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:22 Configure a credential helper to remove this warning. See 08:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:22 08:59:22 Login Succeeded 08:59:22 docker.io 08:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:22 Configure a credential helper to remove this warning. See 08:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:22 08:59:22 Login Succeeded 08:59:22 ---> docker-login.sh ends [Pipeline] } 08:59:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:59:23 + git rev-list -1 --merges a6f9b4558a5053ff5451a91be1399b57291d8939~1..a6f9b4558a5053ff5451a91be1399b57291d8939 [Pipeline] echo 08:59:23 -----------> git rev-list -1 --merges a6f9b4558a5053ff5451a91be1399b57291d8939~1..a6f9b4558a5053ff5451a91be1399b57291d8939 a6f9b4558a5053ff5451a91be1399b57291d8939 [false] [Pipeline] sh 08:59:23 + git log --format=format:%s -1 a6f9b4558a5053ff5451a91be1399b57291d8939 [Pipeline] echo 08:59:23 ========================================================= 08:59:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:59:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:59:24 + git log --format=format:%s -1 a6f9b4558a5053ff5451a91be1399b57291d8939 [Pipeline] echo 08:59:24 [semverPrep] GIT_COMMIT: a6f9b4558a5053ff5451a91be1399b57291d8939, Commit Message: feat: Device ProtocolProperties have typed values (#1365) [Pipeline] echo 08:59:24 [semverPrep] This is not a build commit. [Pipeline] sh 08:59:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:59:24 + grep -v github /etc/ssh/ssh_known_hosts 08:59:24 + [ -e /tmp/ssh_known_hosts ] 08:59:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:59:24 + sudo tee -a /etc/ssh/ssh_known_hosts 08:59:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:59:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:59:24 08:59:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:59:25 0.1.4: Pulling from edgex-devops/py-git-semver 08:59:25 b85a868b505f: Pulling fs layer 08:59:25 e2be974225ed: Pulling fs layer 08:59:25 339a4e72a1f5: Pulling fs layer 08:59:25 988bab9f4d93: Pulling fs layer 08:59:25 1469e6f7b9e6: Pulling fs layer 08:59:25 eaf3925da568: Pulling fs layer 08:59:25 bab4dde63d76: Pulling fs layer 08:59:25 bde34c3a00c8: Pulling fs layer 08:59:25 b352a97aabf1: Pulling fs layer 08:59:25 4872d77fe225: Pulling fs layer 08:59:25 5851b861e8e6: Pulling fs layer 08:59:25 eaf3925da568: Waiting 08:59:25 bab4dde63d76: Waiting 08:59:25 5851b861e8e6: Waiting 08:59:25 988bab9f4d93: Waiting 08:59:25 b352a97aabf1: Waiting 08:59:25 1469e6f7b9e6: Waiting 08:59:25 4872d77fe225: Waiting 08:59:25 bde34c3a00c8: Waiting 08:59:25 e2be974225ed: Verifying Checksum 08:59:25 e2be974225ed: Download complete 08:59:25 988bab9f4d93: Verifying Checksum 08:59:25 988bab9f4d93: Download complete 08:59:25 1469e6f7b9e6: Verifying Checksum 08:59:25 1469e6f7b9e6: Download complete 08:59:25 eaf3925da568: Verifying Checksum 08:59:25 eaf3925da568: Download complete 08:59:25 339a4e72a1f5: Verifying Checksum 08:59:25 339a4e72a1f5: Download complete 08:59:25 bde34c3a00c8: Verifying Checksum 08:59:25 bde34c3a00c8: Download complete 08:59:25 b352a97aabf1: Download complete 08:59:25 4872d77fe225: Verifying Checksum 08:59:25 4872d77fe225: Download complete 08:59:25 5851b861e8e6: Verifying Checksum 08:59:25 5851b861e8e6: Download complete 08:59:25 b85a868b505f: Verifying Checksum 08:59:25 b85a868b505f: Download complete 08:59:25 bab4dde63d76: Verifying Checksum 08:59:25 bab4dde63d76: Download complete 08:59:26 b85a868b505f: Pull complete 08:59:27 e2be974225ed: Pull complete 08:59:27 339a4e72a1f5: Pull complete 08:59:27 988bab9f4d93: Pull complete 08:59:27 1469e6f7b9e6: Pull complete 08:59:27 eaf3925da568: Pull complete 08:59:29 bab4dde63d76: Pull complete 08:59:29 bde34c3a00c8: Pull complete 08:59:30 b352a97aabf1: Pull complete 08:59:30 4872d77fe225: Pull complete 08:59:30 5851b861e8e6: Pull complete 08:59:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:59:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:59:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:59:30 prd-ubuntu20.04-docker-8c-8g-8773 does not seem to be running inside a container 08:59:30 $ 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 08:59:31 $ docker top 6c31e9f3c9390ef9d63c8e701a370fc21e99f30ae6409a635225ba2502925742 -eo pid,comm 08:59:31 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). 08:59:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:59:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:59:31 [ssh-agent] Looking for ssh-agent implementation... 08:59:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:59:32 $ docker exec 6c31e9f3c9390ef9d63c8e701a370fc21e99f30ae6409a635225ba2502925742 ssh-agent 08:59:32 SSH_AUTH_SOCK=/tmp/ssh-JdEVSTSfhnUc/agent.32 08:59:32 SSH_AGENT_PID=38 08:59:32 Running ssh-add (command line suppressed) 08:59:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8229722598007957017.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8229722598007957017.key) 08:59:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:59:32 + git tag --points-at HEAD [Pipeline] } 08:59:32 $ docker exec --env ******** --env ******** 6c31e9f3c9390ef9d63c8e701a370fc21e99f30ae6409a635225ba2502925742 ssh-agent -k 08:59:32 unset SSH_AUTH_SOCK; 08:59:32 unset SSH_AGENT_PID; 08:59:32 echo Agent pid 38 killed; 08:59:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:59:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:59:32 [ssh-agent] Looking for ssh-agent implementation... 08:59:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:59:32 $ docker exec 6c31e9f3c9390ef9d63c8e701a370fc21e99f30ae6409a635225ba2502925742 ssh-agent 08:59:32 SSH_AUTH_SOCK=/tmp/ssh-61wVe2f8fN6W/agent.70 08:59:32 SSH_AGENT_PID=76 08:59:32 Running ssh-add (command line suppressed) 08:59:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3717863181556927628.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3717863181556927628.key) 08:59:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:59:33 + git semver init 08:59:33 2023-03-08 08:59:33,786 [run_init] DEBUG init version:0.0.0 force:False 08:59:33 2023-03-08 08:59:33,787 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 08:59:33 2023-03-08 08:59:33,787 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 08:59:33 2023-03-08 08:59:33,788 [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) 08:59:34 2023-03-08 08:59:34,866 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 08:59:34 2023-03-08 08:59:34,867 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 08:59:34 2023-03-08 08:59:34,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:59:34 2023-03-08 08:59:34,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:59:34 3.0.0-dev.48 [Pipeline] } 08:59:34 $ docker exec --env ******** --env ******** 6c31e9f3c9390ef9d63c8e701a370fc21e99f30ae6409a635225ba2502925742 ssh-agent -k 08:59:35 unset SSH_AUTH_SOCK; 08:59:35 unset SSH_AGENT_PID; 08:59:35 echo Agent pid 76 killed; 08:59:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:59:35 + git semver [Pipeline] } 08:59:35 $ docker stop --time=1 6c31e9f3c9390ef9d63c8e701a370fc21e99f30ae6409a635225ba2502925742 08:59:36 $ docker rm -f --volumes 6c31e9f3c9390ef9d63c8e701a370fc21e99f30ae6409a635225ba2502925742 [Pipeline] // withDockerContainer [Pipeline] sh 08:59:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:59:37 Stashed 1 file(s) [Pipeline] echo 08:59:37 [edgeXSemver]: initialized semver on version 3.0.0-dev.48 [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 08:59:37 provisioning config files... 08:59:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13284342083236672217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:37 ---> docker-login.sh 08:59:37 nexus3.edgexfoundry.org:10001 08:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:37 Configure a credential helper to remove this warning. See 08:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:37 08:59:37 Login Succeeded 08:59:37 nexus3.edgexfoundry.org:10002 08:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:37 Configure a credential helper to remove this warning. See 08:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:37 08:59:37 Login Succeeded 08:59:37 nexus3.edgexfoundry.org:10003 08:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:38 Configure a credential helper to remove this warning. See 08:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:38 08:59:38 Login Succeeded 08:59:38 nexus3.edgexfoundry.org:10004 08:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:38 Configure a credential helper to remove this warning. See 08:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:38 08:59:38 Login Succeeded 08:59:38 docker.io 08:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:38 Configure a credential helper to remove this warning. See 08:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:38 08:59:38 Login Succeeded 08:59:38 ---> docker-login.sh ends [Pipeline] } 08:59:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:59:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:59:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:59:38 ========================================================= 08:59:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 08:59:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:38 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 08:59:38 Sending build context to Docker daemon 10.64MB 08:59:38 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 08:59:38 Step 2/10 : FROM ${BASE} AS builder 08:59:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 08:59:38 213ec9aee27d: Pulling fs layer 08:59:38 4583459ba037: Pulling fs layer 08:59:38 93c1e223e6f2: Pulling fs layer 08:59:38 53926ce57604: Pulling fs layer 08:59:38 21b2b0c7a3f4: Pulling fs layer 08:59:38 53926ce57604: Waiting 08:59:38 22ff95d597cd: Pulling fs layer 08:59:38 12d6caf4c0d1: Pulling fs layer 08:59:38 96b7cbca73a9: Pulling fs layer 08:59:38 a7acece74701: Pulling fs layer 08:59:38 96b7cbca73a9: Waiting 08:59:38 a7acece74701: Waiting 08:59:38 21b2b0c7a3f4: Waiting 08:59:38 12d6caf4c0d1: Waiting 08:59:38 22ff95d597cd: Waiting 08:59:39 93c1e223e6f2: Verifying Checksum 08:59:39 93c1e223e6f2: Download complete 08:59:39 4583459ba037: Verifying Checksum 08:59:39 4583459ba037: Download complete 08:59:39 21b2b0c7a3f4: Verifying Checksum 08:59:39 21b2b0c7a3f4: Download complete 08:59:39 22ff95d597cd: Verifying Checksum 08:59:39 22ff95d597cd: Download complete 08:59:39 213ec9aee27d: Verifying Checksum 08:59:39 213ec9aee27d: Download complete 08:59:39 12d6caf4c0d1: Download complete 08:59:39 213ec9aee27d: Pull complete 08:59:39 4583459ba037: Pull complete 08:59:39 93c1e223e6f2: Pull complete 08:59:39 a7acece74701: Verifying Checksum 08:59:39 a7acece74701: Download complete 08:59:39 96b7cbca73a9: Verifying Checksum 08:59:39 96b7cbca73a9: Download complete 08:59:39 53926ce57604: Verifying Checksum 08:59:39 53926ce57604: Download complete 08:59:45 53926ce57604: Pull complete 08:59:45 21b2b0c7a3f4: Pull complete 08:59:45 22ff95d597cd: Pull complete 08:59:45 12d6caf4c0d1: Pull complete 08:59:47 96b7cbca73a9: Pull complete 08:59:48 a7acece74701: Pull complete 08:59:48 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 08:59:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:59:48 ---> db6d94c90886 08:59:48 Step 3/10 : ARG MAKE=make build 08:59:50 ---> Running in 95deec253b5e 08:59:50 Removing intermediate container 95deec253b5e 08:59:50 ---> ed735b79ea4b 08:59:50 Step 4/10 : WORKDIR /device-sdk-go 08:59:50 ---> Running in 99c735d9d5cb 08:59:50 Removing intermediate container 99c735d9d5cb 08:59:50 ---> adefaf5b4c0d 08:59:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:59:50 ---> Running in 94472e04916f 08:59:50 Removing intermediate container 94472e04916f 08:59:50 ---> 1b25184d58a5 08:59:50 Step 6/10 : RUN apk add --update --no-cache make git 08:59:50 ---> Running in 11f985de00dd 08:59:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:59:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:59:51 OK: 211 MiB in 51 packages 08:59:51 Removing intermediate container 11f985de00dd 08:59:51 ---> 2e3364d4fc29 08:59:51 Step 7/10 : COPY go.mod vendor* ./ 08:59:51 ---> 7857478693ba 08:59:51 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:59:51 ---> Running in 09b172f176f6 08:59:52 Still waiting to schedule task 08:59:52 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 09:00:18 Removing intermediate container 09b172f176f6 09:00:18 ---> 28a4625347e5 09:00:18 Step 9/10 : COPY . . 09:00:18 ---> f4dfb1dd8d8f 09:00:18 Step 10/10 : RUN ${MAKE} 09:00:18 ---> Running in 85c8e345d880 09:00:18 noop 09:00:18 Removing intermediate container 85c8e345d880 09:00:18 ---> 4ccbf83aa247 09:00:18 Successfully built 4ccbf83aa247 09:00:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:18 + docker inspect -f . ci-base-image-x86_64 09:00:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:00:18 prd-ubuntu20.04-docker-8c-8g-8773 does not seem to be running inside a container 09:00:18 $ 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 09:00:19 $ docker top 4bea754ff0f9130cfae1ad9df23115775f05d47ec25947d7c18a18cb7917d715 -eo pid,comm [Pipeline] { [Pipeline] sh 09:00:19 + go version 09:00:19 go version go1.18.7 linux/amd64 [Pipeline] } 09:00:19 $ docker stop --time=1 4bea754ff0f9130cfae1ad9df23115775f05d47ec25947d7c18a18cb7917d715 09:00:20 $ docker rm -f --volumes 4bea754ff0f9130cfae1ad9df23115775f05d47ec25947d7c18a18cb7917d715 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:21 + docker inspect -f . ci-base-image-x86_64 09:00:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:00:21 prd-ubuntu20.04-docker-8c-8g-8773 does not seem to be running inside a container 09:00:21 $ 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 09:00:21 $ docker top ed6413c1a02805c1bf6b5b7d3361ff225f0eb7568106aaa62dde73264cd33852 -eo pid,comm [Pipeline] { [Pipeline] sh 09:00:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 09:00:22 + make test 09:00:22 go test -race -coverprofile=coverage.out ./... 09:00:30 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:00:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 09:00:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 09:00:45 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 09:00:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 09:00:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 09:00:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.076s coverage: 27.6% of statements 09:00:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.088s coverage: 78.9% of statements 09:00:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 09:00:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.116s coverage: 86.0% of statements 09:00:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 09:00:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 09:00:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 75.4% of statements 09:00:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 09:00:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.076s coverage: 15.3% of statements 09:00:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 09:00:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.118s coverage: 65.2% of statements 09:00:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:00:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 09:00:48 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.745s coverage: 89.2% of statements 09:00:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 09:00:48 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.054s coverage: 5.4% of statements 09:00:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 09:01:07 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 09:01:07 GO111MODULE=on go vet ./... 09:01:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:01:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:01:08 ./bin/test-attribution-txt.sh [Pipeline] echo 09:01:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:01:08 $ docker stop --time=1 ed6413c1a02805c1bf6b5b7d3361ff225f0eb7568106aaa62dde73264cd33852 09:01:11 $ docker rm -f --volumes ed6413c1a02805c1bf6b5b7d3361ff225f0eb7568106aaa62dde73264cd33852 [Pipeline] // withDockerContainer [Pipeline] sh 09:01:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:01:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:01:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:01:12 + ls -al . 09:01:12 total 280 09:01:12 drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 09:00 . 09:01:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 08:59 .. 09:01:12 -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 08:59 .dockerignore 09:01:12 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 09:00 .git 09:01:12 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 08:59 .github 09:01:12 -rw-rw-r-- 1 jenkins jenkins 131 Mar 8 08:59 .gitignore 09:01:12 -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 08:59 .golangci.yml 09:01:12 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 08:59 .semver 09:01:12 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 8 08:59 CHANGELOG.md 09:01:12 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 08:59 GOVERNANCE.md 09:01:12 -rw-rw-r-- 1 jenkins jenkins 885 Mar 8 08:59 Jenkinsfile 09:01:12 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 08:59 LICENSE 09:01:12 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 8 08:59 Makefile 09:01:12 -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 08:59 OWNERS.md 09:01:12 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 8 08:59 README.md 09:01:12 -rw-rw-r-- 1 jenkins jenkins 12 Mar 8 08:59 VERSION 09:01:12 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 08:59 bin 09:01:12 -rw-r--r-- 1 jenkins jenkins 111565 Mar 8 09:00 coverage.out 09:01:12 drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 08:59 example 09:01:12 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 8 08:59 go.mod 09:01:12 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 8 08:59 go.sum 09:01:12 drwxrwxr-x 13 jenkins jenkins 4096 Mar 8 08:59 internal 09:01:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 08:59 openapi 09:01:12 drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 08:59 pkg 09:01:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 08:59 snap 09:01:12 -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 08:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:12 + 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=a6f9b4558a5053ff5451a91be1399b57291d8939 --label arch=amd64 --label version=3.0.0-dev.48 . 09:01:12 Sending build context to Docker daemon 10.76MB 09:01:12 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 09:01:12 Step 2/23 : FROM ${BASE} AS builder 09:01:12 ---> 4ccbf83aa247 09:01:12 Step 3/23 : ARG MAKE=make build 09:01:12 ---> Running in 749c66470e01 09:01:12 Removing intermediate container 749c66470e01 09:01:12 ---> c94e806e46fa 09:01:12 Step 4/23 : WORKDIR /device-sdk-go 09:01:12 ---> Running in 1d94bb3a4fb6 09:01:13 Removing intermediate container 1d94bb3a4fb6 09:01:13 ---> 17d412bee79d 09:01:13 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:01:13 ---> Running in b74df831a8a0 09:01:13 Removing intermediate container b74df831a8a0 09:01:13 ---> fe3c235a373e 09:01:13 Step 6/23 : RUN apk add --update --no-cache make git 09:01:13 ---> Running in d2dd6b528e29 09:01:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:01:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:01:14 OK: 211 MiB in 51 packages 09:01:14 Removing intermediate container d2dd6b528e29 09:01:14 ---> 5c46b01bb603 09:01:14 Step 7/23 : COPY go.mod vendor* ./ 09:01:14 ---> d515c82a9519 09:01:14 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:01:14 ---> Running in e0293fae98b4 09:01:15 Removing intermediate container e0293fae98b4 09:01:15 ---> 228cf9ad6e9c 09:01:15 Step 9/23 : COPY . . 09:01:15 ---> 21a9f598f104 09:01:15 Step 10/23 : RUN ${MAKE} 09:01:15 ---> Running in 980d1076f7ea 09:01:16 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.48" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:01:37 Removing intermediate container 980d1076f7ea 09:01:37 ---> 37f94f810084 09:01:37 Step 11/23 : FROM alpine:3.16 09:01:37 3.16: Pulling from library/alpine 09:01:37 ef5531b6e74e: Pulling fs layer 09:01:37 ef5531b6e74e: Verifying Checksum 09:01:37 ef5531b6e74e: Download complete 09:01:37 ef5531b6e74e: Pull complete 09:01:37 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 09:01:37 Status: Downloaded newer image for alpine:3.16 09:01:37 ---> dfd21b5a31f5 09:01:37 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:01:37 ---> Running in 76d9d53f1dc4 09:01:37 Removing intermediate container 76d9d53f1dc4 09:01:37 ---> 140af4ce4e92 09:01:37 Step 13/23 : RUN apk add --update --no-cache 09:01:37 ---> Running in d15e99df8a51 09:01:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:01:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:01:37 OK: 6 MiB in 14 packages 09:01:37 Removing intermediate container d15e99df8a51 09:01:37 ---> 90487215c1ae 09:01:37 Step 14/23 : WORKDIR / 09:01:37 ---> Running in 0b4202297ebd 09:01:37 Removing intermediate container 0b4202297ebd 09:01:37 ---> 5d928717d43e 09:01:37 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:01:37 ---> 145c9b5f2fec 09:01:37 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:01:38 ---> 02e43b752269 09:01:38 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:01:38 ---> 715385d15e8f 09:01:38 Step 18/23 : EXPOSE 59999 09:01:38 ---> Running in 239de240affa 09:01:38 Removing intermediate container 239de240affa 09:01:38 ---> 68fbcf379ffa 09:01:38 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:01:38 ---> Running in 60584a989be4 09:01:38 Removing intermediate container 60584a989be4 09:01:38 ---> 014875c151fc 09:01:38 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:01:38 ---> Running in a55297f4e121 09:01:38 Removing intermediate container a55297f4e121 09:01:38 ---> 410f4cddd49a 09:01:38 Step 21/23 : LABEL arch=amd64 09:01:39 ---> Running in 57df3ba06880 09:01:39 Removing intermediate container 57df3ba06880 09:01:39 ---> 7d6127b0d46d 09:01:39 Step 22/23 : LABEL git_sha=a6f9b4558a5053ff5451a91be1399b57291d8939 09:01:39 ---> Running in 15597f5b6ac3 09:01:39 Removing intermediate container 15597f5b6ac3 09:01:39 ---> 06dba53fe6ea 09:01:39 Step 23/23 : LABEL version=3.0.0-dev.48 09:01:39 ---> Running in 7560c4cb019a 09:01:39 Removing intermediate container 7560c4cb019a 09:01:39 ---> 37a33cd205c1 09:01:39 [Warning] One or more build-args [ARCH] were not consumed 09:01:39 Successfully built 37a33cd205c1 09:01:39 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 09:01:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:01:39 09:01:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:01:40 latest: Pulling from edgex-lftools-log-publisher 09:01:40 5eb5b503b376: Pulling fs layer 09:01:40 5c69ac0246d0: Pulling fs layer 09:01:40 ec43610c2a17: Pulling fs layer 09:01:40 3a2ae6a8a46f: Pulling fs layer 09:01:40 33b1e0a273af: Pulling fs layer 09:01:40 5d3b04190fa2: Pulling fs layer 09:01:40 2f39f015ded8: Pulling fs layer 09:01:40 33b1e0a273af: Waiting 09:01:40 5d3b04190fa2: Waiting 09:01:40 2f39f015ded8: Waiting 09:01:40 3a2ae6a8a46f: Waiting 09:01:40 5c69ac0246d0: Download complete 09:01:40 3a2ae6a8a46f: Verifying Checksum 09:01:40 3a2ae6a8a46f: Download complete 09:01:40 33b1e0a273af: Verifying Checksum 09:01:40 33b1e0a273af: Download complete 09:01:40 5d3b04190fa2: Verifying Checksum 09:01:40 ec43610c2a17: Verifying Checksum 09:01:40 ec43610c2a17: Download complete 09:01:40 5eb5b503b376: Verifying Checksum 09:01:40 5eb5b503b376: Download complete 09:01:41 2f39f015ded8: Verifying Checksum 09:01:41 2f39f015ded8: Download complete 09:01:41 5eb5b503b376: Pull complete 09:01:41 5c69ac0246d0: Pull complete 09:01:42 ec43610c2a17: Pull complete 09:01:42 3a2ae6a8a46f: Pull complete 09:01:42 33b1e0a273af: Pull complete 09:01:42 5d3b04190fa2: Pull complete 09:01:46 2f39f015ded8: Pull complete 09:01:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:01:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:01:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:01:46 prd-ubuntu20.04-docker-8c-8g-8773 does not seem to be running inside a container 09:01:46 $ 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 09:01:48 $ docker top c4b90320c62e1ba53d67448836602034e00d8febd5c35445b0c31213015539e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:01:49 ---> job-cost.sh 09:01:49 lf-activate-venv: SKIPPING 09:01:49 INFO: No Stack... 09:01:49 INFO: Retrieving Pricing Info for: v3-standard-8 09:01:49 INFO: Archiving Costs [Pipeline] sh 09:01:49 + cut -d, -f6 09:01:49 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [Pipeline] lock 09:01:49 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-178-stack-cost] 09:01:49 Resource [jenkins-edgexfoundry-device-sdk-go-main-178-stack-cost] did not exist. Created. 09:01:49 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-178-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:01:50 + echo total: 0.2199999988079071 [Pipeline] stash 09:01:50 Stashed 1 file(s) [Pipeline] } 09:01:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-178-stack-cost] [Pipeline] // lock [Pipeline] } 09:01:50 $ docker stop --time=1 c4b90320c62e1ba53d67448836602034e00d8febd5c35445b0c31213015539e0 09:01:51 $ docker rm -f --volumes c4b90320c62e1ba53d67448836602034e00d8febd5c35445b0c31213015539e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:05:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8775 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 09:05:06 Running in /w/workspace/device-sdk-go/178 [Pipeline] { [Pipeline] checkout 09:05:06 The recommended git tool is: git 09:05:13 using credential edgex-jenkins-ssh 09:05:13 Cloning the remote Git repository 09:05:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:05:13 > git init /w/workspace/device-sdk-go/178 # timeout=10 09:05:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:05:13 > git --version # timeout=10 09:05:13 > git --version # 'git version 2.25.1' 09:05:13 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:05:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:05:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:05:17 Avoid second fetch 09:05:17 Checking out Revision a6f9b4558a5053ff5451a91be1399b57291d8939 (main) 09:05:17 Commit message: "feat: Device ProtocolProperties have typed values (#1365)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:05:17 > git config core.sparsecheckout # timeout=10 09:05:17 > git checkout -f a6f9b4558a5053ff5451a91be1399b57291d8939 # timeout=10 09:05:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:05:18 % Total % Received % Xferd Average Speed Time Time Time Current 09:05:18 Dload Upload Total Spent Left Speed 09:05:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75898 0 --:--:-- --:--:-- --:--:-- 76353 [Pipeline] sh 09:05:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:05:20 + sudo tee /etc/docker/daemon.new 09:05:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:05:20 { 09:05:20 "registry-mirrors": [ 09:05:20 "https://nexus3.edgexfoundry.org:10001" 09:05:20 ], 09:05:20 "bip": "10.250.0.254/24", 09:05:20 "hosts": [ 09:05:20 "tcp://0.0.0.0:5555", 09:05:20 "unix:///var/run/docker.sock" 09:05:20 ], 09:05:20 "mtu": 1458, 09:05:20 "selinux-enabled": true, 09:05:20 "seccomp-profile": "/etc/docker/seccomp.json" 09:05:20 } [Pipeline] sh 09:05:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:05:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:05:39 provisioning config files... 09:05:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/178@tmp/config14495567370854240744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:05:39 ---> docker-login.sh 09:05:39 nexus3.edgexfoundry.org:10001 09:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:40 Configure a credential helper to remove this warning. See 09:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:40 09:05:40 Login Succeeded 09:05:40 nexus3.edgexfoundry.org:10002 09:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:40 Configure a credential helper to remove this warning. See 09:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:40 09:05:40 Login Succeeded 09:05:40 nexus3.edgexfoundry.org:10003 09:05:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:41 Configure a credential helper to remove this warning. See 09:05:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:41 09:05:41 Login Succeeded 09:05:41 nexus3.edgexfoundry.org:10004 09:05:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:41 Configure a credential helper to remove this warning. See 09:05:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:41 09:05:41 Login Succeeded 09:05:41 docker.io 09:05:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:42 Configure a credential helper to remove this warning. See 09:05:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:42 09:05:42 Login Succeeded 09:05:42 ---> docker-login.sh ends [Pipeline] } 09:05:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:05:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:05:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:05:42 ========================================================= 09:05:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:05:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:43 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 09:05:43 Sending build context to Docker daemon 5.714MB 09:05:43 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 09:05:43 Step 2/10 : FROM ${BASE} AS builder 09:05:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:05:43 9b18e9b68314: Pulling fs layer 09:05:43 35d82f9e3411: Pulling fs layer 09:05:43 e16973657156: Pulling fs layer 09:05:43 fc693d55d65f: Pulling fs layer 09:05:43 7e9fc2657dce: Pulling fs layer 09:05:43 dda99020689f: Pulling fs layer 09:05:43 db1c61fa0a46: Pulling fs layer 09:05:43 891c053d2c06: Pulling fs layer 09:05:43 fc693d55d65f: Waiting 09:05:43 7e9fc2657dce: Waiting 09:05:43 dda99020689f: Waiting 09:05:43 db1c61fa0a46: Waiting 09:05:43 891c053d2c06: Waiting 09:05:43 e16973657156: Verifying Checksum 09:05:43 e16973657156: Download complete 09:05:43 35d82f9e3411: Verifying Checksum 09:05:43 35d82f9e3411: Download complete 09:05:43 7e9fc2657dce: Download complete 09:05:43 dda99020689f: Verifying Checksum 09:05:43 dda99020689f: Download complete 09:05:43 9b18e9b68314: Verifying Checksum 09:05:43 9b18e9b68314: Download complete 09:05:44 9b18e9b68314: Pull complete 09:05:44 891c053d2c06: Verifying Checksum 09:05:44 891c053d2c06: Download complete 09:05:45 35d82f9e3411: Pull complete 09:05:45 e16973657156: Pull complete 09:05:46 db1c61fa0a46: Verifying Checksum 09:05:46 db1c61fa0a46: Download complete 09:05:47 fc693d55d65f: Verifying Checksum 09:05:47 fc693d55d65f: Download complete 09:05:59 fc693d55d65f: Pull complete 09:05:59 7e9fc2657dce: Pull complete 09:06:00 dda99020689f: Pull complete 09:06:08 db1c61fa0a46: Pull complete 09:06:09 891c053d2c06: Pull complete 09:06:09 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 09:06:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:06:09 ---> f96f9c87975a 09:06:09 Step 3/10 : ARG MAKE=make build 09:06:10 ---> Running in 6099e9808550 09:06:10 Removing intermediate container 6099e9808550 09:06:10 ---> fe69fca5a286 09:06:10 Step 4/10 : WORKDIR /device-sdk-go 09:06:10 ---> Running in 033f21e6a25b 09:06:11 Removing intermediate container 033f21e6a25b 09:06:11 ---> 086896afb131 09:06:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:06:11 ---> Running in d27f986ff7a7 09:06:11 Removing intermediate container d27f986ff7a7 09:06:11 ---> b609d137bae9 09:06:11 Step 6/10 : RUN apk add --update --no-cache make git 09:06:11 ---> Running in b97af7fc139a 09:06:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:06:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:06:14 OK: 221 MiB in 51 packages 09:06:15 Removing intermediate container b97af7fc139a 09:06:15 ---> 79eceb989ebc 09:06:15 Step 7/10 : COPY go.mod vendor* ./ 09:06:16 ---> c6292e88bfb6 09:06:16 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:06:16 ---> Running in 362c07e11dbb 09:07:24 Removing intermediate container 362c07e11dbb 09:07:24 ---> fc85c262c1f7 09:07:24 Step 9/10 : COPY . . 09:07:24 ---> f631a39c931c 09:07:24 Step 10/10 : RUN ${MAKE} 09:07:24 ---> Running in 1e45f65868ed 09:07:25 noop 09:07:26 Removing intermediate container 1e45f65868ed 09:07:26 ---> 028efb4b38e9 09:07:26 Successfully built 028efb4b38e9 09:07:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:26 + docker inspect -f . ci-base-image-arm64 09:07:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:07:27 prd-ubuntu20.04-docker-arm64-4c-16g-8775 does not seem to be running inside a container 09:07:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/178 -v /w/workspace/device-sdk-go/178:/w/workspace/device-sdk-go/178:rw,z -v /w/workspace/device-sdk-go/178@tmp:/w/workspace/device-sdk-go/178@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 09:07:28 $ docker top 3f9a4aa1a567f6309c066c39d87570db2856be7fb0f04dfc884bbda4d0b29c52 -eo pid,comm [Pipeline] { [Pipeline] sh 09:07:29 + go version 09:07:29 go version go1.18.7 linux/arm64 [Pipeline] } 09:07:29 $ docker stop --time=1 3f9a4aa1a567f6309c066c39d87570db2856be7fb0f04dfc884bbda4d0b29c52 09:07:31 $ docker rm -f --volumes 3f9a4aa1a567f6309c066c39d87570db2856be7fb0f04dfc884bbda4d0b29c52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:07:31 + docker inspect -f . ci-base-image-arm64 09:07:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:07:31 prd-ubuntu20.04-docker-arm64-4c-16g-8775 does not seem to be running inside a container 09:07:32 $ 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/178 -v /w/workspace/device-sdk-go/178:/w/workspace/device-sdk-go/178:rw,z -v /w/workspace/device-sdk-go/178@tmp:/w/workspace/device-sdk-go/178@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 09:07:33 $ docker top f6ee6cd280ff2cec711dee5243118a7cd5113098ebc78fae409ce928d073a5e4 -eo pid,comm [Pipeline] { [Pipeline] sh 09:07:34 + git config --global --add safe.directory /w/workspace/device-sdk-go/178 [Pipeline] fileExists [Pipeline] sh 09:07:34 + make test 09:07:34 go test -race -coverprofile=coverage.out ./... 09:08:21 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:10:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 09:10:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 09:10:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 09:10:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 09:10:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 09:11:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.287s coverage: 27.6% of statements 09:11:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.350s coverage: 78.9% of statements 09:11:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 09:11:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.544s coverage: 86.0% of statements 09:11:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 09:11:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 09:11:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.505s coverage: 75.4% of statements 09:11:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 09:11:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.345s coverage: 15.3% of statements 09:11:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 09:11:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.479s coverage: 65.2% of statements 09:11:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:11:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 09:11:19 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.400s coverage: 89.2% of statements 09:11:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 09:11:19 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.328s coverage: 5.4% of statements 09:11:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 09:11:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:11:19 GO111MODULE=on go vet ./... 09:13:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:13:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:13:11 ./bin/test-attribution-txt.sh [Pipeline] echo 09:13:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:13:11 $ docker stop --time=1 f6ee6cd280ff2cec711dee5243118a7cd5113098ebc78fae409ce928d073a5e4 09:13:14 $ docker rm -f --volumes f6ee6cd280ff2cec711dee5243118a7cd5113098ebc78fae409ce928d073a5e4 [Pipeline] // withDockerContainer [Pipeline] sh 09:13:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:13:15 Warning: overwriting stash ‘coverage-report’ 09:13:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:13:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:13:17 + ls -al . 09:13:17 total 276 09:13:17 drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 09:07 . 09:13:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 09:05 .. 09:13:17 -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 09:05 .dockerignore 09:13:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 09:05 .git 09:13:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 09:05 .github 09:13:17 -rw-rw-r-- 1 jenkins jenkins 131 Mar 8 09:05 .gitignore 09:13:17 -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 09:05 .golangci.yml 09:13:17 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 8 09:05 CHANGELOG.md 09:13:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 09:05 GOVERNANCE.md 09:13:17 -rw-rw-r-- 1 jenkins jenkins 885 Mar 8 09:05 Jenkinsfile 09:13:17 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 09:05 LICENSE 09:13:17 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 8 09:05 Makefile 09:13:17 -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 09:05 OWNERS.md 09:13:17 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 8 09:05 README.md 09:13:17 -rw-rw-r-- 1 jenkins jenkins 12 Mar 8 08:59 VERSION 09:13:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 09:05 bin 09:13:17 -rw-r--r-- 1 jenkins jenkins 111565 Mar 8 09:11 coverage.out 09:13:17 drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 09:05 example 09:13:17 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 8 09:05 go.mod 09:13:17 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 8 09:05 go.sum 09:13:17 drwxrwxr-x 13 jenkins jenkins 4096 Mar 8 09:05 internal 09:13:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 09:05 openapi 09:13:17 drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 09:05 pkg 09:13:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 09:05 snap 09:13:17 -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 09:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:17 + 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=a6f9b4558a5053ff5451a91be1399b57291d8939 --label arch=arm64 --label version=3.0.0-dev.48 . 09:13:18 Sending build context to Docker daemon 5.826MB 09:13:18 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 09:13:18 Step 2/23 : FROM ${BASE} AS builder 09:13:18 ---> 028efb4b38e9 09:13:18 Step 3/23 : ARG MAKE=make build 09:13:18 ---> Running in be68a3d22054 09:13:18 Removing intermediate container be68a3d22054 09:13:18 ---> 717ac70cc352 09:13:18 Step 4/23 : WORKDIR /device-sdk-go 09:13:18 ---> Running in 5473f870c71b 09:13:18 Removing intermediate container 5473f870c71b 09:13:18 ---> 433de43b07bd 09:13:18 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:13:18 ---> Running in ef444e205739 09:13:19 Removing intermediate container ef444e205739 09:13:19 ---> d2ad94fa3f73 09:13:19 Step 6/23 : RUN apk add --update --no-cache make git 09:13:19 ---> Running in 6e29e4176f2d 09:13:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:13:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:13:22 OK: 221 MiB in 51 packages 09:13:23 Removing intermediate container 6e29e4176f2d 09:13:23 ---> 2d43749318e7 09:13:23 Step 7/23 : COPY go.mod vendor* ./ 09:13:23 ---> a58fc56dbe0d 09:13:23 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:13:23 ---> Running in 7630c8e2b783 09:13:27 Removing intermediate container 7630c8e2b783 09:13:27 ---> 4e0d2d3f6d62 09:13:27 Step 9/23 : COPY . . 09:13:28 ---> a78416e4494d 09:13:28 Step 10/23 : RUN ${MAKE} 09:13:29 ---> Running in 621b220392d5 09:13:30 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.48" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:15:51 Removing intermediate container 621b220392d5 09:15:51 ---> f14e002a311c 09:15:51 Step 11/23 : FROM alpine:3.16 09:15:51 3.16: Pulling from library/alpine 09:15:51 3760b48202b3: Pulling fs layer 09:15:51 3760b48202b3: Verifying Checksum 09:15:51 3760b48202b3: Download complete 09:15:51 3760b48202b3: Pull complete 09:15:51 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 09:15:51 Status: Downloaded newer image for alpine:3.16 09:15:51 ---> 4c81e5bf8899 09:15:51 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:15:51 ---> Running in e2d3e42224c2 09:15:51 Removing intermediate container e2d3e42224c2 09:15:51 ---> 6aa5041e8a63 09:15:51 Step 13/23 : RUN apk add --update --no-cache 09:15:51 ---> Running in 90ccc2ba790a 09:15:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:15:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:15:51 OK: 5 MiB in 14 packages 09:15:51 Removing intermediate container 90ccc2ba790a 09:15:51 ---> 9588dd0d61ec 09:15:51 Step 14/23 : WORKDIR / 09:15:51 ---> Running in 0d128c022d3e 09:15:51 Removing intermediate container 0d128c022d3e 09:15:51 ---> d4571268ccef 09:15:51 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:15:51 ---> e6e2315f37c4 09:15:51 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:15:51 ---> 0cd1bcbbcc70 09:15:51 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:15:51 ---> aea06e2825f1 09:15:51 Step 18/23 : EXPOSE 59999 09:15:51 ---> Running in 7cc471f7281d 09:15:52 Removing intermediate container 7cc471f7281d 09:15:52 ---> 141d6aa9d896 09:15:52 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:15:52 ---> Running in 7e379d9f7ae8 09:15:52 Removing intermediate container 7e379d9f7ae8 09:15:52 ---> eabab3249c76 09:15:52 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:15:52 ---> Running in a83d4f660d17 09:15:52 Removing intermediate container a83d4f660d17 09:15:52 ---> 9e20b68e7d25 09:15:52 Step 21/23 : LABEL arch=arm64 09:15:52 ---> Running in b581cc9662dc 09:15:53 Removing intermediate container b581cc9662dc 09:15:53 ---> 04711a66ca57 09:15:53 Step 22/23 : LABEL git_sha=a6f9b4558a5053ff5451a91be1399b57291d8939 09:15:53 ---> Running in e453dde15f57 09:15:53 Removing intermediate container e453dde15f57 09:15:53 ---> b314026fa42a 09:15:53 Step 23/23 : LABEL version=3.0.0-dev.48 09:15:53 ---> Running in b285b4087ade 09:15:54 Removing intermediate container b285b4087ade 09:15:54 ---> 1664a154d20c 09:15:54 [Warning] One or more build-args [ARCH] were not consumed 09:15:54 Successfully built 1664a154d20c 09:15:54 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 09:15:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:15:54 09:15:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:15:55 arm64: Pulling from edgex-lftools-log-publisher 09:15:55 8998bd30e6a1: Pulling fs layer 09:15:55 04944245beec: Pulling fs layer 09:15:55 699f458cf7ca: Pulling fs layer 09:15:55 765212b225bb: Pulling fs layer 09:15:55 f23df028b6ca: Pulling fs layer 09:15:55 d65c8cfc05b1: Pulling fs layer 09:15:55 2437ff75d9bd: Pulling fs layer 09:15:55 f23df028b6ca: Waiting 09:15:55 d65c8cfc05b1: Waiting 09:15:55 2437ff75d9bd: Waiting 09:15:55 765212b225bb: Waiting 09:15:55 04944245beec: Verifying Checksum 09:15:55 04944245beec: Download complete 09:15:55 765212b225bb: Verifying Checksum 09:15:55 765212b225bb: Download complete 09:15:55 f23df028b6ca: Verifying Checksum 09:15:55 f23df028b6ca: Download complete 09:15:55 d65c8cfc05b1: Verifying Checksum 09:15:55 d65c8cfc05b1: Download complete 09:15:55 699f458cf7ca: Verifying Checksum 09:15:55 699f458cf7ca: Download complete 09:15:56 8998bd30e6a1: Verifying Checksum 09:15:56 8998bd30e6a1: Download complete 09:15:58 2437ff75d9bd: Verifying Checksum 09:15:58 2437ff75d9bd: Download complete 09:16:00 8998bd30e6a1: Pull complete 09:16:00 04944245beec: Pull complete 09:16:01 699f458cf7ca: Pull complete 09:16:01 765212b225bb: Pull complete 09:16:02 f23df028b6ca: Pull complete 09:16:02 d65c8cfc05b1: Pull complete 09:16:21 2437ff75d9bd: Pull complete 09:16:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:16:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:16:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:16:21 prd-ubuntu20.04-docker-arm64-4c-16g-8775 does not seem to be running inside a container 09:16:21 $ 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/178 -v /w/workspace/device-sdk-go/178:/w/workspace/device-sdk-go/178:rw,z -v /w/workspace/device-sdk-go/178@tmp:/w/workspace/device-sdk-go/178@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 09:16:24 $ docker top cda24786a40897630d79551c1c6cf87106542618103f7d6b0d015626b34f5c8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:16:24 ---> job-cost.sh 09:16:24 lf-activate-venv: SKIPPING 09:16:24 INFO: No Stack... 09:16:25 INFO: Retrieving Pricing Info for: v3-standard-4 09:16:26 INFO: Archiving Costs [Pipeline] sh 09:16:26 + cat /w/workspace/device-sdk-go/178/archives/cost.csv 09:16:26 + cut -d, -f6 [Pipeline] lock 09:16:26 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-178-stack-cost] 09:16:26 Resource [jenkins-edgexfoundry-device-sdk-go-main-178-stack-cost] did not exist. Created. 09:16:26 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-178-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:16:27 /w/workspace/device-sdk-go/178@tmp/durable-e96ff22d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:16:27 + echo total: 0.10999999940395355 [Pipeline] stash 09:16:27 Warning: overwriting stash ‘stack-cost’ 09:16:28 Stashed 1 file(s) [Pipeline] } 09:16:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-178-stack-cost] [Pipeline] // lock [Pipeline] } 09:16:28 $ docker stop --time=1 cda24786a40897630d79551c1c6cf87106542618103f7d6b0d015626b34f5c8b 09:16:29 $ docker rm -f --volumes cda24786a40897630d79551c1c6cf87106542618103f7d6b0d015626b34f5c8b [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 09:16:29 provisioning config files... 09:16:29 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16938058144593527350tmp [Pipeline] { [Pipeline] sh 09:16:30 + set +x 09:16:30 + curl -s https://codecov.io/bash 09:16:30 + bash -s -- 09:16:30 09:16:30 _____ _ 09:16:30 / ____| | | 09:16:30 | | ___ __| | ___ ___ _____ __ 09:16:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:16:30 | |___| (_) | (_| | __/ (_| (_) \ V / 09:16:30 \_____\___/ \__,_|\___|\___\___/ \_/ 09:16:30 Bash-1.0.6 09:16:30 09:16:30 09:16:30 ==> git version 2.25.1 found 09:16:30 ==> 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 09:16:30 Release-Date: 2020-01-08 09:16:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:16:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:16:30 ==> Jenkins CI detected. 09:16:30 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 09:16:30 project root: . 09:16:30 --> token set from env 09:16:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:16:30 ==> Running gcov in . (disable via -X gcov) 09:16:30 ==> Python coveragepy not found 09:16:30 ==> Searching for coverage reports in: 09:16:30 + . 09:16:30 -> Found 1 reports 09:16:30 ==> Detecting git/mercurial file structure 09:16:30 ==> Reading reports 09:16:30 + ./coverage.out bytes=111565 09:16:30 ==> Appending adjustments 09:16:30 https://docs.codecov.io/docs/fixing-reports 09:16:30 + Found adjustments 09:16:30 ==> Gzipping contents 09:16:30 16K /tmp/codecov.MbPYjc.gz 09:16:30 ==> Uploading reports 09:16:30 url: https://codecov.io 09:16:30 query: branch=main&commit=a6f9b4558a5053ff5451a91be1399b57291d8939&build=178&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F178%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:16:30 -> Pinging Codecov 09:16:30 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=a6f9b4558a5053ff5451a91be1399b57291d8939&build=178&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F178%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:16:30 -> Uploading to 09:16:30 https://storage.googleapis.com/codecov/v4/raw/2023-03-08/7E55EF52A471D76F132DFD9A03CDDE97/a6f9b4558a5053ff5451a91be1399b57291d8939/aae0e5b4-1113-427a-b49e-0f72cce620ce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T091630Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ce6c01bc2070221548bb75135dfc170698612610b5d913a4ab029c438ef18d57 09:16:30 % Total % Received % Xferd Average Speed Time Time Time Current 09:16:30 Dload Upload Total Spent Left Speed 09:16:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15434 0 0 100 15434 0 47489 --:--:-- --:--:-- --:--:-- 47489 09:16:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a6f9b4558a5053ff5451a91be1399b57291d8939 [Pipeline] } 09:16:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:16:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:16:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:16:31 09:16:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:16:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:16:31 df9b9388f04a: Pulling fs layer 09:16:31 52dc419b0ee2: Pulling fs layer 09:16:31 25bc292e5bac: Pulling fs layer 09:16:31 114826534d7a: Pulling fs layer 09:16:31 4657fd5d0bcf: Pulling fs layer 09:16:31 6ad1cebc031e: Pulling fs layer 09:16:31 8a3aa393b2d8: Pulling fs layer 09:16:31 114826534d7a: Waiting 09:16:31 4657fd5d0bcf: Waiting 09:16:31 6ad1cebc031e: Waiting 09:16:31 8a3aa393b2d8: Waiting 09:16:31 25bc292e5bac: Verifying Checksum 09:16:31 25bc292e5bac: Download complete 09:16:31 52dc419b0ee2: Verifying Checksum 09:16:31 52dc419b0ee2: Download complete 09:16:31 4657fd5d0bcf: Download complete 09:16:31 df9b9388f04a: Download complete 09:16:32 df9b9388f04a: Pull complete 09:16:32 6ad1cebc031e: Verifying Checksum 09:16:32 6ad1cebc031e: Download complete 09:16:32 52dc419b0ee2: Pull complete 09:16:32 25bc292e5bac: Pull complete 09:16:32 114826534d7a: Download complete 09:16:32 8a3aa393b2d8: Verifying Checksum 09:16:32 8a3aa393b2d8: Download complete 09:16:36 114826534d7a: Pull complete 09:16:36 4657fd5d0bcf: Pull complete 09:16:36 6ad1cebc031e: Pull complete 09:16:38 8a3aa393b2d8: Pull complete 09:16:38 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:16:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:16:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:16:38 prd-ubuntu20.04-docker-8c-8g-8773 does not seem to be running inside a container 09:16:38 $ 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 09:16:40 $ docker top 7bcf9c42d1a6dacf95bbc7440247525b5fce3c0cc85f7f6e186b66106b4ce6e2 -eo pid,comm [Pipeline] { [Pipeline] echo 09:16:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 09:16:41 + set -o pipefail 09:16:41 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 09:16:45 09:16:45 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 09:16:45 09:16:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/de573d7b-c7c7-41ff-ad83-9d24aae9672e 09:16:45 09:16:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:16:45 09:16:45 09:16:45 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:16:45 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:16:45 More details here: https://snyk.co/ue1NS [Pipeline] } 09:16:45 $ docker stop --time=1 7bcf9c42d1a6dacf95bbc7440247525b5fce3c0cc85f7f6e186b66106b4ce6e2 09:16:47 $ docker rm -f --volumes 7bcf9c42d1a6dacf95bbc7440247525b5fce3c0cc85f7f6e186b66106b4ce6e2 [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 09:16:47 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:16:48 provisioning config files... 09:16:48 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17751937452025337337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:16:48 --> edgex-publish-swagger.sh 09:16:48 === Publish openapi/v3 API === 09:16:48 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 09:16:48 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 09:16:48 % Total % Received % Xferd Average Speed Time Time Time Current 09:16:48 Dload Upload Total Spent Left Speed 09:16:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23571 0 0 100 23571 0 42241 --:--:-- --:--:-- --:--:-- 42166 100 23571 0 0 100 23571 0 42241 --:--:-- --:--:-- --:--:-- 42166 09:16:48 09:16:48 [Pipeline] } 09:16:48 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 09:16:49 + git log --format=format:%s -1 a6f9b4558a5053ff5451a91be1399b57291d8939 [Pipeline] sh 09:16:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:16:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:16:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:16:49 prd-ubuntu20.04-docker-8c-8g-8773 does not seem to be running inside a container 09:16:49 $ 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 09:16:50 $ docker top 2784fb643beb03d84c167e3f1dc00a8738bee95fb908395a9a24eb14640a9bc9 -eo pid,comm 09:16: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). 09:16:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:16:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:16:50 [ssh-agent] Looking for ssh-agent implementation... 09:16:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:16:50 $ docker exec 2784fb643beb03d84c167e3f1dc00a8738bee95fb908395a9a24eb14640a9bc9 ssh-agent 09:16:50 SSH_AUTH_SOCK=/tmp/ssh-gqeLkvTZeS39/agent.32 09:16:50 SSH_AGENT_PID=38 09:16:50 Running ssh-add (command line suppressed) 09:16:50 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12954255913684687247.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12954255913684687247.key) 09:16:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:16:51 + git semver tag 09:16:51 2023-03-08 09:16:51,235 [run_tag] DEBUG tag force:False 09:16:51 2023-03-08 09:16:51,236 [check_head_tag] DEBUG check head tag 09:16:51 2023-03-08 09:16:51,237 [execute] INFO git cat-file --batch-check 09:16:51 2023-03-08 09:16:51,237 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 09:16:51 2023-03-08 09:16:51,241 [execute] INFO git cat-file --batch 09:16:51 2023-03-08 09:16:51,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 09:16:51 2023-03-08 09:16:51,280 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:16:51 2023-03-08 09:16:51,280 [execute] INFO git tag -a v3.0.0-dev.48 -m v3.0.0-dev.48 09:16:51 2023-03-08 09:16:51,280 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.48', '-m', 'v3.0.0-dev.48'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 09:16:51 2023-03-08 09:16:51,285 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:16:51 3.0.0-dev.48 [Pipeline] } 09:16:51 $ docker exec --env ******** --env ******** 2784fb643beb03d84c167e3f1dc00a8738bee95fb908395a9a24eb14640a9bc9 ssh-agent -k 09:16:51 unset SSH_AUTH_SOCK; 09:16:51 unset SSH_AGENT_PID; 09:16:51 echo Agent pid 38 killed; 09:16:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:16:51 + git semver [Pipeline] } 09:16:52 $ docker stop --time=1 2784fb643beb03d84c167e3f1dc00a8738bee95fb908395a9a24eb14640a9bc9 09:16:53 $ docker rm -f --volumes 2784fb643beb03d84c167e3f1dc00a8738bee95fb908395a9a24eb14640a9bc9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:16:53 09:16:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:16:54 0.23.1-centos7: Pulling from edgex-lftools 09:16:54 ab5ef0e58194: Pulling fs layer 09:16:54 9712f1f96733: Pulling fs layer 09:16:54 63f879dbbcfc: Pulling fs layer 09:16:54 0d9ebad4ef96: Pulling fs layer 09:16:54 e9a5061849ea: Pulling fs layer 09:16:54 d747dcd14b5f: Pulling fs layer 09:16:54 2de7ff778b66: Pulling fs layer 09:16:54 e9a5061849ea: Waiting 09:16:54 d747dcd14b5f: Waiting 09:16:54 0d9ebad4ef96: Waiting 09:16:54 2de7ff778b66: Waiting 09:16:54 9712f1f96733: Verifying Checksum 09:16:54 9712f1f96733: Download complete 09:16:54 63f879dbbcfc: Verifying Checksum 09:16:54 63f879dbbcfc: Download complete 09:16:54 e9a5061849ea: Verifying Checksum 09:16:54 e9a5061849ea: Download complete 09:16:54 d747dcd14b5f: Verifying Checksum 09:16:54 d747dcd14b5f: Download complete 09:16:54 0d9ebad4ef96: Download complete 09:16:54 ab5ef0e58194: Verifying Checksum 09:16:54 ab5ef0e58194: Download complete 09:16:54 2de7ff778b66: Verifying Checksum 09:16:54 2de7ff778b66: Download complete 09:16:57 ab5ef0e58194: Pull complete 09:16:57 9712f1f96733: Pull complete 09:16:58 63f879dbbcfc: Pull complete 09:17:01 0d9ebad4ef96: Pull complete 09:17:01 e9a5061849ea: Pull complete 09:17:01 d747dcd14b5f: Pull complete 09:17:02 2de7ff778b66: Pull complete 09:17:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:17:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:17:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:02 prd-ubuntu20.04-docker-8c-8g-8773 does not seem to be running inside a container 09:17: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 09:17:04 $ docker top 4499ce73da147507fc0219548a9207a9b9024ea52c4d23dcf5db6fe0c48564d7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:17:04 provisioning config files... 09:17:04 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4849033135549668815tmp 09:17:04 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14425919151616763255tmp 09:17:04 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5274338574319851542tmp [Pipeline] { [Pipeline] echo 09:17:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:17:05 ---> sigul-configuration.sh 09:17:05 gpg: directory `/root/.gnupg' created 09:17:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:17:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:17:05 gpg: keyring `/root/.gnupg/secring.gpg' created 09:17:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:17:05 gpg: CAST5 encrypted data 09:17:05 gpg: encrypted with 1 passphrase 09:17:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:17:05 + mkdir /home/jenkins 09:17:05 + mkdir /home/jenkins/sigul [Pipeline] sh 09:17:05 + 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 09:17:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:17:06 ---> sigul-install.sh 09:17:06 Sigul already installed; skipping installation. [Pipeline] sh 09:17:06 + git tag --list 09:17:06 0.7.1 09:17:06 delhi-tag 09:17:06 v0.0.0 09:17:06 v1.0.0 09:17:06 v1.1.0 09:17:06 v1.1.1 09:17:06 v1.1.2 09:17:06 v1.2.0 09:17:06 v1.2.1 09:17:06 v1.2.2 09:17:06 v1.2.3 09:17:06 v1.3.0 09:17:06 v1.4.0 09:17:06 v2.0.0 09:17:06 v2.1.0 09:17:06 v2.1.1 09:17:06 v2.1.1-dev.2 09:17:06 v2.1.1-dev.3 09:17:06 v2.2.0 09:17:06 v2.2.1-dev.1 09:17:06 v2.2.1-dev.10 09:17:06 v2.2.1-dev.11 09:17:06 v2.2.1-dev.12 09:17:06 v2.2.1-dev.13 09:17:06 v2.2.1-dev.14 09:17:06 v2.2.1-dev.2 09:17:06 v2.2.1-dev.3 09:17:06 v2.2.1-dev.4 09:17:06 v2.2.1-dev.5 09:17:06 v2.2.1-dev.6 09:17:06 v2.2.1-dev.7 09:17:06 v2.2.1-dev.8 09:17:06 v2.2.1-dev.9 09:17:06 v2.3.0 09:17:06 v2.3.0-dev.14 09:17:06 v2.3.0-dev.15 09:17:06 v2.3.0-dev.16 09:17:06 v2.3.0-dev.17 09:17:06 v2.3.0-dev.18 09:17:06 v2.3.0-dev.19 09:17:06 v2.3.0-dev.20 09:17:06 v2.3.0-dev.21 09:17:06 v2.3.0-dev.22 09:17:06 v2.3.0-dev.23 09:17:06 v2.3.0-dev.24 09:17:06 v2.3.0-dev.25 09:17:06 v2.3.0-dev.26 09:17:06 v2.3.0-dev.27 09:17:06 v2.3.0-dev.28 09:17:06 v2.3.0-dev.29 09:17:06 v2.3.0-dev.30 09:17:06 v2.3.0-dev.31 09:17:06 v2.3.0-dev.32 09:17:06 v2.3.0-dev.33 09:17:06 v2.3.0-dev.34 09:17:06 v2.3.0-dev.35 09:17:06 v2.3.0-dev.36 09:17:06 v2.3.0-dev.37 09:17:06 v2.3.0-dev.38 09:17:06 v2.3.0-dev.39 09:17:06 v2.3.0-dev.40 09:17:06 v2.3.0-dev.41 09:17:06 v2.3.0-dev.42 09:17:06 v2.3.0-dev.43 09:17:06 v2.3.0-dev.44 09:17:06 v2.3.0-dev.45 09:17:06 v2.3.0-dev.46 09:17:06 v2.3.0-dev.47 09:17:06 v2.3.0-dev.48 09:17:06 v2.3.0-dev.49 09:17:06 v2.3.0-dev.50 09:17:06 v2.3.0-dev.51 09:17:06 v2.3.1-dev.1 09:17:06 v2.3.1-dev.2 09:17:06 v3.0.0-dev.1 09:17:06 v3.0.0-dev.10 09:17:06 v3.0.0-dev.11 09:17:06 v3.0.0-dev.12 09:17:06 v3.0.0-dev.13 09:17:06 v3.0.0-dev.14 09:17:06 v3.0.0-dev.15 09:17:06 v3.0.0-dev.16 09:17:06 v3.0.0-dev.17 09:17:06 v3.0.0-dev.18 09:17:06 v3.0.0-dev.19 09:17:06 v3.0.0-dev.2 09:17:06 v3.0.0-dev.20 09:17:06 v3.0.0-dev.21 09:17:06 v3.0.0-dev.22 09:17:06 v3.0.0-dev.23 09:17:06 v3.0.0-dev.24 09:17:06 v3.0.0-dev.25 09:17:06 v3.0.0-dev.26 09:17:06 v3.0.0-dev.27 09:17:06 v3.0.0-dev.28 09:17:06 v3.0.0-dev.29 09:17:06 v3.0.0-dev.3 09:17:06 v3.0.0-dev.30 09:17:06 v3.0.0-dev.31 09:17:06 v3.0.0-dev.32 09:17:06 v3.0.0-dev.33 09:17:06 v3.0.0-dev.34 09:17:06 v3.0.0-dev.35 09:17:06 v3.0.0-dev.36 09:17:06 v3.0.0-dev.37 09:17:06 v3.0.0-dev.38 09:17:06 v3.0.0-dev.39 09:17:06 v3.0.0-dev.4 09:17:06 v3.0.0-dev.40 09:17:06 v3.0.0-dev.41 09:17:06 v3.0.0-dev.42 09:17:06 v3.0.0-dev.43 09:17:06 v3.0.0-dev.44 09:17:06 v3.0.0-dev.45 09:17:06 v3.0.0-dev.46 09:17:06 v3.0.0-dev.47 09:17:06 v3.0.0-dev.48 09:17:06 v3.0.0-dev.5 09:17:06 v3.0.0-dev.6 09:17:06 v3.0.0-dev.7 09:17:06 v3.0.0-dev.8 09:17:06 v3.0.0-dev.9 [Pipeline] sh 09:17:06 + lftools sign git-tag v3.0.0-dev.48 09:17:07 Signing Git tag with Sigul... 09:17:07 Signing v3.0.0-dev.48 [Pipeline] echo 09:17:07 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:17:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:17:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:17:07 $ docker stop --time=1 4499ce73da147507fc0219548a9207a9b9024ea52c4d23dcf5db6fe0c48564d7 09:17:09 $ docker rm -f --volumes 4499ce73da147507fc0219548a9207a9b9024ea52c4d23dcf5db6fe0c48564d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:17:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:17:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:17:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:09 prd-ubuntu20.04-docker-8c-8g-8773 does not seem to be running inside a container 09:17:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:17:10 $ docker top 765ef0f0013a30e1339a2e6a3d006e3a76a8aa9590105e492c0dbb0dda139d32 -eo pid,comm 09:17:10 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). 09:17:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:17:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:17:10 [ssh-agent] Looking for ssh-agent implementation... 09:17:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:17:10 $ docker exec 765ef0f0013a30e1339a2e6a3d006e3a76a8aa9590105e492c0dbb0dda139d32 ssh-agent 09:17:10 SSH_AUTH_SOCK=/tmp/ssh-BXEWWObLbMTj/agent.32 09:17:10 SSH_AGENT_PID=38 09:17:10 Running ssh-add (command line suppressed) 09:17:10 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10711076676221619123.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10711076676221619123.key) 09:17:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:17:10 + git semver bump pre 09:17:11 2023-03-08 09:17:11,124 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:17:11 2023-03-08 09:17:11,124 [bump_version] DEBUG bumping version:3.0.0-dev.48 on axis:pre with prefix:dev 09:17:11 2023-03-08 09:17:11,124 [bump_version] DEBUG bumped version:3.0.0-dev.49 09:17:11 2023-03-08 09:17:11,124 [write_version] DEBUG write version:3.0.0-dev.49 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 09:17:11 2023-03-08 09:17:11,124 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:17:11 2023-03-08 09:17:11,124 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:17:11 2023-03-08 09:17:11,126 [execute] INFO git cat-file --batch-check 09:17:11 2023-03-08 09:17:11,127 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:17:11 2023-03-08 09:17:11,133 [execute] INFO git cat-file --batch 09:17:11 2023-03-08 09:17:11,133 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:17:11 2023-03-08 09:17:11,139 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:17:11 3.0.0-dev.49 [Pipeline] } 09:17:11 $ docker exec --env ******** --env ******** 765ef0f0013a30e1339a2e6a3d006e3a76a8aa9590105e492c0dbb0dda139d32 ssh-agent -k 09:17:11 unset SSH_AUTH_SOCK; 09:17:11 unset SSH_AGENT_PID; 09:17:11 echo Agent pid 38 killed; 09:17:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:17:11 + git semver [Pipeline] } 09:17:12 $ docker stop --time=1 765ef0f0013a30e1339a2e6a3d006e3a76a8aa9590105e492c0dbb0dda139d32 09:17:13 $ docker rm -f --volumes 765ef0f0013a30e1339a2e6a3d006e3a76a8aa9590105e492c0dbb0dda139d32 [Pipeline] // withDockerContainer [Pipeline] sh 09:17:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:17:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:17:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:14 prd-ubuntu20.04-docker-8c-8g-8773 does not seem to be running inside a container 09:17:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:17:14 $ docker top d0c8d89e628cfe56a314185087003ffdfda694414224ba05be3cd51989afa35d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:17:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:17:14 [ssh-agent] Looking for ssh-agent implementation... 09:17:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:17:14 $ docker exec d0c8d89e628cfe56a314185087003ffdfda694414224ba05be3cd51989afa35d ssh-agent 09:17:14 SSH_AUTH_SOCK=/tmp/ssh-rzyErMziG2BC/agent.32 09:17:14 SSH_AGENT_PID=38 09:17:14 Running ssh-add (command line suppressed) 09:17:14 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6211224141506757945.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6211224141506757945.key) 09:17:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:17:15 + git semver push 09:17:15 2023-03-08 09:17:15,454 [run_push] DEBUG push 09:17:15 2023-03-08 09:17:15,455 [execute] INFO git cat-file --batch-check 09:17:15 2023-03-08 09:17:15,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:17:15 2023-03-08 09:17:15,459 [execute] INFO git rev-list 093e2fde2ff7f3e0cd1167a58eabb2bbec5938e2 -- 09:17:15 2023-03-08 09:17:15,460 [execute] DEBUG Popen(['git', 'rev-list', '093e2fde2ff7f3e0cd1167a58eabb2bbec5938e2', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:17:15 2023-03-08 09:17:15,471 [execute] INFO git fetch -v origin 09:17:15 2023-03-08 09:17:15,471 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:17:16 2023-03-08 09:17:15,926 [run_push] DEBUG no remote changes detected 09:17:16 2023-03-08 09:17:15,926 [execute] INFO git push origin semver 09:17:16 2023-03-08 09:17:15,927 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:17:17 2023-03-08 09:17:16,712 [run_push] DEBUG push all version tags 09:17:17 2023-03-08 09:17:16,713 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:17:17 2023-03-08 09:17:16,713 [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) 09:17:17 2023-03-08 09:17:17,488 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:17:17 3.0.0-dev.49 [Pipeline] } 09:17:17 $ docker exec --env ******** --env ******** d0c8d89e628cfe56a314185087003ffdfda694414224ba05be3cd51989afa35d ssh-agent -k 09:17:17 unset SSH_AUTH_SOCK; 09:17:17 unset SSH_AGENT_PID; 09:17:17 echo Agent pid 38 killed; 09:17:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:17:18 + git semver [Pipeline] } 09:17:18 $ docker stop --time=1 d0c8d89e628cfe56a314185087003ffdfda694414224ba05be3cd51989afa35d 09:17:19 $ docker rm -f --volumes d0c8d89e628cfe56a314185087003ffdfda694414224ba05be3cd51989afa35d [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 09:17:20 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 09:17:20 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 09:17:20 total 16 09:17:20 drwxr-xr-x 3 root root 4096 Mar 8 09:01 . 09:17:20 drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 09:17 .. 09:17:20 drwxr-xr-x 2 root root 4096 Mar 8 09:01 cost 09:17:20 -rw-r--r-- 1 root root 85 Mar 8 09:01 cost.csv 09:17:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 09:17:20 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 09:17:20 total 16 09:17:20 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 09:01 . 09:17:20 drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 09:17 .. 09:17:20 drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 09:01 cost 09:17:20 -rw-r--r-- 1 jenkins jenkins 85 Mar 8 09:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:17:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:17:21 ---> package-listing.sh 09:17:21 ++ facter osfamily 09:17:21 ++ tr '[:upper:]' '[:lower:]' 09:17:21 + OS_FAMILY=debian 09:17:21 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 09:17:21 + START_PACKAGES=/tmp/packages_start.txt 09:17:21 + END_PACKAGES=/tmp/packages_end.txt 09:17:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:17:21 + PACKAGES=/tmp/packages_start.txt 09:17:21 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 09:17:21 + PACKAGES=/tmp/packages_end.txt 09:17:21 + case "${OS_FAMILY}" in 09:17:21 + dpkg -l 09:17:21 + grep '^ii' 09:17:21 + '[' -f /tmp/packages_start.txt ']' 09:17:21 + '[' -f /tmp/packages_end.txt ']' 09:17:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:17:21 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 09:17:21 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 09:17:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 09:17:21 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 09:17:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:17:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:17:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:17:22 prd-ubuntu20.04-docker-8c-8g-8773 does not seem to be running inside a container 09:17:22 $ 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 09:17:22 $ docker top e4c7a47b2f82ee1d6114c5ca69ae562b824fc1e80e276b40708d6166253f1b5a -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:23 + touch /tmp/pre-build-complete [Pipeline] sh 09:17:23 + mkdir -p /var/log/sysstat [Pipeline] sh 09:17:23 + ls /var/log/sa-host 09:17:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:17:23 provisioning config files... 09:17:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1857699963829564022tmp [Pipeline] { [Pipeline] echo 09:17:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:17:24 ---> create-netrc.sh [Pipeline] } 09:17:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:17:24 ---> python-tools-install.sh [Pipeline] echo 09:17:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:17:24 ---> sudo-logs.sh 09:17:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:17:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:17:25 ---> job-cost.sh 09:17:25 lf-activate-venv: SKIPPING 09:17:25 DEBUG: total: 0.2199999988079071 09:17:25 INFO: Retrieving Stack Cost... 09:17:25 INFO: Retrieving Pricing Info for: v3-standard-8 09:17:25 INFO: Archiving Costs [Pipeline] echo 09:17:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:17:26 ---> logs-deploy.sh 09:17:26 lf-activate-venv: SKIPPING 09:17:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/178 09:17:26 INFO: archiving workspace using pattern(s): 09:17:27 Archives upload complete. 09:17:27 INFO: archiving logs to Nexus