Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 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-ssh7896709790185545645.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh6282520742949519988.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh3246151041166915508.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh1192027894021363520.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh3964301895906708432.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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/v2]] ========================================================= [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.17 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15130 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 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 # timeout=10 Commit message: "Merge pull request #1180 from weichou1229/issue-1179" > git rev-list --no-walk 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:09:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:09:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:09:23 ========================================================= 08:09:23 EdgeX Global Pipelines Version Info 08:09:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:09:23 ------------------- 08:09:23 stable info: 08:09:23 ------------------- 08:09:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:09:23 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 08:09:23 Message: update stable to v1.0.234 08:09:24 ------------------- 08:09:24 experimental info: 08:09:24 ------------------- 08:09:24 Commited By: **** collab-it+edgex@linuxfoundation.org 08:09:24 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 08:09:24 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:09:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:09:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:09:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:09:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 08:09:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:09:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:09:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:09:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:09:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:09:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:09:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:09:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:09:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 [Pipeline] echo 08:09:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4287cc1 [Pipeline] echo 08:09:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:09:25 provisioning config files... 08:09:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5811828323578368899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:09:25 ---> docker-login.sh 08:09:25 nexus3.edgexfoundry.org:10001 08:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:25 Configure a credential helper to remove this warning. See 08:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:25 08:09:25 Login Succeeded 08:09:25 nexus3.edgexfoundry.org:10002 08:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:26 Configure a credential helper to remove this warning. See 08:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:26 08:09:26 Login Succeeded 08:09:26 nexus3.edgexfoundry.org:10003 08:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:26 Configure a credential helper to remove this warning. See 08:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:26 08:09:26 Login Succeeded 08:09:26 nexus3.edgexfoundry.org:10004 08:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:26 Configure a credential helper to remove this warning. See 08:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:26 08:09:26 Login Succeeded 08:09:26 docker.io 08:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:26 Configure a credential helper to remove this warning. See 08:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:26 08:09:26 Login Succeeded 08:09:26 ---> docker-login.sh ends [Pipeline] } 08:09:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:09:26 + git rev-list -1 --merges 4287cc1d4c262ca519b36d36f1d06a90bcd6f745~1..4287cc1d4c262ca519b36d36f1d06a90bcd6f745 [Pipeline] echo 08:09:27 -----------> git rev-list -1 --merges 4287cc1d4c262ca519b36d36f1d06a90bcd6f745~1..4287cc1d4c262ca519b36d36f1d06a90bcd6f745 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 08:09:27 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 [false] [Pipeline] sh 08:09:27 + git log --format=format:%s -1 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 [Pipeline] echo 08:09:27 ========================================================= 08:09:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:09:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:09:27 + git log --format=format:%s -1 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 [Pipeline] echo 08:09:27 [semverPrep] GIT_COMMIT: 4287cc1d4c262ca519b36d36f1d06a90bcd6f745, Commit Message: Merge pull request #1180 from weichou1229/issue-1179 [Pipeline] echo 08:09:27 [semverPrep] This is not a build commit. [Pipeline] sh 08:09:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:09:28 + grep -v github /etc/ssh/ssh_known_hosts 08:09:28 + [ -e /tmp/ssh_known_hosts ] 08:09:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:09:28 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:09:28 sudo tee -a /etc/ssh/ssh_known_hosts 08:09:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:09:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:09:28 08:09:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:09:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:09:28 0.1.4: Pulling from edgex-devops/py-git-semver 08:09:28 42c077c10790: Pulling fs layer 08:09:28 f63e77b7563a: Pulling fs layer 08:09:28 bd5fdadae976: Pulling fs layer 08:09:28 205491f53016: Pulling fs layer 08:09:28 df18705c85c3: Pulling fs layer 08:09:28 bdb3f477010e: Pulling fs layer 08:09:28 c8a8fc8e1c8f: Pulling fs layer 08:09:28 2c6e9b1d212d: Pulling fs layer 08:09:28 bdb8f0575790: Pulling fs layer 08:09:28 386e3cb2ff24: Pulling fs layer 08:09:28 c8a8fc8e1c8f: Waiting 08:09:28 bdb3f477010e: Waiting 08:09:28 205491f53016: Waiting 08:09:28 2343380bae48: Pulling fs layer 08:09:28 bdb8f0575790: Waiting 08:09:28 2343380bae48: Waiting 08:09:28 2c6e9b1d212d: Waiting 08:09:28 df18705c85c3: Waiting 08:09:28 f63e77b7563a: Download complete 08:09:28 205491f53016: Download complete 08:09:29 df18705c85c3: Verifying Checksum 08:09:29 df18705c85c3: Download complete 08:09:29 bd5fdadae976: Verifying Checksum 08:09:29 bd5fdadae976: Download complete 08:09:29 bdb3f477010e: Verifying Checksum 08:09:29 bdb3f477010e: Download complete 08:09:29 2c6e9b1d212d: Verifying Checksum 08:09:29 2c6e9b1d212d: Download complete 08:09:29 bdb8f0575790: Verifying Checksum 08:09:29 bdb8f0575790: Download complete 08:09:29 386e3cb2ff24: Download complete 08:09:29 2343380bae48: Download complete 08:09:29 42c077c10790: Verifying Checksum 08:09:29 42c077c10790: Download complete 08:09:29 c8a8fc8e1c8f: Download complete 08:09:30 42c077c10790: Pull complete 08:09:30 f63e77b7563a: Pull complete 08:09:31 bd5fdadae976: Pull complete 08:09:31 205491f53016: Pull complete 08:09:31 df18705c85c3: Pull complete 08:09:31 bdb3f477010e: Pull complete 08:09:33 c8a8fc8e1c8f: Pull complete 08:09:33 2c6e9b1d212d: Pull complete 08:09:33 bdb8f0575790: Pull complete 08:09:33 386e3cb2ff24: Pull complete 08:09:34 2343380bae48: Pull complete 08:09:34 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 08:09:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:09:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:09:34 prd-ubuntu20.04-docker-8c-8g-15130 does not seem to be running inside a container 08:09:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:09:36 $ docker top 040e1ef77d7a409a99a9dacb5feaaf6d6aa8b9af284fc2fa6617e8f7038a7322 -eo pid,comm 08:09: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). 08:09:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:09:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:09:36 [ssh-agent] Looking for ssh-agent implementation... 08:09:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:09:36 $ docker exec 040e1ef77d7a409a99a9dacb5feaaf6d6aa8b9af284fc2fa6617e8f7038a7322 ssh-agent 08:09:36 SSH_AUTH_SOCK=/tmp/ssh-2zlRdVmOS6D3/agent.33 08:09:36 SSH_AGENT_PID=40 08:09:36 Running ssh-add (command line suppressed) 08:09:36 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_689919202678012538.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_689919202678012538.key) 08:09:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:09:36 + git tag --points-at HEAD [Pipeline] } 08:09:36 $ docker exec --env ******** --env ******** 040e1ef77d7a409a99a9dacb5feaaf6d6aa8b9af284fc2fa6617e8f7038a7322 ssh-agent -k 08:09:37 unset SSH_AUTH_SOCK; 08:09:37 unset SSH_AGENT_PID; 08:09:37 echo Agent pid 40 killed; 08:09:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:09:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:09:37 [ssh-agent] Looking for ssh-agent implementation... 08:09:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:09:37 $ docker exec 040e1ef77d7a409a99a9dacb5feaaf6d6aa8b9af284fc2fa6617e8f7038a7322 ssh-agent 08:09:37 SSH_AUTH_SOCK=/tmp/ssh-S4SzeWdA0mo7/agent.73 08:09:37 SSH_AGENT_PID=79 08:09:37 Running ssh-add (command line suppressed) 08:09:37 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7280742861333596323.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7280742861333596323.key) 08:09:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:09:37 + git semver init 08:09:38 2022-06-20 08:09:38,002 [run_init] DEBUG init version:0.0.0 force:False 08:09:38 2022-06-20 08:09:38,002 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 08:09:38 2022-06-20 08:09:38,003 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 08:09:38 2022-06-20 08:09:38,003 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 08:09:38 2022-06-20 08:09:38,823 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 08:09:38 2022-06-20 08:09:38,823 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 08:09:38 2022-06-20 08:09:38,823 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:09:38 2022-06-20 08:09:38,824 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:09:38 2.2.1-dev.7 [Pipeline] } 08:09:38 $ docker exec --env ******** --env ******** 040e1ef77d7a409a99a9dacb5feaaf6d6aa8b9af284fc2fa6617e8f7038a7322 ssh-agent -k 08:09:39 unset SSH_AUTH_SOCK; 08:09:39 unset SSH_AGENT_PID; 08:09:39 echo Agent pid 79 killed; 08:09:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:09:39 + git semver [Pipeline] } 08:09:39 $ docker stop --time=1 040e1ef77d7a409a99a9dacb5feaaf6d6aa8b9af284fc2fa6617e8f7038a7322 08:09:41 $ docker rm -f 040e1ef77d7a409a99a9dacb5feaaf6d6aa8b9af284fc2fa6617e8f7038a7322 [Pipeline] // withDockerContainer [Pipeline] sh 08:09:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:09:41 Stashed 1 file(s) [Pipeline] echo 08:09:41 [edgeXSemver]: initialized semver on version 2.2.1-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:09:41 provisioning config files... 08:09:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8586224372841656111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:09:42 ---> docker-login.sh 08:09:42 nexus3.edgexfoundry.org:10001 08:09:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:42 Configure a credential helper to remove this warning. See 08:09:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:42 08:09:42 Login Succeeded 08:09:42 nexus3.edgexfoundry.org:10002 08:09:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:42 Configure a credential helper to remove this warning. See 08:09:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:42 08:09:42 Login Succeeded 08:09:42 nexus3.edgexfoundry.org:10003 08:09:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:42 Configure a credential helper to remove this warning. See 08:09:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:42 08:09:42 Login Succeeded 08:09:42 nexus3.edgexfoundry.org:10004 08:09:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:42 Configure a credential helper to remove this warning. See 08:09:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:42 08:09:42 Login Succeeded 08:09:42 docker.io 08:09:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:09:42 Configure a credential helper to remove this warning. See 08:09:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:09:42 08:09:42 Login Succeeded 08:09:42 ---> docker-login.sh ends [Pipeline] } 08:09:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:09:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:09:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:09:42 ========================================================= 08:09:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:09:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:09:43 + 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.17-alpine --build-arg MAKE=echo noop --target=builder . 08:09:43 Sending build context to Docker daemon 9.731MB 08:09:43 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 08:09:43 Step 2/11 : FROM ${BASE} AS builder 08:09:43 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:09:43 59bf1c3509f3: Pulling fs layer 08:09:43 666ba61612fd: Pulling fs layer 08:09:43 8ed8ca486205: Pulling fs layer 08:09:43 cc1cd167ecdc: Pulling fs layer 08:09:43 c516ae0d96e1: Pulling fs layer 08:09:43 684cea983483: Pulling fs layer 08:09:43 dd3240ac7de5: Pulling fs layer 08:09:43 b1e948a4e11c: Pulling fs layer 08:09:43 a8fd76ee1af6: Pulling fs layer 08:09:43 646ad004c059: Pulling fs layer 08:09:43 cc1cd167ecdc: Waiting 08:09:43 b1e948a4e11c: Waiting 08:09:43 684cea983483: Waiting 08:09:43 a8fd76ee1af6: Waiting 08:09:43 646ad004c059: Waiting 08:09:43 dd3240ac7de5: Waiting 08:09:43 8ed8ca486205: Verifying Checksum 08:09:43 8ed8ca486205: Download complete 08:09:43 666ba61612fd: Verifying Checksum 08:09:43 666ba61612fd: Download complete 08:09:43 c516ae0d96e1: Verifying Checksum 08:09:43 c516ae0d96e1: Download complete 08:09:43 684cea983483: Download complete 08:09:43 dd3240ac7de5: Verifying Checksum 08:09:43 dd3240ac7de5: Download complete 08:09:43 59bf1c3509f3: Download complete 08:09:43 b1e948a4e11c: Verifying Checksum 08:09:43 b1e948a4e11c: Download complete 08:09:43 59bf1c3509f3: Pull complete 08:09:43 666ba61612fd: Pull complete 08:09:43 8ed8ca486205: Pull complete 08:09:44 646ad004c059: Verifying Checksum 08:09:44 646ad004c059: Download complete 08:09:44 a8fd76ee1af6: Verifying Checksum 08:09:44 a8fd76ee1af6: Download complete 08:09:44 cc1cd167ecdc: Verifying Checksum 08:09:44 cc1cd167ecdc: Download complete 08:09:48 cc1cd167ecdc: Pull complete 08:09:48 c516ae0d96e1: Pull complete 08:09:48 684cea983483: Pull complete 08:09:48 dd3240ac7de5: Pull complete 08:09:48 b1e948a4e11c: Pull complete 08:09:51 a8fd76ee1af6: Pull complete 08:09:51 646ad004c059: Pull complete 08:09:51 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 08:09:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:09:51 ---> 8f69c11f6b0c 08:09:51 Step 3/11 : ARG MAKE=make build 08:09:53 ---> Running in b8d7f953652b 08:09:53 Removing intermediate container b8d7f953652b 08:09:53 ---> 19576e371949 08:09:53 Step 4/11 : WORKDIR /device-sdk-go 08:09:53 ---> Running in ede07a60df74 08:09:53 Removing intermediate container ede07a60df74 08:09:53 ---> a72370c25073 08:09:53 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:09:53 ---> Running in 2c42af7adcf0 08:09:53 Removing intermediate container 2c42af7adcf0 08:09:53 ---> bc0dec86156f 08:09:53 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:09:54 ---> Running in d1017d62a9b0 08:09:54 Removing intermediate container d1017d62a9b0 08:09:54 ---> c5f3259e4a05 08:09:54 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:09:54 ---> Running in da0828037a1f 08:09:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:09:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:09:56 OK: 221 MiB in 52 packages 08:09:56 Removing intermediate container da0828037a1f 08:09:56 ---> 2460e5ba74b5 08:09:56 Step 8/11 : COPY go.mod vendor* ./ 08:09:56 ---> 060514bf012c 08:09:56 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:09:56 ---> Running in 956a30058692 08:09:56 Still waiting to schedule task 08:09:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:10:14 Removing intermediate container 956a30058692 08:10:14 ---> 646593d064f5 08:10:14 Step 10/11 : COPY . . 08:10:14 ---> fd51790807c7 08:10:14 Step 11/11 : RUN ${MAKE} 08:10:14 ---> Running in 61fd718857aa 08:10:14 noop 08:10:14 Removing intermediate container 61fd718857aa 08:10:14 ---> 5fcce4d62ea6 08:10:14 Successfully built 5fcce4d62ea6 08:10:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:10:15 + docker inspect -f . ci-base-image-x86_64 08:10:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:10:15 prd-ubuntu20.04-docker-8c-8g-15130 does not seem to be running inside a container 08:10:15 $ 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 08:10:15 $ docker top 7a7bd93763c6bae5b7412aadbfdc53e083f7a61e52b4fd8cc4c521b868d0ba9d -eo pid,comm [Pipeline] { [Pipeline] sh 08:10:16 + go version 08:10:16 go version go1.17.7 linux/amd64 [Pipeline] } 08:10:16 $ docker stop --time=1 7a7bd93763c6bae5b7412aadbfdc53e083f7a61e52b4fd8cc4c521b868d0ba9d 08:10:17 $ docker rm -f 7a7bd93763c6bae5b7412aadbfdc53e083f7a61e52b4fd8cc4c521b868d0ba9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:10:17 + docker inspect -f . ci-base-image-x86_64 08:10:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:10:17 prd-ubuntu20.04-docker-8c-8g-15130 does not seem to be running inside a container 08:10:17 $ 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 08:10:18 $ docker top 6b2888ffbad3199bba7900172c22fb9635aec7d49291856939c78cd4c9add57d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:10:18 + make test 08:10:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:10:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:10:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:10:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:10:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:10:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.071s coverage: 23.7% of statements 08:10:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:10:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements 08:10:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 78.9% of statements 08:10:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.068s coverage: 10.8% of statements 08:10:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.088s coverage: 60.0% of statements 08:10:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:10:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:10:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.077s coverage: 34.8% of statements 08:10:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:10:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.083s coverage: 85.4% of statements 08:10:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:10:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:10:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.095s coverage: 65.1% of statements 08:10:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.835s coverage: 89.2% of statements 08:10:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 08:10:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.7% of statements 08:10:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:10:52 GO111MODULE=on go vet ./... 08:10:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:10:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:10:54 ./bin/test-attribution-txt.sh [Pipeline] echo 08:10:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:10:55 $ docker stop --time=1 6b2888ffbad3199bba7900172c22fb9635aec7d49291856939c78cd4c9add57d 08:10:57 $ docker rm -f 6b2888ffbad3199bba7900172c22fb9635aec7d49291856939c78cd4c9add57d [Pipeline] // withDockerContainer [Pipeline] sh 08:10:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:10:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:10:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:10:58 + ls -al . 08:10:58 total 304 08:10:58 drwxrwxr-x 11 jenkins jenkins 4096 Jun 20 08:10 . 08:10:58 drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 08:09 .. 08:10:58 -rw-rw-r-- 1 jenkins jenkins 140 Jun 20 08:09 .dockerignore 08:10:58 drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 08:09 .git 08:10:58 drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 08:09 .github 08:10:58 -rw-rw-r-- 1 jenkins jenkins 131 Jun 20 08:09 .gitignore 08:10:58 -rw-rw-r-- 1 jenkins jenkins 42 Jun 20 08:09 .golangci.yml 08:10:58 drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 08:09 .semver 08:10:58 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 20 08:09 CHANGELOG.md 08:10:58 -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 08:09 GOVERNANCE.md 08:10:58 -rw-rw-r-- 1 jenkins jenkins 880 Jun 20 08:09 Jenkinsfile 08:10:58 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 20 08:09 LICENSE 08:10:58 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 20 08:09 Makefile 08:10:58 -rw-rw-r-- 1 jenkins jenkins 619 Jun 20 08:09 OWNERS.md 08:10:58 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 20 08:09 README.md 08:10:58 -rw-rw-r-- 1 jenkins jenkins 11 Jun 20 08:09 VERSION 08:10:58 drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 08:09 bin 08:10:58 -rw-r--r-- 1 jenkins jenkins 131190 Jun 20 08:10 coverage.out 08:10:58 drwxrwxr-x 5 jenkins jenkins 4096 Jun 20 08:09 example 08:10:58 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 20 08:09 go.mod 08:10:58 -rw-rw-r-- 1 jenkins jenkins 34801 Jun 20 08:09 go.sum 08:10:58 drwxrwxr-x 15 jenkins jenkins 4096 Jun 20 08:09 internal 08:10:58 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 08:09 openapi 08:10:58 drwxrwxr-x 5 jenkins jenkins 4096 Jun 20 08:09 pkg 08:10:58 drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 08:09 snap 08:10:58 -rw-rw-r-- 1 jenkins jenkins 222 Jun 20 08:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:10:59 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=4287cc1d4c262ca519b36d36f1d06a90bcd6f745 --label arch=amd64 --label version=2.2.1-dev.7 . 08:10:59 Sending build context to Docker daemon 9.863MB 08:10:59 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 08:10:59 Step 2/25 : FROM ${BASE} AS builder 08:10:59 ---> 5fcce4d62ea6 08:10:59 Step 3/25 : ARG MAKE=make build 08:10:59 ---> Running in 3571dd1a431b 08:10:59 Removing intermediate container 3571dd1a431b 08:10:59 ---> ff1b66211882 08:10:59 Step 4/25 : WORKDIR /device-sdk-go 08:10:59 ---> Running in ddc9c42de23c 08:10:59 Removing intermediate container ddc9c42de23c 08:10:59 ---> 2a74a62b8365 08:10:59 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:10:59 ---> Running in 725aab9cffdc 08:10:59 Removing intermediate container 725aab9cffdc 08:10:59 ---> d65ab29a3cba 08:10:59 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:10:59 ---> Running in d7752ae5dff6 08:11:00 Removing intermediate container d7752ae5dff6 08:11:00 ---> 47e47ea2bdd4 08:11:00 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:11:00 ---> Running in 846a712b01b5 08:11:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:11:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:11:02 OK: 221 MiB in 52 packages 08:11:02 Removing intermediate container 846a712b01b5 08:11:02 ---> 236861d77d2b 08:11:02 Step 8/25 : COPY go.mod vendor* ./ 08:11:02 ---> a9b2a0eafd20 08:11:02 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:11:02 ---> Running in e5ba4ff96700 08:11:02 Removing intermediate container e5ba4ff96700 08:11:02 ---> ca60fd9bd732 08:11:02 Step 10/25 : COPY . . 08:11:03 ---> 78bef05a7536 08:11:03 Step 11/25 : RUN ${MAKE} 08:11:03 ---> Running in ecd392f5f04e 08:11:03 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.7" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:11:21 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:11:22 Removing intermediate container ecd392f5f04e 08:11:22 ---> 22353511d3a2 08:11:22 Step 12/25 : FROM alpine:3.14 08:11:22 3.14: Pulling from library/alpine 08:11:23 8663204ce13b: Pulling fs layer 08:11:23 8663204ce13b: Verifying Checksum 08:11:23 8663204ce13b: Download complete 08:11:23 8663204ce13b: Pull complete 08:11:23 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:11:23 Status: Downloaded newer image for alpine:3.14 08:11:23 ---> e04c818066af 08:11:23 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:11:23 ---> Running in f98b5db196db 08:11:23 Removing intermediate container f98b5db196db 08:11:23 ---> 0b54f40131eb 08:11:23 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:11:23 ---> Running in 3dadb0e2c30e 08:11:24 Removing intermediate container 3dadb0e2c30e 08:11:24 ---> fc94e6cd90ca 08:11:24 Step 15/25 : RUN apk add --update --no-cache zeromq 08:11:24 ---> Running in 7451480ade71 08:11:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:11:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:11:25 (1/5) Installing libgcc (10.3.1_git20210424-r2) 08:11:25 (2/5) Installing libsodium (1.0.18-r0) 08:11:25 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 08:11:26 (4/5) Installing libzmq (4.3.4-r0) 08:11:26 (5/5) Installing zeromq (4.3.4-r0) 08:11:26 Executing busybox-1.33.1-r7.trigger 08:11:26 OK: 8 MiB in 19 packages 08:11:26 Removing intermediate container 7451480ade71 08:11:26 ---> f1a7ebf2e465 08:11:26 Step 16/25 : WORKDIR / 08:11:26 ---> Running in 6abbb5b5a8bb 08:11:26 Removing intermediate container 6abbb5b5a8bb 08:11:26 ---> 0ff2306c9511 08:11:26 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:11:26 ---> e3a5505b11ed 08:11:26 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:11:27 ---> 17cd449b5f63 08:11:27 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:11:27 ---> 24b33c572111 08:11:27 Step 20/25 : EXPOSE 59999 08:11:27 ---> Running in b257f4ff9330 08:11:27 Removing intermediate container b257f4ff9330 08:11:27 ---> 5d8b9b69605c 08:11:27 Step 21/25 : ENTRYPOINT ["/device-simple"] 08:11:27 ---> Running in 9a19a75703e4 08:11:27 Removing intermediate container 9a19a75703e4 08:11:27 ---> 50ea3ff4878f 08:11:27 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:11:27 ---> Running in aa6f579cef06 08:11:27 Removing intermediate container aa6f579cef06 08:11:27 ---> 444e8b8100d5 08:11:27 Step 23/25 : LABEL arch=amd64 08:11:27 ---> Running in 0063d1353687 08:11:27 Removing intermediate container 0063d1353687 08:11:27 ---> 1c9bcc7c1ff3 08:11:27 Step 24/25 : LABEL git_sha=4287cc1d4c262ca519b36d36f1d06a90bcd6f745 08:11:27 ---> Running in 608a9109dcdf 08:11:28 Removing intermediate container 608a9109dcdf 08:11:28 ---> 0ce18de1d14d 08:11:28 Step 25/25 : LABEL version=2.2.1-dev.7 08:11:28 ---> Running in f9a8f09bbc0b 08:11:28 Removing intermediate container f9a8f09bbc0b 08:11:28 ---> a4d60ee5bc53 08:11:28 [Warning] One or more build-args [ARCH] were not consumed 08:11:28 Successfully built a4d60ee5bc53 08:11:28 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:11:28 08:11:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:11:28 latest: Pulling from edgex-lftools-log-publisher 08:11:28 5eb5b503b376: Pulling fs layer 08:11:28 5c69ac0246d0: Pulling fs layer 08:11:28 ec43610c2a17: Pulling fs layer 08:11:28 3a2ae6a8a46f: Pulling fs layer 08:11:28 33b1e0a273af: Pulling fs layer 08:11:28 5d3b04190fa2: Pulling fs layer 08:11:28 2f39f015ded8: Pulling fs layer 08:11:28 2f39f015ded8: Waiting 08:11:28 3a2ae6a8a46f: Waiting 08:11:28 33b1e0a273af: Waiting 08:11:28 5d3b04190fa2: Waiting 08:11:28 5c69ac0246d0: Verifying Checksum 08:11:28 5c69ac0246d0: Download complete 08:11:28 33b1e0a273af: Verifying Checksum 08:11:28 33b1e0a273af: Download complete 08:11:28 5d3b04190fa2: Verifying Checksum 08:11:28 5d3b04190fa2: Download complete 08:11:29 ec43610c2a17: Verifying Checksum 08:11:29 5eb5b503b376: Verifying Checksum 08:11:29 5eb5b503b376: Download complete 08:11:29 2f39f015ded8: Download complete 08:11:30 5eb5b503b376: Pull complete 08:11:30 5c69ac0246d0: Pull complete 08:11:30 ec43610c2a17: Pull complete 08:11:30 3a2ae6a8a46f: Pull complete 08:11:31 33b1e0a273af: Pull complete 08:11:31 5d3b04190fa2: Pull complete 08:11:35 2f39f015ded8: Pull complete 08:11:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:11:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:11:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:11:35 prd-ubuntu20.04-docker-8c-8g-15130 does not seem to be running inside a container 08:11:35 $ 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 08:11:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15131 in /w/workspace/edgexfoundry_device-sdk-go_main 08:11:37 $ docker top 2d067351c6c5b3e450526a8a6cdb8d7a6268861838de45cf7f94c1a3055b6ab0 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 08:11:37 Running in /w/workspace/device-sdk-go/82 [Pipeline] { [Pipeline] checkout 08:11:37 The recommended git tool is: git 08:11:38 ---> job-cost.sh 08:11:38 lf-activate-venv: SKIPPING 08:11:38 INFO: No Stack... 08:11:38 INFO: Retrieving Pricing Info for: v3-standard-8 08:11:38 INFO: Archiving Costs [Pipeline] sh 08:11:39 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 08:11:39 + cut -d, -f6 [Pipeline] lock 08:11:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-82-stack-cost] 08:11:39 Resource [jenkins-edgexfoundry-device-sdk-go-main-82-stack-cost] did not exist. Created. 08:11:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:11:39 + echo total: 0.2199999988079071 [Pipeline] stash 08:11:39 Stashed 1 file(s) [Pipeline] } 08:11:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-82-stack-cost] [Pipeline] // lock [Pipeline] } 08:11:39 $ docker stop --time=1 2d067351c6c5b3e450526a8a6cdb8d7a6268861838de45cf7f94c1a3055b6ab0 08:11:40 $ docker rm -f 2d067351c6c5b3e450526a8a6cdb8d7a6268861838de45cf7f94c1a3055b6ab0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:11:44 using credential edgex-jenkins-ssh 08:11:44 Cloning the remote Git repository 08:11:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:11:45 > git init /w/workspace/device-sdk-go/82 # timeout=10 08:11:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:11:45 > git --version # timeout=10 08:11:45 > git --version # 'git version 2.25.1' 08:11:45 using GIT_SSH to set credentials SSH Credentials for GitHub 08:11:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:11:47 Avoid second fetch 08:11:47 Checking out Revision 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 (main) 08:11:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:11:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:11:47 > git config core.sparsecheckout # timeout=10 08:11:47 > git checkout -f 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 # timeout=10 08:11:52 Commit message: "Merge pull request #1180 from weichou1229/issue-1179" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:11:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:11:53 % Total % Received % Xferd Average Speed Time Time Time Current 08:11:53 Dload Upload Total Spent Left Speed 08:11:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 59193 0 --:--:-- --:--:-- --:--:-- 59193 [Pipeline] sh 08:11:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:11:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:11:54 + sudo tee /etc/docker/daemon.new 08:11:54 { 08:11:54 "registry-mirrors": [ 08:11:54 "https://nexus3.edgexfoundry.org:10001" 08:11:54 ], 08:11:54 "bip": "10.250.0.254/24", 08:11:54 "hosts": [ 08:11:54 "tcp://0.0.0.0:5555", 08:11:54 "unix:///var/run/docker.sock" 08:11:54 ], 08:11:54 "mtu": 1458, 08:11:54 "selinux-enabled": true, 08:11:54 "seccomp-profile": "/etc/docker/seccomp.json" 08:11:54 } [Pipeline] sh 08:11:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:11:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:12:13 provisioning config files... 08:12:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/82@tmp/config6047669996859762329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:12:13 ---> docker-login.sh 08:12:13 nexus3.edgexfoundry.org:10001 08:12:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:14 Configure a credential helper to remove this warning. See 08:12:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:14 08:12:14 Login Succeeded 08:12:14 nexus3.edgexfoundry.org:10002 08:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:15 Configure a credential helper to remove this warning. See 08:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:15 08:12:15 Login Succeeded 08:12:15 nexus3.edgexfoundry.org:10003 08:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:15 Configure a credential helper to remove this warning. See 08:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:15 08:12:15 Login Succeeded 08:12:15 nexus3.edgexfoundry.org:10004 08:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:16 Configure a credential helper to remove this warning. See 08:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:16 08:12:16 Login Succeeded 08:12:16 docker.io 08:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:16 Configure a credential helper to remove this warning. See 08:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:16 08:12:16 Login Succeeded 08:12:17 ---> docker-login.sh ends [Pipeline] } 08:12:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:12:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:12:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:12:17 ========================================================= 08:12:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:12:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:17 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 08:12:18 Sending build context to Docker daemon 5.209MB 08:12:18 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 08:12:18 Step 2/11 : FROM ${BASE} AS builder 08:12:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:12:18 9b3977197b4f: Pulling fs layer 08:12:18 1a89e8eeedd5: Pulling fs layer 08:12:18 94645a83ff95: Pulling fs layer 08:12:18 e6fb740bc735: Pulling fs layer 08:12:18 3a77bd46dcc9: Pulling fs layer 08:12:18 355e64cbe906: Pulling fs layer 08:12:18 63ab81a10011: Pulling fs layer 08:12:18 555d1d1c4555: Pulling fs layer 08:12:18 7d9057610161: Pulling fs layer 08:12:18 e6fb740bc735: Waiting 08:12:18 3a77bd46dcc9: Waiting 08:12:18 355e64cbe906: Waiting 08:12:18 63ab81a10011: Waiting 08:12:18 7d9057610161: Waiting 08:12:18 555d1d1c4555: Waiting 08:12:18 94645a83ff95: Verifying Checksum 08:12:18 94645a83ff95: Download complete 08:12:18 1a89e8eeedd5: Verifying Checksum 08:12:18 1a89e8eeedd5: Download complete 08:12:18 3a77bd46dcc9: Verifying Checksum 08:12:18 3a77bd46dcc9: Download complete 08:12:18 355e64cbe906: Verifying Checksum 08:12:18 355e64cbe906: Download complete 08:12:18 63ab81a10011: Download complete 08:12:18 9b3977197b4f: Download complete 08:12:19 9b3977197b4f: Pull complete 08:12:19 7d9057610161: Verifying Checksum 08:12:19 7d9057610161: Download complete 08:12:20 1a89e8eeedd5: Pull complete 08:12:20 94645a83ff95: Pull complete 08:12:20 555d1d1c4555: Verifying Checksum 08:12:20 555d1d1c4555: Download complete 08:12:21 e6fb740bc735: Verifying Checksum 08:12:21 e6fb740bc735: Download complete 08:12:33 e6fb740bc735: Pull complete 08:12:33 3a77bd46dcc9: Pull complete 08:12:33 355e64cbe906: Pull complete 08:12:33 63ab81a10011: Pull complete 08:12:40 555d1d1c4555: Pull complete 08:12:42 7d9057610161: Pull complete 08:12:42 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 08:12:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:12:42 ---> 819e984ddca1 08:12:42 Step 3/11 : ARG MAKE=make build 08:12:43 ---> Running in 7b8ec66d6d0e 08:12:43 Removing intermediate container 7b8ec66d6d0e 08:12:43 ---> 34839c47b891 08:12:43 Step 4/11 : WORKDIR /device-sdk-go 08:12:43 ---> Running in c8e49cd09cb9 08:12:43 Removing intermediate container c8e49cd09cb9 08:12:43 ---> 012b505b1beb 08:12:43 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:12:43 ---> Running in dad5cfe2591d 08:12:44 Removing intermediate container dad5cfe2591d 08:12:44 ---> 7595cd4c992f 08:12:44 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:12:44 ---> Running in 6e162a1ee7f9 08:12:46 Removing intermediate container 6e162a1ee7f9 08:12:46 ---> 6b4632bf53e9 08:12:46 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:12:46 ---> Running in 61e5eea0cc63 08:12:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:12:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:12:48 OK: 220 MiB in 52 packages 08:12:49 Removing intermediate container 61e5eea0cc63 08:12:49 ---> 1b9006bad69d 08:12:49 Step 8/11 : COPY go.mod vendor* ./ 08:12:50 ---> de0105bb4407 08:12:50 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:12:50 ---> Running in e30870d4691f 08:13:37 Removing intermediate container e30870d4691f 08:13:37 ---> 365a15b357b6 08:13:37 Step 10/11 : COPY . . 08:13:37 ---> afeaee596deb 08:13:37 Step 11/11 : RUN ${MAKE} 08:13:37 ---> Running in b047a263fe9b 08:13:37 noop 08:13:37 Removing intermediate container b047a263fe9b 08:13:37 ---> d15093540ecf 08:13:37 Successfully built d15093540ecf 08:13:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:37 + docker inspect -f . ci-base-image-arm64 08:13:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:37 prd-ubuntu20.04-docker-arm64-4c-16g-15131 does not seem to be running inside a container 08:13:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/82 -v /w/workspace/device-sdk-go/82:/w/workspace/device-sdk-go/82:rw,z -v /w/workspace/device-sdk-go/82@tmp:/w/workspace/device-sdk-go/82@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 08:13:39 $ docker top 8c7fb93a5c5937ae433fb354629786cc6201edd9f441e22b5ace19f3457bfda0 -eo pid,comm [Pipeline] { [Pipeline] sh 08:13:40 + go version 08:13:40 go version go1.17.7 linux/arm64 [Pipeline] } 08:13:40 $ docker stop --time=1 8c7fb93a5c5937ae433fb354629786cc6201edd9f441e22b5ace19f3457bfda0 08:13:41 $ docker rm -f 8c7fb93a5c5937ae433fb354629786cc6201edd9f441e22b5ace19f3457bfda0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:42 + docker inspect -f . ci-base-image-arm64 08:13:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:42 prd-ubuntu20.04-docker-arm64-4c-16g-15131 does not seem to be running inside a container 08:13:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/82 -v /w/workspace/device-sdk-go/82:/w/workspace/device-sdk-go/82:rw,z -v /w/workspace/device-sdk-go/82@tmp:/w/workspace/device-sdk-go/82@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 08:13:43 $ docker top f73171659949ab9cf98de3c6690f7285e8992f4a60479af9584e2e3d453e146d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:13:44 + make test 08:13:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:14:11 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:15:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:15:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:15:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:15:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.452s coverage: 23.7% of statements 08:15:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:15:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.329s coverage: 27.6% of statements 08:15:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.315s coverage: 78.9% of statements 08:15:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.401s coverage: 10.8% of statements 08:16:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.460s coverage: 60.0% of statements 08:16:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:16:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:16:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.376s coverage: 34.8% of statements 08:16:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:16:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.285s coverage: 85.4% of statements 08:16:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:16:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:16:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.445s coverage: 65.1% of statements 08:16:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.121s coverage: 89.2% of statements 08:16:08 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 08:16:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.228s coverage: 4.7% of statements 08:16:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:16:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:16:11 GO111MODULE=on go vet ./... 08:17:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:17:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:17:33 ./bin/test-attribution-txt.sh [Pipeline] echo 08:17:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:17:33 $ docker stop --time=1 f73171659949ab9cf98de3c6690f7285e8992f4a60479af9584e2e3d453e146d 08:17:35 $ docker rm -f f73171659949ab9cf98de3c6690f7285e8992f4a60479af9584e2e3d453e146d [Pipeline] // withDockerContainer [Pipeline] sh 08:17:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:17:36 Warning: overwriting stash ‘coverage-report’ 08:17:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:17:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:17:38 + ls -al . 08:17:38 total 300 08:17:38 drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 08:17 . 08:17:38 drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 08:11 .. 08:17:38 -rw-rw-r-- 1 jenkins jenkins 140 Jun 20 08:11 .dockerignore 08:17:38 drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 08:11 .git 08:17:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 08:11 .github 08:17:38 -rw-rw-r-- 1 jenkins jenkins 131 Jun 20 08:11 .gitignore 08:17:38 -rw-rw-r-- 1 jenkins jenkins 42 Jun 20 08:11 .golangci.yml 08:17:38 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 20 08:11 CHANGELOG.md 08:17:38 -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 08:11 GOVERNANCE.md 08:17:38 -rw-rw-r-- 1 jenkins jenkins 880 Jun 20 08:11 Jenkinsfile 08:17:38 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 20 08:11 LICENSE 08:17:38 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 20 08:11 Makefile 08:17:38 -rw-rw-r-- 1 jenkins jenkins 619 Jun 20 08:11 OWNERS.md 08:17:38 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 20 08:11 README.md 08:17:38 -rw-rw-r-- 1 jenkins jenkins 11 Jun 20 08:09 VERSION 08:17:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 08:11 bin 08:17:38 -rw-r--r-- 1 jenkins jenkins 131190 Jun 20 08:16 coverage.out 08:17:38 drwxrwxr-x 5 jenkins jenkins 4096 Jun 20 08:11 example 08:17:38 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 20 08:11 go.mod 08:17:38 -rw-rw-r-- 1 jenkins jenkins 34801 Jun 20 08:11 go.sum 08:17:38 drwxrwxr-x 15 jenkins jenkins 4096 Jun 20 08:11 internal 08:17:38 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 08:11 openapi 08:17:38 drwxrwxr-x 5 jenkins jenkins 4096 Jun 20 08:11 pkg 08:17:38 drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 08:11 snap 08:17:38 -rw-rw-r-- 1 jenkins jenkins 222 Jun 20 08:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:38 + 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=4287cc1d4c262ca519b36d36f1d06a90bcd6f745 --label arch=arm64 --label version=2.2.1-dev.7 . 08:17:39 Sending build context to Docker daemon 5.341MB 08:17:39 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 08:17:39 Step 2/25 : FROM ${BASE} AS builder 08:17:39 ---> d15093540ecf 08:17:39 Step 3/25 : ARG MAKE=make build 08:17:39 ---> Running in c0e62044893e 08:17:39 Removing intermediate container c0e62044893e 08:17:39 ---> 49bf5b7313e9 08:17:39 Step 4/25 : WORKDIR /device-sdk-go 08:17:39 ---> Running in 11bdcbe00c4a 08:17:39 Removing intermediate container 11bdcbe00c4a 08:17:39 ---> 85a9d5ba1354 08:17:39 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:17:40 ---> Running in 80791677a2ad 08:17:40 Removing intermediate container 80791677a2ad 08:17:40 ---> 7a64c3510946 08:17:40 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:17:40 ---> Running in 126f5646ee92 08:17:42 Removing intermediate container 126f5646ee92 08:17:42 ---> 87c5773a2487 08:17:42 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:17:42 ---> Running in a3673a9929c9 08:17:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:17:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:17:45 OK: 220 MiB in 52 packages 08:17:45 Removing intermediate container a3673a9929c9 08:17:45 ---> 8d2f0692a56d 08:17:45 Step 8/25 : COPY go.mod vendor* ./ 08:17:46 ---> 8119594f011f 08:17:46 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:17:46 ---> Running in 1b8911c8b855 08:17:48 Removing intermediate container 1b8911c8b855 08:17:48 ---> 24d5f903a5ff 08:17:48 Step 10/25 : COPY . . 08:17:49 ---> 17ef159a2f3c 08:17:49 Step 11/25 : RUN ${MAKE} 08:17:49 ---> Running in f6bc31f8ef5f 08:17:50 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.7" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:19:42 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:19:45 Removing intermediate container f6bc31f8ef5f 08:19:45 ---> d565a2eef570 08:19:45 Step 12/25 : FROM alpine:3.14 08:19:45 3.14: Pulling from library/alpine 08:19:45 455c02918c45: Pulling fs layer 08:19:46 455c02918c45: Verifying Checksum 08:19:46 455c02918c45: Download complete 08:19:46 455c02918c45: Pull complete 08:19:46 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:19:46 Status: Downloaded newer image for alpine:3.14 08:19:46 ---> ac73e934f311 08:19:46 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:19:46 ---> Running in 83cdffa6c493 08:19:46 Removing intermediate container 83cdffa6c493 08:19:46 ---> 83db784463c1 08:19:46 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:19:47 ---> Running in 83a0e15e51d5 08:19:48 Removing intermediate container 83a0e15e51d5 08:19:48 ---> ea21e9ac6156 08:19:48 Step 15/25 : RUN apk add --update --no-cache zeromq 08:19:48 ---> Running in 39fddcc1c035 08:19:49 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:19:50 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:19:51 (1/5) Installing libgcc (10.3.1_git20210424-r2) 08:19:51 (2/5) Installing libsodium (1.0.18-r0) 08:19:51 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 08:19:51 (4/5) Installing libzmq (4.3.4-r0) 08:19:51 (5/5) Installing zeromq (4.3.4-r0) 08:19:51 Executing busybox-1.33.1-r7.trigger 08:19:52 OK: 8 MiB in 19 packages 08:19:52 Removing intermediate container 39fddcc1c035 08:19:52 ---> 4b2e8a5e1ab0 08:19:52 Step 16/25 : WORKDIR / 08:19:52 ---> Running in 4e0af496eb03 08:19:53 Removing intermediate container 4e0af496eb03 08:19:53 ---> 46f2fa12e70f 08:19:53 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:19:53 ---> 4909849c2123 08:19:53 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:19:55 ---> fc55306f7a4a 08:19:55 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:19:55 ---> 6c69fd2d685a 08:19:55 Step 20/25 : EXPOSE 59999 08:19:55 ---> Running in 0ed827c3acd4 08:19:56 Removing intermediate container 0ed827c3acd4 08:19:56 ---> 34c21dcde1b6 08:19:56 Step 21/25 : ENTRYPOINT ["/device-simple"] 08:19:56 ---> Running in 57f9b456e1d5 08:19:56 Removing intermediate container 57f9b456e1d5 08:19:56 ---> 45657ee05904 08:19:56 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:19:56 ---> Running in f7521fdfb4e3 08:19:56 Removing intermediate container f7521fdfb4e3 08:19:56 ---> 2be7a4c5a574 08:19:56 Step 23/25 : LABEL arch=arm64 08:19:56 ---> Running in 0836b5115cde 08:19:57 Removing intermediate container 0836b5115cde 08:19:57 ---> b4d2d3141770 08:19:57 Step 24/25 : LABEL git_sha=4287cc1d4c262ca519b36d36f1d06a90bcd6f745 08:19:57 ---> Running in f55621a5ed5c 08:19:57 Removing intermediate container f55621a5ed5c 08:19:57 ---> 803906e26ba2 08:19:57 Step 25/25 : LABEL version=2.2.1-dev.7 08:19:57 ---> Running in 0b76bd4661c1 08:19:58 Removing intermediate container 0b76bd4661c1 08:19:58 ---> c55364dc1ebe 08:19:58 [Warning] One or more build-args [ARCH] were not consumed 08:19:58 Successfully built c55364dc1ebe 08:19:58 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 08:19:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:19:58 08:19:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:19:59 arm64: Pulling from edgex-lftools-log-publisher 08:19:59 8998bd30e6a1: Pulling fs layer 08:19:59 04944245beec: Pulling fs layer 08:19:59 699f458cf7ca: Pulling fs layer 08:19:59 765212b225bb: Pulling fs layer 08:19:59 f23df028b6ca: Pulling fs layer 08:19:59 d65c8cfc05b1: Pulling fs layer 08:19:59 2437ff75d9bd: Pulling fs layer 08:19:59 765212b225bb: Waiting 08:19:59 f23df028b6ca: Waiting 08:19:59 d65c8cfc05b1: Waiting 08:19:59 04944245beec: Verifying Checksum 08:19:59 04944245beec: Download complete 08:19:59 765212b225bb: Verifying Checksum 08:19:59 765212b225bb: Download complete 08:19:59 f23df028b6ca: Verifying Checksum 08:19:59 f23df028b6ca: Download complete 08:19:59 d65c8cfc05b1: Verifying Checksum 08:19:59 d65c8cfc05b1: Download complete 08:19:59 699f458cf7ca: Verifying Checksum 08:19:59 699f458cf7ca: Download complete 08:19:59 8998bd30e6a1: Verifying Checksum 08:19:59 8998bd30e6a1: Download complete 08:20:02 2437ff75d9bd: Verifying Checksum 08:20:02 2437ff75d9bd: Download complete 08:20:04 8998bd30e6a1: Pull complete 08:20:04 04944245beec: Pull complete 08:20:06 699f458cf7ca: Pull complete 08:20:06 765212b225bb: Pull complete 08:20:07 f23df028b6ca: Pull complete 08:20:07 d65c8cfc05b1: Pull complete 08:20:22 2437ff75d9bd: Pull complete 08:20:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:20:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:20:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:20:22 prd-ubuntu20.04-docker-arm64-4c-16g-15131 does not seem to be running inside a container 08:20:22 $ 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/82 -v /w/workspace/device-sdk-go/82:/w/workspace/device-sdk-go/82:rw,z -v /w/workspace/device-sdk-go/82@tmp:/w/workspace/device-sdk-go/82@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 08:20:25 $ docker top 04e96ed6880e45a83ba8e122121051de64183d2dfcb716be98760f469f9fde40 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:20:26 ---> job-cost.sh 08:20:26 lf-activate-venv: SKIPPING 08:20:26 INFO: No Stack... 08:20:26 INFO: Retrieving Pricing Info for: v3-standard-4 08:20:27 INFO: Archiving Costs [Pipeline] sh 08:20:28 + cat /w/workspace/device-sdk-go/82/archives/cost.csv 08:20:28 + cut -d, -f6 [Pipeline] lock 08:20:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-82-stack-cost] 08:20:28 Resource [jenkins-edgexfoundry-device-sdk-go-main-82-stack-cost] did not exist. Created. 08:20:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:20:29 /w/workspace/device-sdk-go/82@tmp/durable-4f795462/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:20:29 + echo total: 0.10999999940395355 [Pipeline] stash 08:20:29 Warning: overwriting stash ‘stack-cost’ 08:20:30 Stashed 1 file(s) [Pipeline] } 08:20:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-82-stack-cost] [Pipeline] // lock [Pipeline] } 08:20:30 $ docker stop --time=1 04e96ed6880e45a83ba8e122121051de64183d2dfcb716be98760f469f9fde40 08:20:31 $ docker rm -f 04e96ed6880e45a83ba8e122121051de64183d2dfcb716be98760f469f9fde40 [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 08:20:32 provisioning config files... 08:20:32 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1086332394842849302tmp [Pipeline] { [Pipeline] sh 08:20:32 + set +x 08:20:32 + curl -s https://codecov.io/bash 08:20:32 + bash -s -- 08:20:32 08:20:32 _____ _ 08:20:32 / ____| | | 08:20:32 | | ___ __| | ___ ___ _____ __ 08:20:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:20:32 | |___| (_) | (_| | __/ (_| (_) \ V / 08:20:32 \_____\___/ \__,_|\___|\___\___/ \_/ 08:20:32 Bash-1.0.6 08:20:32 08:20:32 08:20:32 ==> git version 2.25.1 found 08:20:32 ==> 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 08:20:32 Release-Date: 2020-01-08 08:20:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:20:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:20:32 ==> Jenkins CI detected. 08:20:32 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 08:20:32 project root: . 08:20:32 --> token set from env 08:20:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:20:32 ==> Running gcov in . (disable via -X gcov) 08:20:32 ==> Python coveragepy not found 08:20:32 ==> Searching for coverage reports in: 08:20:32 + . 08:20:32 -> Found 1 reports 08:20:32 ==> Detecting git/mercurial file structure 08:20:32 ==> Reading reports 08:20:32 + ./coverage.out bytes=131190 08:20:32 ==> Appending adjustments 08:20:32 https://docs.codecov.io/docs/fixing-reports 08:20:32 + Found adjustments 08:20:32 ==> Gzipping contents 08:20:32 20K /tmp/codecov.ks44Xs.gz 08:20:32 ==> Uploading reports 08:20:32 url: https://codecov.io 08:20:32 query: branch=main&commit=4287cc1d4c262ca519b36d36f1d06a90bcd6f745&build=82&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F82%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:20:32 -> Pinging Codecov 08:20:32 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=4287cc1d4c262ca519b36d36f1d06a90bcd6f745&build=82&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F82%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:20:32 -> Uploading to 08:20:32 https://storage.googleapis.com/codecov/v4/raw/2022-06-20/7E55EF52A471D76F132DFD9A03CDDE97/4287cc1d4c262ca519b36d36f1d06a90bcd6f745/924329f7-2d6f-41ac-9291-a42d28762821.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220620%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220620T082032Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=583ed6170daeeaa924dcf20bd2e78b8c876450b7e5b8d6cb8476ec0b1cfb1fbd 08:20:33 % Total % Received % Xferd Average Speed Time Time Time Current 08:20:33 Dload Upload Total Spent Left Speed 08:20:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16820 0 0 100 16820 0 68653 --:--:-- --:--:-- --:--:-- 68373 08:20:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4287cc1d4c262ca519b36d36f1d06a90bcd6f745 [Pipeline] } 08:20:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:20:33 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:20:33 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:20:33 08:20:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:20:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 08:20:33 df9b9388f04a: Pulling fs layer 08:20:33 52dc419b0ee2: Pulling fs layer 08:20:33 25bc292e5bac: Pulling fs layer 08:20:33 114826534d7a: Pulling fs layer 08:20:33 4657fd5d0bcf: Pulling fs layer 08:20:33 6ad1cebc031e: Pulling fs layer 08:20:33 8a3aa393b2d8: Pulling fs layer 08:20:33 6ad1cebc031e: Waiting 08:20:33 4657fd5d0bcf: Waiting 08:20:33 8a3aa393b2d8: Waiting 08:20:33 114826534d7a: Waiting 08:20:33 25bc292e5bac: Download complete 08:20:33 52dc419b0ee2: Verifying Checksum 08:20:33 52dc419b0ee2: Download complete 08:20:33 4657fd5d0bcf: Verifying Checksum 08:20:33 4657fd5d0bcf: Download complete 08:20:33 df9b9388f04a: Download complete 08:20:34 df9b9388f04a: Pull complete 08:20:34 6ad1cebc031e: Verifying Checksum 08:20:34 6ad1cebc031e: Download complete 08:20:34 52dc419b0ee2: Pull complete 08:20:34 25bc292e5bac: Pull complete 08:20:34 114826534d7a: Verifying Checksum 08:20:34 114826534d7a: Download complete 08:20:34 8a3aa393b2d8: Verifying Checksum 08:20:34 8a3aa393b2d8: Download complete 08:20:38 114826534d7a: Pull complete 08:20:38 4657fd5d0bcf: Pull complete 08:20:38 6ad1cebc031e: Pull complete 08:20:41 8a3aa393b2d8: Pull complete 08:20:41 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 08:20:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:20:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:20:41 prd-ubuntu20.04-docker-8c-8g-15130 does not seem to be running inside a container 08:20:41 $ 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 08:20:43 $ docker top 07588b1556b1a7f4dee905e80d0b059863cfeadc462cc2c809756924ae9ed566 -eo pid,comm [Pipeline] { [Pipeline] echo 08:20:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 08:20:43 + set -o pipefail 08:20:43 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 08:20:49 08:20:49 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 08:20:49 08:20:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/086d29e1-fe1e-4fa2-8f6c-80b73771dcbe 08:20:49 08:20:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:20:49 08:20:49 [Pipeline] } 08:20:49 $ docker stop --time=1 07588b1556b1a7f4dee905e80d0b059863cfeadc462cc2c809756924ae9ed566 08:20:51 $ docker rm -f 07588b1556b1a7f4dee905e80d0b059863cfeadc462cc2c809756924ae9ed566 [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 08:20:51 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:20:51 provisioning config files... 08:20:51 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7097737723377429070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:20:52 --> edgex-publish-swagger.sh 08:20:52 === Publish openapi/v2 API === 08:20:52 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 08:20:52 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 08:20:52 % Total % Received % Xferd Average Speed Time Time Time Current 08:20:52 Dload Upload Total Spent Left Speed 08:20:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 81509 --:--:-- --:--:-- --:--:-- 81386 08:20:52 08:20:52 [Pipeline] } 08:20:52 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 08:20:53 + git log --format=format:%s -1 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 [Pipeline] sh 08:20:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:20:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:20:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:20:53 prd-ubuntu20.04-docker-8c-8g-15130 does not seem to be running inside a container 08:20:53 $ 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 08:20:54 $ docker top 1ff3b53884589a2f34841d269ab63cfe7cab9dc654aedb53fd43addac3020576 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:20:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:20:54 [ssh-agent] Looking for ssh-agent implementation... 08:20:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:20:54 $ docker exec 1ff3b53884589a2f34841d269ab63cfe7cab9dc654aedb53fd43addac3020576 ssh-agent 08:20:54 SSH_AUTH_SOCK=/tmp/ssh-v46W8Zf8LA7E/agent.32 08:20:54 SSH_AGENT_PID=38 08:20:54 Running ssh-add (command line suppressed) 08:20:54 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5568518351958591589.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5568518351958591589.key) 08:20:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:20:55 + git semver tag 08:20:55 2022-06-20 08:20:55,233 [run_tag] DEBUG tag force:False 08:20:55 2022-06-20 08:20:55,233 [check_head_tag] DEBUG check head tag 08:20:55 2022-06-20 08:20:55,234 [execute] INFO git cat-file --batch-check 08:20:55 2022-06-20 08:20:55,234 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 08:20:55 2022-06-20 08:20:55,237 [execute] INFO git cat-file --batch 08:20:55 2022-06-20 08:20:55,237 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 08:20:55 2022-06-20 08:20:55,249 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:20:55 2022-06-20 08:20:55,249 [execute] INFO git tag -a v2.2.1-dev.7 -m v2.2.1-dev.7 08:20:55 2022-06-20 08:20:55,249 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.7', '-m', 'v2.2.1-dev.7'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 08:20:55 2022-06-20 08:20:55,254 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:20:55 2.2.1-dev.7 [Pipeline] } 08:20:55 $ docker exec --env ******** --env ******** 1ff3b53884589a2f34841d269ab63cfe7cab9dc654aedb53fd43addac3020576 ssh-agent -k 08:20:55 unset SSH_AUTH_SOCK; 08:20:55 unset SSH_AGENT_PID; 08:20:55 echo Agent pid 38 killed; 08:20:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:20:55 + git semver [Pipeline] } 08:20:56 $ docker stop --time=1 1ff3b53884589a2f34841d269ab63cfe7cab9dc654aedb53fd43addac3020576 08:20:57 $ docker rm -f 1ff3b53884589a2f34841d269ab63cfe7cab9dc654aedb53fd43addac3020576 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:20:57 08:20:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:20:58 0.23.1-centos7: Pulling from edgex-lftools 08:20:58 ab5ef0e58194: Pulling fs layer 08:20:58 9712f1f96733: Pulling fs layer 08:20:58 63f879dbbcfc: Pulling fs layer 08:20:58 0d9ebad4ef96: Pulling fs layer 08:20:58 e9a5061849ea: Pulling fs layer 08:20:58 d747dcd14b5f: Pulling fs layer 08:20:58 2de7ff778b66: Pulling fs layer 08:20:58 0d9ebad4ef96: Waiting 08:20:58 e9a5061849ea: Waiting 08:20:58 d747dcd14b5f: Waiting 08:20:58 2de7ff778b66: Waiting 08:20:58 9712f1f96733: Verifying Checksum 08:20:58 9712f1f96733: Download complete 08:20:58 63f879dbbcfc: Verifying Checksum 08:20:58 63f879dbbcfc: Download complete 08:20:58 e9a5061849ea: Verifying Checksum 08:20:58 e9a5061849ea: Download complete 08:20:58 d747dcd14b5f: Verifying Checksum 08:20:58 d747dcd14b5f: Download complete 08:20:58 ab5ef0e58194: Verifying Checksum 08:20:58 ab5ef0e58194: Download complete 08:20:58 0d9ebad4ef96: Verifying Checksum 08:20:58 0d9ebad4ef96: Download complete 08:20:58 2de7ff778b66: Verifying Checksum 08:20:58 2de7ff778b66: Download complete 08:21:01 ab5ef0e58194: Pull complete 08:21:01 9712f1f96733: Pull complete 08:21:01 63f879dbbcfc: Pull complete 08:21:06 0d9ebad4ef96: Pull complete 08:21:06 e9a5061849ea: Pull complete 08:21:06 d747dcd14b5f: Pull complete 08:21:07 2de7ff778b66: Pull complete 08:21:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:21:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:21:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:21:07 prd-ubuntu20.04-docker-8c-8g-15130 does not seem to be running inside a container 08:21:07 $ 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 08:21:09 $ docker top 76432e7e108700cdfe91774732b787b8ae4a25f9b7b79005cf3b3baae8f17fa0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:21:09 provisioning config files... 08:21:09 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3116543687971169095tmp 08:21:09 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2581417976826795624tmp 08:21:09 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1373832763125899745tmp [Pipeline] { [Pipeline] echo 08:21:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:21:09 ---> sigul-configuration.sh 08:21:09 gpg: directory `/root/.gnupg' created 08:21:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:21:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:21:09 gpg: keyring `/root/.gnupg/secring.gpg' created 08:21:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:21:09 gpg: CAST5 encrypted data 08:21:09 gpg: encrypted with 1 passphrase 08:21:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:21:10 + mkdir /home/jenkins 08:21:10 + mkdir /home/jenkins/sigul [Pipeline] sh 08:21:10 + 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 08:21:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:21:10 ---> sigul-install.sh 08:21:10 Sigul already installed; skipping installation. [Pipeline] sh 08:21:10 + git tag --list 08:21:10 0.7.1 08:21:10 delhi-tag 08:21:10 v1.0.0 08:21:10 v1.1.0 08:21:10 v1.1.1 08:21:10 v1.1.2 08:21:10 v1.2.0 08:21:10 v1.2.1 08:21:10 v1.2.2 08:21:10 v1.2.3 08:21:10 v1.3.0 08:21:10 v1.4.0 08:21:10 v2.0.0 08:21:10 v2.1.0 08:21:10 v2.1.1 08:21:10 v2.1.1-dev.2 08:21:10 v2.1.1-dev.3 08:21:10 v2.2.0 08:21:10 v2.2.1-dev.1 08:21:10 v2.2.1-dev.2 08:21:10 v2.2.1-dev.3 08:21:10 v2.2.1-dev.4 08:21:10 v2.2.1-dev.5 08:21:10 v2.2.1-dev.6 08:21:10 v2.2.1-dev.7 [Pipeline] sh 08:21:11 + lftools sign git-tag v2.2.1-dev.7 08:21:11 Signing Git tag with Sigul... 08:21:11 Signing v2.2.1-dev.7 [Pipeline] echo 08:21:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:21:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:21:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:21:12 $ docker stop --time=1 76432e7e108700cdfe91774732b787b8ae4a25f9b7b79005cf3b3baae8f17fa0 08:21:13 $ docker rm -f 76432e7e108700cdfe91774732b787b8ae4a25f9b7b79005cf3b3baae8f17fa0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:21:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:21:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:21:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:21:14 prd-ubuntu20.04-docker-8c-8g-15130 does not seem to be running inside a container 08:21:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:21:14 $ docker top cc33f38fcdbf5f9749146649735ba2f7a9525aa037aecb9b1dc0a43751dae2a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:21:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:21:14 [ssh-agent] Looking for ssh-agent implementation... 08:21:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:21:15 $ docker exec cc33f38fcdbf5f9749146649735ba2f7a9525aa037aecb9b1dc0a43751dae2a0 ssh-agent 08:21:15 SSH_AUTH_SOCK=/tmp/ssh-V0Aqq30d0DI1/agent.34 08:21:15 SSH_AGENT_PID=40 08:21:15 Running ssh-add (command line suppressed) 08:21:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2946079767626078983.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2946079767626078983.key) 08:21:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:21:15 + git semver bump pre 08:21:15 2022-06-20 08:21:15,834 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:21:15 2022-06-20 08:21:15,834 [bump_version] DEBUG bumping version:2.2.1-dev.7 on axis:pre with prefix:dev 08:21:15 2022-06-20 08:21:15,834 [bump_version] DEBUG bumped version:2.2.1-dev.8 08:21:15 2022-06-20 08:21:15,834 [write_version] DEBUG write version:2.2.1-dev.8 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 08:21:15 2022-06-20 08:21:15,834 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:21:15 2022-06-20 08:21:15,834 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:21:15 2022-06-20 08:21:15,836 [execute] INFO git cat-file --batch-check 08:21:15 2022-06-20 08:21:15,836 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:21:15 2022-06-20 08:21:15,840 [execute] INFO git cat-file --batch 08:21:15 2022-06-20 08:21:15,840 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:21:15 2022-06-20 08:21:15,844 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:21:15 2.2.1-dev.8 [Pipeline] } 08:21:15 $ docker exec --env ******** --env ******** cc33f38fcdbf5f9749146649735ba2f7a9525aa037aecb9b1dc0a43751dae2a0 ssh-agent -k 08:21:16 unset SSH_AUTH_SOCK; 08:21:16 unset SSH_AGENT_PID; 08:21:16 echo Agent pid 40 killed; 08:21:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:21:16 + git semver [Pipeline] } 08:21:16 $ docker stop --time=1 cc33f38fcdbf5f9749146649735ba2f7a9525aa037aecb9b1dc0a43751dae2a0 08:21:17 $ docker rm -f cc33f38fcdbf5f9749146649735ba2f7a9525aa037aecb9b1dc0a43751dae2a0 [Pipeline] // withDockerContainer [Pipeline] sh 08:21:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:21:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:21:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:21:18 prd-ubuntu20.04-docker-8c-8g-15130 does not seem to be running inside a container 08:21:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:21:19 $ docker top 8e7b7679f8fb32697f278c4c83c94ec73ba6319ae2e9bb0efe87ef4829d51f9c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:21:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:21:19 [ssh-agent] Looking for ssh-agent implementation... 08:21:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:21:19 $ docker exec 8e7b7679f8fb32697f278c4c83c94ec73ba6319ae2e9bb0efe87ef4829d51f9c ssh-agent 08:21:19 SSH_AUTH_SOCK=/tmp/ssh-moRCmd4tsI61/agent.33 08:21:19 SSH_AGENT_PID=39 08:21:19 Running ssh-add (command line suppressed) 08:21:19 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1688548309870458277.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1688548309870458277.key) 08:21:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:21:19 + git semver push 08:21:20 2022-06-20 08:21:20,029 [run_push] DEBUG push 08:21:20 2022-06-20 08:21:20,030 [execute] INFO git cat-file --batch-check 08:21:20 2022-06-20 08:21:20,030 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:21:20 2022-06-20 08:21:20,034 [execute] INFO git rev-list 243949b91c25440a8ce697773d1dfd07104821d7 -- 08:21:20 2022-06-20 08:21:20,034 [execute] DEBUG Popen(['git', 'rev-list', '243949b91c25440a8ce697773d1dfd07104821d7', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:21:20 2022-06-20 08:21:20,045 [execute] INFO git fetch -v origin 08:21:20 2022-06-20 08:21:20,045 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 08:21:20 2022-06-20 08:21:20,520 [run_push] DEBUG no remote changes detected 08:21:20 2022-06-20 08:21:20,521 [execute] INFO git push origin semver 08:21:20 2022-06-20 08:21:20,521 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:21:21 2022-06-20 08:21:21,362 [run_push] DEBUG push all version tags 08:21:21 2022-06-20 08:21:21,362 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:21:21 2022-06-20 08:21:21,363 [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) 08:21:22 2022-06-20 08:21:22,093 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:21:22 2.2.1-dev.8 [Pipeline] } 08:21:22 $ docker exec --env ******** --env ******** 8e7b7679f8fb32697f278c4c83c94ec73ba6319ae2e9bb0efe87ef4829d51f9c ssh-agent -k 08:21:22 unset SSH_AUTH_SOCK; 08:21:22 unset SSH_AGENT_PID; 08:21:22 echo Agent pid 39 killed; 08:21:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:21:22 + git semver [Pipeline] } 08:21:22 $ docker stop --time=1 8e7b7679f8fb32697f278c4c83c94ec73ba6319ae2e9bb0efe87ef4829d51f9c 08:21:24 $ docker rm -f 8e7b7679f8fb32697f278c4c83c94ec73ba6319ae2e9bb0efe87ef4829d51f9c [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 08:21:24 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 08:21:24 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 08:21:24 total 16 08:21:24 drwxr-xr-x 3 root root 4096 Jun 20 08:11 . 08:21:24 drwxrwxr-x 12 jenkins jenkins 4096 Jun 20 08:21 .. 08:21:24 drwxr-xr-x 2 root root 4096 Jun 20 08:11 cost 08:21:24 -rw-r--r-- 1 root root 83 Jun 20 08:11 cost.csv 08:21:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 08:21:24 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 08:21:24 total 16 08:21:24 drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 08:11 . 08:21:24 drwxrwxr-x 12 jenkins jenkins 4096 Jun 20 08:21 .. 08:21:24 drwxr-xr-x 2 jenkins jenkins 4096 Jun 20 08:11 cost 08:21:24 -rw-r--r-- 1 jenkins jenkins 83 Jun 20 08:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:21:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:21:25 ---> package-listing.sh 08:21:25 ++ tr '[:upper:]' '[:lower:]' 08:21:25 ++ facter osfamily 08:21:26 + OS_FAMILY=debian 08:21:26 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 08:21:26 + START_PACKAGES=/tmp/packages_start.txt 08:21:26 + END_PACKAGES=/tmp/packages_end.txt 08:21:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:21:26 + PACKAGES=/tmp/packages_start.txt 08:21:26 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 08:21:26 + PACKAGES=/tmp/packages_end.txt 08:21:26 + case "${OS_FAMILY}" in 08:21:26 + dpkg -l 08:21:26 + grep '^ii' 08:21:26 + '[' -f /tmp/packages_start.txt ']' 08:21:26 + '[' -f /tmp/packages_end.txt ']' 08:21:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:21:26 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 08:21:26 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 08:21:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 08:21:26 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 08:21:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:21:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:21:27 prd-ubuntu20.04-docker-8c-8g-15130 does not seem to be running inside a container 08:21:27 $ 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 08:21:27 $ docker top fafd5a716ab7b6e6c64b644a4afbb487faeb2a711c0764b2a840780b3a4b5fbc -eo pid,comm [Pipeline] { [Pipeline] sh 08:21:27 + touch /tmp/pre-build-complete [Pipeline] sh 08:21:28 + mkdir -p /var/log/sysstat [Pipeline] sh 08:21:28 + ls /var/log/sa-host 08:21:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:21:28 provisioning config files... 08:21:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7264528963512053649tmp [Pipeline] { [Pipeline] echo 08:21:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:21:28 ---> create-netrc.sh [Pipeline] } 08:21:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:21:29 ---> python-tools-install.sh [Pipeline] echo 08:21:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:21:29 ---> sudo-logs.sh 08:21:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:21:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:21:29 ---> job-cost.sh 08:21:29 lf-activate-venv: SKIPPING 08:21:29 DEBUG: total: 0.2199999988079071 08:21:29 INFO: Retrieving Stack Cost... 08:21:30 INFO: Retrieving Pricing Info for: v3-standard-8 08:21:30 INFO: Archiving Costs [Pipeline] echo 08:21:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:21:31 ---> logs-deploy.sh 08:21:31 lf-activate-venv: SKIPPING 08:21:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/82 08:21:31 INFO: archiving workspace using pattern(s): 08:21:32 Archives upload complete. 08:21:32 INFO: archiving logs to Nexus