Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 00685ec2d5c51377ae61b360273945aff10f59dc 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-ssh6531287025394865419.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh14616064551897253331.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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/jakarta/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/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8069321421691793536.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh4866693187001486477.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/jakarta/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/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5624672858039776777.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 [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-580’ is offline Running on prd-ubuntu20.04-docker-8c-8g-581 in /w/workspace/gexfoundry_device-sdk-go_jakarta [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/gexfoundry_device-sdk-go_jakarta # 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 00685ec2d5c51377ae61b360273945aff10f59dc (jakarta) > 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 00685ec2d5c51377ae61b360273945aff10f59dc # timeout=10 Commit message: "Merge pull request #1171 from lenny-intel/go-mods-for-2.1.1" > git rev-list --no-walk 6b28ab18defc125340c64f0ec90f02309642eba1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:29:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:29:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:29:39 ========================================================= 21:29:39 EdgeX Global Pipelines Version Info 21:29:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:29:39 ------------------- 21:29:39 stable info: 21:29:39 ------------------- 21:29:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:29:39 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 21:29:39 Message: update stable to v1.0.230 21:29:40 ------------------- 21:29:40 experimental info: 21:29:40 ------------------- 21:29:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:29:40 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 21:29:40 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 00685ec2d5c51377ae61b360273945aff10f59dc [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 00685ec [Pipeline] echo 21:29:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:29:41 provisioning config files... 21:29:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config5868845778748142563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:29:41 ---> docker-login.sh 21:29:41 nexus3.edgexfoundry.org:10001 21:29:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:41 Configure a credential helper to remove this warning. See 21:29:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:41 21:29:41 Login Succeeded 21:29:41 nexus3.edgexfoundry.org:10002 21:29:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:41 Configure a credential helper to remove this warning. See 21:29:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:41 21:29:41 Login Succeeded 21:29:41 nexus3.edgexfoundry.org:10003 21:29:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:41 Configure a credential helper to remove this warning. See 21:29:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:41 21:29:41 Login Succeeded 21:29:41 nexus3.edgexfoundry.org:10004 21:29:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:42 Configure a credential helper to remove this warning. See 21:29:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:42 21:29:42 Login Succeeded 21:29:42 docker.io 21:29:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:42 Configure a credential helper to remove this warning. See 21:29:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:42 21:29:42 Login Succeeded 21:29:42 ---> docker-login.sh ends [Pipeline] } 21:29:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:29:42 + git rev-list -1 --merges 00685ec2d5c51377ae61b360273945aff10f59dc~1..00685ec2d5c51377ae61b360273945aff10f59dc [Pipeline] echo 21:29:42 -----------> git rev-list -1 --merges 00685ec2d5c51377ae61b360273945aff10f59dc~1..00685ec2d5c51377ae61b360273945aff10f59dc 00685ec2d5c51377ae61b360273945aff10f59dc 21:29:42 00685ec2d5c51377ae61b360273945aff10f59dc [false] [Pipeline] sh 21:29:43 + git log --format=format:%s -1 00685ec2d5c51377ae61b360273945aff10f59dc [Pipeline] echo 21:29:43 ========================================================= 21:29:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:29:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:29:43 + git log --format=format:%s -1 00685ec2d5c51377ae61b360273945aff10f59dc [Pipeline] echo 21:29:43 [semverPrep] GIT_COMMIT: 00685ec2d5c51377ae61b360273945aff10f59dc, Commit Message: Merge pull request #1171 from lenny-intel/go-mods-for-2.1.1 [Pipeline] echo 21:29:43 [semverPrep] This is not a build commit. [Pipeline] sh 21:29:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:29:43 + grep -v github /etc/ssh/ssh_known_hosts 21:29:43 + [ -e /tmp/ssh_known_hosts ] 21:29:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:29:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:29:43 + sudo tee -a /etc/ssh/ssh_known_hosts 21:29:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:29:44 21:29:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:29:44 latest: Pulling from edgex-devops/py-git-semver 21:29:44 1fe172e4850f: Pulling fs layer 21:29:44 caf521ccaac6: Pulling fs layer 21:29:44 3ead6fa29328: Pulling fs layer 21:29:44 5c2a1cbceb83: Pulling fs layer 21:29:44 a8d5f1318db7: Pulling fs layer 21:29:44 c427282e49a2: Pulling fs layer 21:29:44 1827001aaf11: Pulling fs layer 21:29:44 0714d37db230: Pulling fs layer 21:29:44 ac28cf19c067: Pulling fs layer 21:29:44 ca983d60f3e2: Pulling fs layer 21:29:44 9f894cec8388: Pulling fs layer 21:29:44 c427282e49a2: Waiting 21:29:44 1827001aaf11: Waiting 21:29:44 ca983d60f3e2: Waiting 21:29:44 9f894cec8388: Waiting 21:29:44 0714d37db230: Waiting 21:29:44 5c2a1cbceb83: Waiting 21:29:44 a8d5f1318db7: Waiting 21:29:44 caf521ccaac6: Verifying Checksum 21:29:44 caf521ccaac6: Download complete 21:29:44 5c2a1cbceb83: Verifying Checksum 21:29:44 5c2a1cbceb83: Download complete 21:29:44 a8d5f1318db7: Verifying Checksum 21:29:44 a8d5f1318db7: Download complete 21:29:44 3ead6fa29328: Verifying Checksum 21:29:44 3ead6fa29328: Download complete 21:29:44 c427282e49a2: Verifying Checksum 21:29:44 c427282e49a2: Download complete 21:29:44 ac28cf19c067: Verifying Checksum 21:29:44 ac28cf19c067: Download complete 21:29:44 ca983d60f3e2: Verifying Checksum 21:29:44 ca983d60f3e2: Download complete 21:29:44 9f894cec8388: Verifying Checksum 21:29:44 9f894cec8388: Download complete 21:29:44 1fe172e4850f: Verifying Checksum 21:29:44 1fe172e4850f: Download complete 21:29:45 1827001aaf11: Verifying Checksum 21:29:46 1fe172e4850f: Pull complete 21:29:46 caf521ccaac6: Pull complete 21:29:46 3ead6fa29328: Pull complete 21:29:46 5c2a1cbceb83: Pull complete 21:29:47 a8d5f1318db7: Pull complete 21:29:47 c427282e49a2: Pull complete 21:29:49 1827001aaf11: Pull complete 21:29:49 0714d37db230: Pull complete 21:29:49 ac28cf19c067: Pull complete 21:29:49 ca983d60f3e2: Pull complete 21:29:49 9f894cec8388: Pull complete 21:29:49 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 21:29:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:29:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:49 prd-ubuntu20.04-docker-8c-8g-581 does not seem to be running inside a container 21:29:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:29:51 $ docker top 3ba39a53e0ae692775f2b61027dd7e30f9076d7556d6c8a466d39af73e251799 -eo pid,comm 21:29:51 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). 21:29:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:29:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:29:51 [ssh-agent] Looking for ssh-agent implementation... 21:29:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:29:51 $ docker exec 3ba39a53e0ae692775f2b61027dd7e30f9076d7556d6c8a466d39af73e251799 ssh-agent 21:29:51 SSH_AUTH_SOCK=/tmp/ssh-aKGQV5soSKJ5/agent.33 21:29:51 SSH_AGENT_PID=39 21:29:51 Running ssh-add (command line suppressed) 21:29:51 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_6234815875424848987.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_6234815875424848987.key) 21:29:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:29:52 + git tag --points-at HEAD [Pipeline] } 21:29:52 $ docker exec --env ******** --env ******** 3ba39a53e0ae692775f2b61027dd7e30f9076d7556d6c8a466d39af73e251799 ssh-agent -k 21:29:52 unset SSH_AUTH_SOCK; 21:29:52 unset SSH_AGENT_PID; 21:29:52 echo Agent pid 39 killed; 21:29:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:29:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:29:52 [ssh-agent] Looking for ssh-agent implementation... 21:29:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:29:52 $ docker exec 3ba39a53e0ae692775f2b61027dd7e30f9076d7556d6c8a466d39af73e251799 ssh-agent 21:29:52 SSH_AUTH_SOCK=/tmp/ssh-HKSZbVxEB0wU/agent.72 21:29:52 SSH_AGENT_PID=79 21:29:52 Running ssh-add (command line suppressed) 21:29:52 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_393654553416799873.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_393654553416799873.key) 21:29:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:29:52 + git semver init 21:29:53 2022-06-01 21:29:53,204 [run_init] DEBUG init version:0.0.0 force:False 21:29:53 2022-06-01 21:29:53,205 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver 21:29:53 2022-06-01 21:29:53,205 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver 21:29:53 2022-06-01 21:29:53,205 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=None) 21:29:54 2022-06-01 21:29:53,977 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_jakarta/.git/info/exclude 21:29:54 2022-06-01 21:29:53,977 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta with force:False 21:29:54 2022-06-01 21:29:53,977 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:29:54 2022-06-01 21:29:53,978 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:29:54 2.1.1-dev.3 [Pipeline] } 21:29:54 $ docker exec --env ******** --env ******** 3ba39a53e0ae692775f2b61027dd7e30f9076d7556d6c8a466d39af73e251799 ssh-agent -k 21:29:54 unset SSH_AUTH_SOCK; 21:29:54 unset SSH_AGENT_PID; 21:29:54 echo Agent pid 79 killed; 21:29:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:29:54 + git semver [Pipeline] } 21:29:54 $ docker stop --time=1 3ba39a53e0ae692775f2b61027dd7e30f9076d7556d6c8a466d39af73e251799 21:29:56 $ docker rm -f 3ba39a53e0ae692775f2b61027dd7e30f9076d7556d6c8a466d39af73e251799 [Pipeline] // withDockerContainer [Pipeline] sh 21:29:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:29:56 Stashed 1 file(s) [Pipeline] echo 21:29:56 [edgeXSemver]: initialized semver on version 2.1.1-dev.3 [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 21:29:56 provisioning config files... 21:29:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config1647102276122763149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:29:57 ---> docker-login.sh 21:29:57 nexus3.edgexfoundry.org:10001 21:29:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:57 Configure a credential helper to remove this warning. See 21:29:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:57 21:29:57 Login Succeeded 21:29:57 nexus3.edgexfoundry.org:10002 21:29:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:57 Configure a credential helper to remove this warning. See 21:29:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:57 21:29:57 Login Succeeded 21:29:57 nexus3.edgexfoundry.org:10003 21:29:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:57 Configure a credential helper to remove this warning. See 21:29:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:57 21:29:57 Login Succeeded 21:29:57 nexus3.edgexfoundry.org:10004 21:29:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:57 Configure a credential helper to remove this warning. See 21:29:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:57 21:29:57 Login Succeeded 21:29:57 docker.io 21:29:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:58 Configure a credential helper to remove this warning. See 21:29:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:58 21:29:58 Login Succeeded 21:29:58 ---> docker-login.sh ends [Pipeline] } 21:29:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:29:58 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:29:58 ========================================================= 21:29:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 21:29:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:58 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 21:29:58 Sending build context to Docker daemon 20.7MB 21:29:58 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 21:29:58 Step 2/10 : FROM ${BASE} AS builder 21:29:58 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 21:29:58 59bf1c3509f3: Pulling fs layer 21:29:58 666ba61612fd: Pulling fs layer 21:29:58 8ed8ca486205: Pulling fs layer 21:29:58 4fe6c5a15a65: Pulling fs layer 21:29:58 22a0e8bec74d: Pulling fs layer 21:29:58 812f408151ee: Pulling fs layer 21:29:58 bab7bd504b26: Pulling fs layer 21:29:58 070449caade9: Pulling fs layer 21:29:58 8f1a5288e3a6: Pulling fs layer 21:29:58 4fe6c5a15a65: Waiting 21:29:58 22a0e8bec74d: Waiting 21:29:58 8f1a5288e3a6: Waiting 21:29:58 070449caade9: Waiting 21:29:58 812f408151ee: Waiting 21:29:58 bab7bd504b26: Waiting 21:29:58 8ed8ca486205: Verifying Checksum 21:29:58 8ed8ca486205: Download complete 21:29:58 666ba61612fd: Download complete 21:29:58 22a0e8bec74d: Verifying Checksum 21:29:58 22a0e8bec74d: Download complete 21:29:58 812f408151ee: Download complete 21:29:58 59bf1c3509f3: Verifying Checksum 21:29:58 59bf1c3509f3: Download complete 21:29:58 bab7bd504b26: Download complete 21:29:58 070449caade9: Verifying Checksum 21:29:58 070449caade9: Download complete 21:29:58 59bf1c3509f3: Pull complete 21:29:59 666ba61612fd: Pull complete 21:29:59 8ed8ca486205: Pull complete 21:29:59 8f1a5288e3a6: Verifying Checksum 21:29:59 8f1a5288e3a6: Download complete 21:29:59 4fe6c5a15a65: Verifying Checksum 21:29:59 4fe6c5a15a65: Download complete 21:30:03 4fe6c5a15a65: Pull complete 21:30:03 22a0e8bec74d: Pull complete 21:30:03 812f408151ee: Pull complete 21:30:03 bab7bd504b26: Pull complete 21:30:03 070449caade9: Pull complete 21:30:05 8f1a5288e3a6: Pull complete 21:30:05 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 21:30:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 21:30:05 ---> c47586b81864 21:30:05 Step 3/10 : ARG MAKE=make build 21:30:07 ---> Running in e0f60262bc50 21:30:07 Removing intermediate container e0f60262bc50 21:30:07 ---> 384f209866aa 21:30:07 Step 4/10 : WORKDIR /device-sdk-go 21:30:07 ---> Running in 470f3d5b6ea3 21:30:07 Removing intermediate container 470f3d5b6ea3 21:30:07 ---> 93382b860259 21:30:07 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:30:07 ---> Running in 90757f243e0c 21:30:07 Removing intermediate container 90757f243e0c 21:30:07 ---> 5aee04662dd4 21:30:07 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:30:07 ---> Running in 6ad20d67d496 21:30:07 Removing intermediate container 6ad20d67d496 21:30:07 ---> 5d05c5e2426b 21:30:07 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:30:07 ---> Running in d22319bc4a83 21:30:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:30:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:30:09 OK: 221 MiB in 52 packages 21:30:09 Removing intermediate container d22319bc4a83 21:30:09 ---> 5ebc895107df 21:30:09 Step 8/10 : COPY . . 21:30:10 ---> caad9ab4c506 21:30:10 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:30:10 ---> Running in 532bd7b50916 21:30:10 skipping... 21:30:11 Removing intermediate container 532bd7b50916 21:30:11 ---> d4e4c90b60b3 21:30:11 Step 10/10 : RUN ${MAKE} 21:30:11 ---> Running in 2acbb3c06cc9 21:30:11 noop 21:30:11 Removing intermediate container 2acbb3c06cc9 21:30:11 ---> 533dbcef340f 21:30:11 Successfully built 533dbcef340f 21:30:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:11 Still waiting to schedule task 21:30:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-579’ is offline 21:30:12 + docker inspect -f . ci-base-image-x86_64 21:30:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:12 prd-ubuntu20.04-docker-8c-8g-581 does not seem to be running inside a container 21:30:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** ci-base-image-x86_64 cat 21:30:12 $ docker top 0aa302025477a926d14904815caa69c730ce2cee944adfd7a58cc2cad1b0c5b8 -eo pid,comm [Pipeline] { [Pipeline] sh 21:30:13 + go version 21:30:13 go version go1.17.6 linux/amd64 [Pipeline] } 21:30:13 $ docker stop --time=1 0aa302025477a926d14904815caa69c730ce2cee944adfd7a58cc2cad1b0c5b8 21:30:14 $ docker rm -f 0aa302025477a926d14904815caa69c730ce2cee944adfd7a58cc2cad1b0c5b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:14 + docker inspect -f . ci-base-image-x86_64 21:30:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:14 prd-ubuntu20.04-docker-8c-8g-581 does not seem to be running inside a container 21:30:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** ci-base-image-x86_64 cat 21:30:15 $ docker top 4d0f5689c7d44446a3074239c481cc10cfb0be6188cc5fa31b692a9e1c19edce -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:30:15 + make test 21:30:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:30:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:30:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:30:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:30:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:30:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.060s coverage: 23.3% of statements 21:30:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:30:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 27.6% of statements 21:30:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.087s coverage: 78.9% of statements 21:30:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.041s coverage: 9.0% of statements 21:30:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 21:30:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:30:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:30:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 28.7% of statements 21:30:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:30:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.062s coverage: 82.9% of statements 21:30:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:30:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:30:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.097s coverage: 57.8% of statements 21:30:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.793s coverage: 89.2% of statements 21:30:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:30:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.8% of statements 21:30:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:30:30 GO111MODULE=on go vet ./... 21:30:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:30:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:30:37 ./bin/test-attribution-txt.sh 21:30:38 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 21:30:38 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1-dev.2 21:30:38 go: downloading github.com/OneOfOne/xxhash v1.2.8 21:30:38 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1-dev.2 21:30:38 go: downloading github.com/google/uuid v1.3.0 21:30:38 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 21:30:38 go: downloading github.com/stretchr/testify v1.7.0 21:30:38 go: downloading github.com/pelletier/go-toml v1.9.4 21:30:38 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:30:38 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 21:30:38 go: downloading github.com/gorilla/mux v1.8.0 21:30:38 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:30:38 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 21:30:38 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1-dev.1 21:30:38 go: downloading github.com/hashicorp/consul/api v1.9.1 21:30:38 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:30:38 go: downloading github.com/hashicorp/go-multierror v1.1.0 21:30:38 go: downloading github.com/go-kit/kit v0.11.0 21:30:38 go: downloading github.com/go-playground/validator/v10 v10.9.0 21:30:38 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 21:30:38 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 21:30:38 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:30:38 go: downloading github.com/pebbe/zmq4 v1.2.7 21:30:38 go: downloading github.com/davecgh/go-spew v1.1.1 21:30:38 go: downloading github.com/pmezard/go-difflib v1.0.0 21:30:38 go: downloading github.com/go-logfmt/logfmt v0.5.0 21:30:38 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:30:38 go: downloading github.com/stretchr/objx v0.1.1 21:30:38 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:30:38 go: downloading github.com/mitchellh/copystructure v1.0.0 21:30:38 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:30:38 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:30:38 go: downloading golang.org/x/text v0.3.6 21:30:38 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 21:30:38 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 21:30:38 go: downloading github.com/hashicorp/errwrap v1.0.0 21:30:38 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:30:38 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:30:38 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:30:38 go: downloading github.com/hashicorp/serf v0.9.5 21:30:38 go: downloading github.com/x448/float16 v0.8.4 21:30:38 go: downloading github.com/gorilla/websocket v1.4.2 21:30:38 go: downloading github.com/mitchellh/reflectwalk v1.0.0 21:30:38 go: downloading github.com/go-playground/universal-translator v0.18.0 21:30:38 go: downloading github.com/leodido/go-urn v1.2.1 21:30:38 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 21:30:38 go: downloading github.com/fatih/color v1.9.0 21:30:38 go: downloading github.com/mattn/go-colorable v0.1.6 21:30:38 go: downloading github.com/mattn/go-isatty v0.0.12 21:30:38 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:30:38 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 21:30:40 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 21:30:40 + go mod tidy 21:30:40 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 21:30:40 go: downloading github.com/go-stack/stack v1.8.0 21:30:40 go: downloading github.com/go-playground/assert/v2 v2.0.1 21:30:40 go: downloading github.com/hashicorp/consul/sdk v0.8.0 21:30:40 go: downloading github.com/hashicorp/go-uuid v1.0.1 21:30:40 go: downloading github.com/onsi/ginkgo v1.10.1 21:30:40 go: downloading github.com/onsi/gomega v1.7.0 21:30:40 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:30:40 go: downloading github.com/hashicorp/memberlist v0.2.2 21:30:40 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:30:40 go: downloading github.com/kr/pretty v0.3.0 21:30:40 go: downloading github.com/pkg/errors v0.9.1 21:30:40 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 21:30:40 go: downloading github.com/rogpeppe/go-internal v1.8.0 21:30:40 go: downloading github.com/kr/text v0.2.0 21:30:40 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:30:40 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:30:40 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 21:30:40 go: downloading github.com/miekg/dns v1.1.26 21:30:40 go: downloading gopkg.in/yaml.v2 v2.3.0 21:30:40 go: downloading github.com/hpcloud/tail v1.0.0 21:30:40 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:30:40 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 21:30:40 $ docker stop --time=1 4d0f5689c7d44446a3074239c481cc10cfb0be6188cc5fa31b692a9e1c19edce 21:30:42 $ docker rm -f 4d0f5689c7d44446a3074239c481cc10cfb0be6188cc5fa31b692a9e1c19edce [Pipeline] // withDockerContainer [Pipeline] sh 21:30:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:30:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:30:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:30:44 + ls -al . 21:30:44 total 308 21:30:44 drwxrwxr-x 12 jenkins jenkins 4096 Jun 1 21:30 . 21:30:44 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 21:29 .. 21:30:44 -rw-rw-r-- 1 jenkins jenkins 140 Jun 1 21:29 .dockerignore 21:30:44 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 21:29 .git 21:30:44 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 21:29 .github 21:30:44 -rw-rw-r-- 1 jenkins jenkins 124 Jun 1 21:29 .gitignore 21:30:44 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 21:29 .semver 21:30:44 -rw-rw-r-- 1 jenkins jenkins 26321 Jun 1 21:29 CHANGELOG.md 21:30:44 -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 21:29 GOVERNANCE.md 21:30:44 -rw-rw-r-- 1 jenkins jenkins 880 Jun 1 21:29 Jenkinsfile 21:30:44 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 1 21:29 LICENSE 21:30:44 -rw-rw-r-- 1 jenkins jenkins 1120 Jun 1 21:29 Makefile 21:30:44 -rw-rw-r-- 1 jenkins jenkins 619 Jun 1 21:29 OWNERS.md 21:30:44 -rw-rw-r-- 1 jenkins jenkins 4890 Jun 1 21:29 README.md 21:30:44 -rw-rw-r-- 1 jenkins jenkins 11 Jun 1 21:29 VERSION 21:30:44 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 21:29 bin 21:30:44 -rw-r--r-- 1 jenkins jenkins 128641 Jun 1 21:30 coverage.out 21:30:44 drwxrwxr-x 5 jenkins jenkins 4096 Jun 1 21:29 example 21:30:44 -rw-rw-r-- 1 jenkins jenkins 588 Jun 1 21:30 go.mod 21:30:44 -rw-rw-r-- 1 jenkins jenkins 48982 Jun 1 21:29 go.sum 21:30:44 drwxrwxr-x 15 jenkins jenkins 4096 Jun 1 21:29 internal 21:30:44 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 21:29 openapi 21:30:44 drwxrwxr-x 5 jenkins jenkins 4096 Jun 1 21:29 pkg 21:30:44 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 21:29 snap 21:30:44 drwxrwxr-x 6 jenkins jenkins 4096 Jun 1 21:29 vendor 21:30:44 -rw-rw-r-- 1 jenkins jenkins 222 Jun 1 21:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:44 + 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=00685ec2d5c51377ae61b360273945aff10f59dc --label arch=amd64 --label version=2.1.1-dev.3 . 21:30:44 Sending build context to Docker daemon 20.83MB 21:30:44 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 21:30:44 Step 2/24 : FROM ${BASE} AS builder 21:30:44 ---> 533dbcef340f 21:30:44 Step 3/24 : ARG MAKE=make build 21:30:44 ---> Running in 51f870a90ffe 21:30:44 Removing intermediate container 51f870a90ffe 21:30:44 ---> 2adbe6dfcaf2 21:30:44 Step 4/24 : WORKDIR /device-sdk-go 21:30:45 ---> Running in 1a9852e3e181 21:30:45 Removing intermediate container 1a9852e3e181 21:30:45 ---> e3bb9e5b22d1 21:30:45 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:30:45 ---> Running in 354f6a301899 21:30:45 Removing intermediate container 354f6a301899 21:30:45 ---> 9f8159dafc42 21:30:45 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:30:45 ---> Running in 1f030a865620 21:30:46 Removing intermediate container 1f030a865620 21:30:46 ---> e9d5e90ffe50 21:30:46 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:30:46 ---> Running in 679395f82347 21:30:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:30:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:30:47 OK: 221 MiB in 52 packages 21:30:47 Removing intermediate container 679395f82347 21:30:47 ---> afbd52d4956d 21:30:47 Step 8/24 : COPY . . 21:30:48 ---> 57b33f534eda 21:30:48 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:30:48 ---> Running in b5524d2146a9 21:30:48 skipping... 21:30:49 Removing intermediate container b5524d2146a9 21:30:49 ---> ac85d4d77ec4 21:30:49 Step 10/24 : RUN ${MAKE} 21:30:49 ---> Running in c440e96f4e73 21:30:49 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.1.1-dev.3" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:30:56 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:30:56 Removing intermediate container c440e96f4e73 21:30:56 ---> 07e271c8bc5a 21:30:56 Step 11/24 : FROM alpine:3.14 21:30:57 3.14: Pulling from library/alpine 21:30:57 8663204ce13b: Pulling fs layer 21:30:57 8663204ce13b: Verifying Checksum 21:30:57 8663204ce13b: Download complete 21:30:58 8663204ce13b: Pull complete 21:30:58 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:30:58 Status: Downloaded newer image for alpine:3.14 21:30:58 ---> e04c818066af 21:30:58 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:30:58 ---> Running in d67cd06fce34 21:30:58 Removing intermediate container d67cd06fce34 21:30:58 ---> fe265ac73f15 21:30:58 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:30:58 ---> Running in 4b0393639834 21:30:58 Removing intermediate container 4b0393639834 21:30:58 ---> f57e86715e5f 21:30:58 Step 14/24 : RUN apk add --update --no-cache zeromq 21:30:58 ---> Running in 5053c0b5fee1 21:30:58 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:30:59 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:31:00 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:31:00 (2/5) Installing libsodium (1.0.18-r0) 21:31:00 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:31:00 (4/5) Installing libzmq (4.3.4-r0) 21:31:00 (5/5) Installing zeromq (4.3.4-r0) 21:31:00 Executing busybox-1.33.1-r7.trigger 21:31:00 OK: 8 MiB in 19 packages 21:31:00 Removing intermediate container 5053c0b5fee1 21:31:00 ---> 8f30de9afc1d 21:31:00 Step 15/24 : WORKDIR / 21:31:00 ---> Running in d9cb32efbad2 21:31:00 Removing intermediate container d9cb32efbad2 21:31:00 ---> 0e3d4fba94e6 21:31:00 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:31:01 ---> 9e787749e214 21:31:01 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:31:01 ---> 3a70fa9b11e1 21:31:01 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:31:01 ---> be9f2cb5fd8e 21:31:01 Step 19/24 : EXPOSE 59999 21:31:01 ---> Running in 1d773cb4a462 21:31:01 Removing intermediate container 1d773cb4a462 21:31:01 ---> 2c11fc9c9613 21:31:01 Step 20/24 : ENTRYPOINT ["/device-simple"] 21:31:01 ---> Running in c7268c3b9924 21:31:01 Removing intermediate container c7268c3b9924 21:31:01 ---> 48272b7bc91e 21:31:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:31:01 ---> Running in caf6976026eb 21:31:01 Removing intermediate container caf6976026eb 21:31:01 ---> cfaea0d7fe19 21:31:01 Step 22/24 : LABEL arch=amd64 21:31:01 ---> Running in bf783e5e8932 21:31:01 Removing intermediate container bf783e5e8932 21:31:01 ---> 46571a89d127 21:31:01 Step 23/24 : LABEL git_sha=00685ec2d5c51377ae61b360273945aff10f59dc 21:31:02 ---> Running in 88c24b327d3f 21:31:02 Removing intermediate container 88c24b327d3f 21:31:02 ---> 2ee7731f86e1 21:31:02 Step 24/24 : LABEL version=2.1.1-dev.3 21:31:02 ---> Running in 95703535c951 21:31:02 Removing intermediate container 95703535c951 21:31:02 ---> 8577dd6e09f1 21:31:02 [Warning] One or more build-args [ARCH] were not consumed 21:31:02 Successfully built 8577dd6e09f1 21:31:02 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 21:31:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:31:02 21:31:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:31:03 latest: Pulling from edgex-lftools-log-publisher 21:31:03 5eb5b503b376: Pulling fs layer 21:31:03 5c69ac0246d0: Pulling fs layer 21:31:03 ec43610c2a17: Pulling fs layer 21:31:03 3a2ae6a8a46f: Pulling fs layer 21:31:03 33b1e0a273af: Pulling fs layer 21:31:03 5d3b04190fa2: Pulling fs layer 21:31:03 2f39f015ded8: Pulling fs layer 21:31:03 33b1e0a273af: Waiting 21:31:03 5d3b04190fa2: Waiting 21:31:03 2f39f015ded8: Waiting 21:31:03 3a2ae6a8a46f: Waiting 21:31:03 5c69ac0246d0: Download complete 21:31:03 3a2ae6a8a46f: Download complete 21:31:03 33b1e0a273af: Verifying Checksum 21:31:03 33b1e0a273af: Download complete 21:31:03 ec43610c2a17: Verifying Checksum 21:31:03 ec43610c2a17: Download complete 21:31:03 5d3b04190fa2: Download complete 21:31:03 5eb5b503b376: Verifying Checksum 21:31:03 5eb5b503b376: Download complete 21:31:03 2f39f015ded8: Download complete 21:31:04 5eb5b503b376: Pull complete 21:31:04 5c69ac0246d0: Pull complete 21:31:05 ec43610c2a17: Pull complete 21:31:05 3a2ae6a8a46f: Pull complete 21:31:05 33b1e0a273af: Pull complete 21:31:05 5d3b04190fa2: Pull complete 21:31:09 2f39f015ded8: Pull complete 21:31:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:31:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:31:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:09 prd-ubuntu20.04-docker-8c-8g-581 does not seem to be running inside a container 21:31:09 $ 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/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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-lftools-log-publisher:latest cat 21:31:11 $ docker top e6ad00f7f0c554cb5b3a2297dc7f3fc5cebddaa00a0be3e34384c538faac6d20 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:11 ---> job-cost.sh 21:31:11 lf-activate-venv: SKIPPING 21:31:11 INFO: No Stack... 21:31:12 INFO: Retrieving Pricing Info for: v3-standard-8 21:31:12 INFO: Archiving Costs [Pipeline] sh 21:31:12 + cat /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/cost.csv 21:31:12 + cut -d, -f6 [Pipeline] lock 21:31:12 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-jakarta-7-stack-cost] 21:31:12 Resource [jenkins-edgexfoundry-device-sdk-go-jakarta-7-stack-cost] did not exist. Created. 21:31:12 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-jakarta-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:31:12 + echo total: 0.2199999988079071 [Pipeline] stash 21:31:13 Stashed 1 file(s) [Pipeline] } 21:31:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-jakarta-7-stack-cost] [Pipeline] // lock [Pipeline] } 21:31:13 $ docker stop --time=1 e6ad00f7f0c554cb5b3a2297dc7f3fc5cebddaa00a0be3e34384c538faac6d20 21:31:14 $ docker rm -f e6ad00f7f0c554cb5b3a2297dc7f3fc5cebddaa00a0be3e34384c538faac6d20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:31:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-582 in /w/workspace/gexfoundry_device-sdk-go_jakarta [Pipeline] { [Pipeline] ws 21:31:51 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 21:31:51 The recommended git tool is: git 21:31:57 using credential edgex-jenkins-ssh 21:31:57 Cloning the remote Git repository 21:31:57 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:31:57 > git init /w/workspace/device-sdk-go/7 # timeout=10 21:31:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:31:57 > git --version # timeout=10 21:31:57 > git --version # 'git version 2.25.1' 21:31:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:31:58 Avoid second fetch 21:31:58 Checking out Revision 00685ec2d5c51377ae61b360273945aff10f59dc (jakarta) 21:31:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:31:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:31:59 > git config core.sparsecheckout # timeout=10 21:31:59 > git checkout -f 00685ec2d5c51377ae61b360273945aff10f59dc # timeout=10 21:32:03 Commit message: "Merge pull request #1171 from lenny-intel/go-mods-for-2.1.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:32:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:32:04 % Total % Received % Xferd Average Speed Time Time Time Current 21:32:04 Dload Upload Total Spent Left Speed 21:32:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 92127 0 --:--:-- --:--:-- --:--:-- 92127 [Pipeline] sh 21:32:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:32:05 + sudo tee+ /etc/docker/daemon.new 21:32:05 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:32:05 { 21:32:05 "registry-mirrors": [ 21:32:05 "https://nexus3.edgexfoundry.org:10001" 21:32:05 ], 21:32:05 "bip": "10.250.0.254/24", 21:32:05 "hosts": [ 21:32:05 "tcp://0.0.0.0:5555", 21:32:05 "unix:///var/run/docker.sock" 21:32:05 ], 21:32:05 "mtu": 1458, 21:32:05 "selinux-enabled": true, 21:32:05 "seccomp-profile": "/etc/docker/seccomp.json" 21:32:05 } [Pipeline] sh 21:32:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:32:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:32:24 provisioning config files... 21:32:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config7249150388286496763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:24 ---> docker-login.sh 21:32:24 nexus3.edgexfoundry.org:10001 21:32:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:25 Configure a credential helper to remove this warning. See 21:32:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:25 21:32:25 Login Succeeded 21:32:25 nexus3.edgexfoundry.org:10002 21:32:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:26 Configure a credential helper to remove this warning. See 21:32:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:26 21:32:26 Login Succeeded 21:32:26 nexus3.edgexfoundry.org:10003 21:32:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:26 Configure a credential helper to remove this warning. See 21:32:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:26 21:32:26 Login Succeeded 21:32:26 nexus3.edgexfoundry.org:10004 21:32:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:27 Configure a credential helper to remove this warning. See 21:32:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:27 21:32:27 Login Succeeded 21:32:27 docker.io 21:32:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:27 Configure a credential helper to remove this warning. See 21:32:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:27 21:32:27 Login Succeeded 21:32:27 ---> docker-login.sh ends [Pipeline] } 21:32:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:32:27 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:32:28 ========================================================= 21:32:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 21:32:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:28 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 21:32:29 Sending build context to Docker daemon 16.21MB 21:32:29 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 21:32:29 Step 2/10 : FROM ${BASE} AS builder 21:32:29 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 21:32:29 9b3977197b4f: Pulling fs layer 21:32:29 1a89e8eeedd5: Pulling fs layer 21:32:29 94645a83ff95: Pulling fs layer 21:32:29 3f3a8bcf1eab: Pulling fs layer 21:32:29 0c92f367c5e7: Pulling fs layer 21:32:29 63b1bc5785f6: Pulling fs layer 21:32:29 626d30ff41c6: Pulling fs layer 21:32:29 de1d54c125be: Pulling fs layer 21:32:29 3f3a8bcf1eab: Waiting 21:32:29 0c92f367c5e7: Waiting 21:32:29 63b1bc5785f6: Waiting 21:32:29 626d30ff41c6: Waiting 21:32:29 de1d54c125be: Waiting 21:32:29 94645a83ff95: Verifying Checksum 21:32:29 94645a83ff95: Download complete 21:32:29 1a89e8eeedd5: Verifying Checksum 21:32:29 1a89e8eeedd5: Download complete 21:32:29 0c92f367c5e7: Verifying Checksum 21:32:29 0c92f367c5e7: Download complete 21:32:29 63b1bc5785f6: Download complete 21:32:29 9b3977197b4f: Verifying Checksum 21:32:29 9b3977197b4f: Download complete 21:32:29 626d30ff41c6: Verifying Checksum 21:32:29 626d30ff41c6: Download complete 21:32:30 9b3977197b4f: Pull complete 21:32:30 1a89e8eeedd5: Pull complete 21:32:31 94645a83ff95: Pull complete 21:32:31 de1d54c125be: Verifying Checksum 21:32:31 de1d54c125be: Download complete 21:32:32 3f3a8bcf1eab: Verifying Checksum 21:32:32 3f3a8bcf1eab: Download complete 21:32:44 3f3a8bcf1eab: Pull complete 21:32:44 0c92f367c5e7: Pull complete 21:32:45 63b1bc5785f6: Pull complete 21:32:45 626d30ff41c6: Pull complete 21:32:52 de1d54c125be: Pull complete 21:32:52 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 21:32:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 21:32:52 ---> 5f011755c4a2 21:32:52 Step 3/10 : ARG MAKE=make build 21:32:53 ---> Running in 1789abda104b 21:32:53 Removing intermediate container 1789abda104b 21:32:53 ---> dedb850d27cd 21:32:53 Step 4/10 : WORKDIR /device-sdk-go 21:32:53 ---> Running in 202d5156a0fc 21:32:54 Removing intermediate container 202d5156a0fc 21:32:54 ---> f659fd84b71c 21:32:54 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:32:54 ---> Running in 9a4c8776527f 21:32:55 Removing intermediate container 9a4c8776527f 21:32:55 ---> 761346acd363 21:32:55 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:32:55 ---> Running in 901e7b67ffca 21:32:57 Removing intermediate container 901e7b67ffca 21:32:57 ---> 5772c90757ae 21:32:57 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:32:57 ---> Running in 4a235604844a 21:32:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:32:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:33:00 OK: 220 MiB in 52 packages 21:33:01 Removing intermediate container 4a235604844a 21:33:01 ---> d10950ae80b1 21:33:01 Step 8/10 : COPY . . 21:33:05 ---> 76981492d865 21:33:05 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:33:05 ---> Running in a62e75626eaf 21:33:06 skipping... 21:33:06 Removing intermediate container a62e75626eaf 21:33:06 ---> 42392b54ed2c 21:33:06 Step 10/10 : RUN ${MAKE} 21:33:06 ---> Running in e2a0c5bdf05c 21:33:07 noop 21:33:08 Removing intermediate container e2a0c5bdf05c 21:33:08 ---> 18c0f839bb14 21:33:08 Successfully built 18c0f839bb14 21:33:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:09 + docker inspect -f . ci-base-image-arm64 21:33:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:09 prd-ubuntu20.04-docker-arm64-4c-16g-582 does not seem to be running inside a container 21:33:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-arm64 cat 21:33:10 $ docker top 797e3894ea2a839964082b196086b788a8cafcf37344f7ad2af923367b631567 -eo pid,comm [Pipeline] { [Pipeline] sh 21:33:11 + go version 21:33:11 go version go1.17.6 linux/arm64 [Pipeline] } 21:33:11 $ docker stop --time=1 797e3894ea2a839964082b196086b788a8cafcf37344f7ad2af923367b631567 21:33:13 $ docker rm -f 797e3894ea2a839964082b196086b788a8cafcf37344f7ad2af923367b631567 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:14 + docker inspect -f . ci-base-image-arm64 21:33:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:14 prd-ubuntu20.04-docker-arm64-4c-16g-582 does not seem to be running inside a container 21:33:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-arm64 cat 21:33:15 $ docker top 2256575f8358af9c4c59103e56c23ce97c4351e70ff1a575197460eee69b2038 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:33:16 + make test 21:33:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:33:49 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:34:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:34:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:34:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:35:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.302s coverage: 23.3% of statements 21:35:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:35:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.254s coverage: 27.6% of statements 21:35:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.268s coverage: 78.9% of statements 21:35:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.225s coverage: 9.0% of statements 21:35:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 21:35:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:35:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:35:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.335s coverage: 28.7% of statements 21:35:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:35:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.267s coverage: 82.9% of statements 21:35:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:35:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:35:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.403s coverage: 57.8% of statements 21:35:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.192s coverage: 89.2% of statements 21:35:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:35:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.221s coverage: 4.8% of statements 21:35:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:35:11 GO111MODULE=on go vet ./... 21:36:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:36:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:36:07 ./bin/test-attribution-txt.sh 21:36:08 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 21:36:08 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1-dev.2 21:36:08 go: downloading github.com/google/uuid v1.3.0 21:36:08 go: downloading github.com/stretchr/testify v1.7.0 21:36:08 go: downloading github.com/OneOfOne/xxhash v1.2.8 21:36:08 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 21:36:08 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1-dev.2 21:36:08 go: downloading github.com/pelletier/go-toml v1.9.4 21:36:08 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 21:36:09 go: downloading github.com/gorilla/mux v1.8.0 21:36:09 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:36:09 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:36:09 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 21:36:09 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1-dev.1 21:36:09 go: downloading github.com/hashicorp/go-multierror v1.1.0 21:36:09 go: downloading github.com/hashicorp/consul/api v1.9.1 21:36:09 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:36:09 go: downloading github.com/go-kit/kit v0.11.0 21:36:09 go: downloading github.com/go-playground/validator/v10 v10.9.0 21:36:09 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 21:36:09 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 21:36:09 go: downloading github.com/pebbe/zmq4 v1.2.7 21:36:09 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:36:09 go: downloading github.com/go-logfmt/logfmt v0.5.0 21:36:09 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:36:09 go: downloading github.com/davecgh/go-spew v1.1.1 21:36:09 go: downloading github.com/pmezard/go-difflib v1.0.0 21:36:09 go: downloading github.com/stretchr/objx v0.1.1 21:36:09 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 21:36:09 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:36:09 go: downloading github.com/mitchellh/copystructure v1.0.0 21:36:09 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:36:09 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 21:36:09 go: downloading golang.org/x/text v0.3.6 21:36:11 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:36:11 go: downloading github.com/hashicorp/errwrap v1.0.0 21:36:11 go: downloading github.com/x448/float16 v0.8.4 21:36:11 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:36:11 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:36:11 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:36:11 go: downloading github.com/hashicorp/serf v0.9.5 21:36:11 go: downloading github.com/go-playground/universal-translator v0.18.0 21:36:11 go: downloading github.com/leodido/go-urn v1.2.1 21:36:11 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 21:36:13 go: downloading github.com/gorilla/websocket v1.4.2 21:36:13 go: downloading github.com/mitchellh/reflectwalk v1.0.0 21:36:13 go: downloading github.com/fatih/color v1.9.0 21:36:13 go: downloading github.com/mattn/go-colorable v0.1.6 21:36:13 go: downloading github.com/mattn/go-isatty v0.0.12 21:36:13 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:36:13 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 21:36:18 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 21:36:19 + go mod tidy 21:36:19 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 21:36:19 go: downloading github.com/go-stack/stack v1.8.0 21:36:19 go: downloading github.com/go-playground/assert/v2 v2.0.1 21:36:19 go: downloading github.com/hashicorp/consul/sdk v0.8.0 21:36:19 go: downloading github.com/hashicorp/go-uuid v1.0.1 21:36:19 go: downloading github.com/onsi/ginkgo v1.10.1 21:36:19 go: downloading github.com/onsi/gomega v1.7.0 21:36:19 go: downloading github.com/kr/pretty v0.3.0 21:36:20 go: downloading github.com/pkg/errors v0.9.1 21:36:20 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:36:20 go: downloading github.com/hashicorp/memberlist v0.2.2 21:36:20 go: downloading github.com/kr/text v0.2.0 21:36:20 go: downloading github.com/rogpeppe/go-internal v1.8.0 21:36:20 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 21:36:20 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:36:20 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:36:20 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 21:36:20 go: downloading github.com/miekg/dns v1.1.26 21:36:20 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:36:20 go: downloading gopkg.in/yaml.v2 v2.3.0 21:36:20 go: downloading github.com/hpcloud/tail v1.0.0 21:36:20 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:36:20 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 21:36:21 $ docker stop --time=1 2256575f8358af9c4c59103e56c23ce97c4351e70ff1a575197460eee69b2038 21:36:23 $ docker rm -f 2256575f8358af9c4c59103e56c23ce97c4351e70ff1a575197460eee69b2038 [Pipeline] // withDockerContainer [Pipeline] sh 21:36:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:36:26 Warning: overwriting stash ‘coverage-report’ 21:36:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:36:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:36:27 + ls -al . 21:36:27 total 304 21:36:27 drwxrwxr-x 11 jenkins jenkins 4096 Jun 1 21:36 . 21:36:27 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 21:31 .. 21:36:27 -rw-rw-r-- 1 jenkins jenkins 140 Jun 1 21:31 .dockerignore 21:36:27 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 21:32 .git 21:36:27 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 21:31 .github 21:36:27 -rw-rw-r-- 1 jenkins jenkins 124 Jun 1 21:31 .gitignore 21:36:27 -rw-rw-r-- 1 jenkins jenkins 26321 Jun 1 21:31 CHANGELOG.md 21:36:27 -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 21:31 GOVERNANCE.md 21:36:27 -rw-rw-r-- 1 jenkins jenkins 880 Jun 1 21:31 Jenkinsfile 21:36:27 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 1 21:31 LICENSE 21:36:27 -rw-rw-r-- 1 jenkins jenkins 1120 Jun 1 21:31 Makefile 21:36:27 -rw-rw-r-- 1 jenkins jenkins 619 Jun 1 21:31 OWNERS.md 21:36:27 -rw-rw-r-- 1 jenkins jenkins 4890 Jun 1 21:31 README.md 21:36:27 -rw-rw-r-- 1 jenkins jenkins 11 Jun 1 21:29 VERSION 21:36:27 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 21:31 bin 21:36:27 -rw-r--r-- 1 jenkins jenkins 128641 Jun 1 21:35 coverage.out 21:36:27 drwxrwxr-x 5 jenkins jenkins 4096 Jun 1 21:31 example 21:36:27 -rw-rw-r-- 1 jenkins jenkins 588 Jun 1 21:36 go.mod 21:36:27 -rw-rw-r-- 1 jenkins jenkins 48982 Jun 1 21:31 go.sum 21:36:27 drwxrwxr-x 15 jenkins jenkins 4096 Jun 1 21:31 internal 21:36:27 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 21:31 openapi 21:36:27 drwxrwxr-x 5 jenkins jenkins 4096 Jun 1 21:31 pkg 21:36:27 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 21:31 snap 21:36:27 drwxrwxr-x 6 jenkins jenkins 4096 Jun 1 21:31 vendor 21:36:27 -rw-rw-r-- 1 jenkins jenkins 222 Jun 1 21:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:28 + 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=00685ec2d5c51377ae61b360273945aff10f59dc --label arch=arm64 --label version=2.1.1-dev.3 . 21:36:29 Sending build context to Docker daemon 16.34MB 21:36:29 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 21:36:29 Step 2/24 : FROM ${BASE} AS builder 21:36:29 ---> 18c0f839bb14 21:36:29 Step 3/24 : ARG MAKE=make build 21:36:29 ---> Running in 41ad19d53468 21:36:29 Removing intermediate container 41ad19d53468 21:36:29 ---> e63cfdd7e755 21:36:29 Step 4/24 : WORKDIR /device-sdk-go 21:36:30 ---> Running in 3d954fd9ebcb 21:36:30 Removing intermediate container 3d954fd9ebcb 21:36:30 ---> 82a21a2c308f 21:36:30 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:36:30 ---> Running in 94e9e29a3b63 21:36:30 Removing intermediate container 94e9e29a3b63 21:36:30 ---> db5d8eb5453c 21:36:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:36:30 ---> Running in 6c3cd2af84bd 21:36:33 Removing intermediate container 6c3cd2af84bd 21:36:33 ---> 8ff87a445f9c 21:36:33 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:36:33 ---> Running in c2263c009a06 21:36:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:36:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:36:35 OK: 220 MiB in 52 packages 21:36:36 Removing intermediate container c2263c009a06 21:36:36 ---> 257ee65ad91a 21:36:36 Step 8/24 : COPY . . 21:36:40 ---> 2f95d70b2e4d 21:36:40 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:36:40 ---> Running in 75419848d2db 21:36:41 skipping... 21:36:42 Removing intermediate container 75419848d2db 21:36:42 ---> 4bd007b3f185 21:36:42 Step 10/24 : RUN ${MAKE} 21:36:42 ---> Running in cc8682781fd0 21:36:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.1.1-dev.3" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:37:22 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:37:24 Removing intermediate container cc8682781fd0 21:37:24 ---> 61b0777f94f1 21:37:24 Step 11/24 : FROM alpine:3.14 21:37:25 3.14: Pulling from library/alpine 21:37:25 455c02918c45: Pulling fs layer 21:37:25 455c02918c45: Verifying Checksum 21:37:25 455c02918c45: Download complete 21:37:26 455c02918c45: Pull complete 21:37:26 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:37:26 Status: Downloaded newer image for alpine:3.14 21:37:26 ---> ac73e934f311 21:37:26 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:37:26 ---> Running in 85df4d98210c 21:37:26 Removing intermediate container 85df4d98210c 21:37:26 ---> f5fe6a4fe089 21:37:26 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:37:26 ---> Running in 19fa47be217d 21:37:28 Removing intermediate container 19fa47be217d 21:37:28 ---> b37f5f41d852 21:37:28 Step 14/24 : RUN apk add --update --no-cache zeromq 21:37:28 ---> Running in d11dddab6444 21:37:29 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:37:30 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:37:31 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:37:31 (2/5) Installing libsodium (1.0.18-r0) 21:37:31 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:37:31 (4/5) Installing libzmq (4.3.4-r0) 21:37:31 (5/5) Installing zeromq (4.3.4-r0) 21:37:31 Executing busybox-1.33.1-r7.trigger 21:37:32 OK: 8 MiB in 19 packages 21:37:33 Removing intermediate container d11dddab6444 21:37:33 ---> 62cd0c49f0a2 21:37:33 Step 15/24 : WORKDIR / 21:37:33 ---> Running in 4b7de4798791 21:37:33 Removing intermediate container 4b7de4798791 21:37:33 ---> 1337a36f8bf5 21:37:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:37:34 ---> 65677cdc419f 21:37:34 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:37:35 ---> cd12d2c0ccfc 21:37:35 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:37:35 ---> 23c0acca6ea8 21:37:35 Step 19/24 : EXPOSE 59999 21:37:35 ---> Running in 42303d0f3e31 21:37:35 Removing intermediate container 42303d0f3e31 21:37:35 ---> dc6e8ef10ce2 21:37:35 Step 20/24 : ENTRYPOINT ["/device-simple"] 21:37:35 ---> Running in cadfa42f6df9 21:37:36 Removing intermediate container cadfa42f6df9 21:37:36 ---> 6ae2f327cb9e 21:37:36 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:37:36 ---> Running in 224651e02caf 21:37:36 Removing intermediate container 224651e02caf 21:37:36 ---> 0afffb326a9c 21:37:36 Step 22/24 : LABEL arch=arm64 21:37:36 ---> Running in 46b473b34911 21:37:37 Removing intermediate container 46b473b34911 21:37:37 ---> 37b5d64bcddc 21:37:37 Step 23/24 : LABEL git_sha=00685ec2d5c51377ae61b360273945aff10f59dc 21:37:37 ---> Running in c4388ea526be 21:37:37 Removing intermediate container c4388ea526be 21:37:37 ---> 5703d46be505 21:37:37 Step 24/24 : LABEL version=2.1.1-dev.3 21:37:37 ---> Running in 5dc2dec88260 21:37:37 Removing intermediate container 5dc2dec88260 21:37:37 ---> 5ca8b6b64128 21:37:37 [Warning] One or more build-args [ARCH] were not consumed 21:37:38 Successfully built 5ca8b6b64128 21:37:38 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 21:37:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:37:38 21:37:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:37:39 arm64: Pulling from edgex-lftools-log-publisher 21:37:39 8998bd30e6a1: Pulling fs layer 21:37:39 04944245beec: Pulling fs layer 21:37:39 699f458cf7ca: Pulling fs layer 21:37:39 765212b225bb: Pulling fs layer 21:37:39 f23df028b6ca: Pulling fs layer 21:37:39 d65c8cfc05b1: Pulling fs layer 21:37:39 2437ff75d9bd: Pulling fs layer 21:37:39 f23df028b6ca: Waiting 21:37:39 d65c8cfc05b1: Waiting 21:37:39 765212b225bb: Waiting 21:37:39 2437ff75d9bd: Waiting 21:37:39 04944245beec: Verifying Checksum 21:37:39 04944245beec: Download complete 21:37:39 765212b225bb: Verifying Checksum 21:37:39 765212b225bb: Download complete 21:37:39 f23df028b6ca: Verifying Checksum 21:37:39 f23df028b6ca: Download complete 21:37:39 d65c8cfc05b1: Verifying Checksum 21:37:39 d65c8cfc05b1: Download complete 21:37:39 699f458cf7ca: Verifying Checksum 21:37:39 699f458cf7ca: Download complete 21:37:39 8998bd30e6a1: Download complete 21:37:42 2437ff75d9bd: Verifying Checksum 21:37:42 2437ff75d9bd: Download complete 21:37:44 8998bd30e6a1: Pull complete 21:37:44 04944245beec: Pull complete 21:37:46 699f458cf7ca: Pull complete 21:37:46 765212b225bb: Pull complete 21:37:47 f23df028b6ca: Pull complete 21:37:47 d65c8cfc05b1: Pull complete 21:38:02 2437ff75d9bd: Pull complete 21:38:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:38:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:38:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:02 prd-ubuntu20.04-docker-arm64-4c-16g-582 does not seem to be running inside a container 21:38:02 $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:38:05 $ docker top f985af4cc362857ef5286c8ed68613b96b5b619a91ef8fba5911a2d860bd7f7c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:06 ---> job-cost.sh 21:38:06 lf-activate-venv: SKIPPING 21:38:06 INFO: No Stack... 21:38:07 INFO: Retrieving Pricing Info for: v3-standard-4 21:38:08 INFO: Archiving Costs [Pipeline] sh 21:38:08 + cat /w/workspace/device-sdk-go/7/archives/cost.csv 21:38:08 + cut -d, -f6 [Pipeline] lock 21:38:08 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-jakarta-7-stack-cost] 21:38:08 Resource [jenkins-edgexfoundry-device-sdk-go-jakarta-7-stack-cost] did not exist. Created. 21:38:08 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-jakarta-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:38:09 /w/workspace/device-sdk-go/7@tmp/durable-5d3b065b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:38:10 + echo total: 0.10999999940395355 [Pipeline] stash 21:38:10 Warning: overwriting stash ‘stack-cost’ 21:38:10 Stashed 1 file(s) [Pipeline] } 21:38:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-jakarta-7-stack-cost] [Pipeline] // lock [Pipeline] } 21:38:10 $ docker stop --time=1 f985af4cc362857ef5286c8ed68613b96b5b619a91ef8fba5911a2d860bd7f7c 21:38:12 $ docker rm -f f985af4cc362857ef5286c8ed68613b96b5b619a91ef8fba5911a2d860bd7f7c [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 21:38:12 provisioning config files... 21:38:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config285755274866958443tmp [Pipeline] { [Pipeline] sh 21:38:13 + set +x 21:38:13 + bash -s -- 21:38:13 + curl -s https://codecov.io/bash 21:38:13 21:38:13 _____ _ 21:38:13 / ____| | | 21:38:13 | | ___ __| | ___ ___ _____ __ 21:38:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:38:13 | |___| (_) | (_| | __/ (_| (_) \ V / 21:38:13 \_____\___/ \__,_|\___|\___\___/ \_/ 21:38:13 Bash-1.0.6 21:38:13 21:38:13 21:38:13 ==> git version 2.25.1 found 21:38:13 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:38:13 Release-Date: 2020-01-08 21:38:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:38:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:38:13 ==> Jenkins CI detected. 21:38:13 current dir:  /w/workspace/gexfoundry_device-sdk-go_jakarta 21:38:13 project root: . 21:38:13 --> token set from env 21:38:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:38:13 ==> Running gcov in . (disable via -X gcov) 21:38:13 ==> Python coveragepy not found 21:38:13 ==> Searching for coverage reports in: 21:38:13 + . 21:38:13 -> Found 1 reports 21:38:13 ==> Detecting git/mercurial file structure 21:38:13 ==> Reading reports 21:38:13 + ./coverage.out bytes=128641 21:38:13 ==> Appending adjustments 21:38:13 https://docs.codecov.io/docs/fixing-reports 21:38:13 + Found adjustments 21:38:13 ==> Gzipping contents 21:38:13 24K /tmp/codecov.Z916wt.gz 21:38:13 ==> Uploading reports 21:38:13 url: https://codecov.io 21:38:13 query: branch=jakarta&commit=00685ec2d5c51377ae61b360273945aff10f59dc&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fjakarta%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:38:13 -> Pinging Codecov 21:38:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=jakarta&commit=00685ec2d5c51377ae61b360273945aff10f59dc&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fjakarta%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:38:13 -> Uploading to 21:38:13 https://storage.googleapis.com/codecov/v4/raw/2022-06-01/7E55EF52A471D76F132DFD9A03CDDE97/00685ec2d5c51377ae61b360273945aff10f59dc/f04e5355-ce84-4b19-a0bd-cece57f66c4d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220601%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220601T213813Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=06a64699c150b88f1fa23357f68b2e3acb72951bd13001ccb8cec9cffc5c6e7d 21:38:13 % Total % Received % Xferd Average Speed Time Time Time Current 21:38:13 Dload Upload Total Spent Left Speed 21:38:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23047 0 0 100 23047 0 99k --:--:-- --:--:-- --:--:-- 99k 21:38:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/00685ec2d5c51377ae61b360273945aff10f59dc [Pipeline] } 21:38:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:38:14 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:38:14 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:38:14 21:38:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:38:14 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:38:14 df9b9388f04a: Pulling fs layer 21:38:14 52dc419b0ee2: Pulling fs layer 21:38:14 25bc292e5bac: Pulling fs layer 21:38:14 114826534d7a: Pulling fs layer 21:38:14 4657fd5d0bcf: Pulling fs layer 21:38:14 6ad1cebc031e: Pulling fs layer 21:38:14 8a3aa393b2d8: Pulling fs layer 21:38:14 6ad1cebc031e: Waiting 21:38:14 114826534d7a: Waiting 21:38:14 4657fd5d0bcf: Waiting 21:38:14 8a3aa393b2d8: Waiting 21:38:14 25bc292e5bac: Verifying Checksum 21:38:14 25bc292e5bac: Download complete 21:38:14 52dc419b0ee2: Download complete 21:38:14 4657fd5d0bcf: Verifying Checksum 21:38:14 4657fd5d0bcf: Download complete 21:38:14 df9b9388f04a: Verifying Checksum 21:38:14 df9b9388f04a: Download complete 21:38:15 df9b9388f04a: Pull complete 21:38:15 6ad1cebc031e: Verifying Checksum 21:38:15 6ad1cebc031e: Download complete 21:38:15 52dc419b0ee2: Pull complete 21:38:15 25bc292e5bac: Pull complete 21:38:15 114826534d7a: Download complete 21:38:15 8a3aa393b2d8: Verifying Checksum 21:38:15 8a3aa393b2d8: Download complete 21:38:19 114826534d7a: Pull complete 21:38:19 4657fd5d0bcf: Pull complete 21:38:19 6ad1cebc031e: Pull complete 21:38:22 8a3aa393b2d8: Pull complete 21:38:22 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:38:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:38:22 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:22 prd-ubuntu20.04-docker-8c-8g-581 does not seem to be running inside a container 21:38:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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/edgex-snyk-go:1.410.4 cat 21:38:23 $ docker top 74feabcdd2333bd95c64f8d4a66f78b669a6e0b4c63e4198d142cb8675fa9d8c -eo pid,comm [Pipeline] { [Pipeline] echo 21:38:23 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 21:38:24 + set -o pipefail 21:38:24 + snyk monitor '--org=edgex-jenkins' 21:38:26 21:38:26 Monitoring /w/workspace/gexfoundry_device-sdk-go_jakarta (github.com/edgexfoundry/device-sdk-go/v2)... 21:38:26 21:38:26 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/ba377af3-36a8-4335-a1bd-36a721f94976/history/648731d8-b33a-42bd-a939-917bc8092155 21:38:26 21:38:26 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:38:26 21:38:26 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:38:26 21:38:26 [Pipeline] } 21:38:27 $ docker stop --time=1 74feabcdd2333bd95c64f8d4a66f78b669a6e0b4c63e4198d142cb8675fa9d8c 21:38:28 $ docker rm -f 74feabcdd2333bd95c64f8d4a66f78b669a6e0b4c63e4198d142cb8675fa9d8c [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 21:38:28 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:38:28 provisioning config files... 21:38:28 copy managed file [swaggerhub-api-key] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config1186131363742509974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:29 --> edgex-publish-swagger.sh 21:38:29 === Publish openapi/v2 API === 21:38:29 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 21:38:29 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/gexfoundry_device-sdk-go_jakarta/openapi/v2/device-sdk.yaml] 21:38:29 % Total % Received % Xferd Average Speed Time Time Time Current 21:38:29 Dload Upload Total Spent Left Speed 21:38:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 223k --:--:-- --:--:-- --:--:-- 222k 100 51659 0 0 100 51659 0 60703 --:--:-- --:--:-- --:--:-- 60632 21:38:30 21:38:30 [Pipeline] } 21:38:30 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 21:38:30 + git log --format=format:%s -1 00685ec2d5c51377ae61b360273945aff10f59dc [Pipeline] sh 21:38:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:38:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:38:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:31 prd-ubuntu20.04-docker-8c-8g-581 does not seem to be running inside a container 21:38:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:38:31 $ docker top d9a9dcecd51360c9775aa3a6ab6c1efd1217673122bee203be55dcb91acf8705 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:38:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:31 [ssh-agent] Looking for ssh-agent implementation... 21:38:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:31 $ docker exec d9a9dcecd51360c9775aa3a6ab6c1efd1217673122bee203be55dcb91acf8705 ssh-agent 21:38:31 SSH_AUTH_SOCK=/tmp/ssh-ner6Kt4QZNHS/agent.33 21:38:31 SSH_AGENT_PID=39 21:38:31 Running ssh-add (command line suppressed) 21:38:32 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_8043765376669758055.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_8043765376669758055.key) 21:38:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:32 + git semver tag 21:38:32 2022-06-01 21:38:32,648 [run_tag] DEBUG tag force:False 21:38:32 2022-06-01 21:38:32,648 [check_head_tag] DEBUG check head tag 21:38:32 2022-06-01 21:38:32,648 [execute] INFO git cat-file --batch-check 21:38:32 2022-06-01 21:38:32,648 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=) 21:38:32 2022-06-01 21:38:32,651 [execute] INFO git cat-file --batch 21:38:32 2022-06-01 21:38:32,652 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=) 21:38:32 2022-06-01 21:38:32,661 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:38:32 2022-06-01 21:38:32,661 [execute] INFO git tag -a v2.1.1-dev.3 -m v2.1.1-dev.3 21:38:32 2022-06-01 21:38:32,661 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.3', '-m', 'v2.1.1-dev.3'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=None) 21:38:32 2022-06-01 21:38:32,666 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:38:32 2.1.1-dev.3 [Pipeline] } 21:38:32 $ docker exec --env ******** --env ******** d9a9dcecd51360c9775aa3a6ab6c1efd1217673122bee203be55dcb91acf8705 ssh-agent -k 21:38:32 unset SSH_AUTH_SOCK; 21:38:32 unset SSH_AGENT_PID; 21:38:32 echo Agent pid 39 killed; 21:38:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:38:33 + git semver [Pipeline] } 21:38:33 $ docker stop --time=1 d9a9dcecd51360c9775aa3a6ab6c1efd1217673122bee203be55dcb91acf8705 21:38:34 $ docker rm -f d9a9dcecd51360c9775aa3a6ab6c1efd1217673122bee203be55dcb91acf8705 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:38:35 21:38:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:38:35 0.23.1-centos7: Pulling from edgex-lftools 21:38:35 ab5ef0e58194: Pulling fs layer 21:38:35 9712f1f96733: Pulling fs layer 21:38:35 63f879dbbcfc: Pulling fs layer 21:38:35 0d9ebad4ef96: Pulling fs layer 21:38:35 e9a5061849ea: Pulling fs layer 21:38:35 d747dcd14b5f: Pulling fs layer 21:38:35 2de7ff778b66: Pulling fs layer 21:38:35 0d9ebad4ef96: Waiting 21:38:35 e9a5061849ea: Waiting 21:38:35 2de7ff778b66: Waiting 21:38:35 9712f1f96733: Verifying Checksum 21:38:35 9712f1f96733: Download complete 21:38:35 63f879dbbcfc: Verifying Checksum 21:38:35 63f879dbbcfc: Download complete 21:38:36 e9a5061849ea: Verifying Checksum 21:38:36 e9a5061849ea: Download complete 21:38:36 d747dcd14b5f: Verifying Checksum 21:38:36 d747dcd14b5f: Download complete 21:38:36 0d9ebad4ef96: Verifying Checksum 21:38:36 0d9ebad4ef96: Download complete 21:38:36 ab5ef0e58194: Verifying Checksum 21:38:36 ab5ef0e58194: Download complete 21:38:36 2de7ff778b66: Verifying Checksum 21:38:36 2de7ff778b66: Download complete 21:38:39 ab5ef0e58194: Pull complete 21:38:39 9712f1f96733: Pull complete 21:38:39 63f879dbbcfc: Pull complete 21:38:43 0d9ebad4ef96: Pull complete 21:38:43 e9a5061849ea: Pull complete 21:38:43 d747dcd14b5f: Pull complete 21:38:44 2de7ff778b66: Pull complete 21:38:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:38:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:38:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:44 prd-ubuntu20.04-docker-8c-8g-581 does not seem to be running inside a container 21:38:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:38:46 $ docker top 96bdec3c2a55b4ef286a7e25a92f58228ac1d76d735a0a93ffcb5f0390ce750b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:38:46 provisioning config files... 21:38:46 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config8611132172274689659tmp 21:38:46 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config3560130170183225659tmp 21:38:46 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config5717964578826235658tmp [Pipeline] { [Pipeline] echo 21:38:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:38:46 ---> sigul-configuration.sh 21:38:46 gpg: directory `/root/.gnupg' created 21:38:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:38:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:38:46 gpg: keyring `/root/.gnupg/secring.gpg' created 21:38:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:38:46 gpg: CAST5 encrypted data 21:38:46 gpg: encrypted with 1 passphrase 21:38:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:38:46 + mkdir /home/jenkins 21:38:46 + mkdir /home/jenkins/sigul [Pipeline] sh 21:38:47 + 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 21:38:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:38:47 ---> sigul-install.sh 21:38:47 Sigul already installed; skipping installation. [Pipeline] sh 21:38:47 + git tag --list 21:38:47 0.7.1 21:38:47 delhi-tag 21:38:47 v1.0.0 21:38:47 v1.1.0 21:38:47 v1.1.1 21:38:47 v1.1.2 21:38:47 v1.2.0 21:38:47 v1.2.1 21:38:47 v1.2.2 21:38:47 v1.2.3 21:38:47 v1.3.0 21:38:47 v1.4.0 21:38:47 v2.0.0 21:38:47 v2.1.0 21:38:47 v2.1.1-dev.2 21:38:47 v2.1.1-dev.3 21:38:47 v2.2.0 21:38:47 v2.2.1-dev.1 21:38:47 v2.2.1-dev.2 [Pipeline] sh 21:38:47 + lftools sign git-tag v2.1.1-dev.3 21:38:48 Signing Git tag with Sigul... 21:38:48 Signing v2.1.1-dev.3 [Pipeline] echo 21:38:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:38:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:38:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:38:49 $ docker stop --time=1 96bdec3c2a55b4ef286a7e25a92f58228ac1d76d735a0a93ffcb5f0390ce750b 21:38:50 $ docker rm -f 96bdec3c2a55b4ef286a7e25a92f58228ac1d76d735a0a93ffcb5f0390ce750b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:38:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:38:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:38:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:51 prd-ubuntu20.04-docker-8c-8g-581 does not seem to be running inside a container 21:38:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:38:51 $ docker top 3b919c6a7e06b12ffb64353ac327e48af407bdce05952734f9eab1146b09ddb7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:38:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:51 [ssh-agent] Looking for ssh-agent implementation... 21:38:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:51 $ docker exec 3b919c6a7e06b12ffb64353ac327e48af407bdce05952734f9eab1146b09ddb7 ssh-agent 21:38:52 SSH_AUTH_SOCK=/tmp/ssh-KIdvEbSwKGtU/agent.32 21:38:52 SSH_AGENT_PID=38 21:38:52 Running ssh-add (command line suppressed) 21:38:52 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_2293646174610764130.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_2293646174610764130.key) 21:38:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:52 + git semver bump pre 21:38:52 2022-06-01 21:38:52,593 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:38:52 2022-06-01 21:38:52,593 [bump_version] DEBUG bumping version:2.1.1-dev.3 on axis:pre with prefix:dev 21:38:52 2022-06-01 21:38:52,593 [bump_version] DEBUG bumped version:2.1.1-dev.4 21:38:52 2022-06-01 21:38:52,593 [write_version] DEBUG write version:2.1.1-dev.4 to path:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta with force:True 21:38:52 2022-06-01 21:38:52,593 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:38:52 2022-06-01 21:38:52,593 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:38:52 2022-06-01 21:38:52,595 [execute] INFO git cat-file --batch-check 21:38:52 2022-06-01 21:38:52,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 21:38:52 2022-06-01 21:38:52,600 [execute] INFO git cat-file --batch 21:38:52 2022-06-01 21:38:52,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 21:38:52 2022-06-01 21:38:52,605 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:38:52 2.1.1-dev.4 [Pipeline] } 21:38:52 $ docker exec --env ******** --env ******** 3b919c6a7e06b12ffb64353ac327e48af407bdce05952734f9eab1146b09ddb7 ssh-agent -k 21:38:52 unset SSH_AUTH_SOCK; 21:38:52 unset SSH_AGENT_PID; 21:38:52 echo Agent pid 38 killed; 21:38:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:38:53 + git semver [Pipeline] } 21:38:53 $ docker stop --time=1 3b919c6a7e06b12ffb64353ac327e48af407bdce05952734f9eab1146b09ddb7 21:38:54 $ docker rm -f 3b919c6a7e06b12ffb64353ac327e48af407bdce05952734f9eab1146b09ddb7 [Pipeline] // withDockerContainer [Pipeline] sh 21:38:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:38:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:38:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:55 prd-ubuntu20.04-docker-8c-8g-581 does not seem to be running inside a container 21:38:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:38:55 $ docker top 0ea4226f967ed422f72352122fc6c07f2bab41566aa64298bc11b5ae366543ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:38:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:55 [ssh-agent] Looking for ssh-agent implementation... 21:38:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:56 $ docker exec 0ea4226f967ed422f72352122fc6c07f2bab41566aa64298bc11b5ae366543ab ssh-agent 21:38:56 SSH_AUTH_SOCK=/tmp/ssh-on1PsvNy8rlm/agent.34 21:38:56 SSH_AGENT_PID=40 21:38:56 Running ssh-add (command line suppressed) 21:38:56 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_7967035239678461211.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_7967035239678461211.key) 21:38:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:56 + git semver push 21:38:56 2022-06-01 21:38:56,784 [run_push] DEBUG push 21:38:56 2022-06-01 21:38:56,784 [execute] INFO git push origin semver 21:38:56 2022-06-01 21:38:56,784 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 21:38:57 2022-06-01 21:38:57,434 [run_push] DEBUG push all version tags 21:38:57 2022-06-01 21:38:57,435 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:38:57 2022-06-01 21:38:57,435 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=None) 21:38:58 2022-06-01 21:38:58,057 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:38:58 2.1.1-dev.4 [Pipeline] } 21:38:58 $ docker exec --env ******** --env ******** 0ea4226f967ed422f72352122fc6c07f2bab41566aa64298bc11b5ae366543ab ssh-agent -k 21:38:58 unset SSH_AUTH_SOCK; 21:38:58 unset SSH_AGENT_PID; 21:38:58 echo Agent pid 40 killed; 21:38:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:38:58 + git semver [Pipeline] } 21:38:59 $ docker stop --time=1 0ea4226f967ed422f72352122fc6c07f2bab41566aa64298bc11b5ae366543ab 21:39:00 $ docker rm -f 0ea4226f967ed422f72352122fc6c07f2bab41566aa64298bc11b5ae366543ab [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 21:39:00 + [ -d /w/workspace/gexfoundry_device-sdk-go_jakarta/archives ] 21:39:00 + ls -al /w/workspace/gexfoundry_device-sdk-go_jakarta/archives 21:39:00 total 16 21:39:00 drwxr-xr-x 3 root root 4096 Jun 1 21:31 . 21:39:00 drwxrwxr-x 13 jenkins jenkins 4096 Jun 1 21:38 .. 21:39:00 drwxr-xr-x 2 root root 4096 Jun 1 21:31 cost 21:39:00 -rw-r--r-- 1 root root 85 Jun 1 21:31 cost.csv 21:39:00 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_jakarta/archives 21:39:00 + ls -al /w/workspace/gexfoundry_device-sdk-go_jakarta/archives 21:39:00 total 16 21:39:00 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 21:31 . 21:39:00 drwxrwxr-x 13 jenkins jenkins 4096 Jun 1 21:38 .. 21:39:00 drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 21:31 cost 21:39:00 -rw-r--r-- 1 jenkins jenkins 85 Jun 1 21:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:39:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:39:02 ---> package-listing.sh 21:39:02 ++ facter osfamily 21:39:02 ++ tr '[:upper:]' '[:lower:]' 21:39:02 + OS_FAMILY=debian 21:39:02 + workspace=/w/workspace/gexfoundry_device-sdk-go_jakarta 21:39:02 + START_PACKAGES=/tmp/packages_start.txt 21:39:02 + END_PACKAGES=/tmp/packages_end.txt 21:39:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:39:02 + PACKAGES=/tmp/packages_start.txt 21:39:02 + '[' /w/workspace/gexfoundry_device-sdk-go_jakarta ']' 21:39:02 + PACKAGES=/tmp/packages_end.txt 21:39:02 + case "${OS_FAMILY}" in 21:39:02 + dpkg -l 21:39:02 + grep '^ii' 21:39:02 + '[' -f /tmp/packages_start.txt ']' 21:39:02 + '[' -f /tmp/packages_end.txt ']' 21:39:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:39:02 + '[' /w/workspace/gexfoundry_device-sdk-go_jakarta ']' 21:39:02 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/ 21:39:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/ [Pipeline] echo 21:39:02 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/gexfoundry_device-sdk-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:39:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:03 prd-ubuntu20.04-docker-8c-8g-581 does not seem to be running inside a container 21:39:03 $ 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/gexfoundry_device-sdk-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:39:03 $ docker top 1cd65cee7b686d883f7a6b9957eb4e0612b47b5975f003ba10a593d9119cce27 -eo pid,comm [Pipeline] { [Pipeline] sh 21:39:03 + touch /tmp/pre-build-complete [Pipeline] sh 21:39:04 + mkdir -p /var/log/sysstat [Pipeline] sh 21:39:04 + ls /var/log/sa-host 21:39:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:39:04 provisioning config files... 21:39:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config2438250686907932163tmp [Pipeline] { [Pipeline] echo 21:39:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:39:04 ---> create-netrc.sh [Pipeline] } 21:39:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:39:05 ---> python-tools-install.sh [Pipeline] echo 21:39:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:39:05 ---> sudo-logs.sh 21:39:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:39:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:39:05 ---> job-cost.sh 21:39:05 lf-activate-venv: SKIPPING 21:39:05 DEBUG: total: 0.2199999988079071 21:39:05 INFO: Retrieving Stack Cost... 21:39:06 INFO: Retrieving Pricing Info for: v3-standard-8 21:39:06 INFO: Archiving Costs [Pipeline] echo 21:39:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:39:07 ---> logs-deploy.sh 21:39:07 lf-activate-venv: SKIPPING 21:39:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/jakarta/7 21:39:07 INFO: archiving workspace using pattern(s): 21:39:08 Archives upload complete. 21:39:08 INFO: archiving logs to Nexus