Started by upstream project "edgexfoundry/cd-management/release-lts" build number 32 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ba443a3625d4eef64e240836a867426dc0799199 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-ssh10524675138433032446.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6483713773268031796.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5705145031836219487.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16194563445616214661.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11217364196002832978.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-729 in /w/workspace/gexfoundry_device-sdk-go_jakarta [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision ba443a3625d4eef64e240836a867426dc0799199 (jakarta) Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_jakarta # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 ba443a3625d4eef64e240836a867426dc0799199 # timeout=10 Commit message: "Merge pull request #1172 from lenny-intel/relased-2.1.1-go-mods-and-change-log" > git rev-list --no-walk ba443a3625d4eef64e240836a867426dc0799199 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:34:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:34:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:34:39 ========================================================= 23:34:39 EdgeX Global Pipelines Version Info 23:34:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:34:40 ------------------- 23:34:40 stable info: 23:34:40 ------------------- 23:34:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:34:40 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 23:34:40 Message: update stable to v1.0.230 23:34:41 ------------------- 23:34:41 experimental info: 23:34:41 ------------------- 23:34:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:34:41 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 23:34:41 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba443a3625d4eef64e240836a867426dc0799199 [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba443a3 [Pipeline] echo 23:34:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:41 provisioning config files... 23:34:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config6190469376548945584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:41 ---> docker-login.sh 23:34:41 nexus3.edgexfoundry.org:10001 23:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:42 Configure a credential helper to remove this warning. See 23:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:42 23:34:42 Login Succeeded 23:34:42 nexus3.edgexfoundry.org:10002 23:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:42 Configure a credential helper to remove this warning. See 23:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:42 23:34:42 Login Succeeded 23:34:42 nexus3.edgexfoundry.org:10003 23:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:42 Configure a credential helper to remove this warning. See 23:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:42 23:34:42 Login Succeeded 23:34:42 nexus3.edgexfoundry.org:10004 23:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:42 Configure a credential helper to remove this warning. See 23:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:42 23:34:42 Login Succeeded 23:34:42 docker.io 23:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:43 Configure a credential helper to remove this warning. See 23:34:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:43 23:34:43 Login Succeeded 23:34:43 ---> docker-login.sh ends [Pipeline] } 23:34:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:34:43 + git rev-list -1 --merges ba443a3625d4eef64e240836a867426dc0799199~1..ba443a3625d4eef64e240836a867426dc0799199 [Pipeline] echo 23:34:43 -----------> git rev-list -1 --merges ba443a3625d4eef64e240836a867426dc0799199~1..ba443a3625d4eef64e240836a867426dc0799199 ba443a3625d4eef64e240836a867426dc0799199 23:34:43 ba443a3625d4eef64e240836a867426dc0799199 [false] [Pipeline] sh 23:34:44 + git log --format=format:%s -1 ba443a3625d4eef64e240836a867426dc0799199 [Pipeline] echo 23:34:44 ========================================================= 23:34:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 23:34:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:34:44 + git log --format=format:%s -1 ba443a3625d4eef64e240836a867426dc0799199 [Pipeline] echo 23:34:44 [semverPrep] GIT_COMMIT: ba443a3625d4eef64e240836a867426dc0799199, Commit Message: Merge pull request #1172 from lenny-intel/relased-2.1.1-go-mods-and-change-log [Pipeline] echo 23:34:44 [semverPrep] This is not a build commit. [Pipeline] sh 23:34:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:34:44 + grep -v github /etc/ssh/ssh_known_hosts 23:34:44 + [ -e /tmp/ssh_known_hosts ] 23:34:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:34:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:34:44 + sudo tee -a /etc/ssh/ssh_known_hosts 23:34:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:34:45 23:34:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:34:45 latest: Pulling from edgex-devops/py-git-semver 23:34:45 1fe172e4850f: Pulling fs layer 23:34:45 caf521ccaac6: Pulling fs layer 23:34:45 3ead6fa29328: Pulling fs layer 23:34:45 5c2a1cbceb83: Pulling fs layer 23:34:45 a8d5f1318db7: Pulling fs layer 23:34:45 c427282e49a2: Pulling fs layer 23:34:45 1827001aaf11: Pulling fs layer 23:34:45 0714d37db230: Pulling fs layer 23:34:45 ac28cf19c067: Pulling fs layer 23:34:45 ca983d60f3e2: Pulling fs layer 23:34:45 9f894cec8388: Pulling fs layer 23:34:45 5c2a1cbceb83: Waiting 23:34:45 a8d5f1318db7: Waiting 23:34:45 c427282e49a2: Waiting 23:34:45 ca983d60f3e2: Waiting 23:34:45 1827001aaf11: Waiting 23:34:45 9f894cec8388: Waiting 23:34:45 ac28cf19c067: Waiting 23:34:45 0714d37db230: Waiting 23:34:45 caf521ccaac6: Download complete 23:34:45 5c2a1cbceb83: Verifying Checksum 23:34:45 5c2a1cbceb83: Download complete 23:34:45 a8d5f1318db7: Verifying Checksum 23:34:45 a8d5f1318db7: Download complete 23:34:45 3ead6fa29328: Verifying Checksum 23:34:45 3ead6fa29328: Download complete 23:34:45 c427282e49a2: Download complete 23:34:45 0714d37db230: Verifying Checksum 23:34:45 0714d37db230: Download complete 23:34:45 ac28cf19c067: Verifying Checksum 23:34:45 ac28cf19c067: Download complete 23:34:45 ca983d60f3e2: Verifying Checksum 23:34:45 ca983d60f3e2: Download complete 23:34:45 9f894cec8388: Download complete 23:34:45 1fe172e4850f: Verifying Checksum 23:34:45 1fe172e4850f: Download complete 23:34:45 1827001aaf11: Verifying Checksum 23:34:45 1827001aaf11: Download complete 23:34:47 1fe172e4850f: Pull complete 23:34:47 caf521ccaac6: Pull complete 23:34:47 3ead6fa29328: Pull complete 23:34:47 5c2a1cbceb83: Pull complete 23:34:48 a8d5f1318db7: Pull complete 23:34:48 c427282e49a2: Pull complete 23:34:50 1827001aaf11: Pull complete 23:34:50 0714d37db230: Pull complete 23:34:50 ac28cf19c067: Pull complete 23:34:50 ca983d60f3e2: Pull complete 23:34:50 9f894cec8388: Pull complete 23:34:50 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 23:34:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:34:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:50 prd-ubuntu20.04-docker-8c-8g-729 does not seem to be running inside a container 23:34:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:34:53 $ docker top 76ac17ff9ee2fbbfbae71124d59d4b11060c01b4207fd98818ba38a6d2e4c6d2 -eo pid,comm 23:34: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). 23:34:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:34:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:34:53 [ssh-agent] Looking for ssh-agent implementation... 23:34:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:34:54 $ docker exec 76ac17ff9ee2fbbfbae71124d59d4b11060c01b4207fd98818ba38a6d2e4c6d2 ssh-agent 23:34:54 SSH_AUTH_SOCK=/tmp/ssh-yQBNZCdkLcTy/agent.34 23:34:54 SSH_AGENT_PID=40 23:34:54 Running ssh-add (command line suppressed) 23:34:54 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_1012895725165007961.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_1012895725165007961.key) 23:34:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:34:54 + git tag --points-at ba443a3625d4eef64e240836a867426dc0799199 [Pipeline] } 23:34:54 $ docker exec --env ******** --env ******** 76ac17ff9ee2fbbfbae71124d59d4b11060c01b4207fd98818ba38a6d2e4c6d2 ssh-agent -k 23:34:54 unset SSH_AUTH_SOCK; 23:34:54 unset SSH_AGENT_PID; 23:34:54 echo Agent pid 40 killed; 23:34:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 23:34:54 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.1.1' [Pipeline] sshagent 23:34:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:34:54 [ssh-agent] Looking for ssh-agent implementation... 23:34:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:34:54 $ docker exec 76ac17ff9ee2fbbfbae71124d59d4b11060c01b4207fd98818ba38a6d2e4c6d2 ssh-agent 23:34:55 SSH_AUTH_SOCK=/tmp/ssh-FTt72yrnvyky/agent.75 23:34:55 SSH_AGENT_PID=83 23:34:55 Running ssh-add (command line suppressed) 23:34:55 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_7510523605350820287.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_7510523605350820287.key) 23:34:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:34:55 + git semver init 23:34:55 2022-06-02 23:34:55,692 [run_init] DEBUG init version:0.0.0 force:False 23:34:55 2022-06-02 23:34:55,693 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver 23:34:55 2022-06-02 23:34:55,693 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver 23:34:55 2022-06-02 23:34:55,694 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=None) 23:34:56 2022-06-02 23:34:56,492 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_jakarta/.git/info/exclude 23:34:56 2022-06-02 23:34:56,492 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta with force:False 23:34:56 2022-06-02 23:34:56,493 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 23:34:56 2022-06-02 23:34:56,493 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 23:34:56 2.1.1 [Pipeline] } 23:34:56 $ docker exec --env ******** --env ******** 76ac17ff9ee2fbbfbae71124d59d4b11060c01b4207fd98818ba38a6d2e4c6d2 ssh-agent -k 23:34:56 unset SSH_AUTH_SOCK; 23:34:56 unset SSH_AGENT_PID; 23:34:56 echo Agent pid 83 killed; 23:34:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:34:57 + git semver [Pipeline] } 23:34:57 $ docker stop --time=1 76ac17ff9ee2fbbfbae71124d59d4b11060c01b4207fd98818ba38a6d2e4c6d2 23:34:59 $ docker rm -f 76ac17ff9ee2fbbfbae71124d59d4b11060c01b4207fd98818ba38a6d2e4c6d2 [Pipeline] // withDockerContainer [Pipeline] sh 23:34:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:35:00 Stashed 1 file(s) [Pipeline] echo 23:35:00 [edgeXSemver]: initialized semver on version 2.1.1 [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] sh 23:35:00 + git checkout ba443a3625d4eef64e240836a867426dc0799199 23:35:00 HEAD is now at ba443a3 Merge pull request #1172 from lenny-intel/relased-2.1.1-go-mods-and-change-log [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:35:00 provisioning config files... 23:35:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config1132438167205691282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:35:00 ---> docker-login.sh 23:35:00 nexus3.edgexfoundry.org:10001 23:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:00 Configure a credential helper to remove this warning. See 23:35:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:00 23:35:00 Login Succeeded 23:35:00 nexus3.edgexfoundry.org:10002 23:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:01 Configure a credential helper to remove this warning. See 23:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:01 23:35:01 Login Succeeded 23:35:01 nexus3.edgexfoundry.org:10003 23:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:01 Configure a credential helper to remove this warning. See 23:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:01 23:35:01 Login Succeeded 23:35:01 nexus3.edgexfoundry.org:10004 23:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:01 Configure a credential helper to remove this warning. See 23:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:01 23:35:01 Login Succeeded 23:35:01 docker.io 23:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:35:01 Configure a credential helper to remove this warning. See 23:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:35:01 23:35:01 Login Succeeded 23:35:01 ---> docker-login.sh ends [Pipeline] } 23:35:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:35:01 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:35:01 ========================================================= 23:35:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 23:35:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:02 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 23:35:02 Sending build context to Docker daemon 20.72MB 23:35:02 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 23:35:02 Step 2/10 : FROM ${BASE} AS builder 23:35:02 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 23:35:02 59bf1c3509f3: Pulling fs layer 23:35:02 666ba61612fd: Pulling fs layer 23:35:02 8ed8ca486205: Pulling fs layer 23:35:02 4fe6c5a15a65: Pulling fs layer 23:35:02 22a0e8bec74d: Pulling fs layer 23:35:02 812f408151ee: Pulling fs layer 23:35:02 bab7bd504b26: Pulling fs layer 23:35:02 070449caade9: Pulling fs layer 23:35:02 8f1a5288e3a6: Pulling fs layer 23:35:02 812f408151ee: Waiting 23:35:02 bab7bd504b26: Waiting 23:35:02 070449caade9: Waiting 23:35:02 8f1a5288e3a6: Waiting 23:35:02 22a0e8bec74d: Waiting 23:35:02 4fe6c5a15a65: Waiting 23:35:02 8ed8ca486205: Download complete 23:35:02 666ba61612fd: Download complete 23:35:02 22a0e8bec74d: Download complete 23:35:02 812f408151ee: Verifying Checksum 23:35:02 812f408151ee: Download complete 23:35:02 59bf1c3509f3: Verifying Checksum 23:35:02 59bf1c3509f3: Download complete 23:35:02 bab7bd504b26: Download complete 23:35:02 070449caade9: Verifying Checksum 23:35:02 070449caade9: Download complete 23:35:02 59bf1c3509f3: Pull complete 23:35:02 666ba61612fd: Pull complete 23:35:02 8ed8ca486205: Pull complete 23:35:03 8f1a5288e3a6: Verifying Checksum 23:35:03 8f1a5288e3a6: Download complete 23:35:03 4fe6c5a15a65: Verifying Checksum 23:35:03 4fe6c5a15a65: Download complete 23:35:07 4fe6c5a15a65: Pull complete 23:35:07 22a0e8bec74d: Pull complete 23:35:07 812f408151ee: Pull complete 23:35:07 bab7bd504b26: Pull complete 23:35:07 070449caade9: Pull complete 23:35:09 8f1a5288e3a6: Pull complete 23:35:09 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 23:35:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 23:35:09 ---> c47586b81864 23:35:09 Step 3/10 : ARG MAKE=make build 23:35:11 ---> Running in 6ecf19b5ba5f 23:35:11 Removing intermediate container 6ecf19b5ba5f 23:35:11 ---> 175ffd5b230e 23:35:11 Step 4/10 : WORKDIR /device-sdk-go 23:35:11 ---> Running in 4f6e8f63be92 23:35:11 Removing intermediate container 4f6e8f63be92 23:35:11 ---> 92aeeece6b10 23:35:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:35:11 ---> Running in a5c3331703d6 23:35:11 Removing intermediate container a5c3331703d6 23:35:11 ---> a2953da98a97 23:35:11 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:35:11 ---> Running in 85d5858eef84 23:35:12 Removing intermediate container 85d5858eef84 23:35:12 ---> 87d8fe4c9a0f 23:35:12 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:35:12 ---> Running in 5fc176620d73 23:35:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:35:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:35:13 OK: 221 MiB in 52 packages 23:35:14 Removing intermediate container 5fc176620d73 23:35:14 ---> 22e16058eb0a 23:35:14 Step 8/10 : COPY . . 23:35:15 ---> f260bbf2c4cd 23:35:15 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:35:15 ---> Running in eeb8572028b6 23:35:15 skipping... 23:35:15 Still waiting to schedule task 23:35:15 ‘prd-ubuntu20.04-docker-arm64-4c-16g-721’ is offline 23:35:15 Removing intermediate container eeb8572028b6 23:35:15 ---> c0e1586413a1 23:35:15 Step 10/10 : RUN ${MAKE} 23:35:15 ---> Running in 0d7938c373d5 23:35:16 noop 23:35:16 Removing intermediate container 0d7938c373d5 23:35:16 ---> 1f70490c8dbc 23:35:16 Successfully built 1f70490c8dbc 23:35:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:16 + docker inspect -f . ci-base-image-x86_64 23:35:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:35:17 prd-ubuntu20.04-docker-8c-8g-729 does not seem to be running inside a container 23:35:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:35:17 $ docker top 9a65b48fa72c756c4d1a4c3acaa82198c9876a73598d9a621b5c42581280cbc8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:35:18 + go version 23:35:18 go version go1.17.6 linux/amd64 [Pipeline] } 23:35:18 $ docker stop --time=1 9a65b48fa72c756c4d1a4c3acaa82198c9876a73598d9a621b5c42581280cbc8 23:35:19 $ docker rm -f 9a65b48fa72c756c4d1a4c3acaa82198c9876a73598d9a621b5c42581280cbc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:19 + docker inspect -f . ci-base-image-x86_64 23:35:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:35:19 prd-ubuntu20.04-docker-8c-8g-729 does not seem to be running inside a container 23:35:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:35:20 $ docker top 23c3d16a78718de83d9ec255304c1ccc63ac8083b0c9a1ccae3cb8c601b03b45 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:35:20 + make test 23:35:20 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:35:25 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:35:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:35:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:35:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:35:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.064s coverage: 23.3% of statements 23:35:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:35:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.052s coverage: 27.6% of statements 23:35:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.066s coverage: 78.9% of statements 23:35:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.070s coverage: 9.0% of statements 23:35:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 23:35:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:35:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:35:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.079s coverage: 28.7% of statements 23:35:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:35:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.079s coverage: 82.9% of statements 23:35:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:35:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:35:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 57.8% of statements 23:35:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.874s coverage: 89.2% of statements 23:35:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:35:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.8% of statements 23:35:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:35:35 GO111MODULE=on go vet ./... 23:35:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:35:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:35:42 ./bin/test-attribution-txt.sh 23:35:43 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 23:35:43 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 23:35:43 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 23:35:43 go: downloading github.com/stretchr/testify v1.7.0 23:35:43 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 23:35:43 go: downloading github.com/google/uuid v1.3.0 23:35:43 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:35:43 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:35:43 go: downloading github.com/gorilla/mux v1.8.0 23:35:43 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 23:35:43 go: downloading github.com/pelletier/go-toml v1.9.4 23:35:43 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:35:43 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 23:35:43 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 23:35:43 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:35:43 go: downloading github.com/hashicorp/consul/api v1.9.1 23:35:43 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:35:43 go: downloading github.com/go-kit/kit v0.11.0 23:35:43 go: downloading github.com/go-playground/validator/v10 v10.9.0 23:35:43 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:35:43 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:35:43 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:35:43 go: downloading github.com/pebbe/zmq4 v1.2.7 23:35:43 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:35:43 go: downloading github.com/mitchellh/copystructure v1.0.0 23:35:43 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:35:43 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:35:43 go: downloading github.com/go-logfmt/logfmt v0.5.0 23:35:43 go: downloading github.com/davecgh/go-spew v1.1.1 23:35:43 go: downloading github.com/pmezard/go-difflib v1.0.0 23:35:43 go: downloading github.com/stretchr/objx v0.1.1 23:35:43 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 23:35:43 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 23:35:43 go: downloading golang.org/x/text v0.3.6 23:35:43 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:35:43 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:35:43 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:35:43 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:35:43 go: downloading github.com/hashicorp/serf v0.9.5 23:35:43 go: downloading github.com/x448/float16 v0.8.4 23:35:43 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:35:43 go: downloading github.com/gorilla/websocket v1.4.2 23:35:43 go: downloading github.com/hashicorp/errwrap v1.0.0 23:35:43 go: downloading github.com/go-playground/universal-translator v0.18.0 23:35:43 go: downloading github.com/leodido/go-urn v1.2.1 23:35:43 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 23:35:43 go: downloading github.com/fatih/color v1.9.0 23:35:43 go: downloading github.com/mattn/go-colorable v0.1.6 23:35:43 go: downloading github.com/mattn/go-isatty v0.0.12 23:35:43 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:35:43 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 23:35:44 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 23:35:44 + go mod tidy 23:35:44 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 23:35:44 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:35:44 go: downloading github.com/go-stack/stack v1.8.0 23:35:44 go: downloading github.com/hashicorp/consul/sdk v0.8.0 23:35:44 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:35:44 go: downloading github.com/onsi/ginkgo v1.10.1 23:35:44 go: downloading github.com/onsi/gomega v1.7.0 23:35:44 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:35:44 go: downloading github.com/hashicorp/memberlist v0.2.2 23:35:44 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:35:44 go: downloading github.com/pkg/errors v0.9.1 23:35:44 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:35:44 go: downloading github.com/kr/pretty v0.3.0 23:35:44 go: downloading github.com/kr/text v0.2.0 23:35:44 go: downloading github.com/rogpeppe/go-internal v1.8.0 23:35:45 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:35:45 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:35:45 go: downloading github.com/miekg/dns v1.1.26 23:35:45 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:35:45 go: downloading gopkg.in/yaml.v2 v2.3.0 23:35:45 go: downloading github.com/hpcloud/tail v1.0.0 23:35:45 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:35:45 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 23:35:45 $ docker stop --time=1 23c3d16a78718de83d9ec255304c1ccc63ac8083b0c9a1ccae3cb8c601b03b45 23:35:47 $ docker rm -f 23c3d16a78718de83d9ec255304c1ccc63ac8083b0c9a1ccae3cb8c601b03b45 [Pipeline] // withDockerContainer [Pipeline] sh 23:35:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:35:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:35:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:35:49 + ls -al . 23:35:49 total 308 23:35:49 drwxrwxr-x 12 jenkins jenkins 4096 Jun 2 23:35 . 23:35:49 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:34 .. 23:35:49 -rw-rw-r-- 1 jenkins jenkins 140 Jun 2 23:34 .dockerignore 23:35:49 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 23:35 .git 23:35:49 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:34 .github 23:35:49 -rw-rw-r-- 1 jenkins jenkins 124 Jun 2 23:34 .gitignore 23:35:49 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 23:34 .semver 23:35:49 -rw-rw-r-- 1 jenkins jenkins 26850 Jun 2 23:34 CHANGELOG.md 23:35:49 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 23:34 GOVERNANCE.md 23:35:49 -rw-rw-r-- 1 jenkins jenkins 880 Jun 2 23:34 Jenkinsfile 23:35:49 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 2 23:34 LICENSE 23:35:49 -rw-rw-r-- 1 jenkins jenkins 1120 Jun 2 23:34 Makefile 23:35:49 -rw-rw-r-- 1 jenkins jenkins 619 Jun 2 23:34 OWNERS.md 23:35:49 -rw-rw-r-- 1 jenkins jenkins 4890 Jun 2 23:34 README.md 23:35:49 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 23:34 VERSION 23:35:49 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:34 bin 23:35:49 -rw-r--r-- 1 jenkins jenkins 128641 Jun 2 23:35 coverage.out 23:35:49 drwxrwxr-x 5 jenkins jenkins 4096 Jun 2 23:34 example 23:35:49 -rw-rw-r-- 1 jenkins jenkins 576 Jun 2 23:35 go.mod 23:35:49 -rw-rw-r-- 1 jenkins jenkins 48946 Jun 2 23:34 go.sum 23:35:49 drwxrwxr-x 15 jenkins jenkins 4096 Jun 2 23:34 internal 23:35:49 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:34 openapi 23:35:49 drwxrwxr-x 5 jenkins jenkins 4096 Jun 2 23:34 pkg 23:35:49 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:34 snap 23:35:49 drwxrwxr-x 6 jenkins jenkins 4096 Jun 2 23:34 vendor 23:35:49 -rw-rw-r-- 1 jenkins jenkins 222 Jun 2 23:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:49 + 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=ba443a3625d4eef64e240836a867426dc0799199 --label arch=amd64 --label version=2.1.1 . 23:35:49 Sending build context to Docker daemon 20.85MB 23:35:49 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 23:35:49 Step 2/24 : FROM ${BASE} AS builder 23:35:49 ---> 1f70490c8dbc 23:35:49 Step 3/24 : ARG MAKE=make build 23:35:49 ---> Running in 753a7f1eefcf 23:35:50 Removing intermediate container 753a7f1eefcf 23:35:50 ---> 3a35eb0044bb 23:35:50 Step 4/24 : WORKDIR /device-sdk-go 23:35:50 ---> Running in f2468ed9c4a9 23:35:50 Removing intermediate container f2468ed9c4a9 23:35:50 ---> 131dd0eec5c7 23:35:50 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:35:50 ---> Running in 74fbcd19b08b 23:35:50 Removing intermediate container 74fbcd19b08b 23:35:50 ---> ccbb8095ce3e 23:35:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:35:50 ---> Running in 25d3692ab924 23:35:50 Removing intermediate container 25d3692ab924 23:35:50 ---> 8c322d542d95 23:35:50 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:35:50 ---> Running in 4055d1b5181f 23:35:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:35:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:35:52 OK: 221 MiB in 52 packages 23:35:52 Removing intermediate container 4055d1b5181f 23:35:52 ---> e4548c7a6046 23:35:52 Step 8/24 : COPY . . 23:35:53 ---> 350321f2254f 23:35:53 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:35:53 ---> Running in c162b740608a 23:35:54 skipping... 23:35:54 Removing intermediate container c162b740608a 23:35:54 ---> 274f876945cd 23:35:54 Step 10/24 : RUN ${MAKE} 23:35:54 ---> Running in 4257b09d845f 23:35:54 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.1.1" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:36:01 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:36:02 Removing intermediate container 4257b09d845f 23:36:02 ---> 374640eb016d 23:36:02 Step 11/24 : FROM alpine:3.14 23:36:02 3.14: Pulling from library/alpine 23:36:02 8663204ce13b: Pulling fs layer 23:36:02 8663204ce13b: Verifying Checksum 23:36:03 8663204ce13b: Pull complete 23:36:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:36:03 Status: Downloaded newer image for alpine:3.14 23:36:03 ---> e04c818066af 23:36:03 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:36:03 ---> Running in f5e2f082c12f 23:36:03 Removing intermediate container f5e2f082c12f 23:36:03 ---> fa6da4b354f8 23:36:03 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:36:03 ---> Running in 11ca50a1d535 23:36:03 Removing intermediate container 11ca50a1d535 23:36:03 ---> c8f995b37d93 23:36:03 Step 14/24 : RUN apk add --update --no-cache zeromq 23:36:04 ---> Running in c73f28603f84 23:36:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:36:05 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:36:05 (1/5) Installing libgcc (10.3.1_git20210424-r2) 23:36:05 (2/5) Installing libsodium (1.0.18-r0) 23:36:05 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 23:36:05 (4/5) Installing libzmq (4.3.4-r0) 23:36:05 (5/5) Installing zeromq (4.3.4-r0) 23:36:05 Executing busybox-1.33.1-r7.trigger 23:36:05 OK: 8 MiB in 19 packages 23:36:06 Removing intermediate container c73f28603f84 23:36:06 ---> 5f19859cce8f 23:36:06 Step 15/24 : WORKDIR / 23:36:06 ---> Running in 8b41f87450cf 23:36:06 Removing intermediate container 8b41f87450cf 23:36:06 ---> 746f2ac3585a 23:36:06 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:36:06 ---> 4acf5bd61306 23:36:06 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:36:06 ---> 0fdfa896b79e 23:36:06 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:36:06 ---> ff2f7ac2ecfe 23:36:06 Step 19/24 : EXPOSE 59999 23:36:06 ---> Running in 5b3745417250 23:36:07 Removing intermediate container 5b3745417250 23:36:07 ---> 607b626fa087 23:36:07 Step 20/24 : ENTRYPOINT ["/device-simple"] 23:36:07 ---> Running in 1c6ebb44b498 23:36:07 Removing intermediate container 1c6ebb44b498 23:36:07 ---> 5075eb52e39a 23:36:07 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:36:07 ---> Running in 5b33c08a7922 23:36:07 Removing intermediate container 5b33c08a7922 23:36:07 ---> 4d58f1d3b1aa 23:36:07 Step 22/24 : LABEL arch=amd64 23:36:07 ---> Running in c7d366cb53ed 23:36:07 Removing intermediate container c7d366cb53ed 23:36:07 ---> 0903980e1003 23:36:07 Step 23/24 : LABEL git_sha=ba443a3625d4eef64e240836a867426dc0799199 23:36:07 ---> Running in a59545bba181 23:36:07 Removing intermediate container a59545bba181 23:36:07 ---> b88755472f84 23:36:07 Step 24/24 : LABEL version=2.1.1 23:36:07 ---> Running in 1c43b0305c36 23:36:07 Removing intermediate container 1c43b0305c36 23:36:07 ---> fe8ba78b3690 23:36:07 [Warning] One or more build-args [ARCH] were not consumed 23:36:07 Successfully built fe8ba78b3690 23:36:07 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:36:08 23:36:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:36:08 latest: Pulling from edgex-lftools-log-publisher 23:36:08 5eb5b503b376: Pulling fs layer 23:36:08 5c69ac0246d0: Pulling fs layer 23:36:08 ec43610c2a17: Pulling fs layer 23:36:08 3a2ae6a8a46f: Pulling fs layer 23:36:08 33b1e0a273af: Pulling fs layer 23:36:08 5d3b04190fa2: Pulling fs layer 23:36:08 2f39f015ded8: Pulling fs layer 23:36:08 3a2ae6a8a46f: Waiting 23:36:08 33b1e0a273af: Waiting 23:36:08 2f39f015ded8: Waiting 23:36:08 5c69ac0246d0: Verifying Checksum 23:36:08 5c69ac0246d0: Download complete 23:36:08 3a2ae6a8a46f: Verifying Checksum 23:36:08 3a2ae6a8a46f: Download complete 23:36:08 33b1e0a273af: Verifying Checksum 23:36:08 33b1e0a273af: Download complete 23:36:08 5d3b04190fa2: Download complete 23:36:08 ec43610c2a17: Verifying Checksum 23:36:08 ec43610c2a17: Download complete 23:36:08 5eb5b503b376: Verifying Checksum 23:36:08 5eb5b503b376: Download complete 23:36:09 2f39f015ded8: Download complete 23:36:09 5eb5b503b376: Pull complete 23:36:10 5c69ac0246d0: Pull complete 23:36:10 ec43610c2a17: Pull complete 23:36:10 3a2ae6a8a46f: Pull complete 23:36:10 33b1e0a273af: Pull complete 23:36:10 5d3b04190fa2: Pull complete 23:36:15 2f39f015ded8: Pull complete 23:36:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:36:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:36:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:36:15 prd-ubuntu20.04-docker-8c-8g-729 does not seem to be running inside a container 23:36:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:36:17 $ docker top 3a874441ef347b83cd0ffda3dc76e115429170e732eaec3f110c5762c76d17dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:36:17 ---> job-cost.sh 23:36:17 lf-activate-venv: SKIPPING 23:36:17 INFO: No Stack... 23:36:18 INFO: Retrieving Pricing Info for: v3-standard-8 23:36:18 INFO: Archiving Costs [Pipeline] sh 23:36:19 + cat /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/cost.csv 23:36:19 + cut -d, -f6 [Pipeline] lock 23:36:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-jakarta-9-stack-cost] 23:36:19 Resource [jenkins-edgexfoundry-device-sdk-go-jakarta-9-stack-cost] did not exist. Created. 23:36:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-jakarta-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:36:19 + echo total: 0.2199999988079071 [Pipeline] stash 23:36:19 Stashed 1 file(s) [Pipeline] } 23:36:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-jakarta-9-stack-cost] [Pipeline] // lock [Pipeline] } 23:36:19 $ docker stop --time=1 3a874441ef347b83cd0ffda3dc76e115429170e732eaec3f110c5762c76d17dd 23:36:20 $ docker rm -f 3a874441ef347b83cd0ffda3dc76e115429170e732eaec3f110c5762c76d17dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:37:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-731 in /w/workspace/gexfoundry_device-sdk-go_jakarta [Pipeline] { [Pipeline] ws 23:37:43 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 23:37:43 The recommended git tool is: git 23:37:49 using credential edgex-jenkins-ssh 23:37:49 Cloning the remote Git repository 23:37:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:37:49 > git init /w/workspace/device-sdk-go/9 # timeout=10 23:37:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:37:49 > git --version # timeout=10 23:37:49 > git --version # 'git version 2.25.1' 23:37:49 using GIT_SSH to set credentials SSH Credentials for GitHub 23:37:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:37:51 Avoid second fetch 23:37:51 Checking out Revision ba443a3625d4eef64e240836a867426dc0799199 (jakarta) 23:37:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:37:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:37:51 > git config core.sparsecheckout # timeout=10 23:37:51 > git checkout -f ba443a3625d4eef64e240836a867426dc0799199 # timeout=10 23:37:56 Commit message: "Merge pull request #1172 from lenny-intel/relased-2.1.1-go-mods-and-change-log" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:37:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:37:56 % Total % Received % Xferd Average Speed Time Time Time Current 23:37:56 Dload Upload Total Spent Left Speed 23:37:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 221k 0 --:--:-- --:--:-- --:--:-- 225k [Pipeline] sh 23:37:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:37:57 + sudo tee /etc/docker/daemon.new 23:37:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:37:57 { 23:37:57 "registry-mirrors": [ 23:37:57 "https://nexus3.edgexfoundry.org:10001" 23:37:57 ], 23:37:57 "bip": "10.250.0.254/24", 23:37:57 "hosts": [ 23:37:57 "tcp://0.0.0.0:5555", 23:37:57 "unix:///var/run/docker.sock" 23:37:57 ], 23:37:57 "mtu": 1458, 23:37:57 "selinux-enabled": true, 23:37:57 "seccomp-profile": "/etc/docker/seccomp.json" 23:37:57 } [Pipeline] sh 23:37:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:37:58 + sudo service docker restart [Pipeline] sh 23:38:17 + git checkout ba443a3625d4eef64e240836a867426dc0799199 23:38:17 HEAD is now at ba443a3 Merge pull request #1172 from lenny-intel/relased-2.1.1-go-mods-and-change-log [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:38:17 provisioning config files... 23:38:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config1378030660381869622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:38:18 ---> docker-login.sh 23:38:18 nexus3.edgexfoundry.org:10001 23:38:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:18 Configure a credential helper to remove this warning. See 23:38:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:18 23:38:18 Login Succeeded 23:38:18 nexus3.edgexfoundry.org:10002 23:38:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:19 Configure a credential helper to remove this warning. See 23:38:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:19 23:38:19 Login Succeeded 23:38:19 nexus3.edgexfoundry.org:10003 23:38:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:19 Configure a credential helper to remove this warning. See 23:38:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:19 23:38:19 Login Succeeded 23:38:19 nexus3.edgexfoundry.org:10004 23:38:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:20 Configure a credential helper to remove this warning. See 23:38:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:20 23:38:20 Login Succeeded 23:38:20 docker.io 23:38:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:20 Configure a credential helper to remove this warning. See 23:38:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:20 23:38:20 Login Succeeded 23:38:21 ---> docker-login.sh ends [Pipeline] } 23:38:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:38:21 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:38:21 ========================================================= 23:38:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 23:38:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:22 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 23:38:23 Sending build context to Docker daemon 16.21MB 23:38:23 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 23:38:23 Step 2/10 : FROM ${BASE} AS builder 23:38:23 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 23:38:23 9b3977197b4f: Pulling fs layer 23:38:23 1a89e8eeedd5: Pulling fs layer 23:38:23 94645a83ff95: Pulling fs layer 23:38:23 3f3a8bcf1eab: Pulling fs layer 23:38:23 0c92f367c5e7: Pulling fs layer 23:38:23 63b1bc5785f6: Pulling fs layer 23:38:23 626d30ff41c6: Pulling fs layer 23:38:23 de1d54c125be: Pulling fs layer 23:38:23 3f3a8bcf1eab: Waiting 23:38:23 626d30ff41c6: Waiting 23:38:23 0c92f367c5e7: Waiting 23:38:23 de1d54c125be: Waiting 23:38:23 94645a83ff95: Verifying Checksum 23:38:23 94645a83ff95: Download complete 23:38:23 1a89e8eeedd5: Download complete 23:38:23 0c92f367c5e7: Verifying Checksum 23:38:23 0c92f367c5e7: Download complete 23:38:23 63b1bc5785f6: Verifying Checksum 23:38:23 63b1bc5785f6: Download complete 23:38:23 9b3977197b4f: Verifying Checksum 23:38:23 9b3977197b4f: Download complete 23:38:23 626d30ff41c6: Download complete 23:38:24 9b3977197b4f: Pull complete 23:38:24 1a89e8eeedd5: Pull complete 23:38:25 94645a83ff95: Pull complete 23:38:25 de1d54c125be: Verifying Checksum 23:38:25 de1d54c125be: Download complete 23:38:26 3f3a8bcf1eab: Verifying Checksum 23:38:26 3f3a8bcf1eab: Download complete 23:38:38 3f3a8bcf1eab: Pull complete 23:38:38 0c92f367c5e7: Pull complete 23:38:38 63b1bc5785f6: Pull complete 23:38:38 626d30ff41c6: Pull complete 23:38:45 de1d54c125be: Pull complete 23:38:45 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 23:38:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 23:38:45 ---> 5f011755c4a2 23:38:45 Step 3/10 : ARG MAKE=make build 23:38:46 ---> Running in e0e40bdad282 23:38:46 Removing intermediate container e0e40bdad282 23:38:46 ---> a8d520b036ac 23:38:46 Step 4/10 : WORKDIR /device-sdk-go 23:38:47 ---> Running in 9c375e2333da 23:38:47 Removing intermediate container 9c375e2333da 23:38:47 ---> 7bbc12ece0be 23:38:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:38:47 ---> Running in d15eb9595106 23:38:47 Removing intermediate container d15eb9595106 23:38:47 ---> c237b994fbab 23:38:47 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:38:48 ---> Running in 5975a3d87ed6 23:38:51 Removing intermediate container 5975a3d87ed6 23:38:51 ---> ea35326fca20 23:38:51 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:38:51 ---> Running in ad0f2ac46d61 23:38:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:38:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:38:53 OK: 220 MiB in 52 packages 23:38:54 Removing intermediate container ad0f2ac46d61 23:38:54 ---> 25a4a2a058fa 23:38:54 Step 8/10 : COPY . . 23:38:59 ---> 141b2b65f619 23:38:59 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:38:59 ---> Running in d77d352d80db 23:38:59 skipping... 23:39:00 Removing intermediate container d77d352d80db 23:39:00 ---> 5bfa5b5d4962 23:39:00 Step 10/10 : RUN ${MAKE} 23:39:00 ---> Running in 59a6642834ba 23:39:01 noop 23:39:02 Removing intermediate container 59a6642834ba 23:39:02 ---> a50a24a93be6 23:39:02 Successfully built a50a24a93be6 23:39:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:02 + docker inspect -f . ci-base-image-arm64 23:39:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:39:03 prd-ubuntu20.04-docker-arm64-4c-16g-731 does not seem to be running inside a container 23:39:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 23:39:04 $ docker top fa591c24d4595db94405f4a8cb4b5e75e015fac180844aff5736cae096fbc3e6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:39:05 + go version 23:39:05 go version go1.17.6 linux/arm64 [Pipeline] } 23:39:05 $ docker stop --time=1 fa591c24d4595db94405f4a8cb4b5e75e015fac180844aff5736cae096fbc3e6 23:39:07 $ docker rm -f fa591c24d4595db94405f4a8cb4b5e75e015fac180844aff5736cae096fbc3e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:07 + docker inspect -f . ci-base-image-arm64 23:39:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:39:07 prd-ubuntu20.04-docker-arm64-4c-16g-731 does not seem to be running inside a container 23:39:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 23:39:09 $ docker top c478d4a9995be4778adc0a9a88b362ac86db817171d14d7887a34a1b95638308 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:39:10 + make test 23:39:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:39:42 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:40:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:40:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:40:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:41:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.340s coverage: 23.3% of statements 23:41:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:41:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.249s coverage: 27.6% of statements 23:41:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.278s coverage: 78.9% of statements 23:41:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.228s coverage: 9.0% of statements 23:41:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 23:41:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:41:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:41:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.399s coverage: 28.7% of statements 23:41:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:41:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.284s coverage: 82.9% of statements 23:41:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:41:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:41:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.504s coverage: 57.8% of statements 23:41:06 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.074s coverage: 89.2% of statements 23:41:06 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:41:06 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.219s coverage: 4.8% of statements 23:41:06 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:41:06 GO111MODULE=on go vet ./... 23:42:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:42:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:42:03 ./bin/test-attribution-txt.sh 23:42:03 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 23:42:03 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 23:42:03 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:42:03 go: downloading github.com/google/uuid v1.3.0 23:42:03 go: downloading github.com/stretchr/testify v1.7.0 23:42:03 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 23:42:03 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 23:42:03 go: downloading github.com/pelletier/go-toml v1.9.4 23:42:03 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 23:42:03 go: downloading github.com/gorilla/mux v1.8.0 23:42:03 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:42:03 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:42:03 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 23:42:03 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 23:42:03 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:42:03 go: downloading github.com/hashicorp/consul/api v1.9.1 23:42:03 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:42:03 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:42:03 go: downloading github.com/go-kit/kit v0.11.0 23:42:03 go: downloading github.com/go-playground/validator/v10 v10.9.0 23:42:03 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:42:03 go: downloading github.com/pebbe/zmq4 v1.2.7 23:42:03 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:42:03 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:42:03 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:42:03 go: downloading github.com/mitchellh/copystructure v1.0.0 23:42:03 go: downloading github.com/go-logfmt/logfmt v0.5.0 23:42:03 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:42:03 go: downloading github.com/davecgh/go-spew v1.1.1 23:42:03 go: downloading github.com/pmezard/go-difflib v1.0.0 23:42:03 go: downloading github.com/stretchr/objx v0.1.1 23:42:03 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 23:42:03 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 23:42:03 go: downloading golang.org/x/text v0.3.6 23:42:05 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:42:05 go: downloading github.com/hashicorp/errwrap v1.0.0 23:42:05 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:42:05 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:42:05 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:42:05 go: downloading github.com/hashicorp/serf v0.9.5 23:42:05 go: downloading github.com/x448/float16 v0.8.4 23:42:05 go: downloading github.com/go-playground/universal-translator v0.18.0 23:42:05 go: downloading github.com/leodido/go-urn v1.2.1 23:42:06 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 23:42:07 go: downloading github.com/gorilla/websocket v1.4.2 23:42:07 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:42:07 go: downloading github.com/fatih/color v1.9.0 23:42:07 go: downloading github.com/mattn/go-colorable v0.1.6 23:42:07 go: downloading github.com/mattn/go-isatty v0.0.12 23:42:07 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:42:07 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 23:42:11 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 23:42:12 + go mod tidy 23:42:12 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 23:42:12 go: downloading github.com/go-stack/stack v1.8.0 23:42:12 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:42:12 go: downloading github.com/hashicorp/consul/sdk v0.8.0 23:42:12 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:42:12 go: downloading github.com/onsi/ginkgo v1.10.1 23:42:12 go: downloading github.com/onsi/gomega v1.7.0 23:42:12 go: downloading github.com/kr/pretty v0.3.0 23:42:12 go: downloading github.com/pkg/errors v0.9.1 23:42:12 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:42:12 go: downloading github.com/hashicorp/memberlist v0.2.2 23:42:12 go: downloading github.com/kr/text v0.2.0 23:42:13 go: downloading github.com/rogpeppe/go-internal v1.8.0 23:42:13 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:42:13 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:42:13 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:42:13 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:42:13 go: downloading github.com/miekg/dns v1.1.26 23:42:13 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:42:13 go: downloading gopkg.in/yaml.v2 v2.3.0 23:42:13 go: downloading github.com/hpcloud/tail v1.0.0 23:42:13 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:42:13 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 23:42:13 $ docker stop --time=1 c478d4a9995be4778adc0a9a88b362ac86db817171d14d7887a34a1b95638308 23:42:16 $ docker rm -f c478d4a9995be4778adc0a9a88b362ac86db817171d14d7887a34a1b95638308 [Pipeline] // withDockerContainer [Pipeline] sh 23:42:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:42:18 Warning: overwriting stash ‘coverage-report’ 23:42:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:42:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:42:20 + ls -al . 23:42:20 total 304 23:42:20 drwxrwxr-x 11 jenkins jenkins 4096 Jun 2 23:42 . 23:42:20 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:37 .. 23:42:20 -rw-rw-r-- 1 jenkins jenkins 140 Jun 2 23:37 .dockerignore 23:42:20 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 23:38 .git 23:42:20 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:37 .github 23:42:20 -rw-rw-r-- 1 jenkins jenkins 124 Jun 2 23:37 .gitignore 23:42:20 -rw-rw-r-- 1 jenkins jenkins 26850 Jun 2 23:37 CHANGELOG.md 23:42:20 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 23:37 GOVERNANCE.md 23:42:20 -rw-rw-r-- 1 jenkins jenkins 880 Jun 2 23:37 Jenkinsfile 23:42:20 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 2 23:37 LICENSE 23:42:20 -rw-rw-r-- 1 jenkins jenkins 1120 Jun 2 23:37 Makefile 23:42:20 -rw-rw-r-- 1 jenkins jenkins 619 Jun 2 23:37 OWNERS.md 23:42:20 -rw-rw-r-- 1 jenkins jenkins 4890 Jun 2 23:37 README.md 23:42:20 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 23:34 VERSION 23:42:20 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:37 bin 23:42:20 -rw-r--r-- 1 jenkins jenkins 128641 Jun 2 23:41 coverage.out 23:42:20 drwxrwxr-x 5 jenkins jenkins 4096 Jun 2 23:37 example 23:42:20 -rw-rw-r-- 1 jenkins jenkins 576 Jun 2 23:42 go.mod 23:42:20 -rw-rw-r-- 1 jenkins jenkins 48946 Jun 2 23:37 go.sum 23:42:20 drwxrwxr-x 15 jenkins jenkins 4096 Jun 2 23:37 internal 23:42:20 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:37 openapi 23:42:20 drwxrwxr-x 5 jenkins jenkins 4096 Jun 2 23:37 pkg 23:42:20 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:37 snap 23:42:20 drwxrwxr-x 6 jenkins jenkins 4096 Jun 2 23:37 vendor 23:42:20 -rw-rw-r-- 1 jenkins jenkins 222 Jun 2 23:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:20 + 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=ba443a3625d4eef64e240836a867426dc0799199 --label arch=arm64 --label version=2.1.1 . 23:42:22 Sending build context to Docker daemon 16.34MB 23:42:22 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 23:42:22 Step 2/24 : FROM ${BASE} AS builder 23:42:22 ---> a50a24a93be6 23:42:22 Step 3/24 : ARG MAKE=make build 23:42:22 ---> Running in 082ff9730b29 23:42:22 Removing intermediate container 082ff9730b29 23:42:22 ---> 0d9401c8d7e9 23:42:22 Step 4/24 : WORKDIR /device-sdk-go 23:42:22 ---> Running in d6489516cc0c 23:42:22 Removing intermediate container d6489516cc0c 23:42:22 ---> 19d2b3fcb263 23:42:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:42:22 ---> Running in 0ed290d28332 23:42:23 Removing intermediate container 0ed290d28332 23:42:23 ---> 81339e64aa46 23:42:23 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:42:23 ---> Running in c2fa0dc8a685 23:42:25 Removing intermediate container c2fa0dc8a685 23:42:25 ---> b6c6fd3ae2e6 23:42:25 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:42:25 ---> Running in f937bae6ba6b 23:42:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:42:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:42:28 OK: 220 MiB in 52 packages 23:42:29 Removing intermediate container f937bae6ba6b 23:42:29 ---> b62c21412080 23:42:29 Step 8/24 : COPY . . 23:42:33 ---> da003e115d8d 23:42:33 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:42:33 ---> Running in 3b2bccccf63d 23:42:34 skipping... 23:42:35 Removing intermediate container 3b2bccccf63d 23:42:35 ---> 958d45a792c8 23:42:35 Step 10/24 : RUN ${MAKE} 23:42:35 ---> Running in 0b77b0f3bc8f 23:42:36 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.1.1" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:43:15 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:43:18 Removing intermediate container 0b77b0f3bc8f 23:43:18 ---> f0ed454bfb80 23:43:18 Step 11/24 : FROM alpine:3.14 23:43:18 3.14: Pulling from library/alpine 23:43:18 455c02918c45: Pulling fs layer 23:43:19 455c02918c45: Verifying Checksum 23:43:19 455c02918c45: Download complete 23:43:19 455c02918c45: Pull complete 23:43:19 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:43:19 Status: Downloaded newer image for alpine:3.14 23:43:19 ---> ac73e934f311 23:43:19 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:43:19 ---> Running in 08fa1c128663 23:43:19 Removing intermediate container 08fa1c128663 23:43:19 ---> 82fe14bff1ec 23:43:19 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:43:19 ---> Running in 0c868da9a301 23:43:21 Removing intermediate container 0c868da9a301 23:43:21 ---> 1d8e1dd26221 23:43:21 Step 14/24 : RUN apk add --update --no-cache zeromq 23:43:21 ---> Running in fa40f58d9fa1 23:43:22 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:43:23 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:43:24 (1/5) Installing libgcc (10.3.1_git20210424-r2) 23:43:24 (2/5) Installing libsodium (1.0.18-r0) 23:43:24 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 23:43:24 (4/5) Installing libzmq (4.3.4-r0) 23:43:25 (5/5) Installing zeromq (4.3.4-r0) 23:43:25 Executing busybox-1.33.1-r7.trigger 23:43:25 OK: 8 MiB in 19 packages 23:43:26 Removing intermediate container fa40f58d9fa1 23:43:26 ---> d09a921748d6 23:43:26 Step 15/24 : WORKDIR / 23:43:26 ---> Running in 167dca1d6d4c 23:43:26 Removing intermediate container 167dca1d6d4c 23:43:26 ---> 7b3bb6b7c2b4 23:43:26 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:43:26 ---> 5a34b33246bc 23:43:26 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:43:27 ---> 5b48351731b9 23:43:27 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:43:28 ---> 59466202f354 23:43:28 Step 19/24 : EXPOSE 59999 23:43:28 ---> Running in c079cd6732e1 23:43:29 Removing intermediate container c079cd6732e1 23:43:29 ---> 5f83bb371c8d 23:43:29 Step 20/24 : ENTRYPOINT ["/device-simple"] 23:43:29 ---> Running in 557d883f5b79 23:43:29 Removing intermediate container 557d883f5b79 23:43:29 ---> e325142cb522 23:43:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:43:29 ---> Running in 486ec358dcfd 23:43:29 Removing intermediate container 486ec358dcfd 23:43:29 ---> 358dcb058be3 23:43:29 Step 22/24 : LABEL arch=arm64 23:43:29 ---> Running in 63b8b6611eb1 23:43:30 Removing intermediate container 63b8b6611eb1 23:43:30 ---> 0b4ddb731439 23:43:30 Step 23/24 : LABEL git_sha=ba443a3625d4eef64e240836a867426dc0799199 23:43:30 ---> Running in 1806ca3a7f0a 23:43:30 Removing intermediate container 1806ca3a7f0a 23:43:30 ---> f69c2141bba5 23:43:30 Step 24/24 : LABEL version=2.1.1 23:43:30 ---> Running in cfc25618c96d 23:43:31 Removing intermediate container cfc25618c96d 23:43:31 ---> e9d5a2e2f06b 23:43:31 [Warning] One or more build-args [ARCH] were not consumed 23:43:31 Successfully built e9d5a2e2f06b 23:43:31 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:43:31 23:43:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:43:32 arm64: Pulling from edgex-lftools-log-publisher 23:43:32 8998bd30e6a1: Pulling fs layer 23:43:32 04944245beec: Pulling fs layer 23:43:32 699f458cf7ca: Pulling fs layer 23:43:32 765212b225bb: Pulling fs layer 23:43:32 f23df028b6ca: Pulling fs layer 23:43:32 d65c8cfc05b1: Pulling fs layer 23:43:32 2437ff75d9bd: Pulling fs layer 23:43:32 765212b225bb: Waiting 23:43:32 d65c8cfc05b1: Waiting 23:43:32 f23df028b6ca: Waiting 23:43:32 2437ff75d9bd: Waiting 23:43:32 04944245beec: Verifying Checksum 23:43:32 04944245beec: Download complete 23:43:32 765212b225bb: Verifying Checksum 23:43:32 765212b225bb: Download complete 23:43:32 f23df028b6ca: Verifying Checksum 23:43:32 f23df028b6ca: Download complete 23:43:32 d65c8cfc05b1: Verifying Checksum 23:43:32 d65c8cfc05b1: Download complete 23:43:32 699f458cf7ca: Verifying Checksum 23:43:32 699f458cf7ca: Download complete 23:43:32 8998bd30e6a1: Verifying Checksum 23:43:32 8998bd30e6a1: Download complete 23:43:35 2437ff75d9bd: Download complete 23:43:37 8998bd30e6a1: Pull complete 23:43:37 04944245beec: Pull complete 23:43:39 699f458cf7ca: Pull complete 23:43:39 765212b225bb: Pull complete 23:43:40 f23df028b6ca: Pull complete 23:43:40 d65c8cfc05b1: Pull complete 23:43:55 2437ff75d9bd: Pull complete 23:43:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:43:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:43:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:55 prd-ubuntu20.04-docker-arm64-4c-16g-731 does not seem to be running inside a container 23:43:55 $ 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/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 23:43:58 $ docker top a49a43960fb7852591120ee5543d2ab1f4ddd455be31c8d7ab332f5bb2d2cccd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:43:59 ---> job-cost.sh 23:43:59 lf-activate-venv: SKIPPING 23:43:59 INFO: No Stack... 23:44:00 INFO: Retrieving Pricing Info for: v3-standard-4 23:44:00 INFO: Archiving Costs [Pipeline] sh 23:44:01 + cat /w/workspace/device-sdk-go/9/archives/cost.csv 23:44:01 + cut -d, -f6 [Pipeline] lock 23:44:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-jakarta-9-stack-cost] 23:44:01 Resource [jenkins-edgexfoundry-device-sdk-go-jakarta-9-stack-cost] did not exist. Created. 23:44:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-jakarta-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:44:02 /w/workspace/device-sdk-go/9@tmp/durable-fba8ca3b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:44:03 + echo total: 0.10999999940395355 [Pipeline] stash 23:44:03 Warning: overwriting stash ‘stack-cost’ 23:44:03 Stashed 1 file(s) [Pipeline] } 23:44:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-jakarta-9-stack-cost] [Pipeline] // lock [Pipeline] } 23:44:03 $ docker stop --time=1 a49a43960fb7852591120ee5543d2ab1f4ddd455be31c8d7ab332f5bb2d2cccd 23:44:04 $ docker rm -f a49a43960fb7852591120ee5543d2ab1f4ddd455be31c8d7ab332f5bb2d2cccd [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 23:44:05 provisioning config files... 23:44:05 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config5190663277412550036tmp [Pipeline] { [Pipeline] sh 23:44:05 + set +x 23:44:05 + curl -s https://codecov.io/bash 23:44:05 + bash -s -- 23:44:05 23:44:05 _____ _ 23:44:05 / ____| | | 23:44:05 | | ___ __| | ___ ___ _____ __ 23:44:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:44:05 | |___| (_) | (_| | __/ (_| (_) \ V / 23:44:05 \_____\___/ \__,_|\___|\___\___/ \_/ 23:44:05 Bash-1.0.6 23:44:05 23:44:05 23:44:05 ==> git version 2.25.1 found 23:44:05 ==> 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 23:44:05 Release-Date: 2020-01-08 23:44:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:44:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:44:05 ==> Jenkins CI detected. 23:44:05 current dir:  /w/workspace/gexfoundry_device-sdk-go_jakarta 23:44:05 project root: . 23:44:05 --> token set from env 23:44:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:44:05 ==> Running gcov in . (disable via -X gcov) 23:44:05 ==> Python coveragepy not found 23:44:05 ==> Searching for coverage reports in: 23:44:05 + . 23:44:05 -> Found 1 reports 23:44:05 ==> Detecting git/mercurial file structure 23:44:05 ==> Reading reports 23:44:05 + ./coverage.out bytes=128641 23:44:05 ==> Appending adjustments 23:44:05 https://docs.codecov.io/docs/fixing-reports 23:44:06 + Found adjustments 23:44:06 ==> Gzipping contents 23:44:06 24K /tmp/codecov.cFopNS.gz 23:44:06 ==> Uploading reports 23:44:06 url: https://codecov.io 23:44:06 query: branch=jakarta&commit=ba443a3625d4eef64e240836a867426dc0799199&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fjakarta%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:44:06 -> Pinging Codecov 23:44:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=jakarta&commit=ba443a3625d4eef64e240836a867426dc0799199&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fjakarta%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:44:06 -> Uploading to 23:44:06 https://storage.googleapis.com/codecov/v4/raw/2022-06-02/7E55EF52A471D76F132DFD9A03CDDE97/ba443a3625d4eef64e240836a867426dc0799199/b344741d-7877-4b73-ae3c-6d33afd5ac7c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220602T234406Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d815dc115f034eb78db837c3b246686cfda79e57fd0ba9d5c0d902ab357168a 23:44:06 % Total % Received % Xferd Average Speed Time Time Time Current 23:44:06 Dload Upload Total Spent Left Speed 23:44:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23060 0 0 100 23060 0 90787 --:--:-- --:--:-- --:--:-- 90787 23:44:06 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ba443a3625d4eef64e240836a867426dc0799199 [Pipeline] } 23:44:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:44:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:44:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:44:07 23:44:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:44:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:44:07 df9b9388f04a: Pulling fs layer 23:44:07 52dc419b0ee2: Pulling fs layer 23:44:07 25bc292e5bac: Pulling fs layer 23:44:07 114826534d7a: Pulling fs layer 23:44:07 4657fd5d0bcf: Pulling fs layer 23:44:07 6ad1cebc031e: Pulling fs layer 23:44:07 8a3aa393b2d8: Pulling fs layer 23:44:07 4657fd5d0bcf: Waiting 23:44:07 114826534d7a: Waiting 23:44:07 8a3aa393b2d8: Waiting 23:44:07 25bc292e5bac: Verifying Checksum 23:44:07 25bc292e5bac: Download complete 23:44:07 52dc419b0ee2: Download complete 23:44:07 4657fd5d0bcf: Verifying Checksum 23:44:07 4657fd5d0bcf: Download complete 23:44:07 df9b9388f04a: Verifying Checksum 23:44:07 df9b9388f04a: Download complete 23:44:07 df9b9388f04a: Pull complete 23:44:07 6ad1cebc031e: Verifying Checksum 23:44:07 6ad1cebc031e: Download complete 23:44:07 52dc419b0ee2: Pull complete 23:44:08 25bc292e5bac: Pull complete 23:44:08 114826534d7a: Verifying Checksum 23:44:08 114826534d7a: Download complete 23:44:08 8a3aa393b2d8: Verifying Checksum 23:44:08 8a3aa393b2d8: Download complete 23:44:11 114826534d7a: Pull complete 23:44:11 4657fd5d0bcf: Pull complete 23:44:12 6ad1cebc031e: Pull complete 23:44:14 8a3aa393b2d8: Pull complete 23:44:14 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:44:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:44:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:14 prd-ubuntu20.04-docker-8c-8g-729 does not seem to be running inside a container 23:44:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 23:44:17 $ docker top a6d8d3dfc1d85e41b2a0feceb036cd641ed37bf61d71d0ce25dab8c26ea56090 -eo pid,comm [Pipeline] { [Pipeline] echo 23:44:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 23:44:17 + set -o pipefail 23:44:17 + snyk monitor '--org=edgex-jenkins' 23:44:19 23:44:19 Monitoring /w/workspace/gexfoundry_device-sdk-go_jakarta (github.com/edgexfoundry/device-sdk-go/v2)... 23:44:19 23:44:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/ba377af3-36a8-4335-a1bd-36a721f94976/history/995e6c12-2350-4a73-aead-d1c47ce1f20d 23:44:19 23:44:19 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:44:19 23:44:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:44:19 23:44:20 [Pipeline] } 23:44:20 $ docker stop --time=1 a6d8d3dfc1d85e41b2a0feceb036cd641ed37bf61d71d0ce25dab8c26ea56090 23:44:21 $ docker rm -f a6d8d3dfc1d85e41b2a0feceb036cd641ed37bf61d71d0ce25dab8c26ea56090 [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 23:44:21 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:44:21 provisioning config files... 23:44:21 copy managed file [swaggerhub-api-key] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config8033664457106339111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:44:22 --> edgex-publish-swagger.sh 23:44:22 === Publish openapi/v2 API === 23:44:22 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 23:44:22 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/gexfoundry_device-sdk-go_jakarta/openapi/v2/device-sdk.yaml] 23:44:22 % Total % Received % Xferd Average Speed Time Time Time Current 23:44:22 Dload Upload Total Spent Left Speed 23:44:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 64093 --:--:-- --:--:-- --:--:-- 64013 100 51659 0 0 100 51659 0 64093 --:--:-- --:--:-- --:--:-- 64013 23:44:22 23:44:22 [Pipeline] } 23:44:22 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 23:44:23 + git log --format=format:%s -1 ba443a3625d4eef64e240836a867426dc0799199 [Pipeline] sh 23:44:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:44:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:44:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:23 prd-ubuntu20.04-docker-8c-8g-729 does not seem to be running inside a container 23:44:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:44:24 $ docker top 24daa435706b4bd5938224b4b918702d228d64106e4aa1b03f3f3dabc7f055a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:44:24 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:44:24 + git semver [Pipeline] } 23:44:24 $ docker stop --time=1 24daa435706b4bd5938224b4b918702d228d64106e4aa1b03f3f3dabc7f055a4 23:44:26 $ docker rm -f 24daa435706b4bd5938224b4b918702d228d64106e4aa1b03f3f3dabc7f055a4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:44:26 23:44:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:44:26 0.23.1-centos7: Pulling from edgex-lftools 23:44:26 ab5ef0e58194: Pulling fs layer 23:44:26 9712f1f96733: Pulling fs layer 23:44:26 63f879dbbcfc: Pulling fs layer 23:44:26 0d9ebad4ef96: Pulling fs layer 23:44:26 e9a5061849ea: Pulling fs layer 23:44:26 d747dcd14b5f: Pulling fs layer 23:44:26 2de7ff778b66: Pulling fs layer 23:44:26 0d9ebad4ef96: Waiting 23:44:26 e9a5061849ea: Waiting 23:44:26 d747dcd14b5f: Waiting 23:44:26 2de7ff778b66: Waiting 23:44:26 9712f1f96733: Verifying Checksum 23:44:26 9712f1f96733: Download complete 23:44:27 63f879dbbcfc: Verifying Checksum 23:44:27 63f879dbbcfc: Download complete 23:44:27 e9a5061849ea: Verifying Checksum 23:44:27 e9a5061849ea: Download complete 23:44:27 d747dcd14b5f: Verifying Checksum 23:44:27 d747dcd14b5f: Download complete 23:44:27 ab5ef0e58194: Download complete 23:44:27 2de7ff778b66: Verifying Checksum 23:44:27 2de7ff778b66: Download complete 23:44:27 0d9ebad4ef96: Verifying Checksum 23:44:27 0d9ebad4ef96: Download complete 23:44:30 ab5ef0e58194: Pull complete 23:44:30 9712f1f96733: Pull complete 23:44:30 63f879dbbcfc: Pull complete 23:44:35 0d9ebad4ef96: Pull complete 23:44:35 e9a5061849ea: Pull complete 23:44:35 d747dcd14b5f: Pull complete 23:44:36 2de7ff778b66: Pull complete 23:44:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:44:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:44:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:36 prd-ubuntu20.04-docker-8c-8g-729 does not seem to be running inside a container 23:44:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:44:38 $ docker top 559caba95ad245ff18636bf859cf50ab942e1f6f0531dac1f5f8a734aef832b0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:44:39 provisioning config files... 23:44:39 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config7414760181646980523tmp 23:44:39 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config5907333175381952502tmp 23:44:39 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config2416293173712813068tmp [Pipeline] { [Pipeline] echo 23:44:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:44:39 ---> sigul-configuration.sh 23:44:39 gpg: directory `/root/.gnupg' created 23:44:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:44:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:44:39 gpg: keyring `/root/.gnupg/secring.gpg' created 23:44:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:44:39 gpg: CAST5 encrypted data 23:44:39 gpg: encrypted with 1 passphrase 23:44:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:44:39 + mkdir /home/jenkins 23:44:39 + mkdir /home/jenkins/sigul [Pipeline] sh 23:44:39 + 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 23:44:39 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:44:40 ---> sigul-install.sh 23:44:40 Sigul already installed; skipping installation. [Pipeline] sh 23:44:40 + git tag --list 23:44:40 0.7.1 23:44:40 delhi-tag 23:44:40 v1.0.0 23:44:40 v1.1.0 23:44:40 v1.1.1 23:44:40 v1.1.2 23:44:40 v1.2.0 23:44:40 v1.2.1 23:44:40 v1.2.2 23:44:40 v1.2.3 23:44:40 v1.3.0 23:44:40 v1.4.0 23:44:40 v2.0.0 23:44:40 v2.1.0 23:44:40 v2.1.1 23:44:40 v2.1.1-dev.2 23:44:40 v2.1.1-dev.3 23:44:40 v2.2.0 23:44:40 v2.2.1-dev.1 23:44:40 v2.2.1-dev.2 23:44:40 v2.2.1-dev.3 [Pipeline] sh 23:44:40 + lftools sign git-tag v2.1.1 23:44:41 Signing Git tag with Sigul... 23:44:41 Signing v2.1.1 [Pipeline] echo 23:44:41 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:44:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:44:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:44:41 $ docker stop --time=1 559caba95ad245ff18636bf859cf50ab942e1f6f0531dac1f5f8a734aef832b0 23:44:43 $ docker rm -f 559caba95ad245ff18636bf859cf50ab942e1f6f0531dac1f5f8a734aef832b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:44:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:44:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:44:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:44 prd-ubuntu20.04-docker-8c-8g-729 does not seem to be running inside a container 23:44:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:44:44 $ docker top 07e8b90e796a059540c2114ed6e7f71f65018954493bee7f071f016aedec4f70 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:44:44 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:44:45 + git semver [Pipeline] } 23:44:45 $ docker stop --time=1 07e8b90e796a059540c2114ed6e7f71f65018954493bee7f071f016aedec4f70 23:44:46 $ docker rm -f 07e8b90e796a059540c2114ed6e7f71f65018954493bee7f071f016aedec4f70 [Pipeline] // withDockerContainer [Pipeline] sh 23:44:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:44:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:44:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:47 prd-ubuntu20.04-docker-8c-8g-729 does not seem to be running inside a container 23:44:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:44:47 $ docker top 0a02fbe558abb5b2a0bdd34374c67fd5368cdc6e5417ed16643d72863756ce6f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:44:47 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:44:48 + git semver [Pipeline] } 23:44:48 $ docker stop --time=1 0a02fbe558abb5b2a0bdd34374c67fd5368cdc6e5417ed16643d72863756ce6f 23:44:49 $ docker rm -f 0a02fbe558abb5b2a0bdd34374c67fd5368cdc6e5417ed16643d72863756ce6f [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 23:44:50 + [ -d /w/workspace/gexfoundry_device-sdk-go_jakarta/archives ] 23:44:50 + ls -al /w/workspace/gexfoundry_device-sdk-go_jakarta/archives 23:44:50 total 16 23:44:50 drwxr-xr-x 3 root root 4096 Jun 2 23:36 . 23:44:50 drwxrwxr-x 13 jenkins jenkins 4096 Jun 2 23:44 .. 23:44:50 drwxr-xr-x 2 root root 4096 Jun 2 23:36 cost 23:44:50 -rw-r--r-- 1 root root 85 Jun 2 23:36 cost.csv 23:44:50 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_jakarta/archives 23:44:50 + ls -al /w/workspace/gexfoundry_device-sdk-go_jakarta/archives 23:44:50 total 16 23:44:50 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 23:36 . 23:44:50 drwxrwxr-x 13 jenkins jenkins 4096 Jun 2 23:44 .. 23:44:50 drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 23:36 cost 23:44:50 -rw-r--r-- 1 jenkins jenkins 85 Jun 2 23:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:44:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:44:51 ---> package-listing.sh 23:44:51 ++ facter osfamily 23:44:51 ++ tr '[:upper:]' '[:lower:]' 23:44:51 + OS_FAMILY=debian 23:44:51 + workspace=/w/workspace/gexfoundry_device-sdk-go_jakarta 23:44:51 + START_PACKAGES=/tmp/packages_start.txt 23:44:51 + END_PACKAGES=/tmp/packages_end.txt 23:44:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:44:51 + PACKAGES=/tmp/packages_start.txt 23:44:51 + '[' /w/workspace/gexfoundry_device-sdk-go_jakarta ']' 23:44:51 + PACKAGES=/tmp/packages_end.txt 23:44:51 + case "${OS_FAMILY}" in 23:44:51 + dpkg -l 23:44:51 + grep '^ii' 23:44:51 + '[' -f /tmp/packages_start.txt ']' 23:44:51 + '[' -f /tmp/packages_end.txt ']' 23:44:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:44:51 + '[' /w/workspace/gexfoundry_device-sdk-go_jakarta ']' 23:44:51 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/ 23:44:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/ [Pipeline] echo 23:44:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:44:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:44:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:52 prd-ubuntu20.04-docker-8c-8g-729 does not seem to be running inside a container 23:44:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:44:53 $ docker top 2c4e1b34bb7314efbd52eb6f724d8439de29c6ee7af65c90a0552f237d224eca -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:53 + touch /tmp/pre-build-complete [Pipeline] sh 23:44:53 + mkdir -p /var/log/sysstat [Pipeline] sh 23:44:54 + ls /var/log/sa-host 23:44:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:44:54 provisioning config files... 23:44:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config7520111798832507666tmp [Pipeline] { [Pipeline] echo 23:44:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:44:54 ---> create-netrc.sh [Pipeline] } 23:44:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:44:54 ---> python-tools-install.sh [Pipeline] echo 23:44:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:44:55 ---> sudo-logs.sh 23:44:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:44:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:44:55 ---> job-cost.sh 23:44:55 lf-activate-venv: SKIPPING 23:44:55 DEBUG: total: 0.2199999988079071 23:44:55 INFO: Retrieving Stack Cost... 23:44:56 INFO: Retrieving Pricing Info for: v3-standard-8 23:44:56 INFO: Archiving Costs [Pipeline] echo 23:44:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:44:56 ---> logs-deploy.sh 23:44:56 lf-activate-venv: SKIPPING 23:44:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/jakarta/9 23:44:56 INFO: archiving workspace using pattern(s): 23:44:57 Archives upload complete. 23:44:57 INFO: archiving logs to Nexus