Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b 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-ssh2109238151126396499.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh14670590598119159455.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17656151211741389577.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh17997599876025706688.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1406944138417863813.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-34636 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b # timeout=10 Commit message: "Merge pull request #1154 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.2.0-dev.28" > git rev-list --no-walk a64f10ec129da673bd1db63a6bd52868e2c80f4f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:33:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:33:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:33:40 ========================================================= 01:33:40 EdgeX Global Pipelines Version Info 01:33:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:33:41 ------------------- 01:33:41 stable info: 01:33:41 ------------------- 01:33:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:33:41 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 01:33:41 Message: update stable to v1.0.227 01:33:42 ------------------- 01:33:42 experimental info: 01:33:42 ------------------- 01:33:42 Commited By: **** collab-it+edgex@linuxfoundation.org 01:33:42 Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 01:33:42 Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 20e4ce9 [Pipeline] echo 01:33:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:33:42 provisioning config files... 01:33:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5392796545836143536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:43 ---> docker-login.sh 01:33:43 nexus3.edgexfoundry.org:10001 01:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:43 Configure a credential helper to remove this warning. See 01:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:43 01:33:43 Login Succeeded 01:33:43 nexus3.edgexfoundry.org:10002 01:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:43 Configure a credential helper to remove this warning. See 01:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:43 01:33:43 Login Succeeded 01:33:43 nexus3.edgexfoundry.org:10003 01:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:43 Configure a credential helper to remove this warning. See 01:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:43 01:33:43 Login Succeeded 01:33:43 nexus3.edgexfoundry.org:10004 01:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:44 Configure a credential helper to remove this warning. See 01:33:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:44 01:33:44 Login Succeeded 01:33:44 docker.io 01:33:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:44 Configure a credential helper to remove this warning. See 01:33:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:44 01:33:44 Login Succeeded 01:33:44 ---> docker-login.sh ends [Pipeline] } 01:33:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:33:44 + git rev-list -1 --merges 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b~1..20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b [Pipeline] echo 01:33:45 -----------> git rev-list -1 --merges 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b~1..20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b 01:33:45 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b [false] [Pipeline] sh 01:33:45 + git log --format=format:%s -1 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b [Pipeline] echo 01:33:45 ========================================================= 01:33:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:33:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:33:45 + git log --format=format:%s -1 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b [Pipeline] echo 01:33:45 [semverPrep] GIT_COMMIT: 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b, Commit Message: Merge pull request #1154 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.2.0-dev.28 [Pipeline] echo 01:33:45 [semverPrep] This is not a build commit. [Pipeline] sh 01:33:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:33:46 + grep -v github /etc/ssh/ssh_known_hosts 01:33:46 + [ -e /tmp/ssh_known_hosts ] 01:33:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:33:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:33:46 + sudo tee -a /etc/ssh/ssh_known_hosts 01:33:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:33:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:33:46 01:33:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:33:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:33:46 latest: Pulling from edgex-devops/py-git-semver 01:33:46 1fe172e4850f: Pulling fs layer 01:33:46 caf521ccaac6: Pulling fs layer 01:33:46 3ead6fa29328: Pulling fs layer 01:33:46 5c2a1cbceb83: Pulling fs layer 01:33:46 5c2a1cbceb83: Waiting 01:33:46 a8d5f1318db7: Pulling fs layer 01:33:46 c427282e49a2: Pulling fs layer 01:33:46 1827001aaf11: Pulling fs layer 01:33:46 0714d37db230: Pulling fs layer 01:33:46 ac28cf19c067: Pulling fs layer 01:33:46 ca983d60f3e2: Pulling fs layer 01:33:46 9f894cec8388: Pulling fs layer 01:33:46 a8d5f1318db7: Waiting 01:33:46 c427282e49a2: Waiting 01:33:46 1827001aaf11: Waiting 01:33:46 0714d37db230: Waiting 01:33:46 9f894cec8388: Waiting 01:33:46 ac28cf19c067: Waiting 01:33:46 ca983d60f3e2: Waiting 01:33:46 caf521ccaac6: Download complete 01:33:46 5c2a1cbceb83: Verifying Checksum 01:33:46 5c2a1cbceb83: Download complete 01:33:46 3ead6fa29328: Verifying Checksum 01:33:46 3ead6fa29328: Download complete 01:33:46 a8d5f1318db7: Verifying Checksum 01:33:46 a8d5f1318db7: Download complete 01:33:46 c427282e49a2: Download complete 01:33:46 0714d37db230: Download complete 01:33:46 ac28cf19c067: Verifying Checksum 01:33:46 ac28cf19c067: Download complete 01:33:46 ca983d60f3e2: Download complete 01:33:46 9f894cec8388: Verifying Checksum 01:33:46 9f894cec8388: Download complete 01:33:46 1fe172e4850f: Verifying Checksum 01:33:46 1fe172e4850f: Download complete 01:33:47 1827001aaf11: Verifying Checksum 01:33:47 1827001aaf11: Download complete 01:33:48 1fe172e4850f: Pull complete 01:33:48 caf521ccaac6: Pull complete 01:33:49 3ead6fa29328: Pull complete 01:33:49 5c2a1cbceb83: Pull complete 01:33:49 a8d5f1318db7: Pull complete 01:33:49 c427282e49a2: Pull complete 01:33:51 1827001aaf11: Pull complete 01:33:51 0714d37db230: Pull complete 01:33:51 ac28cf19c067: Pull complete 01:33:51 ca983d60f3e2: Pull complete 01:33:51 9f894cec8388: Pull complete 01:33:51 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 01:33:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:33:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 01:33:51 prd-ubuntu20.04-docker-8c-8g-34636 does not seem to be running inside a container 01:33:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 01:33:53 $ docker top 427c50d47c62c2df107453f7904c083cf7befa04891f3b573b083ba437b8ef1f -eo pid,comm 01:33:53 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). 01:33:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:33:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:33:53 [ssh-agent] Looking for ssh-agent implementation... 01:33:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:33:53 $ docker exec 427c50d47c62c2df107453f7904c083cf7befa04891f3b573b083ba437b8ef1f ssh-agent 01:33:54 SSH_AUTH_SOCK=/tmp/ssh-4w0Gx0Eb53oL/agent.32 01:33:54 SSH_AGENT_PID=38 01:33:54 Running ssh-add (command line suppressed) 01:33:54 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_147127238412624710.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_147127238412624710.key) 01:33:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:33:54 + git tag --points-at HEAD [Pipeline] } 01:33:54 $ docker exec --env ******** --env ******** 427c50d47c62c2df107453f7904c083cf7befa04891f3b573b083ba437b8ef1f ssh-agent -k 01:33:54 unset SSH_AUTH_SOCK; 01:33:54 unset SSH_AGENT_PID; 01:33:54 echo Agent pid 38 killed; 01:33:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:33:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:33:54 [ssh-agent] Looking for ssh-agent implementation... 01:33:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:33:54 $ docker exec 427c50d47c62c2df107453f7904c083cf7befa04891f3b573b083ba437b8ef1f ssh-agent 01:33:54 SSH_AUTH_SOCK=/tmp/ssh-L1ri2yg55OPk/agent.72 01:33:54 SSH_AGENT_PID=79 01:33:54 Running ssh-add (command line suppressed) 01:33:54 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6450525109603940875.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6450525109603940875.key) 01:33:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:33:55 + git semver init 01:33:55 2022-05-03 01:33:55,508 [run_init] DEBUG init version:0.0.0 force:False 01:33:55 2022-05-03 01:33:55,509 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 01:33:55 2022-05-03 01:33:55,510 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 01:33:55 2022-05-03 01:33:55,510 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 01:33:56 2022-05-03 01:33:56,460 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 01:33:56 2022-05-03 01:33:56,461 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 01:33:56 2022-05-03 01:33:56,461 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:33:56 2022-05-03 01:33:56,461 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:33:56 2.2.0-dev.36 [Pipeline] } 01:33:56 $ docker exec --env ******** --env ******** 427c50d47c62c2df107453f7904c083cf7befa04891f3b573b083ba437b8ef1f ssh-agent -k 01:33:56 unset SSH_AUTH_SOCK; 01:33:56 unset SSH_AGENT_PID; 01:33:56 echo Agent pid 79 killed; 01:33:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:33:56 + git semver [Pipeline] } 01:33:57 $ docker stop --time=1 427c50d47c62c2df107453f7904c083cf7befa04891f3b573b083ba437b8ef1f 01:33:58 $ docker rm -f 427c50d47c62c2df107453f7904c083cf7befa04891f3b573b083ba437b8ef1f [Pipeline] // withDockerContainer [Pipeline] sh 01:33:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:33:59 Stashed 1 file(s) [Pipeline] echo 01:33:59 [edgeXSemver]: initialized semver on version 2.2.0-dev.36 [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 01:33:59 provisioning config files... 01:33:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4628314269457460893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:59 ---> docker-login.sh 01:33:59 nexus3.edgexfoundry.org:10001 01:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:59 Configure a credential helper to remove this warning. See 01:33:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:59 01:33:59 Login Succeeded 01:33:59 nexus3.edgexfoundry.org:10002 01:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:00 Configure a credential helper to remove this warning. See 01:34:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:00 01:34:00 Login Succeeded 01:34:00 nexus3.edgexfoundry.org:10003 01:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:00 Configure a credential helper to remove this warning. See 01:34:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:00 01:34:00 Login Succeeded 01:34:00 nexus3.edgexfoundry.org:10004 01:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:00 Configure a credential helper to remove this warning. See 01:34:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:00 01:34:00 Login Succeeded 01:34:00 docker.io 01:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:00 Configure a credential helper to remove this warning. See 01:34:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:00 01:34:00 Login Succeeded 01:34:00 ---> docker-login.sh ends [Pipeline] } 01:34:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:34:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:34:00 ========================================================= 01:34:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:34:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:34:00 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:34:00 Sending build context to Docker daemon 9.677MB 01:34:00 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 01:34:00 Step 2/11 : FROM ${BASE} AS builder 01:34:00 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:34:00 59bf1c3509f3: Pulling fs layer 01:34:00 666ba61612fd: Pulling fs layer 01:34:00 8ed8ca486205: Pulling fs layer 01:34:00 4fe6c5a15a65: Pulling fs layer 01:34:00 22a0e8bec74d: Pulling fs layer 01:34:00 ca2b28591e48: Pulling fs layer 01:34:00 a51346096db8: Pulling fs layer 01:34:00 daebc70d1ce1: Pulling fs layer 01:34:00 0e18a0eac166: Pulling fs layer 01:34:00 ca2b28591e48: Waiting 01:34:00 daebc70d1ce1: Waiting 01:34:00 0e18a0eac166: Waiting 01:34:00 a51346096db8: Waiting 01:34:00 4fe6c5a15a65: Waiting 01:34:00 8ed8ca486205: Verifying Checksum 01:34:00 8ed8ca486205: Download complete 01:34:00 666ba61612fd: Verifying Checksum 01:34:00 666ba61612fd: Download complete 01:34:01 22a0e8bec74d: Verifying Checksum 01:34:01 22a0e8bec74d: Download complete 01:34:01 59bf1c3509f3: Verifying Checksum 01:34:01 59bf1c3509f3: Download complete 01:34:01 ca2b28591e48: Verifying Checksum 01:34:01 ca2b28591e48: Download complete 01:34:01 a51346096db8: Verifying Checksum 01:34:01 a51346096db8: Download complete 01:34:01 daebc70d1ce1: Verifying Checksum 01:34:01 daebc70d1ce1: Download complete 01:34:01 59bf1c3509f3: Pull complete 01:34:01 666ba61612fd: Pull complete 01:34:01 8ed8ca486205: Pull complete 01:34:01 0e18a0eac166: Verifying Checksum 01:34:01 0e18a0eac166: Download complete 01:34:02 4fe6c5a15a65: Verifying Checksum 01:34:02 4fe6c5a15a65: Download complete 01:34:06 4fe6c5a15a65: Pull complete 01:34:06 22a0e8bec74d: Pull complete 01:34:06 ca2b28591e48: Pull complete 01:34:06 a51346096db8: Pull complete 01:34:06 daebc70d1ce1: Pull complete 01:34:09 0e18a0eac166: Pull complete 01:34:09 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 01:34:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:34:09 ---> f018257e8ee9 01:34:09 Step 3/11 : ARG MAKE=make build 01:34:11 ---> Running in d22de5244af9 01:34:11 Removing intermediate container d22de5244af9 01:34:11 ---> 005e74a655cb 01:34:11 Step 4/11 : WORKDIR /device-sdk-go 01:34:11 ---> Running in 2df4ada5a534 01:34:11 Removing intermediate container 2df4ada5a534 01:34:11 ---> c3049d3917ea 01:34:11 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:34:11 ---> Running in f28d30e3b985 01:34:11 Removing intermediate container f28d30e3b985 01:34:11 ---> 29487926eb26 01:34:11 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:34:11 ---> Running in 3375fbd92da8 01:34:12 Removing intermediate container 3375fbd92da8 01:34:12 ---> 0989da5a58c4 01:34:12 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:34:12 ---> Running in 8eeaa559af10 01:34:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:34:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:34:13 OK: 221 MiB in 52 packages 01:34:13 Removing intermediate container 8eeaa559af10 01:34:13 ---> a6cd66ea0bbe 01:34:13 Step 8/11 : COPY go.mod vendor* ./ 01:34:13 ---> 34bb4eabd3f9 01:34:13 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:34:13 ---> Running in 9cc2f59c2c64 01:34:14 Still waiting to schedule task 01:34:14 ‘prd-centos7-blackbox-4c-2g-34311’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:34:14 ‘prd-ubuntu20.04-docker-8c-8g-34637’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:34:14 ‘prd-ubuntu20.04-docker-8c-8g-34638’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:34:14 ‘prd-ubuntu20.04-docker-8c-8g-34639’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:34:14 ‘prd-ubuntu20.04-docker-arm64-4c-16g-34635’ is offline 01:34:35 Removing intermediate container 9cc2f59c2c64 01:34:35 ---> 2eb7a99e039a 01:34:35 Step 10/11 : COPY . . 01:34:35 ---> 59794ce882f6 01:34:35 Step 11/11 : RUN ${MAKE} 01:34:35 ---> Running in 0b98ee79f669 01:34:35 noop 01:34:35 Removing intermediate container 0b98ee79f669 01:34:35 ---> 5d49486732e0 01:34:35 Successfully built 5d49486732e0 01:34:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:34:36 + docker inspect -f . ci-base-image-x86_64 01:34:36 . [Pipeline] withDockerContainer 01:34:36 prd-ubuntu20.04-docker-8c-8g-34636 does not seem to be running inside a container 01:34:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:34:36 $ docker top 59685e52138151aa4f477bc0ceb7506e67afaf45d3d787f1597981cce3c7d520 -eo pid,comm [Pipeline] { [Pipeline] sh 01:34:37 + go version 01:34:37 go version go1.17.6 linux/amd64 [Pipeline] } 01:34:37 $ docker stop --time=1 59685e52138151aa4f477bc0ceb7506e67afaf45d3d787f1597981cce3c7d520 01:34:38 $ docker rm -f 59685e52138151aa4f477bc0ceb7506e67afaf45d3d787f1597981cce3c7d520 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:34:38 + docker inspect -f . ci-base-image-x86_64 01:34:38 . [Pipeline] withDockerContainer 01:34:38 prd-ubuntu20.04-docker-8c-8g-34636 does not seem to be running inside a container 01:34:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:34:39 $ docker top 1e4a28d6c08b02b89ded9e2edf8aa026ce4499d1baced249f28c7f33c558c1b6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:34:39 + make test 01:34:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:34:44 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:34:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:34:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:34:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:34:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.106s coverage: 23.3% of statements 01:34:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:34:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements 01:34:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.088s coverage: 78.9% of statements 01:34:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.061s coverage: 10.8% of statements 01:34:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.079s coverage: 60.0% of statements 01:34:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:34:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:34:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.082s coverage: 34.8% of statements 01:34:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:34:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.074s coverage: 86.1% of statements 01:34:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:34:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:34:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 65.1% of statements 01:34:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.878s coverage: 89.2% of statements 01:34:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:34:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements 01:34:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:35:12 GO111MODULE=on go vet ./... 01:35:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:35:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:35:15 ./bin/test-attribution-txt.sh [Pipeline] echo 01:35:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:35:16 $ docker stop --time=1 1e4a28d6c08b02b89ded9e2edf8aa026ce4499d1baced249f28c7f33c558c1b6 01:35:18 $ docker rm -f 1e4a28d6c08b02b89ded9e2edf8aa026ce4499d1baced249f28c7f33c558c1b6 [Pipeline] // withDockerContainer [Pipeline] sh 01:35:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:35:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:35:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:35:20 + ls -al . 01:35:20 total 296 01:35:20 drwxrwxr-x 11 jenkins jenkins 4096 May 3 01:35 . 01:35:20 drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:33 .. 01:35:20 -rw-rw-r-- 1 jenkins jenkins 140 May 3 01:33 .dockerignore 01:35:20 drwxrwxr-x 8 jenkins jenkins 4096 May 3 01:33 .git 01:35:20 drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:33 .github 01:35:20 -rw-rw-r-- 1 jenkins jenkins 131 May 3 01:33 .gitignore 01:35:20 -rw-rw-r-- 1 jenkins jenkins 42 May 3 01:33 .golangci.yml 01:35:20 drwxr-xr-x 3 jenkins jenkins 4096 May 3 01:33 .semver 01:35:20 -rw-rw-r-- 1 jenkins jenkins 26321 May 3 01:33 CHANGELOG.md 01:35:20 -rw-rw-r-- 1 jenkins jenkins 677 May 3 01:33 GOVERNANCE.md 01:35:20 -rw-rw-r-- 1 jenkins jenkins 880 May 3 01:33 Jenkinsfile 01:35:20 -rw-rw-r-- 1 jenkins jenkins 11341 May 3 01:33 LICENSE 01:35:20 -rw-rw-r-- 1 jenkins jenkins 2015 May 3 01:33 Makefile 01:35:20 -rw-rw-r-- 1 jenkins jenkins 619 May 3 01:33 OWNERS.md 01:35:20 -rw-rw-r-- 1 jenkins jenkins 4881 May 3 01:33 README.md 01:35:20 -rw-rw-r-- 1 jenkins jenkins 12 May 3 01:33 VERSION 01:35:20 drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:33 bin 01:35:20 -rw-r--r-- 1 jenkins jenkins 130819 May 3 01:34 coverage.out 01:35:20 drwxrwxr-x 5 jenkins jenkins 4096 May 3 01:33 example 01:35:20 -rw-rw-r-- 1 jenkins jenkins 3198 May 3 01:33 go.mod 01:35:20 -rw-rw-r-- 1 jenkins jenkins 35003 May 3 01:33 go.sum 01:35:20 drwxrwxr-x 15 jenkins jenkins 4096 May 3 01:33 internal 01:35:20 drwxrwxr-x 3 jenkins jenkins 4096 May 3 01:33 openapi 01:35:20 drwxrwxr-x 5 jenkins jenkins 4096 May 3 01:33 pkg 01:35:20 drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:33 snap 01:35:20 -rw-rw-r-- 1 jenkins jenkins 222 May 3 01:33 version.go [Pipeline] isUnix [Pipeline] sh 01:35:20 + 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=20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b --label arch=amd64 --label version=2.2.0-dev.36 . 01:35:20 Sending build context to Docker daemon 9.808MB 01:35:20 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:35:20 Step 2/25 : FROM ${BASE} AS builder 01:35:20 ---> 5d49486732e0 01:35:20 Step 3/25 : ARG MAKE=make build 01:35:20 ---> Running in eca4219cec4a 01:35:20 Removing intermediate container eca4219cec4a 01:35:20 ---> 16e2254b4f91 01:35:20 Step 4/25 : WORKDIR /device-sdk-go 01:35:20 ---> Running in 1eb2cdb59deb 01:35:20 Removing intermediate container 1eb2cdb59deb 01:35:20 ---> 5ccbb729ec5b 01:35:20 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:35:20 ---> Running in 7df3029c0ad0 01:35:21 Removing intermediate container 7df3029c0ad0 01:35:21 ---> a2a76a3409e1 01:35:21 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:35:21 ---> Running in 7c25b57c512b 01:35:21 Removing intermediate container 7c25b57c512b 01:35:21 ---> b637518508e5 01:35:21 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:35:21 ---> Running in 53f641066493 01:35:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:35:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:35:23 OK: 221 MiB in 52 packages 01:35:23 Removing intermediate container 53f641066493 01:35:23 ---> 7b0c8e9b58e3 01:35:23 Step 8/25 : COPY go.mod vendor* ./ 01:35:23 ---> 038c83d38665 01:35:23 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:35:23 ---> Running in 9f03953a0dde 01:35:24 Removing intermediate container 9f03953a0dde 01:35:24 ---> 58e5839d5ae4 01:35:24 Step 10/25 : COPY . . 01:35:24 ---> 67205f4d7206 01:35:24 Step 11/25 : RUN ${MAKE} 01:35:24 ---> Running in 7c04017fdd5e 01:35:25 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.36" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:35:43 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:35:44 Removing intermediate container 7c04017fdd5e 01:35:44 ---> 5c986ed15bd3 01:35:44 Step 12/25 : FROM alpine:3.14 01:35:44 3.14: Pulling from library/alpine 01:35:45 8663204ce13b: Pulling fs layer 01:35:45 8663204ce13b: Verifying Checksum 01:35:45 8663204ce13b: Download complete 01:35:45 8663204ce13b: Pull complete 01:35:45 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:35:45 Status: Downloaded newer image for alpine:3.14 01:35:45 ---> e04c818066af 01:35:45 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:35:45 ---> Running in 74d3fb26e709 01:35:45 Removing intermediate container 74d3fb26e709 01:35:45 ---> c7586b37d75a 01:35:45 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:35:45 ---> Running in 70ba69fd5bf6 01:35:46 Removing intermediate container 70ba69fd5bf6 01:35:46 ---> 34f27cf5b59b 01:35:46 Step 15/25 : RUN apk add --update --no-cache zeromq 01:35:46 ---> Running in c71f6f494e94 01:35:46 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:35:47 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:35:47 (1/5) Installing libgcc (10.3.1_git20210424-r2) 01:35:47 (2/5) Installing libsodium (1.0.18-r0) 01:35:47 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 01:35:47 (4/5) Installing libzmq (4.3.4-r0) 01:35:47 (5/5) Installing zeromq (4.3.4-r0) 01:35:48 Executing busybox-1.33.1-r7.trigger 01:35:48 OK: 8 MiB in 19 packages 01:35:48 Removing intermediate container c71f6f494e94 01:35:48 ---> 910107e3b7b9 01:35:48 Step 16/25 : WORKDIR / 01:35:48 ---> Running in aa5178711218 01:35:48 Removing intermediate container aa5178711218 01:35:48 ---> a2d725063de7 01:35:48 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:35:48 ---> 3b8c7f649531 01:35:48 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:35:49 ---> 91b64f0a99ac 01:35:49 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:35:49 ---> b5511eb759b1 01:35:49 Step 20/25 : EXPOSE 59999 01:35:49 ---> Running in 78a1c019263e 01:35:49 Removing intermediate container 78a1c019263e 01:35:49 ---> 6c996c64d90c 01:35:49 Step 21/25 : ENTRYPOINT ["/device-simple"] 01:35:49 ---> Running in 5044947f877c 01:35:49 Removing intermediate container 5044947f877c 01:35:49 ---> 0cf750829aad 01:35:49 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:35:49 ---> Running in 7ee4e31d27d0 01:35:50 Removing intermediate container 7ee4e31d27d0 01:35:50 ---> 06a2d0fbec3a 01:35:50 Step 23/25 : LABEL arch=amd64 01:35:50 ---> Running in 5812653df8b5 01:35:50 Removing intermediate container 5812653df8b5 01:35:50 ---> b9494dfe151f 01:35:50 Step 24/25 : LABEL git_sha=20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b 01:35:50 ---> Running in 6a1eb8d44a93 01:35:50 Removing intermediate container 6a1eb8d44a93 01:35:50 ---> 0ab21baeb38b 01:35:50 Step 25/25 : LABEL version=2.2.0-dev.36 01:35:50 ---> Running in b8e9d0ec1106 01:35:50 Removing intermediate container b8e9d0ec1106 01:35:50 ---> a7ec113ec4f1 01:35:50 [Warning] One or more build-args [ARCH] were not consumed 01:35:50 Successfully built a7ec113ec4f1 01:35:50 Successfully tagged device-sdk-simple:latest [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] sh 01:35:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:35:50 01:35:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:35:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:35:51 latest: Pulling from edgex-lftools-log-publisher 01:35:51 5eb5b503b376: Pulling fs layer 01:35:51 5c69ac0246d0: Pulling fs layer 01:35:51 ec43610c2a17: Pulling fs layer 01:35:51 3a2ae6a8a46f: Pulling fs layer 01:35:51 33b1e0a273af: Pulling fs layer 01:35:51 5d3b04190fa2: Pulling fs layer 01:35:51 2f39f015ded8: Pulling fs layer 01:35:51 33b1e0a273af: Waiting 01:35:51 5d3b04190fa2: Waiting 01:35:51 2f39f015ded8: Waiting 01:35:51 3a2ae6a8a46f: Waiting 01:35:51 5c69ac0246d0: Download complete 01:35:51 3a2ae6a8a46f: Verifying Checksum 01:35:51 3a2ae6a8a46f: Download complete 01:35:51 33b1e0a273af: Verifying Checksum 01:35:51 33b1e0a273af: Download complete 01:35:51 5d3b04190fa2: Verifying Checksum 01:35:51 5d3b04190fa2: Download complete 01:35:51 ec43610c2a17: Verifying Checksum 01:35:51 ec43610c2a17: Download complete 01:35:51 5eb5b503b376: Verifying Checksum 01:35:51 5eb5b503b376: Download complete 01:35:51 2f39f015ded8: Download complete 01:35:52 5eb5b503b376: Pull complete 01:35:52 5c69ac0246d0: Pull complete 01:35:53 ec43610c2a17: Pull complete 01:35:53 3a2ae6a8a46f: Pull complete 01:35:53 33b1e0a273af: Pull complete 01:35:53 5d3b04190fa2: Pull complete 01:35:57 2f39f015ded8: Pull complete 01:35:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:35:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:35:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:35:57 prd-ubuntu20.04-docker-8c-8g-34636 does not seem to be running inside a container 01:35:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:36:00 $ docker top 3f9b442c6d1162366d5d80e0c8c98b9b2375323d293c8bd35b27fc4413b57b86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:00 ---> job-cost.sh 01:36:00 lf-activate-venv: SKIPPING 01:36:00 INFO: No Stack... 01:36:00 INFO: Retrieving Pricing Info for: v3-standard-8 01:36:01 INFO: Archiving Costs [Pipeline] sh 01:36:01 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 01:36:01 + cut -d, -f6 [Pipeline] lock 01:36:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-69-stack-cost] 01:36:01 Resource [jenkins-edgexfoundry-device-sdk-go-main-69-stack-cost] did not exist. Created. 01:36:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-69-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:36:01 + echo total: 0.2199999988079071 [Pipeline] stash 01:36:01 Stashed 1 file(s) [Pipeline] } 01:36:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-69-stack-cost] [Pipeline] // lock [Pipeline] } 01:36:01 $ docker stop --time=1 3f9b442c6d1162366d5d80e0c8c98b9b2375323d293c8bd35b27fc4413b57b86 01:36:02 $ docker rm -f 3f9b442c6d1162366d5d80e0c8c98b9b2375323d293c8bd35b27fc4413b57b86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:44:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-34765 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 01:44:56 Running in /w/workspace/device-sdk-go/69 [Pipeline] { [Pipeline] checkout 01:44:56 The recommended git tool is: git 01:45:02 using credential edgex-jenkins-ssh 01:45:02 Cloning the remote Git repository 01:45:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:45:02 > git init /w/workspace/device-sdk-go/69 # timeout=10 01:45:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:45:02 > git --version # timeout=10 01:45:02 > git --version # 'git version 2.25.1' 01:45:02 using GIT_SSH to set credentials SSH Credentials for GitHub 01:45:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:45:04 Avoid second fetch 01:45:04 Checking out Revision 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b (main) 01:45:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:45:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:45:04 > git config core.sparsecheckout # timeout=10 01:45:04 > git checkout -f 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b # timeout=10 01:45:09 Commit message: "Merge pull request #1154 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.2.0-dev.28" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:45:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:45:10 % Total % Received % Xferd Average Speed Time Time Time Current 01:45:10 Dload Upload Total Spent Left Speed 01:45:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 80564 0 --:--:-- --:--:-- --:--:-- 80564 [Pipeline] sh 01:45:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:45:11 + sudo tee /etc/docker/daemon.new 01:45:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:45:11 { 01:45:11 "registry-mirrors": [ 01:45:11 "https://nexus3.edgexfoundry.org:10001" 01:45:11 ], 01:45:11 "bip": "10.250.0.254/24", 01:45:11 "hosts": [ 01:45:11 "tcp://0.0.0.0:5555", 01:45:11 "unix:///var/run/docker.sock" 01:45:11 ], 01:45:11 "mtu": 1458, 01:45:11 "selinux-enabled": true, 01:45:11 "seccomp-profile": "/etc/docker/seccomp.json" 01:45:11 } [Pipeline] sh 01:45:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:45:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:45:30 provisioning config files... 01:45:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/69@tmp/config3676853288251867819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:30 ---> docker-login.sh 01:45:30 nexus3.edgexfoundry.org:10001 01:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:31 Configure a credential helper to remove this warning. See 01:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:31 01:45:31 Login Succeeded 01:45:32 nexus3.edgexfoundry.org:10002 01:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:32 Configure a credential helper to remove this warning. See 01:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:32 01:45:32 Login Succeeded 01:45:32 nexus3.edgexfoundry.org:10003 01:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:32 Configure a credential helper to remove this warning. See 01:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:32 01:45:32 Login Succeeded 01:45:33 nexus3.edgexfoundry.org:10004 01:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:33 Configure a credential helper to remove this warning. See 01:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:33 01:45:33 Login Succeeded 01:45:33 docker.io 01:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:35 Configure a credential helper to remove this warning. See 01:45:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:35 01:45:35 Login Succeeded 01:45:35 ---> docker-login.sh ends [Pipeline] } 01:45:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:45:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:45:35 ========================================================= 01:45:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:45:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:45:36 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:45:37 Sending build context to Docker daemon 5.217MB 01:45:37 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 01:45:37 Step 2/11 : FROM ${BASE} AS builder 01:45:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:45:38 9b3977197b4f: Pulling fs layer 01:45:38 1a89e8eeedd5: Pulling fs layer 01:45:38 94645a83ff95: Pulling fs layer 01:45:38 3f3a8bcf1eab: Pulling fs layer 01:45:38 0c92f367c5e7: Pulling fs layer 01:45:38 3096ccb668a1: Pulling fs layer 01:45:38 e8cf19c19ddd: Pulling fs layer 01:45:38 a4caa8a26152: Pulling fs layer 01:45:38 3096ccb668a1: Waiting 01:45:38 e8cf19c19ddd: Waiting 01:45:38 3f3a8bcf1eab: Waiting 01:45:38 a4caa8a26152: Waiting 01:45:38 0c92f367c5e7: Waiting 01:45:38 94645a83ff95: Verifying Checksum 01:45:38 94645a83ff95: Download complete 01:45:38 1a89e8eeedd5: Download complete 01:45:38 0c92f367c5e7: Verifying Checksum 01:45:38 0c92f367c5e7: Download complete 01:45:38 3096ccb668a1: Verifying Checksum 01:45:38 3096ccb668a1: Download complete 01:45:38 9b3977197b4f: Verifying Checksum 01:45:38 9b3977197b4f: Download complete 01:45:38 e8cf19c19ddd: Verifying Checksum 01:45:38 e8cf19c19ddd: Download complete 01:45:40 a4caa8a26152: Verifying Checksum 01:45:40 a4caa8a26152: Download complete 01:45:40 9b3977197b4f: Pull complete 01:45:41 1a89e8eeedd5: Pull complete 01:45:41 3f3a8bcf1eab: Verifying Checksum 01:45:41 3f3a8bcf1eab: Download complete 01:45:41 94645a83ff95: Pull complete 01:45:54 3f3a8bcf1eab: Pull complete 01:45:54 0c92f367c5e7: Pull complete 01:45:54 3096ccb668a1: Pull complete 01:45:55 e8cf19c19ddd: Pull complete 01:46:01 a4caa8a26152: Pull complete 01:46:01 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 01:46:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:46:01 ---> 725f1c02e7f9 01:46:01 Step 3/11 : ARG MAKE=make build 01:46:03 ---> Running in f9fe04186ab5 01:46:04 Removing intermediate container f9fe04186ab5 01:46:04 ---> dcae173b4f6e 01:46:04 Step 4/11 : WORKDIR /device-sdk-go 01:46:04 ---> Running in 1eb10b5368c9 01:46:04 Removing intermediate container 1eb10b5368c9 01:46:04 ---> 2822e554f169 01:46:04 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:46:04 ---> Running in f398316a96cf 01:46:05 Removing intermediate container f398316a96cf 01:46:05 ---> 2aed05e3fb30 01:46:05 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:46:05 ---> Running in 2a397340956f 01:46:08 Removing intermediate container 2a397340956f 01:46:08 ---> bbd5bf5dbda8 01:46:08 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:46:08 ---> Running in cd6f411de604 01:46:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:46:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:46:11 OK: 220 MiB in 52 packages 01:46:11 Removing intermediate container cd6f411de604 01:46:11 ---> 9cba9531034d 01:46:11 Step 8/11 : COPY go.mod vendor* ./ 01:46:12 ---> 5526a14b7fce 01:46:12 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:46:12 ---> Running in 6e7d398493dd 01:47:09 Removing intermediate container 6e7d398493dd 01:47:09 ---> bd9137facddc 01:47:09 Step 10/11 : COPY . . 01:47:09 ---> a19f928f8f66 01:47:09 Step 11/11 : RUN ${MAKE} 01:47:09 ---> Running in 6c76074689db 01:47:09 noop 01:47:09 Removing intermediate container 6c76074689db 01:47:09 ---> 310a99eb836e 01:47:09 Successfully built 310a99eb836e 01:47:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:47:09 + docker inspect -f . ci-base-image-arm64 01:47:09 . [Pipeline] withDockerContainer 01:47:09 prd-ubuntu20.04-docker-arm64-4c-16g-34765 does not seem to be running inside a container 01:47:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/69 -v /w/workspace/device-sdk-go/69:/w/workspace/device-sdk-go/69:rw,z -v /w/workspace/device-sdk-go/69@tmp:/w/workspace/device-sdk-go/69@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:47:11 $ docker top 97d6e242b98fc80fa539773fb6fb7cfa4590e32db3d2ad9687d5c8c4769c5882 -eo pid,comm [Pipeline] { [Pipeline] sh 01:47:12 + go version 01:47:12 go version go1.17.6 linux/arm64 [Pipeline] } 01:47:12 $ docker stop --time=1 97d6e242b98fc80fa539773fb6fb7cfa4590e32db3d2ad9687d5c8c4769c5882 01:47:13 $ docker rm -f 97d6e242b98fc80fa539773fb6fb7cfa4590e32db3d2ad9687d5c8c4769c5882 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:47:14 + docker inspect -f . ci-base-image-arm64 01:47:14 . [Pipeline] withDockerContainer 01:47:14 prd-ubuntu20.04-docker-arm64-4c-16g-34765 does not seem to be running inside a container 01:47:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/69 -v /w/workspace/device-sdk-go/69:/w/workspace/device-sdk-go/69:rw,z -v /w/workspace/device-sdk-go/69@tmp:/w/workspace/device-sdk-go/69@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:47:16 $ docker top 2c57413fc6e976ad3fa80f86a62dac5982dc389e0a8050cac33df3ac865492ed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:47:17 + make test 01:47:17 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:47:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:50:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:50:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:50:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:50:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.393s coverage: 23.3% of statements 01:50:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:50:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.324s coverage: 27.6% of statements 01:50:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.311s coverage: 78.9% of statements 01:50:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.256s coverage: 10.8% of statements 01:50:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.531s coverage: 60.0% of statements 01:50:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:50:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:50:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.455s coverage: 34.8% of statements 01:50:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:50:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.282s coverage: 86.1% of statements 01:50:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:50:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:50:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.483s coverage: 65.1% of statements 01:50:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.576s coverage: 89.2% of statements 01:50:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:50:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.288s coverage: 4.7% of statements 01:50:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:50:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:50:20 GO111MODULE=on go vet ./... 01:52:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:52:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:52:12 ./bin/test-attribution-txt.sh [Pipeline] echo 01:52:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:52:12 $ docker stop --time=1 2c57413fc6e976ad3fa80f86a62dac5982dc389e0a8050cac33df3ac865492ed 01:52:14 $ docker rm -f 2c57413fc6e976ad3fa80f86a62dac5982dc389e0a8050cac33df3ac865492ed [Pipeline] // withDockerContainer [Pipeline] sh 01:52:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:52:16 Warning: overwriting stash ‘coverage-report’ 01:52:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:52:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:52:17 + ls -al . 01:52:17 total 292 01:52:17 drwxrwxr-x 10 jenkins jenkins 4096 May 3 01:52 . 01:52:17 drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:45 .. 01:52:17 -rw-rw-r-- 1 jenkins jenkins 140 May 3 01:45 .dockerignore 01:52:17 drwxrwxr-x 8 jenkins jenkins 4096 May 3 01:45 .git 01:52:17 drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:45 .github 01:52:17 -rw-rw-r-- 1 jenkins jenkins 131 May 3 01:45 .gitignore 01:52:17 -rw-rw-r-- 1 jenkins jenkins 42 May 3 01:45 .golangci.yml 01:52:17 -rw-rw-r-- 1 jenkins jenkins 26321 May 3 01:45 CHANGELOG.md 01:52:17 -rw-rw-r-- 1 jenkins jenkins 677 May 3 01:45 GOVERNANCE.md 01:52:17 -rw-rw-r-- 1 jenkins jenkins 880 May 3 01:45 Jenkinsfile 01:52:17 -rw-rw-r-- 1 jenkins jenkins 11341 May 3 01:45 LICENSE 01:52:17 -rw-rw-r-- 1 jenkins jenkins 2015 May 3 01:45 Makefile 01:52:17 -rw-rw-r-- 1 jenkins jenkins 619 May 3 01:45 OWNERS.md 01:52:17 -rw-rw-r-- 1 jenkins jenkins 4881 May 3 01:45 README.md 01:52:17 -rw-rw-r-- 1 jenkins jenkins 12 May 3 01:33 VERSION 01:52:17 drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:45 bin 01:52:17 -rw-r--r-- 1 jenkins jenkins 130820 May 3 01:50 coverage.out 01:52:17 drwxrwxr-x 5 jenkins jenkins 4096 May 3 01:45 example 01:52:17 -rw-rw-r-- 1 jenkins jenkins 3198 May 3 01:45 go.mod 01:52:17 -rw-rw-r-- 1 jenkins jenkins 35003 May 3 01:45 go.sum 01:52:17 drwxrwxr-x 15 jenkins jenkins 4096 May 3 01:45 internal 01:52:17 drwxrwxr-x 3 jenkins jenkins 4096 May 3 01:45 openapi 01:52:17 drwxrwxr-x 5 jenkins jenkins 4096 May 3 01:45 pkg 01:52:17 drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:45 snap 01:52:17 -rw-rw-r-- 1 jenkins jenkins 222 May 3 01:45 version.go [Pipeline] isUnix [Pipeline] sh 01:52:17 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b --label arch=arm64 --label version=2.2.0-dev.36 . 01:52:18 Sending build context to Docker daemon 5.349MB 01:52:18 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:52:18 Step 2/25 : FROM ${BASE} AS builder 01:52:18 ---> 310a99eb836e 01:52:18 Step 3/25 : ARG MAKE=make build 01:52:18 ---> Running in fd0be4c2006d 01:52:19 Removing intermediate container fd0be4c2006d 01:52:19 ---> 064fd127a9e3 01:52:19 Step 4/25 : WORKDIR /device-sdk-go 01:52:19 ---> Running in 27e6340f3911 01:52:19 Removing intermediate container 27e6340f3911 01:52:19 ---> 21a6052b38b2 01:52:19 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:52:19 ---> Running in 0c92084c365a 01:52:20 Removing intermediate container 0c92084c365a 01:52:20 ---> 56bb4760e9c5 01:52:20 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:52:20 ---> Running in 0ace4f25bee4 01:52:22 Removing intermediate container 0ace4f25bee4 01:52:22 ---> 97c5137279bc 01:52:22 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:52:22 ---> Running in 05a86f7b2343 01:52:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:52:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:52:25 OK: 220 MiB in 52 packages 01:52:26 Removing intermediate container 05a86f7b2343 01:52:26 ---> f0f5424430b6 01:52:26 Step 8/25 : COPY go.mod vendor* ./ 01:52:26 ---> 312ba6272af0 01:52:26 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:52:26 ---> Running in c1358be8c45d 01:52:28 Removing intermediate container c1358be8c45d 01:52:28 ---> d1035fb77db7 01:52:28 Step 10/25 : COPY . . 01:52:30 ---> a3e99fe8b6f8 01:52:30 Step 11/25 : RUN ${MAKE} 01:52:30 ---> Running in 0c680d31cbb3 01:52:31 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.36" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:54:53 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:54:57 Removing intermediate container 0c680d31cbb3 01:54:57 ---> 09723d933a94 01:54:57 Step 12/25 : FROM alpine:3.14 01:54:58 3.14: Pulling from library/alpine 01:54:58 455c02918c45: Pulling fs layer 01:54:58 455c02918c45: Verifying Checksum 01:54:58 455c02918c45: Download complete 01:54:59 455c02918c45: Pull complete 01:54:59 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:54:59 Status: Downloaded newer image for alpine:3.14 01:54:59 ---> ac73e934f311 01:54:59 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:54:59 ---> Running in 0cd855d9fc1e 01:54:59 Removing intermediate container 0cd855d9fc1e 01:54:59 ---> 333f717860df 01:54:59 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:54:59 ---> Running in 0b4965d72218 01:55:01 Removing intermediate container 0b4965d72218 01:55:01 ---> b5536339b762 01:55:01 Step 15/25 : RUN apk add --update --no-cache zeromq 01:55:01 ---> Running in 0b3b7629534f 01:55:03 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:55:04 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:55:05 (1/5) Installing libgcc (10.3.1_git20210424-r2) 01:55:05 (2/5) Installing libsodium (1.0.18-r0) 01:55:05 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 01:55:05 (4/5) Installing libzmq (4.3.4-r0) 01:55:05 (5/5) Installing zeromq (4.3.4-r0) 01:55:05 Executing busybox-1.33.1-r7.trigger 01:55:05 OK: 8 MiB in 19 packages 01:55:06 Removing intermediate container 0b3b7629534f 01:55:06 ---> c90be9781fac 01:55:06 Step 16/25 : WORKDIR / 01:55:06 ---> Running in f72f3789575a 01:55:06 Removing intermediate container f72f3789575a 01:55:06 ---> 4d49c0fac336 01:55:06 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:55:07 ---> 6f0f15575610 01:55:07 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:55:09 ---> 52b3bc0449a7 01:55:09 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:55:09 ---> efb58b9ee971 01:55:09 Step 20/25 : EXPOSE 59999 01:55:09 ---> Running in 7cb8a11f5a1b 01:55:10 Removing intermediate container 7cb8a11f5a1b 01:55:10 ---> 105f76cf26b6 01:55:10 Step 21/25 : ENTRYPOINT ["/device-simple"] 01:55:10 ---> Running in 828a8c84a65c 01:55:10 Removing intermediate container 828a8c84a65c 01:55:10 ---> 3245d53ef474 01:55:10 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:55:10 ---> Running in 452ea60ff78f 01:55:11 Removing intermediate container 452ea60ff78f 01:55:11 ---> 248ffa41931a 01:55:11 Step 23/25 : LABEL arch=arm64 01:55:11 ---> Running in a33e77ac7602 01:55:11 Removing intermediate container a33e77ac7602 01:55:11 ---> 59880ca77d5e 01:55:11 Step 24/25 : LABEL git_sha=20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b 01:55:11 ---> Running in 0082195609f3 01:55:12 Removing intermediate container 0082195609f3 01:55:12 ---> 24ab84234ff7 01:55:12 Step 25/25 : LABEL version=2.2.0-dev.36 01:55:12 ---> Running in c3fa32a233c0 01:55:12 Removing intermediate container c3fa32a233c0 01:55:12 ---> a49caf36611c 01:55:12 [Warning] One or more build-args [ARCH] were not consumed 01:55:12 Successfully built a49caf36611c 01:55:12 Successfully tagged device-sdk-simple-arm64:latest [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] sh 01:55:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:55:13 01:55:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:55:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:55:14 arm64: Pulling from edgex-lftools-log-publisher 01:55:14 8998bd30e6a1: Pulling fs layer 01:55:14 04944245beec: Pulling fs layer 01:55:14 699f458cf7ca: Pulling fs layer 01:55:14 765212b225bb: Pulling fs layer 01:55:14 f23df028b6ca: Pulling fs layer 01:55:14 d65c8cfc05b1: Pulling fs layer 01:55:14 2437ff75d9bd: Pulling fs layer 01:55:14 765212b225bb: Waiting 01:55:14 f23df028b6ca: Waiting 01:55:14 d65c8cfc05b1: Waiting 01:55:14 2437ff75d9bd: Waiting 01:55:14 04944245beec: Verifying Checksum 01:55:14 04944245beec: Download complete 01:55:14 765212b225bb: Download complete 01:55:14 f23df028b6ca: Verifying Checksum 01:55:14 f23df028b6ca: Download complete 01:55:14 d65c8cfc05b1: Verifying Checksum 01:55:14 d65c8cfc05b1: Download complete 01:55:14 699f458cf7ca: Verifying Checksum 01:55:14 699f458cf7ca: Download complete 01:55:15 8998bd30e6a1: Verifying Checksum 01:55:15 8998bd30e6a1: Download complete 01:55:17 2437ff75d9bd: Verifying Checksum 01:55:17 2437ff75d9bd: Download complete 01:55:19 8998bd30e6a1: Pull complete 01:55:20 04944245beec: Pull complete 01:55:21 699f458cf7ca: Pull complete 01:55:21 765212b225bb: Pull complete 01:55:22 f23df028b6ca: Pull complete 01:55:23 d65c8cfc05b1: Pull complete 01:55:38 2437ff75d9bd: Pull complete 01:55:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:55:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:55:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:55:38 prd-ubuntu20.04-docker-arm64-4c-16g-34765 does not seem to be running inside a container 01:55:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/69 -v /w/workspace/device-sdk-go/69:/w/workspace/device-sdk-go/69:rw,z -v /w/workspace/device-sdk-go/69@tmp:/w/workspace/device-sdk-go/69@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:55:41 $ docker top d9603605501294a6dcef65388d017a73bbde0417a996617937c93638e890a02d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:55:42 ---> job-cost.sh 01:55:42 lf-activate-venv: SKIPPING 01:55:42 INFO: No Stack... 01:55:43 INFO: Retrieving Pricing Info for: v3-standard-4 01:55:43 INFO: Archiving Costs [Pipeline] sh 01:55:44 + cat /w/workspace/device-sdk-go/69/archives/cost.csv 01:55:44 + cut -d, -f6 [Pipeline] lock 01:55:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-69-stack-cost] 01:55:44 Resource [jenkins-edgexfoundry-device-sdk-go-main-69-stack-cost] did not exist. Created. 01:55:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-69-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:55:45 /w/workspace/device-sdk-go/69@tmp/durable-4fe5c897/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:55:45 + echo total: 0.10999999940395355 [Pipeline] stash 01:55:45 Warning: overwriting stash ‘stack-cost’ 01:55:45 Stashed 1 file(s) [Pipeline] } 01:55:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-69-stack-cost] [Pipeline] // lock [Pipeline] } 01:55:45 $ docker stop --time=1 d9603605501294a6dcef65388d017a73bbde0417a996617937c93638e890a02d 01:55:47 $ docker rm -f d9603605501294a6dcef65388d017a73bbde0417a996617937c93638e890a02d [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 01:55:48 provisioning config files... 01:55:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3235278899854008335tmp [Pipeline] { [Pipeline] sh 01:55:48 + set +x 01:55:48 + curl -s https://codecov.io/bash 01:55:48 + bash -s -- 01:55:48 01:55:48 _____ _ 01:55:48 / ____| | | 01:55:48 | | ___ __| | ___ ___ _____ __ 01:55:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:55:48 | |___| (_) | (_| | __/ (_| (_) \ V / 01:55:48 \_____\___/ \__,_|\___|\___\___/ \_/ 01:55:48 Bash-1.0.6 01:55:48 01:55:48 01:55:48 ==> git version 2.25.1 found 01:55:48 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:55:48 Release-Date: 2020-01-08 01:55:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:55:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:55:48 ==> Jenkins CI detected. 01:55:48 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 01:55:48 project root: . 01:55:48 --> token set from env 01:55:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:55:48 ==> Running gcov in . (disable via -X gcov) 01:55:48 ==> Python coveragepy not found 01:55:48 ==> Searching for coverage reports in: 01:55:48 + . 01:55:48 -> Found 1 reports 01:55:48 ==> Detecting git/mercurial file structure 01:55:48 ==> Reading reports 01:55:48 + ./coverage.out bytes=130820 01:55:48 ==> Appending adjustments 01:55:48 https://docs.codecov.io/docs/fixing-reports 01:55:48 + Found adjustments 01:55:48 ==> Gzipping contents 01:55:48 20K /tmp/codecov.WVotNz.gz 01:55:48 ==> Uploading reports 01:55:48 url: https://codecov.io 01:55:48 query: branch=main&commit=20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b&build=69&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F69%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:55:48 -> Pinging Codecov 01:55:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b&build=69&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F69%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:55:48 -> Uploading to 01:55:48 https://storage.googleapis.com/codecov/v4/raw/2022-05-03/7E55EF52A471D76F132DFD9A03CDDE97/20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b/96fcdc69-0f4f-48b8-9809-b761c4dd6e3a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T015548Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f6c7474923ef5b77890e3989c8b9590f5edfa70197d89700e71a4e9b3206f8ad 01:55:48 % Total % Received % Xferd Average Speed Time Time Time Current 01:55:48 Dload Upload Total Spent Left Speed 01:55:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16810 0 0 100 16810 0 77110 --:--:-- --:--:-- --:--:-- 77110 01:55:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b [Pipeline] } 01:55:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:55:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:55:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:55:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:55:49 01:55:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 01:55:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:55:49 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:55:49 188c0c94c7c5: Pulling fs layer 01:55:49 0ef7d3d256c8: Pulling fs layer 01:55:49 de9db76c5a1d: Pulling fs layer 01:55:49 0eba1c9be4d2: Pulling fs layer 01:55:49 0d57e429df01: Pulling fs layer 01:55:49 4e4be7b47b0d: Pulling fs layer 01:55:49 e1f770b5df2f: Pulling fs layer 01:55:49 85a0685a4137: Pulling fs layer 01:55:49 0eba1c9be4d2: Waiting 01:55:49 0d57e429df01: Waiting 01:55:49 4e4be7b47b0d: Waiting 01:55:49 e1f770b5df2f: Waiting 01:55:49 85a0685a4137: Waiting 01:55:49 de9db76c5a1d: Verifying Checksum 01:55:49 de9db76c5a1d: Download complete 01:55:49 0ef7d3d256c8: Verifying Checksum 01:55:49 0ef7d3d256c8: Download complete 01:55:49 0d57e429df01: Verifying Checksum 01:55:49 0d57e429df01: Download complete 01:55:49 4e4be7b47b0d: Verifying Checksum 01:55:49 4e4be7b47b0d: Download complete 01:55:49 188c0c94c7c5: Download complete 01:55:50 e1f770b5df2f: Verifying Checksum 01:55:50 e1f770b5df2f: Download complete 01:55:50 188c0c94c7c5: Pull complete 01:55:50 0ef7d3d256c8: Pull complete 01:55:50 de9db76c5a1d: Pull complete 01:55:50 0eba1c9be4d2: Verifying Checksum 01:55:50 0eba1c9be4d2: Download complete 01:55:51 85a0685a4137: Verifying Checksum 01:55:51 85a0685a4137: Download complete 01:55:54 0eba1c9be4d2: Pull complete 01:55:54 0d57e429df01: Pull complete 01:55:54 4e4be7b47b0d: Pull complete 01:55:54 e1f770b5df2f: Pull complete 01:55:57 85a0685a4137: Pull complete 01:55:57 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 01:55:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:55:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 01:55:57 prd-ubuntu20.04-docker-8c-8g-34636 does not seem to be running inside a container 01:55:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:56:00 $ docker top eec8bca5b3d4729346381b4682c9d5d7f60a66ed3bcf9ac65f47943d7c08aa0f -eo pid,comm [Pipeline] { [Pipeline] echo 01:56:00 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 01:56:00 + set -o pipefail 01:56:00 + snyk monitor '--org=edgex-jenkins' 01:56:07 01:56:07 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 01:56:07 01:56:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/a2b4265a-4e4c-4994-ae43-9ff1c94a3c67 01:56:07 01:56:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:56:07 01:56:07 [Pipeline] } 01:56:07 $ docker stop --time=1 eec8bca5b3d4729346381b4682c9d5d7f60a66ed3bcf9ac65f47943d7c08aa0f 01:56:09 $ docker rm -f eec8bca5b3d4729346381b4682c9d5d7f60a66ed3bcf9ac65f47943d7c08aa0f [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 01:56:09 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:09 provisioning config files... 01:56:09 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1479467100577396859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:09 --> edgex-publish-swagger.sh 01:56:09 === Publish openapi/v2 API === 01:56:09 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 01:56:09 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 01:56:09 % Total % Received % Xferd Average Speed Time Time Time Current 01:56:09 Dload Upload Total Spent Left Speed 01:56:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 80243 --:--:-- --:--:-- --:--:-- 80243 01:56:10 01:56:10 [Pipeline] } 01:56:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:56:10 + git log --format=format:%s -1 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b [Pipeline] sh 01:56:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:56:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:56:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:56:11 . [Pipeline] withDockerContainer 01:56:11 prd-ubuntu20.04-docker-8c-8g-34636 does not seem to be running inside a container 01:56:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 01:56:12 $ docker top 166d2eefe3aa8a1ce201856851f3754888dafb5499c8d5eb5239c0a1b5ead737 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:56:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:12 [ssh-agent] Looking for ssh-agent implementation... 01:56:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:12 $ docker exec 166d2eefe3aa8a1ce201856851f3754888dafb5499c8d5eb5239c0a1b5ead737 ssh-agent 01:56:12 SSH_AUTH_SOCK=/tmp/ssh-M1iQugSt13kD/agent.35 01:56:12 SSH_AGENT_PID=41 01:56:12 Running ssh-add (command line suppressed) 01:56:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8056733876450663238.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8056733876450663238.key) 01:56:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:12 + git semver tag 01:56:13 2022-05-03 01:56:13,040 [run_tag] DEBUG tag force:False 01:56:13 2022-05-03 01:56:13,040 [check_head_tag] DEBUG check head tag 01:56:13 2022-05-03 01:56:13,042 [execute] INFO git cat-file --batch-check 01:56:13 2022-05-03 01:56:13,042 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 01:56:13 2022-05-03 01:56:13,046 [execute] INFO git cat-file --batch 01:56:13 2022-05-03 01:56:13,046 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 01:56:13 2022-05-03 01:56:13,072 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:56:13 2022-05-03 01:56:13,072 [execute] INFO git tag -a v2.2.0-dev.36 -m v2.2.0-dev.36 01:56:13 2022-05-03 01:56:13,072 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.36', '-m', 'v2.2.0-dev.36'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 01:56:13 2022-05-03 01:56:13,076 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:56:13 2.2.0-dev.36 [Pipeline] } 01:56:13 $ docker exec --env ******** --env ******** 166d2eefe3aa8a1ce201856851f3754888dafb5499c8d5eb5239c0a1b5ead737 ssh-agent -k 01:56:13 unset SSH_AUTH_SOCK; 01:56:13 unset SSH_AGENT_PID; 01:56:13 echo Agent pid 41 killed; 01:56:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:56:13 + git semver [Pipeline] } 01:56:13 $ docker stop --time=1 166d2eefe3aa8a1ce201856851f3754888dafb5499c8d5eb5239c0a1b5ead737 01:56:15 $ docker rm -f 166d2eefe3aa8a1ce201856851f3754888dafb5499c8d5eb5239c0a1b5ead737 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 01:56:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:56:15 01:56:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 01:56:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:56:15 0.23.1-centos7: Pulling from edgex-lftools 01:56:15 ab5ef0e58194: Pulling fs layer 01:56:15 9712f1f96733: Pulling fs layer 01:56:15 63f879dbbcfc: Pulling fs layer 01:56:15 0d9ebad4ef96: Pulling fs layer 01:56:15 e9a5061849ea: Pulling fs layer 01:56:15 d747dcd14b5f: Pulling fs layer 01:56:15 2de7ff778b66: Pulling fs layer 01:56:15 e9a5061849ea: Waiting 01:56:15 d747dcd14b5f: Waiting 01:56:15 2de7ff778b66: Waiting 01:56:15 9712f1f96733: Verifying Checksum 01:56:15 9712f1f96733: Download complete 01:56:16 63f879dbbcfc: Verifying Checksum 01:56:16 63f879dbbcfc: Download complete 01:56:16 e9a5061849ea: Verifying Checksum 01:56:16 e9a5061849ea: Download complete 01:56:16 d747dcd14b5f: Download complete 01:56:16 0d9ebad4ef96: Verifying Checksum 01:56:16 0d9ebad4ef96: Download complete 01:56:16 ab5ef0e58194: Verifying Checksum 01:56:16 ab5ef0e58194: Download complete 01:56:16 2de7ff778b66: Verifying Checksum 01:56:16 2de7ff778b66: Download complete 01:56:19 ab5ef0e58194: Pull complete 01:56:19 9712f1f96733: Pull complete 01:56:20 63f879dbbcfc: Pull complete 01:56:24 0d9ebad4ef96: Pull complete 01:56:24 e9a5061849ea: Pull complete 01:56:24 d747dcd14b5f: Pull complete 01:56:26 2de7ff778b66: Pull complete 01:56:26 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:56:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:56:26 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 01:56:26 prd-ubuntu20.04-docker-8c-8g-34636 does not seem to be running inside a container 01:56:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:56:28 $ docker top 46885033b8f994757b46d9c83fd9978c90b91a995b511778beba66b08bedd982 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:56:28 provisioning config files... 01:56:28 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8776295168942611748tmp 01:56:28 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7800926904324859014tmp 01:56:28 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6816771023801279387tmp [Pipeline] { [Pipeline] echo 01:56:29 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:56:29 ---> sigul-configuration.sh 01:56:29 gpg: directory `/root/.gnupg' created 01:56:29 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:56:29 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:56:29 gpg: keyring `/root/.gnupg/secring.gpg' created 01:56:29 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:56:29 gpg: CAST5 encrypted data 01:56:29 gpg: encrypted with 1 passphrase 01:56:29 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:56:29 + mkdir /home/jenkins 01:56:29 + mkdir /home/jenkins/sigul [Pipeline] sh 01:56:29 + 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 01:56:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:56:30 ---> sigul-install.sh 01:56:30 Sigul already installed; skipping installation. [Pipeline] sh 01:56:30 + git tag --list 01:56:30 0.7.1 01:56:30 delhi-tag 01:56:30 v1.0.0 01:56:30 v1.1.0 01:56:30 v1.1.1 01:56:30 v1.1.2 01:56:30 v1.2.0 01:56:30 v1.2.1 01:56:30 v1.2.2 01:56:30 v1.2.3 01:56:30 v1.3.0 01:56:30 v1.4.0 01:56:30 v2.0.0 01:56:30 v2.0.1-dev.1 01:56:30 v2.0.1-dev.10 01:56:30 v2.0.1-dev.11 01:56:30 v2.0.1-dev.12 01:56:30 v2.0.1-dev.13 01:56:30 v2.0.1-dev.14 01:56:30 v2.0.1-dev.15 01:56:30 v2.0.1-dev.16 01:56:30 v2.0.1-dev.17 01:56:30 v2.0.1-dev.18 01:56:30 v2.0.1-dev.19 01:56:30 v2.0.1-dev.2 01:56:30 v2.0.1-dev.20 01:56:30 v2.0.1-dev.21 01:56:30 v2.0.1-dev.22 01:56:30 v2.0.1-dev.23 01:56:30 v2.0.1-dev.24 01:56:30 v2.0.1-dev.25 01:56:30 v2.0.1-dev.26 01:56:30 v2.0.1-dev.27 01:56:30 v2.0.1-dev.28 01:56:30 v2.0.1-dev.29 01:56:30 v2.0.1-dev.3 01:56:30 v2.0.1-dev.30 01:56:30 v2.0.1-dev.31 01:56:30 v2.0.1-dev.32 01:56:30 v2.0.1-dev.33 01:56:30 v2.0.1-dev.4 01:56:30 v2.0.1-dev.5 01:56:30 v2.0.1-dev.6 01:56:30 v2.0.1-dev.7 01:56:30 v2.0.1-dev.8 01:56:30 v2.0.1-dev.9 01:56:30 v2.1.0 01:56:30 v2.1.1-dev.1 01:56:30 v2.2.0-dev.1 01:56:30 v2.2.0-dev.10 01:56:30 v2.2.0-dev.11 01:56:30 v2.2.0-dev.12 01:56:30 v2.2.0-dev.13 01:56:30 v2.2.0-dev.14 01:56:30 v2.2.0-dev.15 01:56:30 v2.2.0-dev.16 01:56:30 v2.2.0-dev.17 01:56:30 v2.2.0-dev.18 01:56:30 v2.2.0-dev.19 01:56:30 v2.2.0-dev.2 01:56:30 v2.2.0-dev.20 01:56:30 v2.2.0-dev.21 01:56:30 v2.2.0-dev.22 01:56:30 v2.2.0-dev.23 01:56:30 v2.2.0-dev.24 01:56:30 v2.2.0-dev.25 01:56:30 v2.2.0-dev.26 01:56:30 v2.2.0-dev.27 01:56:30 v2.2.0-dev.28 01:56:30 v2.2.0-dev.29 01:56:30 v2.2.0-dev.3 01:56:30 v2.2.0-dev.30 01:56:30 v2.2.0-dev.31 01:56:30 v2.2.0-dev.32 01:56:30 v2.2.0-dev.33 01:56:30 v2.2.0-dev.34 01:56:30 v2.2.0-dev.35 01:56:30 v2.2.0-dev.36 01:56:30 v2.2.0-dev.4 01:56:30 v2.2.0-dev.5 01:56:30 v2.2.0-dev.6 01:56:30 v2.2.0-dev.7 01:56:30 v2.2.0-dev.8 01:56:30 v2.2.0-dev.9 [Pipeline] sh 01:56:30 + lftools sign git-tag v2.2.0-dev.36 01:56:31 Signing Git tag with Sigul... 01:56:31 Signing v2.2.0-dev.36 [Pipeline] echo 01:56:31 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:56:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:56:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:56:32 $ docker stop --time=1 46885033b8f994757b46d9c83fd9978c90b91a995b511778beba66b08bedd982 01:56:33 $ docker rm -f 46885033b8f994757b46d9c83fd9978c90b91a995b511778beba66b08bedd982 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:56:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:56:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:56:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:56:34 . [Pipeline] withDockerContainer 01:56:34 prd-ubuntu20.04-docker-8c-8g-34636 does not seem to be running inside a container 01:56:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 01:56:34 $ docker top 50ce7317361ceae7e013e0779eace0d3e243e72555b21ed93e81110debdd2cc4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:56:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:34 [ssh-agent] Looking for ssh-agent implementation... 01:56:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:35 $ docker exec 50ce7317361ceae7e013e0779eace0d3e243e72555b21ed93e81110debdd2cc4 ssh-agent 01:56:35 SSH_AUTH_SOCK=/tmp/ssh-i2X3oOX8UdPQ/agent.33 01:56:35 SSH_AGENT_PID=40 01:56:35 Running ssh-add (command line suppressed) 01:56:35 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2773602837813743765.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2773602837813743765.key) 01:56:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:35 + git semver bump pre 01:56:35 2022-05-03 01:56:35,753 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:56:35 2022-05-03 01:56:35,753 [bump_version] DEBUG bumping version:2.2.0-dev.36 on axis:pre with prefix:dev 01:56:35 2022-05-03 01:56:35,753 [bump_version] DEBUG bumped version:2.2.0-dev.37 01:56:35 2022-05-03 01:56:35,753 [write_version] DEBUG write version:2.2.0-dev.37 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 01:56:35 2022-05-03 01:56:35,753 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:56:35 2022-05-03 01:56:35,753 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:56:35 2022-05-03 01:56:35,755 [execute] INFO git cat-file --batch-check 01:56:35 2022-05-03 01:56:35,755 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:56:35 2022-05-03 01:56:35,761 [execute] INFO git cat-file --batch 01:56:35 2022-05-03 01:56:35,761 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:56:35 2022-05-03 01:56:35,766 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:56:35 2.2.0-dev.37 [Pipeline] } 01:56:35 $ docker exec --env ******** --env ******** 50ce7317361ceae7e013e0779eace0d3e243e72555b21ed93e81110debdd2cc4 ssh-agent -k 01:56:35 unset SSH_AUTH_SOCK; 01:56:35 unset SSH_AGENT_PID; 01:56:35 echo Agent pid 40 killed; 01:56:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:56:36 + git semver [Pipeline] } 01:56:36 $ docker stop --time=1 50ce7317361ceae7e013e0779eace0d3e243e72555b21ed93e81110debdd2cc4 01:56:37 $ docker rm -f 50ce7317361ceae7e013e0779eace0d3e243e72555b21ed93e81110debdd2cc4 [Pipeline] // withDockerContainer [Pipeline] sh 01:56:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:56:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:56:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:56:38 . [Pipeline] withDockerContainer 01:56:38 prd-ubuntu20.04-docker-8c-8g-34636 does not seem to be running inside a container 01:56:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 01:56:38 $ docker top 663f043d6a2940a93d43042a12402e02a363f4191f08e6fbf7c0119c00aa5ce9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:56:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:39 [ssh-agent] Looking for ssh-agent implementation... 01:56:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:39 $ docker exec 663f043d6a2940a93d43042a12402e02a363f4191f08e6fbf7c0119c00aa5ce9 ssh-agent 01:56:39 SSH_AUTH_SOCK=/tmp/ssh-Ttykv62AxDUZ/agent.32 01:56:39 SSH_AGENT_PID=38 01:56:39 Running ssh-add (command line suppressed) 01:56:39 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6310377452321857861.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6310377452321857861.key) 01:56:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:39 + git semver push 01:56:40 2022-05-03 01:56:39,947 [run_push] DEBUG push 01:56:40 2022-05-03 01:56:39,947 [execute] INFO git push origin semver 01:56:40 2022-05-03 01:56:39,948 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:56:40 2022-05-03 01:56:40,742 [run_push] DEBUG push all version tags 01:56:40 2022-05-03 01:56:40,743 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:56:40 2022-05-03 01:56:40,743 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 01:56:41 2022-05-03 01:56:41,475 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:56:41 2.2.0-dev.37 [Pipeline] } 01:56:41 $ docker exec --env ******** --env ******** 663f043d6a2940a93d43042a12402e02a363f4191f08e6fbf7c0119c00aa5ce9 ssh-agent -k 01:56:41 unset SSH_AUTH_SOCK; 01:56:41 unset SSH_AGENT_PID; 01:56:41 echo Agent pid 38 killed; 01:56:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:56:41 + git semver [Pipeline] } 01:56:42 $ docker stop --time=1 663f043d6a2940a93d43042a12402e02a363f4191f08e6fbf7c0119c00aa5ce9 01:56:43 $ docker rm -f 663f043d6a2940a93d43042a12402e02a363f4191f08e6fbf7c0119c00aa5ce9 [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 01:56:44 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 01:56:44 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 01:56:44 total 16 01:56:44 drwxr-xr-x 3 root root 4096 May 3 01:36 . 01:56:44 drwxrwxr-x 12 jenkins jenkins 4096 May 3 01:56 .. 01:56:44 drwxr-xr-x 2 root root 4096 May 3 01:36 cost 01:56:44 -rw-r--r-- 1 root root 83 May 3 01:36 cost.csv 01:56:44 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 01:56:44 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 01:56:44 total 16 01:56:44 drwxr-xr-x 3 jenkins jenkins 4096 May 3 01:36 . 01:56:44 drwxrwxr-x 12 jenkins jenkins 4096 May 3 01:56 .. 01:56:44 drwxr-xr-x 2 jenkins jenkins 4096 May 3 01:36 cost 01:56:44 -rw-r--r-- 1 jenkins jenkins 83 May 3 01:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:56:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:56:45 ---> package-listing.sh 01:56:45 ++ facter osfamily 01:56:45 ++ tr '[:upper:]' '[:lower:]' 01:56:45 + OS_FAMILY=debian 01:56:45 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 01:56:45 + START_PACKAGES=/tmp/packages_start.txt 01:56:45 + END_PACKAGES=/tmp/packages_end.txt 01:56:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:56:45 + PACKAGES=/tmp/packages_start.txt 01:56:45 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 01:56:45 + PACKAGES=/tmp/packages_end.txt 01:56:45 + case "${OS_FAMILY}" in 01:56:45 + dpkg -l 01:56:45 + grep '^ii' 01:56:45 + '[' -f /tmp/packages_start.txt ']' 01:56:45 + '[' -f /tmp/packages_end.txt ']' 01:56:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:56:45 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 01:56:45 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 01:56:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 01:56:45 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:56:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:56:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:56:46 . [Pipeline] withDockerContainer 01:56:46 prd-ubuntu20.04-docker-8c-8g-34636 does not seem to be running inside a container 01:56:46 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:56:46 $ docker top e4b5721cdfa55289701fc1fddaa6b8d47705a04784efd32a21db3da2e6f0bfea -eo pid,comm [Pipeline] { [Pipeline] sh 01:56:47 + touch /tmp/pre-build-complete [Pipeline] sh 01:56:47 + mkdir -p /var/log/sysstat [Pipeline] sh 01:56:47 + ls /var/log/sa-host 01:56:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:47 provisioning config files... 01:56:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1224666154487407287tmp [Pipeline] { [Pipeline] echo 01:56:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:56:48 ---> create-netrc.sh [Pipeline] } 01:56:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:56:48 ---> python-tools-install.sh [Pipeline] echo 01:56:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:56:48 ---> sudo-logs.sh 01:56:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:56:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:56:49 ---> job-cost.sh 01:56:49 lf-activate-venv: SKIPPING 01:56:49 DEBUG: total: 0.2199999988079071 01:56:49 INFO: Retrieving Stack Cost... 01:56:49 INFO: Retrieving Pricing Info for: v3-standard-8 01:56:49 INFO: Archiving Costs [Pipeline] echo 01:56:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:56:50 ---> logs-deploy.sh 01:56:50 lf-activate-venv: SKIPPING 01:56:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/69 01:56:50 INFO: archiving workspace using pattern(s): 01:56:51 Archives upload complete. 01:56:51 INFO: archiving logs to Nexus