Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cf150bd1006c505b2559d8970edbe52dd5fe7567 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-ssh14586824916842325608.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-ssh5540096686209243895.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-ssh5160653809563911668.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-ssh5929244449084800471.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-ssh1884776178968244789.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 ‘prd-ubuntu20.04-docker-8c-8g-6137’ Running on prd-ubuntu20.04-docker-8c-8g-6139 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 cf150bd1006c505b2559d8970edbe52dd5fe7567 (main) Commit message: "refactor!: Replace internal topics from config with new constants (#1316)" > 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 cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 > git rev-list --no-walk 8b9fd5bc22bc5ff949621087fe72c38333f95112 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:56:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:56:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:56:45 ========================================================= 16:56:45 EdgeX Global Pipelines Version Info 16:56:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:56:46 ------------------- 16:56:46 stable info: 16:56:46 ------------------- 16:56:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:56:46 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:56:46 Message: update stable to v1.0.244 16:56:46 ------------------- 16:56:46 experimental info: 16:56:46 ------------------- 16:56:46 Commited By: **** collab-it+edgex@linuxfoundation.org 16:56:46 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:56:46 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf150bd1006c505b2559d8970edbe52dd5fe7567 [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf150bd [Pipeline] echo 16:56:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:56:47 provisioning config files... 16:56:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3354803195403860529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:56:47 ---> docker-login.sh 16:56:47 nexus3.edgexfoundry.org:10001 16:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:48 Configure a credential helper to remove this warning. See 16:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:48 16:56:48 Login Succeeded 16:56:48 nexus3.edgexfoundry.org:10002 16:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:48 Configure a credential helper to remove this warning. See 16:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:48 16:56:48 Login Succeeded 16:56:48 nexus3.edgexfoundry.org:10003 16:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:48 Configure a credential helper to remove this warning. See 16:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:48 16:56:48 Login Succeeded 16:56:48 nexus3.edgexfoundry.org:10004 16:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:48 Configure a credential helper to remove this warning. See 16:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:48 16:56:48 Login Succeeded 16:56:48 docker.io 16:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:48 Configure a credential helper to remove this warning. See 16:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:48 16:56:48 Login Succeeded 16:56:48 ---> docker-login.sh ends [Pipeline] } 16:56:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:56:49 + git rev-list -1 --merges cf150bd1006c505b2559d8970edbe52dd5fe7567~1..cf150bd1006c505b2559d8970edbe52dd5fe7567 [Pipeline] echo 16:56:49 -----------> git rev-list -1 --merges cf150bd1006c505b2559d8970edbe52dd5fe7567~1..cf150bd1006c505b2559d8970edbe52dd5fe7567 cf150bd1006c505b2559d8970edbe52dd5fe7567 [false] [Pipeline] sh 16:56:49 + git log --format=format:%s -1 cf150bd1006c505b2559d8970edbe52dd5fe7567 [Pipeline] echo 16:56:49 ========================================================= 16:56:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:56:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:56:49 + git log --format=format:%s -1 cf150bd1006c505b2559d8970edbe52dd5fe7567 [Pipeline] echo 16:56:49 [semverPrep] GIT_COMMIT: cf150bd1006c505b2559d8970edbe52dd5fe7567, Commit Message: refactor!: Replace internal topics from config with new constants (#1316) [Pipeline] echo 16:56:49 [semverPrep] This is not a build commit. [Pipeline] sh 16:56:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:56:50 + grep -v github /etc/ssh/ssh_known_hosts 16:56:50 + [ -e /tmp/ssh_known_hosts ] 16:56:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:56:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:56:50 + sudo tee -a /etc/ssh/ssh_known_hosts 16:56:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:56:50 16:56:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:56:51 0.1.4: Pulling from edgex-devops/py-git-semver 16:56:51 b85a868b505f: Pulling fs layer 16:56:51 e2be974225ed: Pulling fs layer 16:56:51 339a4e72a1f5: Pulling fs layer 16:56:51 988bab9f4d93: Pulling fs layer 16:56:51 1469e6f7b9e6: Pulling fs layer 16:56:51 eaf3925da568: Pulling fs layer 16:56:51 bab4dde63d76: Pulling fs layer 16:56:51 bde34c3a00c8: Pulling fs layer 16:56:51 b352a97aabf1: Pulling fs layer 16:56:51 4872d77fe225: Pulling fs layer 16:56:51 5851b861e8e6: Pulling fs layer 16:56:51 bab4dde63d76: Waiting 16:56:51 1469e6f7b9e6: Waiting 16:56:51 bde34c3a00c8: Waiting 16:56:51 b352a97aabf1: Waiting 16:56:51 4872d77fe225: Waiting 16:56:51 5851b861e8e6: Waiting 16:56:51 eaf3925da568: Waiting 16:56:51 988bab9f4d93: Waiting 16:56:51 e2be974225ed: Download complete 16:56:51 988bab9f4d93: Verifying Checksum 16:56:51 988bab9f4d93: Download complete 16:56:51 1469e6f7b9e6: Verifying Checksum 16:56:51 1469e6f7b9e6: Download complete 16:56:51 eaf3925da568: Verifying Checksum 16:56:51 eaf3925da568: Download complete 16:56:51 339a4e72a1f5: Download complete 16:56:51 bde34c3a00c8: Download complete 16:56:51 b352a97aabf1: Download complete 16:56:51 4872d77fe225: Download complete 16:56:51 5851b861e8e6: Verifying Checksum 16:56:51 5851b861e8e6: Download complete 16:56:51 b85a868b505f: Verifying Checksum 16:56:51 b85a868b505f: Download complete 16:56:52 bab4dde63d76: Verifying Checksum 16:56:52 bab4dde63d76: Download complete 16:56:53 b85a868b505f: Pull complete 16:56:53 e2be974225ed: Pull complete 16:56:53 339a4e72a1f5: Pull complete 16:56:53 988bab9f4d93: Pull complete 16:56:53 1469e6f7b9e6: Pull complete 16:56:54 eaf3925da568: Pull complete 16:56:56 bab4dde63d76: Pull complete 16:56:56 bde34c3a00c8: Pull complete 16:56:56 b352a97aabf1: Pull complete 16:56:56 4872d77fe225: Pull complete 16:56:56 5851b861e8e6: Pull complete 16:56:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:56:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:56:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:56:56 prd-ubuntu20.04-docker-8c-8g-6139 does not seem to be running inside a container 16:56:56 $ 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 16:56:58 $ docker top 0f0fd399818f0e2b0b7669eedb7c9efa0434d1dbba936feb258f2e6a34e4e769 -eo pid,comm 16:56:58 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). 16:56:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:56:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:56:58 [ssh-agent] Looking for ssh-agent implementation... 16:56:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:56:58 $ docker exec 0f0fd399818f0e2b0b7669eedb7c9efa0434d1dbba936feb258f2e6a34e4e769 ssh-agent 16:56:58 SSH_AUTH_SOCK=/tmp/ssh-Qj1h5oatGmob/agent.31 16:56:58 SSH_AGENT_PID=37 16:56:58 Running ssh-add (command line suppressed) 16:56:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12274076808552357867.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12274076808552357867.key) 16:56:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:56:58 + git tag --points-at HEAD [Pipeline] } 16:56:58 $ docker exec --env ******** --env ******** 0f0fd399818f0e2b0b7669eedb7c9efa0434d1dbba936feb258f2e6a34e4e769 ssh-agent -k 16:56:58 unset SSH_AUTH_SOCK; 16:56:58 unset SSH_AGENT_PID; 16:56:58 echo Agent pid 37 killed; 16:56:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:56:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:56:58 [ssh-agent] Looking for ssh-agent implementation... 16:56:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:56:59 $ docker exec 0f0fd399818f0e2b0b7669eedb7c9efa0434d1dbba936feb258f2e6a34e4e769 ssh-agent 16:56:59 SSH_AUTH_SOCK=/tmp/ssh-cCsTu40IcDIX/agent.69 16:56:59 SSH_AGENT_PID=75 16:56:59 Running ssh-add (command line suppressed) 16:56:59 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5937315820510027316.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5937315820510027316.key) 16:56:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:56:59 + git semver init 16:56:59 2023-02-15 16:56:59,811 [run_init] DEBUG init version:0.0.0 force:False 16:56:59 2023-02-15 16:56:59,812 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:56:59 2023-02-15 16:56:59,813 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:56:59 2023-02-15 16:56:59,813 [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) 16:57:01 2023-02-15 16:57:01,074 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 16:57:01 2023-02-15 16:57:01,074 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 16:57:01 2023-02-15 16:57:01,074 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:57:01 2023-02-15 16:57:01,074 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:57:01 3.0.0-dev.28 [Pipeline] } 16:57:01 $ docker exec --env ******** --env ******** 0f0fd399818f0e2b0b7669eedb7c9efa0434d1dbba936feb258f2e6a34e4e769 ssh-agent -k 16:57:01 unset SSH_AUTH_SOCK; 16:57:01 unset SSH_AGENT_PID; 16:57:01 echo Agent pid 75 killed; 16:57:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:57:01 + git semver [Pipeline] } 16:57:01 $ docker stop --time=1 0f0fd399818f0e2b0b7669eedb7c9efa0434d1dbba936feb258f2e6a34e4e769 16:57:03 $ docker rm -f --volumes 0f0fd399818f0e2b0b7669eedb7c9efa0434d1dbba936feb258f2e6a34e4e769 [Pipeline] // withDockerContainer [Pipeline] sh 16:57:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:57:03 Stashed 1 file(s) [Pipeline] echo 16:57:03 [edgeXSemver]: initialized semver on version 3.0.0-dev.28 [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 16:57:04 provisioning config files... 16:57:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14609901481764348634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:57:04 ---> docker-login.sh 16:57:04 nexus3.edgexfoundry.org:10001 16:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:04 Configure a credential helper to remove this warning. See 16:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:04 16:57:04 Login Succeeded 16:57:04 nexus3.edgexfoundry.org:10002 16:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:04 Configure a credential helper to remove this warning. See 16:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:04 16:57:04 Login Succeeded 16:57:04 nexus3.edgexfoundry.org:10003 16:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:04 Configure a credential helper to remove this warning. See 16:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:04 16:57:04 Login Succeeded 16:57:04 nexus3.edgexfoundry.org:10004 16:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:04 Configure a credential helper to remove this warning. See 16:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:04 16:57:04 Login Succeeded 16:57:04 docker.io 16:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:05 Configure a credential helper to remove this warning. See 16:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:05 16:57:05 Login Succeeded 16:57:05 ---> docker-login.sh ends [Pipeline] } 16:57:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:57:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:57:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:57:05 ========================================================= 16:57:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:57:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:05 + 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 . 16:57:05 Sending build context to Docker daemon 10.47MB 16:57:05 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:57:05 Step 2/10 : FROM ${BASE} AS builder 16:57:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:57:05 213ec9aee27d: Pulling fs layer 16:57:05 4583459ba037: Pulling fs layer 16:57:05 93c1e223e6f2: Pulling fs layer 16:57:05 53926ce57604: Pulling fs layer 16:57:05 21b2b0c7a3f4: Pulling fs layer 16:57:05 22ff95d597cd: Pulling fs layer 16:57:05 12d6caf4c0d1: Pulling fs layer 16:57:05 96b7cbca73a9: Pulling fs layer 16:57:05 a7acece74701: Pulling fs layer 16:57:05 22ff95d597cd: Waiting 16:57:05 12d6caf4c0d1: Waiting 16:57:05 96b7cbca73a9: Waiting 16:57:05 a7acece74701: Waiting 16:57:05 53926ce57604: Waiting 16:57:05 21b2b0c7a3f4: Waiting 16:57:05 93c1e223e6f2: Verifying Checksum 16:57:05 93c1e223e6f2: Download complete 16:57:05 4583459ba037: Verifying Checksum 16:57:05 4583459ba037: Download complete 16:57:05 21b2b0c7a3f4: Verifying Checksum 16:57:05 21b2b0c7a3f4: Download complete 16:57:05 22ff95d597cd: Download complete 16:57:05 213ec9aee27d: Verifying Checksum 16:57:05 213ec9aee27d: Download complete 16:57:05 12d6caf4c0d1: Verifying Checksum 16:57:05 12d6caf4c0d1: Download complete 16:57:06 213ec9aee27d: Pull complete 16:57:06 4583459ba037: Pull complete 16:57:06 93c1e223e6f2: Pull complete 16:57:06 a7acece74701: Verifying Checksum 16:57:06 a7acece74701: Download complete 16:57:07 53926ce57604: Verifying Checksum 16:57:07 53926ce57604: Download complete 16:57:07 96b7cbca73a9: Verifying Checksum 16:57:12 53926ce57604: Pull complete 16:57:12 21b2b0c7a3f4: Pull complete 16:57:12 22ff95d597cd: Pull complete 16:57:12 12d6caf4c0d1: Pull complete 16:57:14 96b7cbca73a9: Pull complete 16:57:15 a7acece74701: Pull complete 16:57:15 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:57:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:57:15 ---> db6d94c90886 16:57:15 Step 3/10 : ARG MAKE=make build 16:57:17 ---> Running in 524a82618ac7 16:57:17 Removing intermediate container 524a82618ac7 16:57:17 ---> ded8a1456878 16:57:17 Step 4/10 : WORKDIR /device-sdk-go 16:57:17 ---> Running in a9b10bde93a1 16:57:17 Removing intermediate container a9b10bde93a1 16:57:17 ---> 9bbe3699f160 16:57:17 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:57:17 ---> Running in d1339aa12aa7 16:57:17 Removing intermediate container d1339aa12aa7 16:57:17 ---> fb3984b0e516 16:57:17 Step 6/10 : RUN apk add --update --no-cache make git 16:57:17 ---> Running in 088c42a777ff 16:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:57:18 OK: 211 MiB in 51 packages 16:57:18 Removing intermediate container 088c42a777ff 16:57:18 ---> 2c47695fc1a1 16:57:18 Step 7/10 : COPY go.mod vendor* ./ 16:57:18 ---> 35885a7b0149 16:57:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:57:18 ---> Running in 8168ff1ff1fc 16:57:18 Still waiting to schedule task 16:57:18 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6138’ 16:57:50 Removing intermediate container 8168ff1ff1fc 16:57:50 ---> beb8526bebb0 16:57:50 Step 9/10 : COPY . . 16:57:50 ---> 655b85256e16 16:57:50 Step 10/10 : RUN ${MAKE} 16:57:50 ---> Running in 77e9ba380be2 16:57:50 noop 16:57:51 Removing intermediate container 77e9ba380be2 16:57:51 ---> f0e1efdc7f63 16:57:51 Successfully built f0e1efdc7f63 16:57:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:51 + docker inspect -f . ci-base-image-x86_64 16:57:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:51 prd-ubuntu20.04-docker-8c-8g-6139 does not seem to be running inside a container 16:57:51 $ 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 16:57:51 $ docker top bc00a24394707de037d507a7305dc374c561af28fffec72649d3088a675921d4 -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:52 + go version 16:57:52 go version go1.18.7 linux/amd64 [Pipeline] } 16:57:52 $ docker stop --time=1 bc00a24394707de037d507a7305dc374c561af28fffec72649d3088a675921d4 16:57:53 $ docker rm -f --volumes bc00a24394707de037d507a7305dc374c561af28fffec72649d3088a675921d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:53 + docker inspect -f . ci-base-image-x86_64 16:57:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:54 prd-ubuntu20.04-docker-8c-8g-6139 does not seem to be running inside a container 16:57:54 $ 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 16:57:54 $ docker top 068febba9cadda5c5fd4398d870d32587b8f16e1aa2237ed9dacb5779361c84c -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:54 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 16:57:55 + make test 16:57:55 go test -race -coverprofile=coverage.out ./... 16:58:01 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 16:58:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 16:58:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 16:58:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 16:58:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 16:58:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 16:58:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.093s coverage: 27.6% of statements 16:58:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.090s coverage: 78.9% of statements 16:58:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 16:58:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.088s coverage: 77.8% of statements 16:58:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 16:58:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 16:58:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.110s coverage: 77.0% of statements 16:58:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 16:58:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 16:58:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 16:58:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.097s coverage: 65.2% of statements 16:58:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 16:58:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 16:58:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.774s coverage: 89.2% of statements 16:58:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 16:58:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.051s coverage: 4.7% of statements 16:58:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 16:58:35 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." 16:58:35 GO111MODULE=on go vet ./... 16:58:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:58:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:58:37 ./bin/test-attribution-txt.sh [Pipeline] echo 16:58:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:58:37 $ docker stop --time=1 068febba9cadda5c5fd4398d870d32587b8f16e1aa2237ed9dacb5779361c84c 16:58:39 $ docker rm -f --volumes 068febba9cadda5c5fd4398d870d32587b8f16e1aa2237ed9dacb5779361c84c [Pipeline] // withDockerContainer [Pipeline] sh 16:58:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:58:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:58:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:58:41 + ls -al . 16:58:41 total 272 16:58:41 drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 16:57 . 16:58:41 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 16:56 .. 16:58:41 -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 16:56 .dockerignore 16:58:41 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 16:58 .git 16:58:41 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 16:56 .github 16:58:41 -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 16:56 .gitignore 16:58:41 -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 16:56 .golangci.yml 16:58:41 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 16:57 .semver 16:58:41 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 16:56 CHANGELOG.md 16:58:41 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 16:56 GOVERNANCE.md 16:58:41 -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 16:56 Jenkinsfile 16:58:41 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 16:56 LICENSE 16:58:41 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 16:56 Makefile 16:58:41 -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 16:56 OWNERS.md 16:58:41 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 16:56 README.md 16:58:41 -rw-rw-r-- 1 jenkins jenkins 12 Feb 15 16:57 VERSION 16:58:41 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 16:56 bin 16:58:41 -rw-r--r-- 1 jenkins jenkins 98700 Feb 15 16:58 coverage.out 16:58:41 drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 16:56 example 16:58:41 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 15 16:56 go.mod 16:58:41 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 15 16:56 go.sum 16:58:41 drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 16:56 internal 16:58:41 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 16:56 openapi 16:58:41 drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 16:56 pkg 16:58:41 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 16:56 snap 16:58:41 -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 16:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:41 + 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=cf150bd1006c505b2559d8970edbe52dd5fe7567 --label arch=amd64 --label version=3.0.0-dev.28 . 16:58:41 Sending build context to Docker daemon 10.57MB 16:58:41 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 16:58:41 Step 2/23 : FROM ${BASE} AS builder 16:58:41 ---> f0e1efdc7f63 16:58:41 Step 3/23 : ARG MAKE=make build 16:58:41 ---> Running in b862de49ea67 16:58:41 Removing intermediate container b862de49ea67 16:58:41 ---> 358dca0b42d8 16:58:41 Step 4/23 : WORKDIR /device-sdk-go 16:58:41 ---> Running in 95a7fb538b26 16:58:41 Removing intermediate container 95a7fb538b26 16:58:41 ---> 4b667c64d41b 16:58:41 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:58:41 ---> Running in 9b7f549a70da 16:58:41 Removing intermediate container 9b7f549a70da 16:58:41 ---> de06a2d16e00 16:58:41 Step 6/23 : RUN apk add --update --no-cache make git 16:58:41 ---> Running in 172f738edb20 16:58:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:58:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:58:42 OK: 211 MiB in 51 packages 16:58:43 Removing intermediate container 172f738edb20 16:58:43 ---> 05eea5bfaf9b 16:58:43 Step 7/23 : COPY go.mod vendor* ./ 16:58:43 ---> 4a55cd8ec00b 16:58:43 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:58:43 ---> Running in 3a56a5b98d15 16:58:43 Removing intermediate container 3a56a5b98d15 16:58:43 ---> 7a1f087720fe 16:58:43 Step 9/23 : COPY . . 16:58:44 ---> 994bfc660c26 16:58:44 Step 10/23 : RUN ${MAKE} 16:58:44 ---> Running in af589e554c8c 16:58:44 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.28" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:59:06 Removing intermediate container af589e554c8c 16:59:06 ---> 904d1b7f4663 16:59:06 Step 11/23 : FROM alpine:3.16 16:59:06 3.16: Pulling from library/alpine 16:59:06 ef5531b6e74e: Pulling fs layer 16:59:06 ef5531b6e74e: Verifying Checksum 16:59:06 ef5531b6e74e: Download complete 16:59:06 ef5531b6e74e: Pull complete 16:59:06 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 16:59:06 Status: Downloaded newer image for alpine:3.16 16:59:06 ---> dfd21b5a31f5 16:59:06 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:59:06 ---> Running in 2d32babac08b 16:59:06 Removing intermediate container 2d32babac08b 16:59:06 ---> 3164393b939a 16:59:06 Step 13/23 : RUN apk add --update --no-cache 16:59:06 ---> Running in c8c94f7f2582 16:59:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:59:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:59:06 OK: 6 MiB in 14 packages 16:59:06 Removing intermediate container c8c94f7f2582 16:59:06 ---> 232f79655239 16:59:06 Step 14/23 : WORKDIR / 16:59:06 ---> Running in 5116cc6638f3 16:59:06 Removing intermediate container 5116cc6638f3 16:59:06 ---> e93ea5574718 16:59:06 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:59:06 ---> dc6ebb3f431a 16:59:06 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:59:07 ---> 7ff564ef7d8d 16:59:07 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:59:07 ---> 8d8e7cae22ca 16:59:07 Step 18/23 : EXPOSE 59999 16:59:07 ---> Running in 47cc4460c1bc 16:59:07 Removing intermediate container 47cc4460c1bc 16:59:07 ---> f3a48a60c1f0 16:59:07 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:59:07 ---> Running in 3ac9b7b94f12 16:59:07 Removing intermediate container 3ac9b7b94f12 16:59:07 ---> de263c672060 16:59:07 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:59:07 ---> Running in 3b5a5ed0b1d1 16:59:07 Removing intermediate container 3b5a5ed0b1d1 16:59:07 ---> 12c12ffbc340 16:59:07 Step 21/23 : LABEL arch=amd64 16:59:07 ---> Running in 224737f3d590 16:59:07 Removing intermediate container 224737f3d590 16:59:07 ---> 3ee83af15e90 16:59:07 Step 22/23 : LABEL git_sha=cf150bd1006c505b2559d8970edbe52dd5fe7567 16:59:08 ---> Running in 1a4cee6ae3f9 16:59:08 Removing intermediate container 1a4cee6ae3f9 16:59:08 ---> 5001959c515f 16:59:08 Step 23/23 : LABEL version=3.0.0-dev.28 16:59:08 ---> Running in 0b110e76ca63 16:59:08 Removing intermediate container 0b110e76ca63 16:59:08 ---> ec757359845d 16:59:08 [Warning] One or more build-args [ARCH] were not consumed 16:59:08 Successfully built ec757359845d 16:59:08 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 16:59:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:59:08 16:59:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:59:09 latest: Pulling from edgex-lftools-log-publisher 16:59:09 5eb5b503b376: Pulling fs layer 16:59:09 5c69ac0246d0: Pulling fs layer 16:59:09 ec43610c2a17: Pulling fs layer 16:59:09 3a2ae6a8a46f: Pulling fs layer 16:59:09 33b1e0a273af: Pulling fs layer 16:59:09 5d3b04190fa2: Pulling fs layer 16:59:09 2f39f015ded8: Pulling fs layer 16:59:09 3a2ae6a8a46f: Waiting 16:59:09 33b1e0a273af: Waiting 16:59:09 5d3b04190fa2: Waiting 16:59:09 2f39f015ded8: Waiting 16:59:09 5c69ac0246d0: Download complete 16:59:09 3a2ae6a8a46f: Verifying Checksum 16:59:09 3a2ae6a8a46f: Download complete 16:59:09 33b1e0a273af: Verifying Checksum 16:59:09 33b1e0a273af: Download complete 16:59:09 5d3b04190fa2: Verifying Checksum 16:59:09 5d3b04190fa2: Download complete 16:59:09 ec43610c2a17: Verifying Checksum 16:59:09 ec43610c2a17: Download complete 16:59:09 5eb5b503b376: Verifying Checksum 16:59:09 5eb5b503b376: Download complete 16:59:10 2f39f015ded8: Download complete 16:59:10 5eb5b503b376: Pull complete 16:59:10 5c69ac0246d0: Pull complete 16:59:11 ec43610c2a17: Pull complete 16:59:11 3a2ae6a8a46f: Pull complete 16:59:11 33b1e0a273af: Pull complete 16:59:11 5d3b04190fa2: Pull complete 16:59:15 2f39f015ded8: Pull complete 16:59:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:59:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:59:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:59:16 prd-ubuntu20.04-docker-8c-8g-6139 does not seem to be running inside a container 16:59:16 $ 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 16:59:17 $ docker top 02b08eca3334d86bdc0e99d955935d7e4fcd7bf0960d9e5de4ba338cc2a8336a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:59:18 ---> job-cost.sh 16:59:18 lf-activate-venv: SKIPPING 16:59:18 INFO: No Stack... 16:59:18 INFO: Retrieving Pricing Info for: v3-standard-8 16:59:19 INFO: Archiving Costs [Pipeline] sh 16:59:19 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 16:59:19 + cut -d, -f6 [Pipeline] lock 16:59:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-158-stack-cost] 16:59:19 Resource [jenkins-edgexfoundry-device-sdk-go-main-158-stack-cost] did not exist. Created. 16:59:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:59:19 + echo total: 0.2199999988079071 [Pipeline] stash 16:59:20 Stashed 1 file(s) [Pipeline] } 16:59:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-158-stack-cost] [Pipeline] // lock [Pipeline] } 16:59:20 $ docker stop --time=1 02b08eca3334d86bdc0e99d955935d7e4fcd7bf0960d9e5de4ba338cc2a8336a 16:59:21 $ docker rm -f --volumes 02b08eca3334d86bdc0e99d955935d7e4fcd7bf0960d9e5de4ba338cc2a8336a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:59:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6144 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 16:59:52 Running in /w/workspace/device-sdk-go/158 [Pipeline] { [Pipeline] checkout 16:59:52 The recommended git tool is: git 16:59:58 using credential edgex-jenkins-ssh 16:59:58 Cloning the remote Git repository 16:59:58 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:59:58 > git init /w/workspace/device-sdk-go/158 # timeout=10 16:59:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:59:58 > git --version # timeout=10 16:59:58 > git --version # 'git version 2.25.1' 16:59:58 using GIT_SSH to set credentials SSH Credentials for GitHub 16:59:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:00:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:00:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:00:01 Avoid second fetch 17:00:01 Checking out Revision cf150bd1006c505b2559d8970edbe52dd5fe7567 (main) 17:00:02 Commit message: "refactor!: Replace internal topics from config with new constants (#1316)" 17:00:01 > git config core.sparsecheckout # timeout=10 17:00:01 > git checkout -f cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:00:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:00:03 % Total % Received % Xferd Average Speed Time Time Time Current 17:00:03 Dload Upload Total Spent Left Speed 17:00:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 47578 0 --:--:-- --:--:-- --:--:-- 47401 [Pipeline] sh 17:00:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:00:04 + sudo+ sudo tee /etc/docker/daemon.new 17:00:04 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:00:04 { 17:00:04 "registry-mirrors": [ 17:00:04 "https://nexus3.edgexfoundry.org:10001" 17:00:04 ], 17:00:04 "bip": "10.250.0.254/24", 17:00:04 "hosts": [ 17:00:04 "tcp://0.0.0.0:5555", 17:00:04 "unix:///var/run/docker.sock" 17:00:04 ], 17:00:04 "mtu": 1458, 17:00:04 "selinux-enabled": true, 17:00:04 "seccomp-profile": "/etc/docker/seccomp.json" 17:00:04 } [Pipeline] sh 17:00:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:00:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:00:23 provisioning config files... 17:00:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/158@tmp/config16897750693039811210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:00:23 ---> docker-login.sh 17:00:23 nexus3.edgexfoundry.org:10001 17:00:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:24 Configure a credential helper to remove this warning. See 17:00:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:24 17:00:24 Login Succeeded 17:00:24 nexus3.edgexfoundry.org:10002 17:00:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:24 Configure a credential helper to remove this warning. See 17:00:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:24 17:00:24 Login Succeeded 17:00:24 nexus3.edgexfoundry.org:10003 17:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:25 Configure a credential helper to remove this warning. See 17:00:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:25 17:00:25 Login Succeeded 17:00:25 nexus3.edgexfoundry.org:10004 17:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:25 Configure a credential helper to remove this warning. See 17:00:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:25 17:00:25 Login Succeeded 17:00:25 docker.io 17:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:26 Configure a credential helper to remove this warning. See 17:00:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:26 17:00:26 Login Succeeded 17:00:26 ---> docker-login.sh ends [Pipeline] } 17:00:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:00:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:00:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:00:26 ========================================================= 17:00:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:00:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:27 + 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 . 17:00:27 Sending build context to Docker daemon 5.617MB 17:00:27 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:00:27 Step 2/10 : FROM ${BASE} AS builder 17:00:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:00:27 9b18e9b68314: Pulling fs layer 17:00:27 35d82f9e3411: Pulling fs layer 17:00:27 e16973657156: Pulling fs layer 17:00:27 fc693d55d65f: Pulling fs layer 17:00:27 7e9fc2657dce: Pulling fs layer 17:00:27 dda99020689f: Pulling fs layer 17:00:27 db1c61fa0a46: Pulling fs layer 17:00:27 891c053d2c06: Pulling fs layer 17:00:27 fc693d55d65f: Waiting 17:00:27 7e9fc2657dce: Waiting 17:00:27 dda99020689f: Waiting 17:00:27 db1c61fa0a46: Waiting 17:00:27 891c053d2c06: Waiting 17:00:27 e16973657156: Verifying Checksum 17:00:27 e16973657156: Download complete 17:00:27 35d82f9e3411: Verifying Checksum 17:00:27 35d82f9e3411: Download complete 17:00:27 7e9fc2657dce: Verifying Checksum 17:00:27 7e9fc2657dce: Download complete 17:00:27 dda99020689f: Verifying Checksum 17:00:27 dda99020689f: Download complete 17:00:27 9b18e9b68314: Verifying Checksum 17:00:28 891c053d2c06: Verifying Checksum 17:00:29 9b18e9b68314: Pull complete 17:00:30 db1c61fa0a46: Verifying Checksum 17:00:30 db1c61fa0a46: Download complete 17:00:30 35d82f9e3411: Pull complete 17:00:30 fc693d55d65f: Verifying Checksum 17:00:30 fc693d55d65f: Download complete 17:00:31 e16973657156: Pull complete 17:00:43 fc693d55d65f: Pull complete 17:00:43 7e9fc2657dce: Pull complete 17:00:43 dda99020689f: Pull complete 17:00:50 db1c61fa0a46: Pull complete 17:00:51 891c053d2c06: Pull complete 17:00:51 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:00:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:00:51 ---> f96f9c87975a 17:00:51 Step 3/10 : ARG MAKE=make build 17:00:53 ---> Running in 6383f61e6eab 17:00:53 Removing intermediate container 6383f61e6eab 17:00:53 ---> 8c851f83f27e 17:00:53 Step 4/10 : WORKDIR /device-sdk-go 17:00:53 ---> Running in bc952471862b 17:00:54 Removing intermediate container bc952471862b 17:00:54 ---> fcb9cee606ae 17:00:54 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:00:54 ---> Running in 976e2e775ecb 17:00:54 Removing intermediate container 976e2e775ecb 17:00:54 ---> edf9e35f458e 17:00:54 Step 6/10 : RUN apk add --update --no-cache make git 17:00:54 ---> Running in be06f793386c 17:00:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:00:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:00:57 OK: 221 MiB in 51 packages 17:00:58 Removing intermediate container be06f793386c 17:00:58 ---> 801d95b0fdb1 17:00:58 Step 7/10 : COPY go.mod vendor* ./ 17:00:58 ---> 527b0f7ee124 17:00:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:00:58 ---> Running in 52178c6bc486 17:02:20 Removing intermediate container 52178c6bc486 17:02:20 ---> f4e0c4b48f0d 17:02:20 Step 9/10 : COPY . . 17:02:20 ---> 529f9edfd5b0 17:02:20 Step 10/10 : RUN ${MAKE} 17:02:20 ---> Running in c37242c690dc 17:02:20 noop 17:02:20 Removing intermediate container c37242c690dc 17:02:20 ---> bedd8c940872 17:02:20 Successfully built bedd8c940872 17:02:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:21 + docker inspect -f . ci-base-image-arm64 17:02:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:21 prd-ubuntu20.04-docker-arm64-4c-16g-6144 does not seem to be running inside a container 17:02:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/158 -v /w/workspace/device-sdk-go/158:/w/workspace/device-sdk-go/158:rw,z -v /w/workspace/device-sdk-go/158@tmp:/w/workspace/device-sdk-go/158@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 17:02:22 $ docker top ac32470ee1c841177c5b0d6b0c51bdb651d4598fcaf84162f4977bd81fbdc282 -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:23 + go version 17:02:23 go version go1.18.7 linux/arm64 [Pipeline] } 17:02:23 $ docker stop --time=1 ac32470ee1c841177c5b0d6b0c51bdb651d4598fcaf84162f4977bd81fbdc282 17:02:25 $ docker rm -f --volumes ac32470ee1c841177c5b0d6b0c51bdb651d4598fcaf84162f4977bd81fbdc282 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:25 + docker inspect -f . ci-base-image-arm64 17:02:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:25 prd-ubuntu20.04-docker-arm64-4c-16g-6144 does not seem to be running inside a container 17:02:26 $ 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/158 -v /w/workspace/device-sdk-go/158:/w/workspace/device-sdk-go/158:rw,z -v /w/workspace/device-sdk-go/158@tmp:/w/workspace/device-sdk-go/158@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 17:02:27 $ docker top 11c76eaf3d5a358804b9fcea07d10e1b65fbf6dee2736ca3bde0c06b90e45c76 -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:28 + git config --global --add safe.directory /w/workspace/device-sdk-go/158 [Pipeline] fileExists [Pipeline] sh 17:02:28 + make test 17:02:28 go test -race -coverprofile=coverage.out ./... 17:03:07 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 17:05:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 17:05:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 17:05:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 17:05:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 17:05:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 17:05:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.281s coverage: 27.6% of statements 17:05:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.360s coverage: 78.9% of statements 17:05:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 17:05:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.453s coverage: 77.8% of statements 17:05:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 17:05:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 17:05:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.602s coverage: 77.0% of statements 17:05:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 17:05:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 17:05:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 17:05:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.494s coverage: 65.2% of statements 17:05:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 17:05:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 17:05:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.573s coverage: 89.2% of statements 17:05:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 17:05:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.297s coverage: 4.7% of statements 17:05:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 17:05:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:05:35 GO111MODULE=on go vet ./... 17:07:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:07:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:07:27 ./bin/test-attribution-txt.sh [Pipeline] echo 17:07:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:07:27 $ docker stop --time=1 11c76eaf3d5a358804b9fcea07d10e1b65fbf6dee2736ca3bde0c06b90e45c76 17:07:29 $ docker rm -f --volumes 11c76eaf3d5a358804b9fcea07d10e1b65fbf6dee2736ca3bde0c06b90e45c76 [Pipeline] // withDockerContainer [Pipeline] sh 17:07:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:07:30 Warning: overwriting stash ‘coverage-report’ 17:07:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:07:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:07:32 + ls -al . 17:07:32 total 268 17:07:32 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 17:02 . 17:07:32 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 16:59 .. 17:07:32 -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 17:00 .dockerignore 17:07:32 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 17:00 .git 17:07:32 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 17:00 .github 17:07:32 -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 17:00 .gitignore 17:07:32 -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 17:00 .golangci.yml 17:07:32 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 17:00 CHANGELOG.md 17:07:32 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 17:00 GOVERNANCE.md 17:07:32 -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 17:00 Jenkinsfile 17:07:32 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 17:00 LICENSE 17:07:32 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 17:00 Makefile 17:07:32 -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 17:00 OWNERS.md 17:07:32 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 17:00 README.md 17:07:32 -rw-rw-r-- 1 jenkins jenkins 12 Feb 15 16:57 VERSION 17:07:32 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 17:00 bin 17:07:32 -rw-r--r-- 1 jenkins jenkins 98701 Feb 15 17:05 coverage.out 17:07:32 drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 17:00 example 17:07:32 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 15 17:00 go.mod 17:07:32 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 15 17:00 go.sum 17:07:32 drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 17:00 internal 17:07:32 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:00 openapi 17:07:32 drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 17:00 pkg 17:07:32 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:00 snap 17:07:32 -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 17:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:32 + 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=cf150bd1006c505b2559d8970edbe52dd5fe7567 --label arch=arm64 --label version=3.0.0-dev.28 . 17:07:33 Sending build context to Docker daemon 5.716MB 17:07:33 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 17:07:33 Step 2/23 : FROM ${BASE} AS builder 17:07:33 ---> bedd8c940872 17:07:33 Step 3/23 : ARG MAKE=make build 17:07:33 ---> Running in 66c3bf3fe9df 17:07:33 Removing intermediate container 66c3bf3fe9df 17:07:33 ---> 5ad8b3f81596 17:07:33 Step 4/23 : WORKDIR /device-sdk-go 17:07:33 ---> Running in 7b600cefac6b 17:07:34 Removing intermediate container 7b600cefac6b 17:07:34 ---> 25e85e94131a 17:07:34 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:07:34 ---> Running in f69f8926d46a 17:07:34 Removing intermediate container f69f8926d46a 17:07:34 ---> 90842130f718 17:07:34 Step 6/23 : RUN apk add --update --no-cache make git 17:07:34 ---> Running in add6684b5296 17:07:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:07:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:07:37 OK: 221 MiB in 51 packages 17:07:38 Removing intermediate container add6684b5296 17:07:38 ---> f1f8917d73da 17:07:38 Step 7/23 : COPY go.mod vendor* ./ 17:07:38 ---> 868c27e14fdb 17:07:38 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:07:38 ---> Running in c2fdca8b75ef 17:07:41 Removing intermediate container c2fdca8b75ef 17:07:41 ---> a04fc41ade74 17:07:41 Step 9/23 : COPY . . 17:07:43 ---> 17c206c8a8fc 17:07:43 Step 10/23 : RUN ${MAKE} 17:07:43 ---> Running in 65a1cdc1ce4b 17:07:44 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.28" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:10:05 Removing intermediate container 65a1cdc1ce4b 17:10:05 ---> a3399071942e 17:10:05 Step 11/23 : FROM alpine:3.16 17:10:05 3.16: Pulling from library/alpine 17:10:05 3760b48202b3: Pulling fs layer 17:10:05 3760b48202b3: Download complete 17:10:05 3760b48202b3: Pull complete 17:10:05 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 17:10:05 Status: Downloaded newer image for alpine:3.16 17:10:05 ---> 4c81e5bf8899 17:10:05 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:10:06 ---> Running in 1b1efac5476b 17:10:06 Removing intermediate container 1b1efac5476b 17:10:06 ---> c0c5f3ad7b2d 17:10:06 Step 13/23 : RUN apk add --update --no-cache 17:10:06 ---> Running in cb5eed193f73 17:10:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:10:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:10:08 OK: 5 MiB in 14 packages 17:10:09 Removing intermediate container cb5eed193f73 17:10:09 ---> 12636efcc58b 17:10:09 Step 14/23 : WORKDIR / 17:10:09 ---> Running in fc6de652e2fb 17:10:10 Removing intermediate container fc6de652e2fb 17:10:10 ---> e4527fe61e83 17:10:10 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:10:10 ---> aa2e7f184ebd 17:10:10 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:10:12 ---> 55a07bd98762 17:10:12 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:10:12 ---> f28a440c730f 17:10:12 Step 18/23 : EXPOSE 59999 17:10:12 ---> Running in 583626851a33 17:10:13 Removing intermediate container 583626851a33 17:10:13 ---> bcb4222b3d4c 17:10:13 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:10:13 ---> Running in 9bcbd48ecc5c 17:10:13 Removing intermediate container 9bcbd48ecc5c 17:10:13 ---> 4e8590749467 17:10:13 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:10:13 ---> Running in 3a7d97ff0eba 17:10:14 Removing intermediate container 3a7d97ff0eba 17:10:14 ---> 777e3f0342de 17:10:14 Step 21/23 : LABEL arch=arm64 17:10:14 ---> Running in 40eb8cb1c217 17:10:14 Removing intermediate container 40eb8cb1c217 17:10:14 ---> 48252ec580a8 17:10:14 Step 22/23 : LABEL git_sha=cf150bd1006c505b2559d8970edbe52dd5fe7567 17:10:14 ---> Running in 7dac4baecda1 17:10:14 Removing intermediate container 7dac4baecda1 17:10:14 ---> 0a526b4dd6d7 17:10:14 Step 23/23 : LABEL version=3.0.0-dev.28 17:10:14 ---> Running in 700150be2bca 17:10:15 Removing intermediate container 700150be2bca 17:10:15 ---> dcfb94764b01 17:10:15 [Warning] One or more build-args [ARCH] were not consumed 17:10:15 Successfully built dcfb94764b01 17:10:15 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 17:10:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:10:15 17:10:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:10:16 arm64: Pulling from edgex-lftools-log-publisher 17:10:16 8998bd30e6a1: Pulling fs layer 17:10:16 04944245beec: Pulling fs layer 17:10:16 699f458cf7ca: Pulling fs layer 17:10:16 765212b225bb: Pulling fs layer 17:10:16 f23df028b6ca: Pulling fs layer 17:10:16 d65c8cfc05b1: Pulling fs layer 17:10:16 2437ff75d9bd: Pulling fs layer 17:10:16 765212b225bb: Waiting 17:10:16 d65c8cfc05b1: Waiting 17:10:16 f23df028b6ca: Waiting 17:10:16 2437ff75d9bd: Waiting 17:10:16 04944245beec: Verifying Checksum 17:10:16 04944245beec: Download complete 17:10:16 765212b225bb: Verifying Checksum 17:10:16 765212b225bb: Download complete 17:10:16 f23df028b6ca: Verifying Checksum 17:10:16 f23df028b6ca: Download complete 17:10:16 d65c8cfc05b1: Verifying Checksum 17:10:16 d65c8cfc05b1: Download complete 17:10:16 699f458cf7ca: Verifying Checksum 17:10:16 699f458cf7ca: Download complete 17:10:17 8998bd30e6a1: Verifying Checksum 17:10:17 8998bd30e6a1: Download complete 17:10:19 2437ff75d9bd: Verifying Checksum 17:10:19 2437ff75d9bd: Download complete 17:10:20 8998bd30e6a1: Pull complete 17:10:21 04944245beec: Pull complete 17:10:22 699f458cf7ca: Pull complete 17:10:22 765212b225bb: Pull complete 17:10:23 f23df028b6ca: Pull complete 17:10:23 d65c8cfc05b1: Pull complete 17:10:38 2437ff75d9bd: Pull complete 17:10:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:10:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:10:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:38 prd-ubuntu20.04-docker-arm64-4c-16g-6144 does not seem to be running inside a container 17:10:38 $ 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/158 -v /w/workspace/device-sdk-go/158:/w/workspace/device-sdk-go/158:rw,z -v /w/workspace/device-sdk-go/158@tmp:/w/workspace/device-sdk-go/158@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 17:10:41 $ docker top c626af27b4d4b0f5f775af59d80b9fb3d1addcf06e0cfcd3b77d5e87953123f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:10:42 ---> job-cost.sh 17:10:42 lf-activate-venv: SKIPPING 17:10:42 INFO: No Stack... 17:10:42 INFO: Retrieving Pricing Info for: v3-standard-4 17:10:43 INFO: Archiving Costs [Pipeline] sh 17:10:44 + cat /w/workspace/device-sdk-go/158/archives/cost.csv 17:10:44 + cut -d, -f6 [Pipeline] lock 17:10:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-158-stack-cost] 17:10:44 Resource [jenkins-edgexfoundry-device-sdk-go-main-158-stack-cost] did not exist. Created. 17:10:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:10:45 /w/workspace/device-sdk-go/158@tmp/durable-171e105a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:10:45 + echo total: 0.10999999940395355 [Pipeline] stash 17:10:45 Warning: overwriting stash ‘stack-cost’ 17:10:46 Stashed 1 file(s) [Pipeline] } 17:10:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-158-stack-cost] [Pipeline] // lock [Pipeline] } 17:10:46 $ docker stop --time=1 c626af27b4d4b0f5f775af59d80b9fb3d1addcf06e0cfcd3b77d5e87953123f8 17:10:47 $ docker rm -f --volumes c626af27b4d4b0f5f775af59d80b9fb3d1addcf06e0cfcd3b77d5e87953123f8 [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 17:10:48 provisioning config files... 17:10:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11737517531693482099tmp [Pipeline] { [Pipeline] sh 17:10:48 + set +x 17:10:48 + curl -s https://codecov.io/bash 17:10:48 + bash -s -- 17:10:48 17:10:48 _____ _ 17:10:48 / ____| | | 17:10:48 | | ___ __| | ___ ___ _____ __ 17:10:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:10:48 | |___| (_) | (_| | __/ (_| (_) \ V / 17:10:48 \_____\___/ \__,_|\___|\___\___/ \_/ 17:10:48 Bash-1.0.6 17:10:48 17:10:48 17:10:48 ==> git version 2.25.1 found 17:10:48 ==> 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 17:10:48 Release-Date: 2020-01-08 17:10:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:10:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:10:48 ==> Jenkins CI detected. 17:10:48 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 17:10:48 project root: . 17:10:48 --> token set from env 17:10:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:10:48 ==> Running gcov in . (disable via -X gcov) 17:10:48 ==> Python coveragepy not found 17:10:48 ==> Searching for coverage reports in: 17:10:48 + . 17:10:48 -> Found 1 reports 17:10:48 ==> Detecting git/mercurial file structure 17:10:48 ==> Reading reports 17:10:48 + ./coverage.out bytes=98701 17:10:48 ==> Appending adjustments 17:10:48 https://docs.codecov.io/docs/fixing-reports 17:10:48 + Found adjustments 17:10:48 ==> Gzipping contents 17:10:48 16K /tmp/codecov.0GOOLj.gz 17:10:48 ==> Uploading reports 17:10:48 url: https://codecov.io 17:10:48 query: branch=main&commit=cf150bd1006c505b2559d8970edbe52dd5fe7567&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:10:48 -> Pinging Codecov 17:10:48 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=cf150bd1006c505b2559d8970edbe52dd5fe7567&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:10:49 -> Uploading to 17:10:49 https://storage.googleapis.com/codecov/v4/raw/2023-02-15/7E55EF52A471D76F132DFD9A03CDDE97/cf150bd1006c505b2559d8970edbe52dd5fe7567/be7e9602-fc93-4118-8563-1052530a3b47.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T171048Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=05a7e98dd3ceb3366040d66ba667d98df6947ca94ef02192c3af92f9e2980119 17:10:49 % Total % Received % Xferd Average Speed Time Time Time Current 17:10:49 Dload Upload Total Spent Left Speed 17:10:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14373 0 0 100 14373 0 53431 --:--:-- --:--:-- --:--:-- 53233 100 14373 0 0 100 14373 0 53431 --:--:-- --:--:-- --:--:-- 53233 17:10:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/cf150bd1006c505b2559d8970edbe52dd5fe7567 [Pipeline] } 17:10:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:10:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:10:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:10:49 17:10:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:10:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:10:50 df9b9388f04a: Pulling fs layer 17:10:50 52dc419b0ee2: Pulling fs layer 17:10:50 25bc292e5bac: Pulling fs layer 17:10:50 114826534d7a: Pulling fs layer 17:10:50 4657fd5d0bcf: Pulling fs layer 17:10:50 6ad1cebc031e: Pulling fs layer 17:10:50 8a3aa393b2d8: Pulling fs layer 17:10:50 4657fd5d0bcf: Waiting 17:10:50 6ad1cebc031e: Waiting 17:10:50 114826534d7a: Waiting 17:10:50 8a3aa393b2d8: Waiting 17:10:50 25bc292e5bac: Verifying Checksum 17:10:50 25bc292e5bac: Download complete 17:10:50 52dc419b0ee2: Download complete 17:10:50 4657fd5d0bcf: Verifying Checksum 17:10:50 4657fd5d0bcf: Download complete 17:10:50 df9b9388f04a: Verifying Checksum 17:10:50 df9b9388f04a: Download complete 17:10:50 df9b9388f04a: Pull complete 17:10:50 52dc419b0ee2: Pull complete 17:10:50 25bc292e5bac: Pull complete 17:10:50 6ad1cebc031e: Verifying Checksum 17:10:50 6ad1cebc031e: Download complete 17:10:51 114826534d7a: Verifying Checksum 17:10:51 114826534d7a: Download complete 17:10:51 8a3aa393b2d8: Verifying Checksum 17:10:51 8a3aa393b2d8: Download complete 17:10:55 114826534d7a: Pull complete 17:10:55 4657fd5d0bcf: Pull complete 17:10:55 6ad1cebc031e: Pull complete 17:10:57 8a3aa393b2d8: Pull complete 17:10:57 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:10:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:10:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:57 prd-ubuntu20.04-docker-8c-8g-6139 does not seem to be running inside a container 17:10:57 $ 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 17:11:00 $ docker top fceb108378190635577f389d701895c488acab8864f00a265785510a9667358c -eo pid,comm [Pipeline] { [Pipeline] echo 17:11:00 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 17:11:00 + set -o pipefail 17:11:00 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 17:11:06 17:11:06 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 17:11:06 17:11:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/202436d8-ef0f-407f-810c-62ebc3dd2269 17:11:06 17:11:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:11:06 17:11:06 17:11:06 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:11:06 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:11:06 More details here: https://snyk.co/ue1NS [Pipeline] } 17:11:06 $ docker stop --time=1 fceb108378190635577f389d701895c488acab8864f00a265785510a9667358c 17:11:09 $ docker rm -f --volumes fceb108378190635577f389d701895c488acab8864f00a265785510a9667358c [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 17:11:09 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:11:09 provisioning config files... 17:11:09 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3646827378573718714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:11:09 --> edgex-publish-swagger.sh 17:11:09 === Publish openapi/v3 API === 17:11:09 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 17:11:09 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 17:11:09 % Total % Received % Xferd Average Speed Time Time Time Current 17:11:09 Dload Upload Total Spent Left Speed 17:11:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 25278 0 0 100 25278 0 52882 --:--:-- --:--:-- --:--:-- 52882 17:11:10 17:11:10 [Pipeline] } 17:11:10 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 17:11:10 + git log --format=format:%s -1 cf150bd1006c505b2559d8970edbe52dd5fe7567 [Pipeline] sh 17:11:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:11:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:11:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:11:11 prd-ubuntu20.04-docker-8c-8g-6139 does not seem to be running inside a container 17:11:11 $ 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 17:11:11 $ docker top af1517b47383506bcb32b23ec352c6c186fa93601eb3783b9d0502cc42c9bdc8 -eo pid,comm 17:11:11 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). 17:11:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:11:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:11:11 [ssh-agent] Looking for ssh-agent implementation... 17:11:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:11:11 $ docker exec af1517b47383506bcb32b23ec352c6c186fa93601eb3783b9d0502cc42c9bdc8 ssh-agent 17:11:12 SSH_AUTH_SOCK=/tmp/ssh-kvDWiEStgRPo/agent.32 17:11:12 SSH_AGENT_PID=38 17:11:12 Running ssh-add (command line suppressed) 17:11:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12044261094217376045.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12044261094217376045.key) 17:11:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:11:12 + git semver tag 17:11:12 2023-02-15 17:11:12,589 [run_tag] DEBUG tag force:False 17:11:12 2023-02-15 17:11:12,589 [check_head_tag] DEBUG check head tag 17:11:12 2023-02-15 17:11:12,591 [execute] INFO git cat-file --batch-check 17:11:12 2023-02-15 17:11:12,591 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 17:11:12 2023-02-15 17:11:12,593 [execute] INFO git cat-file --batch 17:11:12 2023-02-15 17:11:12,593 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 17:11:12 2023-02-15 17:11:12,625 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:11:12 2023-02-15 17:11:12,625 [execute] INFO git tag -a v3.0.0-dev.28 -m v3.0.0-dev.28 17:11:12 2023-02-15 17:11:12,625 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.28', '-m', 'v3.0.0-dev.28'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 17:11:12 2023-02-15 17:11:12,630 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:11:12 3.0.0-dev.28 [Pipeline] } 17:11:12 $ docker exec --env ******** --env ******** af1517b47383506bcb32b23ec352c6c186fa93601eb3783b9d0502cc42c9bdc8 ssh-agent -k 17:11:12 unset SSH_AUTH_SOCK; 17:11:12 unset SSH_AGENT_PID; 17:11:12 echo Agent pid 38 killed; 17:11:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:11:13 + git semver [Pipeline] } 17:11:13 $ docker stop --time=1 af1517b47383506bcb32b23ec352c6c186fa93601eb3783b9d0502cc42c9bdc8 17:11:14 $ docker rm -f --volumes af1517b47383506bcb32b23ec352c6c186fa93601eb3783b9d0502cc42c9bdc8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:11:15 17:11:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:11:15 0.23.1-centos7: Pulling from edgex-lftools 17:11:15 ab5ef0e58194: Pulling fs layer 17:11:15 9712f1f96733: Pulling fs layer 17:11:15 63f879dbbcfc: Pulling fs layer 17:11:15 0d9ebad4ef96: Pulling fs layer 17:11:15 e9a5061849ea: Pulling fs layer 17:11:15 d747dcd14b5f: Pulling fs layer 17:11:15 2de7ff778b66: Pulling fs layer 17:11:15 0d9ebad4ef96: Waiting 17:11:15 e9a5061849ea: Waiting 17:11:15 d747dcd14b5f: Waiting 17:11:15 2de7ff778b66: Waiting 17:11:15 9712f1f96733: Verifying Checksum 17:11:15 9712f1f96733: Download complete 17:11:15 63f879dbbcfc: Verifying Checksum 17:11:15 63f879dbbcfc: Download complete 17:11:16 e9a5061849ea: Verifying Checksum 17:11:16 e9a5061849ea: Download complete 17:11:16 d747dcd14b5f: Verifying Checksum 17:11:16 d747dcd14b5f: Download complete 17:11:16 0d9ebad4ef96: Verifying Checksum 17:11:16 0d9ebad4ef96: Download complete 17:11:16 ab5ef0e58194: Verifying Checksum 17:11:16 ab5ef0e58194: Download complete 17:11:16 2de7ff778b66: Verifying Checksum 17:11:16 2de7ff778b66: Download complete 17:11:19 ab5ef0e58194: Pull complete 17:11:19 9712f1f96733: Pull complete 17:11:19 63f879dbbcfc: Pull complete 17:11:23 0d9ebad4ef96: Pull complete 17:11:23 e9a5061849ea: Pull complete 17:11:23 d747dcd14b5f: Pull complete 17:11:24 2de7ff778b66: Pull complete 17:11:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:11:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:11:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:11:24 prd-ubuntu20.04-docker-8c-8g-6139 does not seem to be running inside a container 17:11:24 $ 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 17:11:26 $ docker top 5a31ab128112d3a5a648d8db5b2bf4a82a59ab8cf9312996f16dd5fd038a44b3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:11:26 provisioning config files... 17:11:26 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7859004494498080403tmp 17:11:26 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2725357261844661109tmp 17:11:26 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7642366693072181482tmp [Pipeline] { [Pipeline] echo 17:11:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:11:27 ---> sigul-configuration.sh 17:11:27 gpg: directory `/root/.gnupg' created 17:11:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:11:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:11:27 gpg: keyring `/root/.gnupg/secring.gpg' created 17:11:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:11:27 gpg: CAST5 encrypted data 17:11:27 gpg: encrypted with 1 passphrase 17:11:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:11:27 + mkdir /home/jenkins 17:11:27 + mkdir /home/jenkins/sigul [Pipeline] sh 17:11:27 + 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 17:11:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:11:28 ---> sigul-install.sh 17:11:28 Sigul already installed; skipping installation. [Pipeline] sh 17:11:28 + git tag --list 17:11:28 0.7.1 17:11:28 delhi-tag 17:11:28 v1.0.0 17:11:28 v1.1.0 17:11:28 v1.1.1 17:11:28 v1.1.2 17:11:28 v1.2.0 17:11:28 v1.2.1 17:11:28 v1.2.2 17:11:28 v1.2.3 17:11:28 v1.3.0 17:11:28 v1.4.0 17:11:28 v2.0.0 17:11:28 v2.1.0 17:11:28 v2.1.1 17:11:28 v2.1.1-dev.2 17:11:28 v2.1.1-dev.3 17:11:28 v2.2.0 17:11:28 v2.2.1-dev.1 17:11:28 v2.2.1-dev.10 17:11:28 v2.2.1-dev.11 17:11:28 v2.2.1-dev.12 17:11:28 v2.2.1-dev.13 17:11:28 v2.2.1-dev.14 17:11:28 v2.2.1-dev.2 17:11:28 v2.2.1-dev.3 17:11:28 v2.2.1-dev.4 17:11:28 v2.2.1-dev.5 17:11:28 v2.2.1-dev.6 17:11:28 v2.2.1-dev.7 17:11:28 v2.2.1-dev.8 17:11:28 v2.2.1-dev.9 17:11:28 v2.3.0 17:11:28 v2.3.0-dev.14 17:11:28 v2.3.0-dev.15 17:11:28 v2.3.0-dev.16 17:11:28 v2.3.0-dev.17 17:11:28 v2.3.0-dev.18 17:11:28 v2.3.0-dev.19 17:11:28 v2.3.0-dev.20 17:11:28 v2.3.0-dev.21 17:11:28 v2.3.0-dev.22 17:11:28 v2.3.0-dev.23 17:11:28 v2.3.0-dev.24 17:11:28 v2.3.0-dev.25 17:11:28 v2.3.0-dev.26 17:11:28 v2.3.0-dev.27 17:11:28 v2.3.0-dev.28 17:11:28 v2.3.0-dev.29 17:11:28 v2.3.0-dev.30 17:11:28 v2.3.0-dev.31 17:11:28 v2.3.0-dev.32 17:11:28 v2.3.0-dev.33 17:11:28 v2.3.0-dev.34 17:11:28 v2.3.0-dev.35 17:11:28 v2.3.0-dev.36 17:11:28 v2.3.0-dev.37 17:11:28 v2.3.0-dev.38 17:11:28 v2.3.0-dev.39 17:11:28 v2.3.0-dev.40 17:11:28 v2.3.0-dev.41 17:11:28 v2.3.0-dev.42 17:11:28 v2.3.0-dev.43 17:11:28 v2.3.0-dev.44 17:11:28 v2.3.0-dev.45 17:11:28 v2.3.0-dev.46 17:11:28 v2.3.0-dev.47 17:11:28 v2.3.0-dev.48 17:11:28 v2.3.0-dev.49 17:11:28 v2.3.0-dev.50 17:11:28 v2.3.0-dev.51 17:11:28 v2.3.1-dev.1 17:11:28 v2.3.1-dev.2 17:11:28 v3.0.0-dev.1 17:11:28 v3.0.0-dev.10 17:11:28 v3.0.0-dev.11 17:11:28 v3.0.0-dev.12 17:11:28 v3.0.0-dev.13 17:11:28 v3.0.0-dev.14 17:11:28 v3.0.0-dev.15 17:11:28 v3.0.0-dev.16 17:11:28 v3.0.0-dev.17 17:11:28 v3.0.0-dev.18 17:11:28 v3.0.0-dev.19 17:11:28 v3.0.0-dev.2 17:11:28 v3.0.0-dev.20 17:11:28 v3.0.0-dev.21 17:11:28 v3.0.0-dev.22 17:11:28 v3.0.0-dev.23 17:11:28 v3.0.0-dev.24 17:11:28 v3.0.0-dev.25 17:11:28 v3.0.0-dev.26 17:11:28 v3.0.0-dev.27 17:11:28 v3.0.0-dev.28 17:11:28 v3.0.0-dev.3 17:11:28 v3.0.0-dev.4 17:11:28 v3.0.0-dev.5 17:11:28 v3.0.0-dev.6 17:11:28 v3.0.0-dev.7 17:11:28 v3.0.0-dev.8 17:11:28 v3.0.0-dev.9 [Pipeline] sh 17:11:28 + lftools sign git-tag v3.0.0-dev.28 17:11:29 Signing Git tag with Sigul... 17:11:29 Signing v3.0.0-dev.28 [Pipeline] echo 17:11:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:11:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:11:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:11:29 $ docker stop --time=1 5a31ab128112d3a5a648d8db5b2bf4a82a59ab8cf9312996f16dd5fd038a44b3 17:11:31 $ docker rm -f --volumes 5a31ab128112d3a5a648d8db5b2bf4a82a59ab8cf9312996f16dd5fd038a44b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:11:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:11:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:11:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:11:31 prd-ubuntu20.04-docker-8c-8g-6139 does not seem to be running inside a container 17:11:31 $ 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 17:11:32 $ docker top 4907112b7658690ca1f9b15ed8c895780f2a5c6f687b9254e836c7f3a591faf2 -eo pid,comm 17:11:32 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). 17:11:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:11:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:11:32 [ssh-agent] Looking for ssh-agent implementation... 17:11:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:11:32 $ docker exec 4907112b7658690ca1f9b15ed8c895780f2a5c6f687b9254e836c7f3a591faf2 ssh-agent 17:11:32 SSH_AUTH_SOCK=/tmp/ssh-ORU84CnUujHq/agent.32 17:11:32 SSH_AGENT_PID=38 17:11:32 Running ssh-add (command line suppressed) 17:11:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3693826241264999536.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3693826241264999536.key) 17:11:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:11:32 + git semver bump pre 17:11:33 2023-02-15 17:11:33,182 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:11:33 2023-02-15 17:11:33,183 [bump_version] DEBUG bumping version:3.0.0-dev.28 on axis:pre with prefix:dev 17:11:33 2023-02-15 17:11:33,183 [bump_version] DEBUG bumped version:3.0.0-dev.29 17:11:33 2023-02-15 17:11:33,183 [write_version] DEBUG write version:3.0.0-dev.29 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 17:11:33 2023-02-15 17:11:33,183 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:11:33 2023-02-15 17:11:33,183 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:11:33 2023-02-15 17:11:33,186 [execute] INFO git cat-file --batch-check 17:11:33 2023-02-15 17:11:33,186 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:11:33 2023-02-15 17:11:33,192 [execute] INFO git cat-file --batch 17:11:33 2023-02-15 17:11:33,192 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:11:33 2023-02-15 17:11:33,197 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:11:33 3.0.0-dev.29 [Pipeline] } 17:11:33 $ docker exec --env ******** --env ******** 4907112b7658690ca1f9b15ed8c895780f2a5c6f687b9254e836c7f3a591faf2 ssh-agent -k 17:11:33 unset SSH_AUTH_SOCK; 17:11:33 unset SSH_AGENT_PID; 17:11:33 echo Agent pid 38 killed; 17:11:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:11:33 + git semver [Pipeline] } 17:11:33 $ docker stop --time=1 4907112b7658690ca1f9b15ed8c895780f2a5c6f687b9254e836c7f3a591faf2 17:11:35 $ docker rm -f --volumes 4907112b7658690ca1f9b15ed8c895780f2a5c6f687b9254e836c7f3a591faf2 [Pipeline] // withDockerContainer [Pipeline] sh 17:11:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:11:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:11:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:11:35 prd-ubuntu20.04-docker-8c-8g-6139 does not seem to be running inside a container 17:11:36 $ 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 17:11:36 $ docker top e4f0367d0416b57c0390f870c23b88104e6937c00117320d3585fe03eca27453 -eo pid,comm 17:11:36 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). 17:11:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:11:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:11:36 [ssh-agent] Looking for ssh-agent implementation... 17:11:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:11:36 $ docker exec e4f0367d0416b57c0390f870c23b88104e6937c00117320d3585fe03eca27453 ssh-agent 17:11:36 SSH_AUTH_SOCK=/tmp/ssh-6cftnskKSthE/agent.32 17:11:36 SSH_AGENT_PID=38 17:11:36 Running ssh-add (command line suppressed) 17:11:36 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14717030076530896941.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14717030076530896941.key) 17:11:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:11:37 + git semver push 17:11:37 2023-02-15 17:11:37,242 [run_push] DEBUG push 17:11:37 2023-02-15 17:11:37,242 [execute] INFO git cat-file --batch-check 17:11:37 2023-02-15 17:11:37,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:11:37 2023-02-15 17:11:37,245 [execute] INFO git rev-list 55fc1519ad62cbef3bf6bad79255aa077d1d4631 -- 17:11:37 2023-02-15 17:11:37,245 [execute] DEBUG Popen(['git', 'rev-list', '55fc1519ad62cbef3bf6bad79255aa077d1d4631', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:11:37 2023-02-15 17:11:37,256 [execute] INFO git fetch -v origin 17:11:37 2023-02-15 17:11:37,257 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:11:37 2023-02-15 17:11:37,850 [run_push] DEBUG no remote changes detected 17:11:37 2023-02-15 17:11:37,851 [execute] INFO git push origin semver 17:11:37 2023-02-15 17:11:37,851 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:11:38 2023-02-15 17:11:38,754 [run_push] DEBUG push all version tags 17:11:38 2023-02-15 17:11:38,754 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:11:38 2023-02-15 17:11:38,755 [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) 17:11:39 2023-02-15 17:11:39,669 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:11:39 3.0.0-dev.29 [Pipeline] } 17:11:39 $ docker exec --env ******** --env ******** e4f0367d0416b57c0390f870c23b88104e6937c00117320d3585fe03eca27453 ssh-agent -k 17:11:39 unset SSH_AUTH_SOCK; 17:11:39 unset SSH_AGENT_PID; 17:11:39 echo Agent pid 38 killed; 17:11:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:11:40 + git semver [Pipeline] } 17:11:40 $ docker stop --time=1 e4f0367d0416b57c0390f870c23b88104e6937c00117320d3585fe03eca27453 17:11:41 $ docker rm -f --volumes e4f0367d0416b57c0390f870c23b88104e6937c00117320d3585fe03eca27453 [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 17:11:42 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 17:11:42 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:11:42 total 16 17:11:42 drwxr-xr-x 3 root root 4096 Feb 15 16:59 . 17:11:42 drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 17:11 .. 17:11:42 drwxr-xr-x 2 root root 4096 Feb 15 16:59 cost 17:11:42 -rw-r--r-- 1 root root 85 Feb 15 16:59 cost.csv 17:11:42 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:11:42 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:11:42 total 16 17:11:42 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 16:59 . 17:11:42 drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 17:11 .. 17:11:42 drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 16:59 cost 17:11:42 -rw-r--r-- 1 jenkins jenkins 85 Feb 15 16:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:11:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:11:43 ---> package-listing.sh 17:11:43 ++ facter osfamily 17:11:43 ++ tr '[:upper:]' '[:lower:]' 17:11:43 + OS_FAMILY=debian 17:11:43 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 17:11:43 + START_PACKAGES=/tmp/packages_start.txt 17:11:43 + END_PACKAGES=/tmp/packages_end.txt 17:11:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:11:43 + PACKAGES=/tmp/packages_start.txt 17:11:43 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 17:11:43 + PACKAGES=/tmp/packages_end.txt 17:11:43 + case "${OS_FAMILY}" in 17:11:43 + dpkg -l 17:11:43 + grep '^ii' 17:11:43 + '[' -f /tmp/packages_start.txt ']' 17:11:43 + '[' -f /tmp/packages_end.txt ']' 17:11:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:11:43 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 17:11:43 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 17:11:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 17:11:43 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 17:11:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:11:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:11:44 prd-ubuntu20.04-docker-8c-8g-6139 does not seem to be running inside a container 17:11:44 $ 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 17:11:45 $ docker top bd46f5a99d068c705c6b4d0448360bd91fa596c93ffb9575cdb4318a834c4795 -eo pid,comm [Pipeline] { [Pipeline] sh 17:11:45 + touch /tmp/pre-build-complete [Pipeline] sh 17:11:45 + mkdir -p /var/log/sysstat [Pipeline] sh 17:11:45 + ls /var/log/sa-host 17:11:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:11:46 provisioning config files... 17:11:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6879177115019484521tmp [Pipeline] { [Pipeline] echo 17:11:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:11:46 ---> create-netrc.sh [Pipeline] } 17:11:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:11:46 ---> python-tools-install.sh [Pipeline] echo 17:11:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:11:46 ---> sudo-logs.sh 17:11:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:11:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:11:47 ---> job-cost.sh 17:11:47 lf-activate-venv: SKIPPING 17:11:47 DEBUG: total: 0.2199999988079071 17:11:47 INFO: Retrieving Stack Cost... 17:11:47 INFO: Retrieving Pricing Info for: v3-standard-8 17:11:48 INFO: Archiving Costs [Pipeline] echo 17:11:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:11:48 ---> logs-deploy.sh 17:11:48 lf-activate-venv: SKIPPING 17:11:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/158 17:11:48 INFO: archiving workspace using pattern(s): 17:11:49 Archives upload complete. 17:11:49 INFO: archiving logs to Nexus