Push event to branch jakarta 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-ssh14861853862616278172.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-ssh7034045225842974505.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-ssh7091640874619832223.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-ssh17724016150619893356.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-ssh8637146079625841112.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-723 in /w/workspace/gexfoundry_device-sdk-go_jakarta [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_jakarta # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ba443a3625d4eef64e240836a867426dc0799199 (jakarta) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 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 00685ec2d5c51377ae61b360273945aff10f59dc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:21:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:21:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:21:34 ========================================================= 23:21:34 EdgeX Global Pipelines Version Info 23:21:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:21:34 ------------------- 23:21:34 stable info: 23:21:34 ------------------- 23:21:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:21:34 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 23:21:34 Message: update stable to v1.0.230 23:21:35 ------------------- 23:21:35 experimental info: 23:21:35 ------------------- 23:21:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:21:35 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 23:21:35 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba443a3625d4eef64e240836a867426dc0799199 [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba443a3 [Pipeline] echo 23:21:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:21:36 provisioning config files... 23:21:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config7510323483517244232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:36 ---> docker-login.sh 23:21:36 nexus3.edgexfoundry.org:10001 23:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:36 Configure a credential helper to remove this warning. See 23:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:36 23:21:36 Login Succeeded 23:21:36 nexus3.edgexfoundry.org:10002 23:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:36 Configure a credential helper to remove this warning. See 23:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:36 23:21:36 Login Succeeded 23:21:36 nexus3.edgexfoundry.org:10003 23:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:36 Configure a credential helper to remove this warning. See 23:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:36 23:21:36 Login Succeeded 23:21:36 nexus3.edgexfoundry.org:10004 23:21:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:37 Configure a credential helper to remove this warning. See 23:21:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:37 23:21:37 Login Succeeded 23:21:37 docker.io 23:21:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:37 Configure a credential helper to remove this warning. See 23:21:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:37 23:21:37 Login Succeeded 23:21:37 ---> docker-login.sh ends [Pipeline] } 23:21:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:21:37 + git rev-list -1 --merges ba443a3625d4eef64e240836a867426dc0799199~1..ba443a3625d4eef64e240836a867426dc0799199 [Pipeline] echo 23:21:37 -----------> git rev-list -1 --merges ba443a3625d4eef64e240836a867426dc0799199~1..ba443a3625d4eef64e240836a867426dc0799199 ba443a3625d4eef64e240836a867426dc0799199 23:21:37 ba443a3625d4eef64e240836a867426dc0799199 [false] [Pipeline] sh 23:21:38 + git log --format=format:%s -1 ba443a3625d4eef64e240836a867426dc0799199 [Pipeline] echo 23:21:38 ========================================================= 23:21:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:21:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:21:38 + git log --format=format:%s -1 ba443a3625d4eef64e240836a867426dc0799199 [Pipeline] echo 23:21:38 [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:21:38 [semverPrep] This is not a build commit. [Pipeline] sh 23:21:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:21:38 + grep -v github /etc/ssh/ssh_known_hosts 23:21:38 + [ -e /tmp/ssh_known_hosts ] 23:21:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:21:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:21:38 + sudo tee -a /etc/ssh/ssh_known_hosts 23:21:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:21:39 23:21:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:21:39 latest: Pulling from edgex-devops/py-git-semver 23:21:39 1fe172e4850f: Pulling fs layer 23:21:39 caf521ccaac6: Pulling fs layer 23:21:39 3ead6fa29328: Pulling fs layer 23:21:39 5c2a1cbceb83: Pulling fs layer 23:21:39 a8d5f1318db7: Pulling fs layer 23:21:39 c427282e49a2: Pulling fs layer 23:21:39 1827001aaf11: Pulling fs layer 23:21:39 0714d37db230: Pulling fs layer 23:21:39 ac28cf19c067: Pulling fs layer 23:21:39 ca983d60f3e2: Pulling fs layer 23:21:39 9f894cec8388: Pulling fs layer 23:21:39 1827001aaf11: Waiting 23:21:39 0714d37db230: Waiting 23:21:39 ac28cf19c067: Waiting 23:21:39 9f894cec8388: Waiting 23:21:39 ca983d60f3e2: Waiting 23:21:39 a8d5f1318db7: Waiting 23:21:39 c427282e49a2: Waiting 23:21:39 caf521ccaac6: Download complete 23:21:39 5c2a1cbceb83: Verifying Checksum 23:21:39 5c2a1cbceb83: Download complete 23:21:39 3ead6fa29328: Verifying Checksum 23:21:39 3ead6fa29328: Download complete 23:21:39 c427282e49a2: Verifying Checksum 23:21:39 c427282e49a2: Download complete 23:21:39 a8d5f1318db7: Verifying Checksum 23:21:39 a8d5f1318db7: Download complete 23:21:39 0714d37db230: Download complete 23:21:39 ac28cf19c067: Download complete 23:21:39 ca983d60f3e2: Verifying Checksum 23:21:39 ca983d60f3e2: Download complete 23:21:39 9f894cec8388: Download complete 23:21:39 1fe172e4850f: Download complete 23:21:40 1827001aaf11: Verifying Checksum 23:21:40 1827001aaf11: Download complete 23:21:41 1fe172e4850f: Pull complete 23:21:41 caf521ccaac6: Pull complete 23:21:41 3ead6fa29328: Pull complete 23:21:41 5c2a1cbceb83: Pull complete 23:21:42 a8d5f1318db7: Pull complete 23:21:42 c427282e49a2: Pull complete 23:21:44 1827001aaf11: Pull complete 23:21:44 0714d37db230: Pull complete 23:21:44 ac28cf19c067: Pull complete 23:21:44 ca983d60f3e2: Pull complete 23:21:44 9f894cec8388: Pull complete 23:21:44 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 23:21:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:21:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:44 prd-ubuntu20.04-docker-8c-8g-723 does not seem to be running inside a container 23:21: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:21:45 $ docker top ec610ee049ba2d9f46f9d9903457288bb4ab5e708c381f000b2511653c8276e4 -eo pid,comm 23:21:45 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:21:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:21:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:21:45 [ssh-agent] Looking for ssh-agent implementation... 23:21:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:21:46 $ docker exec ec610ee049ba2d9f46f9d9903457288bb4ab5e708c381f000b2511653c8276e4 ssh-agent 23:21:46 SSH_AUTH_SOCK=/tmp/ssh-REBcM1dfgWnG/agent.33 23:21:46 SSH_AGENT_PID=39 23:21:46 Running ssh-add (command line suppressed) 23:21:46 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_598760565656455748.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_598760565656455748.key) 23:21:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:21:46 + git tag --points-at HEAD [Pipeline] } 23:21:46 $ docker exec --env ******** --env ******** ec610ee049ba2d9f46f9d9903457288bb4ab5e708c381f000b2511653c8276e4 ssh-agent -k 23:21:46 unset SSH_AUTH_SOCK; 23:21:46 unset SSH_AGENT_PID; 23:21:46 echo Agent pid 39 killed; 23:21:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:21:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:21:46 [ssh-agent] Looking for ssh-agent implementation... 23:21:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:21:46 $ docker exec ec610ee049ba2d9f46f9d9903457288bb4ab5e708c381f000b2511653c8276e4 ssh-agent 23:21:47 SSH_AUTH_SOCK=/tmp/ssh-amssO8nwNdPD/agent.72 23:21:47 SSH_AGENT_PID=78 23:21:47 Running ssh-add (command line suppressed) 23:21:47 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_7808288301503158178.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_7808288301503158178.key) 23:21:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:21:47 + git semver init 23:21:47 2022-06-02 23:21:47,701 [run_init] DEBUG init version:0.0.0 force:False 23:21:47 2022-06-02 23:21:47,701 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver 23:21:47 2022-06-02 23:21:47,702 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver 23:21:47 2022-06-02 23:21:47,702 [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:21:48 2022-06-02 23:21:48,470 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_jakarta/.git/info/exclude 23:21:48 2022-06-02 23:21:48,470 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta with force:False 23:21:48 2022-06-02 23:21:48,470 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 23:21:48 2022-06-02 23:21:48,471 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 23:21:48 2.1.1-dev.4 [Pipeline] } 23:21:48 $ docker exec --env ******** --env ******** ec610ee049ba2d9f46f9d9903457288bb4ab5e708c381f000b2511653c8276e4 ssh-agent -k 23:21:48 unset SSH_AUTH_SOCK; 23:21:48 unset SSH_AGENT_PID; 23:21:48 echo Agent pid 78 killed; 23:21:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:21:49 + git semver [Pipeline] } 23:21:49 $ docker stop --time=1 ec610ee049ba2d9f46f9d9903457288bb4ab5e708c381f000b2511653c8276e4 23:21:50 $ docker rm -f ec610ee049ba2d9f46f9d9903457288bb4ab5e708c381f000b2511653c8276e4 [Pipeline] // withDockerContainer [Pipeline] sh 23:21:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:21:51 Stashed 1 file(s) [Pipeline] echo 23:21:51 [edgeXSemver]: initialized semver on version 2.1.1-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:21:51 provisioning config files... 23:21:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config6300513589365491654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:51 ---> docker-login.sh 23:21:51 nexus3.edgexfoundry.org:10001 23:21:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:51 Configure a credential helper to remove this warning. See 23:21:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:51 23:21:51 Login Succeeded 23:21:51 nexus3.edgexfoundry.org:10002 23:21:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:52 Configure a credential helper to remove this warning. See 23:21:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:52 23:21:52 Login Succeeded 23:21:52 nexus3.edgexfoundry.org:10003 23:21:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:52 Configure a credential helper to remove this warning. See 23:21:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:52 23:21:52 Login Succeeded 23:21:52 nexus3.edgexfoundry.org:10004 23:21:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:52 Configure a credential helper to remove this warning. See 23:21:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:52 23:21:52 Login Succeeded 23:21:52 docker.io 23:21:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:52 Configure a credential helper to remove this warning. See 23:21:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:52 23:21:52 Login Succeeded 23:21:52 ---> docker-login.sh ends [Pipeline] } 23:21:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:21:52 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:21:52 ========================================================= 23:21:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 23:21:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:52 + 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:21:52 Sending build context to Docker daemon 20.71MB 23:21:52 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 23:21:52 Step 2/10 : FROM ${BASE} AS builder 23:21:53 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 23:21:53 59bf1c3509f3: Pulling fs layer 23:21:53 666ba61612fd: Pulling fs layer 23:21:53 8ed8ca486205: Pulling fs layer 23:21:53 4fe6c5a15a65: Pulling fs layer 23:21:53 22a0e8bec74d: Pulling fs layer 23:21:53 812f408151ee: Pulling fs layer 23:21:53 bab7bd504b26: Pulling fs layer 23:21:53 070449caade9: Pulling fs layer 23:21:53 8f1a5288e3a6: Pulling fs layer 23:21:53 bab7bd504b26: Waiting 23:21:53 4fe6c5a15a65: Waiting 23:21:53 070449caade9: Waiting 23:21:53 8f1a5288e3a6: Waiting 23:21:53 22a0e8bec74d: Waiting 23:21:53 812f408151ee: Waiting 23:21:53 8ed8ca486205: Verifying Checksum 23:21:53 8ed8ca486205: Download complete 23:21:53 666ba61612fd: Download complete 23:21:53 22a0e8bec74d: Download complete 23:21:53 812f408151ee: Download complete 23:21:53 bab7bd504b26: Download complete 23:21:53 59bf1c3509f3: Download complete 23:21:53 070449caade9: Verifying Checksum 23:21:53 070449caade9: Download complete 23:21:53 59bf1c3509f3: Pull complete 23:21:53 666ba61612fd: Pull complete 23:21:53 8ed8ca486205: Pull complete 23:21:54 8f1a5288e3a6: Verifying Checksum 23:21:54 8f1a5288e3a6: Download complete 23:21:54 4fe6c5a15a65: Verifying Checksum 23:21:54 4fe6c5a15a65: Download complete 23:21:57 4fe6c5a15a65: Pull complete 23:21:57 22a0e8bec74d: Pull complete 23:21:57 812f408151ee: Pull complete 23:21:57 bab7bd504b26: Pull complete 23:21:57 070449caade9: Pull complete 23:21:59 8f1a5288e3a6: Pull complete 23:21:59 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 23:21:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 23:21:59 ---> c47586b81864 23:21:59 Step 3/10 : ARG MAKE=make build 23:22:00 ---> Running in 81c876fb7729 23:22:01 Removing intermediate container 81c876fb7729 23:22:01 ---> a80207eb831f 23:22:01 Step 4/10 : WORKDIR /device-sdk-go 23:22:01 ---> Running in ca07c3c513ae 23:22:01 Removing intermediate container ca07c3c513ae 23:22:01 ---> 7ce6d1471b56 23:22:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:22:01 ---> Running in 7ed1afe32d92 23:22:01 Removing intermediate container 7ed1afe32d92 23:22:01 ---> 8dedc8ae80bf 23:22:01 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:22:01 ---> Running in b010c38aa51f 23:22:01 Removing intermediate container b010c38aa51f 23:22:01 ---> 78f74bf5babd 23:22:01 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:22:01 ---> Running in 9fae71fc1f42 23:22:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:22:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:22:03 OK: 221 MiB in 52 packages 23:22:03 Removing intermediate container 9fae71fc1f42 23:22:03 ---> 16b2151f2709 23:22:03 Step 8/10 : COPY . . 23:22:04 ---> eff6f3c36752 23:22:04 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:22:04 ---> Running in 14fae1f49784 23:22:04 skipping... 23:22:05 Removing intermediate container 14fae1f49784 23:22:05 ---> fdbc6a172c95 23:22:05 Step 10/10 : RUN ${MAKE} 23:22:05 ---> Running in 4e063e7966d9 23:22:05 noop 23:22:05 Removing intermediate container 4e063e7966d9 23:22:05 ---> 1fcb0eb5ab72 23:22:05 Successfully built 1fcb0eb5ab72 23:22:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:06 + docker inspect -f . ci-base-image-x86_64 23:22:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:06 prd-ubuntu20.04-docker-8c-8g-723 does not seem to be running inside a container 23:22:06 $ 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:22:06 Still waiting to schedule task 23:22:06 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:22:06 $ docker top 20320d8ce72018ee7f702c2513c46f8a7609ec850ce044eca4b43733952a365c -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:06 + go version 23:22:06 go version go1.17.6 linux/amd64 [Pipeline] } 23:22:06 $ docker stop --time=1 20320d8ce72018ee7f702c2513c46f8a7609ec850ce044eca4b43733952a365c 23:22:08 $ docker rm -f 20320d8ce72018ee7f702c2513c46f8a7609ec850ce044eca4b43733952a365c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:08 + docker inspect -f . ci-base-image-x86_64 23:22:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:08 prd-ubuntu20.04-docker-8c-8g-723 does not seem to be running inside a container 23:22:08 $ 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:22:09 $ docker top 6a6276fff5bba0fbfb94329b0d20758b65446cdee1813bc3541f2296e9be409f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:22:09 + make test 23:22:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:22:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:22:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:22:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:22:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:22:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.074s coverage: 23.3% of statements 23:22:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:22:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.091s coverage: 27.6% of statements 23:22:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.068s coverage: 78.9% of statements 23:22:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.057s coverage: 9.0% of statements 23:22:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 23:22:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:22:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:22:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements 23:22:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:22:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.063s coverage: 82.9% of statements 23:22:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:22:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:22:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.088s coverage: 57.8% of statements 23:22:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.765s coverage: 89.2% of statements 23:22:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:22:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.8% of statements 23:22:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:22:24 GO111MODULE=on go vet ./... 23:22:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:22:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:22:31 ./bin/test-attribution-txt.sh 23:22:31 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 23:22:31 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 23:22:31 go: downloading github.com/stretchr/testify v1.7.0 23:22:31 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 23:22:31 go: downloading github.com/google/uuid v1.3.0 23:22:31 go: downloading github.com/gorilla/mux v1.8.0 23:22:31 go: downloading github.com/pelletier/go-toml v1.9.4 23:22:31 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 23:22:31 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:22:31 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 23:22:31 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:22:31 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 23:22:31 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:22:31 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 23:22:31 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:22:31 go: downloading github.com/hashicorp/consul/api v1.9.1 23:22:31 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:22:31 go: downloading github.com/go-kit/kit v0.11.0 23:22:31 go: downloading github.com/go-playground/validator/v10 v10.9.0 23:22:31 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:22:31 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:22:31 go: downloading github.com/pebbe/zmq4 v1.2.7 23:22:32 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:22:32 go: downloading github.com/go-logfmt/logfmt v0.5.0 23:22:32 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:22:32 go: downloading github.com/mitchellh/copystructure v1.0.0 23:22:32 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:22:32 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:22:32 go: downloading github.com/davecgh/go-spew v1.1.1 23:22:32 go: downloading github.com/pmezard/go-difflib v1.0.0 23:22:32 go: downloading github.com/stretchr/objx v0.1.1 23:22:32 go: downloading golang.org/x/text v0.3.6 23:22:32 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 23:22:32 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 23:22:32 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:22:32 go: downloading github.com/hashicorp/errwrap v1.0.0 23:22:32 go: downloading github.com/x448/float16 v0.8.4 23:22:32 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:22:32 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:22:32 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:22:32 go: downloading github.com/hashicorp/serf v0.9.5 23:22:32 go: downloading github.com/gorilla/websocket v1.4.2 23:22:32 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:22:32 go: downloading github.com/go-playground/universal-translator v0.18.0 23:22:32 go: downloading github.com/leodido/go-urn v1.2.1 23:22:32 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 23:22:32 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:22:32 go: downloading github.com/fatih/color v1.9.0 23:22:32 go: downloading github.com/mattn/go-colorable v0.1.6 23:22:32 go: downloading github.com/mattn/go-isatty v0.0.12 23:22:32 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 23:22:33 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 23:22:33 + go mod tidy 23:22:33 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 23:22:33 go: downloading github.com/go-stack/stack v1.8.0 23:22:33 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:22:33 go: downloading github.com/onsi/ginkgo v1.10.1 23:22:33 go: downloading github.com/onsi/gomega v1.7.0 23:22:33 go: downloading github.com/hashicorp/consul/sdk v0.8.0 23:22:33 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:22:33 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:22:33 go: downloading github.com/hashicorp/memberlist v0.2.2 23:22:33 go: downloading github.com/pkg/errors v0.9.1 23:22:33 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:22:33 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:22:33 go: downloading github.com/kr/pretty v0.3.0 23:22:33 go: downloading github.com/rogpeppe/go-internal v1.8.0 23:22:33 go: downloading github.com/kr/text v0.2.0 23:22:33 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:22:33 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:22:33 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:22:33 go: downloading github.com/miekg/dns v1.1.26 23:22:33 go: downloading gopkg.in/yaml.v2 v2.3.0 23:22:33 go: downloading github.com/hpcloud/tail v1.0.0 23:22:33 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:22:33 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 23:22:33 $ docker stop --time=1 6a6276fff5bba0fbfb94329b0d20758b65446cdee1813bc3541f2296e9be409f 23:22:36 $ docker rm -f 6a6276fff5bba0fbfb94329b0d20758b65446cdee1813bc3541f2296e9be409f [Pipeline] // withDockerContainer [Pipeline] sh 23:22:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:22:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:22:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:22:37 + ls -al . 23:22:37 total 308 23:22:37 drwxrwxr-x 12 jenkins jenkins 4096 Jun 2 23:22 . 23:22:37 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:21 .. 23:22:37 -rw-rw-r-- 1 jenkins jenkins 140 Jun 2 23:21 .dockerignore 23:22:37 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 23:21 .git 23:22:37 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:21 .github 23:22:37 -rw-rw-r-- 1 jenkins jenkins 124 Jun 2 23:21 .gitignore 23:22:37 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 23:21 .semver 23:22:37 -rw-rw-r-- 1 jenkins jenkins 26850 Jun 2 23:21 CHANGELOG.md 23:22:37 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 23:21 GOVERNANCE.md 23:22:37 -rw-rw-r-- 1 jenkins jenkins 880 Jun 2 23:21 Jenkinsfile 23:22:37 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 2 23:21 LICENSE 23:22:37 -rw-rw-r-- 1 jenkins jenkins 1120 Jun 2 23:21 Makefile 23:22:37 -rw-rw-r-- 1 jenkins jenkins 619 Jun 2 23:21 OWNERS.md 23:22:37 -rw-rw-r-- 1 jenkins jenkins 4890 Jun 2 23:21 README.md 23:22:37 -rw-rw-r-- 1 jenkins jenkins 11 Jun 2 23:21 VERSION 23:22:37 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:21 bin 23:22:37 -rw-r--r-- 1 jenkins jenkins 128641 Jun 2 23:22 coverage.out 23:22:37 drwxrwxr-x 5 jenkins jenkins 4096 Jun 2 23:21 example 23:22:37 -rw-rw-r-- 1 jenkins jenkins 576 Jun 2 23:22 go.mod 23:22:37 -rw-rw-r-- 1 jenkins jenkins 48946 Jun 2 23:21 go.sum 23:22:37 drwxrwxr-x 15 jenkins jenkins 4096 Jun 2 23:21 internal 23:22:37 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:21 openapi 23:22:37 drwxrwxr-x 5 jenkins jenkins 4096 Jun 2 23:21 pkg 23:22:37 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:21 snap 23:22:37 drwxrwxr-x 6 jenkins jenkins 4096 Jun 2 23:21 vendor 23:22:37 -rw-rw-r-- 1 jenkins jenkins 222 Jun 2 23:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:38 + 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-dev.4 . 23:22:38 Sending build context to Docker daemon 20.84MB 23:22:38 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 23:22:38 Step 2/24 : FROM ${BASE} AS builder 23:22:38 ---> 1fcb0eb5ab72 23:22:38 Step 3/24 : ARG MAKE=make build 23:22:38 ---> Running in 541607ef9d18 23:22:38 Removing intermediate container 541607ef9d18 23:22:38 ---> d97dda6bd31b 23:22:38 Step 4/24 : WORKDIR /device-sdk-go 23:22:38 ---> Running in 2c62d258b4a3 23:22:38 Removing intermediate container 2c62d258b4a3 23:22:38 ---> c9dee81e944e 23:22:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:22:38 ---> Running in a0aee3fa158b 23:22:38 Removing intermediate container a0aee3fa158b 23:22:38 ---> bc364afae717 23:22:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:22:38 ---> Running in a6354fa79d1d 23:22:39 Removing intermediate container a6354fa79d1d 23:22:39 ---> ec24dbd50153 23:22:39 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:22:39 ---> Running in 13572c36153e 23:22:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:22:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:22:40 OK: 221 MiB in 52 packages 23:22:41 Removing intermediate container 13572c36153e 23:22:41 ---> 370f6bf0e504 23:22:41 Step 8/24 : COPY . . 23:22:42 ---> 859230c9f937 23:22:42 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:22:42 ---> Running in 1fdb3399d3a0 23:22:42 skipping... 23:22:42 Removing intermediate container 1fdb3399d3a0 23:22:42 ---> 2b8986485530 23:22:42 Step 10/24 : RUN ${MAKE} 23:22:42 ---> Running in cbdc0ebb44c6 23:22:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.1.1-dev.4" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:22:49 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:22:49 Removing intermediate container cbdc0ebb44c6 23:22:49 ---> c7dfc452ffbe 23:22:49 Step 11/24 : FROM alpine:3.14 23:22:50 3.14: Pulling from library/alpine 23:22:50 8663204ce13b: Pulling fs layer 23:22:50 8663204ce13b: Verifying Checksum 23:22:50 8663204ce13b: Download complete 23:22:50 8663204ce13b: Pull complete 23:22:50 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:22:50 Status: Downloaded newer image for alpine:3.14 23:22:50 ---> e04c818066af 23:22:50 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:22:50 ---> Running in fd26e8a488c7 23:22:51 Removing intermediate container fd26e8a488c7 23:22:51 ---> ed3818a584f5 23:22:51 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:22:51 ---> Running in db03dc78b8cb 23:22:51 Removing intermediate container db03dc78b8cb 23:22:51 ---> 0d29091ce246 23:22:51 Step 14/24 : RUN apk add --update --no-cache zeromq 23:22:51 ---> Running in 5181c64f7f37 23:22:51 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:22:52 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:22:52 (1/5) Installing libgcc (10.3.1_git20210424-r2) 23:22:53 (2/5) Installing libsodium (1.0.18-r0) 23:22:53 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 23:22:53 (4/5) Installing libzmq (4.3.4-r0) 23:22:53 (5/5) Installing zeromq (4.3.4-r0) 23:22:53 Executing busybox-1.33.1-r7.trigger 23:22:53 OK: 8 MiB in 19 packages 23:22:53 Removing intermediate container 5181c64f7f37 23:22:53 ---> e8f37c3de359 23:22:53 Step 15/24 : WORKDIR / 23:22:53 ---> Running in 7383b0e58067 23:22:53 Removing intermediate container 7383b0e58067 23:22:53 ---> 3438e9581305 23:22:53 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:22:53 ---> da3c93168787 23:22:53 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:22:54 ---> e7ebfa7a9ab6 23:22:54 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:22:54 ---> 32222e4cced5 23:22:54 Step 19/24 : EXPOSE 59999 23:22:54 ---> Running in de551003f1ed 23:22:54 Removing intermediate container de551003f1ed 23:22:54 ---> a858611b90bc 23:22:54 Step 20/24 : ENTRYPOINT ["/device-simple"] 23:22:54 ---> Running in f26c2d8633ba 23:22:54 Removing intermediate container f26c2d8633ba 23:22:54 ---> 9f581f8af239 23:22:54 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:22:55 ---> Running in 8a33a68aa88d 23:22:55 Removing intermediate container 8a33a68aa88d 23:22:55 ---> 8d27ea4a9fc4 23:22:55 Step 22/24 : LABEL arch=amd64 23:22:55 ---> Running in 8ea984fa664f 23:22:55 Removing intermediate container 8ea984fa664f 23:22:55 ---> 8a217390025d 23:22:55 Step 23/24 : LABEL git_sha=ba443a3625d4eef64e240836a867426dc0799199 23:22:55 ---> Running in 28d08f3366b1 23:22:55 Removing intermediate container 28d08f3366b1 23:22:55 ---> 0da63f5b0d2a 23:22:55 Step 24/24 : LABEL version=2.1.1-dev.4 23:22:55 ---> Running in 615a54cd38f0 23:22:55 Removing intermediate container 615a54cd38f0 23:22:55 ---> 188b83d98f47 23:22:55 [Warning] One or more build-args [ARCH] were not consumed 23:22:55 Successfully built 188b83d98f47 23:22:55 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:22:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:22:55 23:22:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:22:56 latest: Pulling from edgex-lftools-log-publisher 23:22:56 5eb5b503b376: Pulling fs layer 23:22:56 5c69ac0246d0: Pulling fs layer 23:22:56 ec43610c2a17: Pulling fs layer 23:22:56 3a2ae6a8a46f: Pulling fs layer 23:22:56 33b1e0a273af: Pulling fs layer 23:22:56 5d3b04190fa2: Pulling fs layer 23:22:56 2f39f015ded8: Pulling fs layer 23:22:56 3a2ae6a8a46f: Waiting 23:22:56 33b1e0a273af: Waiting 23:22:56 5d3b04190fa2: Waiting 23:22:56 2f39f015ded8: Waiting 23:22:56 5c69ac0246d0: Download complete 23:22:56 3a2ae6a8a46f: Download complete 23:22:56 33b1e0a273af: Verifying Checksum 23:22:56 33b1e0a273af: Download complete 23:22:56 5d3b04190fa2: Verifying Checksum 23:22:56 5d3b04190fa2: Download complete 23:22:56 ec43610c2a17: Verifying Checksum 23:22:56 ec43610c2a17: Download complete 23:22:56 5eb5b503b376: Verifying Checksum 23:22:56 5eb5b503b376: Download complete 23:22:56 2f39f015ded8: Verifying Checksum 23:22:56 2f39f015ded8: Download complete 23:22:57 5eb5b503b376: Pull complete 23:22:57 5c69ac0246d0: Pull complete 23:22:57 ec43610c2a17: Pull complete 23:22:57 3a2ae6a8a46f: Pull complete 23:22:58 33b1e0a273af: Pull complete 23:22:58 5d3b04190fa2: Pull complete 23:23:02 2f39f015ded8: Pull complete 23:23:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:23:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:23:02 prd-ubuntu20.04-docker-8c-8g-723 does not seem to be running inside a container 23:23:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:23:04 $ docker top 40242eee98dc0b6584e37807d278cefbf812d8377c8eec77a6b33b11d76ebf7c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:23:04 ---> job-cost.sh 23:23:04 lf-activate-venv: SKIPPING 23:23:04 INFO: No Stack... 23:23:04 INFO: Retrieving Pricing Info for: v3-standard-8 23:23:05 INFO: Archiving Costs [Pipeline] sh 23:23:05 + cat /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/cost.csv 23:23:05 + cut -d, -f6 [Pipeline] lock 23:23:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-jakarta-8-stack-cost] 23:23:05 Resource [jenkins-edgexfoundry-device-sdk-go-jakarta-8-stack-cost] did not exist. Created. 23:23:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-jakarta-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:23:05 + echo total: 0.2199999988079071 [Pipeline] stash 23:23:06 Stashed 1 file(s) [Pipeline] } 23:23:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-jakarta-8-stack-cost] [Pipeline] // lock [Pipeline] } 23:23:06 $ docker stop --time=1 40242eee98dc0b6584e37807d278cefbf812d8377c8eec77a6b33b11d76ebf7c 23:23:07 $ docker rm -f 40242eee98dc0b6584e37807d278cefbf812d8377c8eec77a6b33b11d76ebf7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:25:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-725 in /w/workspace/gexfoundry_device-sdk-go_jakarta [Pipeline] { [Pipeline] ws 23:25:13 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 23:25:14 The recommended git tool is: git 23:25:21 using credential edgex-jenkins-ssh 23:25:21 Cloning the remote Git repository 23:25:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:25:22 > git init /w/workspace/device-sdk-go/8 # timeout=10 23:25:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:25:22 > git --version # timeout=10 23:25:22 > git --version # 'git version 2.25.1' 23:25:22 using GIT_SSH to set credentials SSH Credentials for GitHub 23:25:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:25:24 Avoid second fetch 23:25:24 Checking out Revision ba443a3625d4eef64e240836a867426dc0799199 (jakarta) 23:25:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:25:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:25:24 > git config core.sparsecheckout # timeout=10 23:25:24 > git checkout -f ba443a3625d4eef64e240836a867426dc0799199 # timeout=10 23:25:29 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:25:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:25:29 % Total % Received % Xferd Average Speed Time Time Time Current 23:25:29 Dload Upload Total Spent Left Speed 23:25:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 90762 0 --:--:-- --:--:-- --:--:-- 90762 [Pipeline] sh 23:25:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:25:31 + sudo tee+ /etc/docker/daemon.new 23:25:31 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:25:31 { 23:25:31 "registry-mirrors": [ 23:25:31 "https://nexus3.edgexfoundry.org:10001" 23:25:31 ], 23:25:31 "bip": "10.250.0.254/24", 23:25:31 "hosts": [ 23:25:31 "tcp://0.0.0.0:5555", 23:25:31 "unix:///var/run/docker.sock" 23:25:31 ], 23:25:31 "mtu": 1458, 23:25:31 "selinux-enabled": true, 23:25:31 "seccomp-profile": "/etc/docker/seccomp.json" 23:25:31 } [Pipeline] sh 23:25:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:25:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:25:50 provisioning config files... 23:25:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config1464090070791812936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:25:50 ---> docker-login.sh 23:25:50 nexus3.edgexfoundry.org:10001 23:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:51 Configure a credential helper to remove this warning. See 23:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:51 23:25:51 Login Succeeded 23:25:51 nexus3.edgexfoundry.org:10002 23:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:52 Configure a credential helper to remove this warning. See 23:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:52 23:25:52 Login Succeeded 23:25:52 nexus3.edgexfoundry.org:10003 23:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:52 Configure a credential helper to remove this warning. See 23:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:52 23:25:52 Login Succeeded 23:25:52 nexus3.edgexfoundry.org:10004 23:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:53 Configure a credential helper to remove this warning. See 23:25:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:53 23:25:53 Login Succeeded 23:25:53 docker.io 23:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:54 Configure a credential helper to remove this warning. See 23:25:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:54 23:25:54 Login Succeeded 23:25:54 ---> docker-login.sh ends [Pipeline] } 23:25:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:25:54 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:25:54 ========================================================= 23:25:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 23:25:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:55 + 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:25:56 Sending build context to Docker daemon 16.21MB 23:25:56 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 23:25:56 Step 2/10 : FROM ${BASE} AS builder 23:25:56 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 23:25:56 9b3977197b4f: Pulling fs layer 23:25:56 1a89e8eeedd5: Pulling fs layer 23:25:56 94645a83ff95: Pulling fs layer 23:25:56 3f3a8bcf1eab: Pulling fs layer 23:25:56 0c92f367c5e7: Pulling fs layer 23:25:56 63b1bc5785f6: Pulling fs layer 23:25:56 626d30ff41c6: Pulling fs layer 23:25:56 de1d54c125be: Pulling fs layer 23:25:56 3f3a8bcf1eab: Waiting 23:25:56 0c92f367c5e7: Waiting 23:25:56 63b1bc5785f6: Waiting 23:25:56 626d30ff41c6: Waiting 23:25:56 de1d54c125be: Waiting 23:25:56 94645a83ff95: Download complete 23:25:56 1a89e8eeedd5: Verifying Checksum 23:25:56 1a89e8eeedd5: Download complete 23:25:56 0c92f367c5e7: Verifying Checksum 23:25:56 0c92f367c5e7: Download complete 23:25:56 63b1bc5785f6: Verifying Checksum 23:25:56 63b1bc5785f6: Download complete 23:25:56 9b3977197b4f: Verifying Checksum 23:25:56 9b3977197b4f: Download complete 23:25:56 626d30ff41c6: Verifying Checksum 23:25:56 626d30ff41c6: Download complete 23:25:57 9b3977197b4f: Pull complete 23:25:58 1a89e8eeedd5: Pull complete 23:25:58 94645a83ff95: Pull complete 23:25:58 de1d54c125be: Verifying Checksum 23:25:59 3f3a8bcf1eab: Verifying Checksum 23:25:59 3f3a8bcf1eab: Download complete 23:26:11 3f3a8bcf1eab: Pull complete 23:26:11 0c92f367c5e7: Pull complete 23:26:11 63b1bc5785f6: Pull complete 23:26:12 626d30ff41c6: Pull complete 23:26:18 de1d54c125be: Pull complete 23:26:18 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 23:26:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 23:26:18 ---> 5f011755c4a2 23:26:18 Step 3/10 : ARG MAKE=make build 23:26:19 ---> Running in aa0757b935a5 23:26:20 Removing intermediate container aa0757b935a5 23:26:20 ---> 02eef45b52e8 23:26:20 Step 4/10 : WORKDIR /device-sdk-go 23:26:20 ---> Running in b533691eea4f 23:26:21 Removing intermediate container b533691eea4f 23:26:21 ---> d69131b48a53 23:26:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:26:22 ---> Running in 77b7c9a78f71 23:26:22 Removing intermediate container 77b7c9a78f71 23:26:22 ---> bb5edd5539fe 23:26:22 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:26:22 ---> Running in 2624f7f54e23 23:26:24 Removing intermediate container 2624f7f54e23 23:26:24 ---> 4d385308f96d 23:26:24 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:26:24 ---> Running in d4fdaf3feae8 23:26:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:26:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:26:27 OK: 220 MiB in 52 packages 23:26:28 Removing intermediate container d4fdaf3feae8 23:26:28 ---> b8d9254a7761 23:26:28 Step 8/10 : COPY . . 23:26:32 ---> d21fc8d73d03 23:26:32 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:26:32 ---> Running in 75cb24a1262a 23:26:32 skipping... 23:26:33 Removing intermediate container 75cb24a1262a 23:26:33 ---> aed1fff5e757 23:26:33 Step 10/10 : RUN ${MAKE} 23:26:33 ---> Running in f3ec5d1fd9f8 23:26:34 noop 23:26:35 Removing intermediate container f3ec5d1fd9f8 23:26:35 ---> c16ca307d84d 23:26:35 Successfully built c16ca307d84d 23:26:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:35 + docker inspect -f . ci-base-image-arm64 23:26:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:26:36 prd-ubuntu20.04-docker-arm64-4c-16g-725 does not seem to be running inside a container 23:26:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:26:37 $ docker top 17d17bf3882035c5faee0851abd8bd9e6401b166b0c8730bd6014ddaa65d95b4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:26:38 + go version 23:26:38 go version go1.17.6 linux/arm64 [Pipeline] } 23:26:38 $ docker stop --time=1 17d17bf3882035c5faee0851abd8bd9e6401b166b0c8730bd6014ddaa65d95b4 23:26:40 $ docker rm -f 17d17bf3882035c5faee0851abd8bd9e6401b166b0c8730bd6014ddaa65d95b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:40 + docker inspect -f . ci-base-image-arm64 23:26:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:26:40 prd-ubuntu20.04-docker-arm64-4c-16g-725 does not seem to be running inside a container 23:26:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:26:42 $ docker top f559b052347811c19aea00e64c58e2b8b67e86397f2f6997f7afaa93725ad6a2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:26:43 + make test 23:26:43 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:27:15 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:28:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:28:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:28:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:28:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.323s coverage: 23.3% of statements 23:28:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:28:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.233s coverage: 27.6% of statements 23:28:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.283s coverage: 78.9% of statements 23:28:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.215s coverage: 9.0% of statements 23:28:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 23:28:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:28:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:28:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.337s coverage: 28.7% of statements 23:28:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:28:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.270s coverage: 82.9% of statements 23:28:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:28:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:28:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.578s coverage: 57.8% of statements 23:28:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.372s coverage: 89.2% of statements 23:28:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:28:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.254s coverage: 4.8% of statements 23:28:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:28:47 GO111MODULE=on go vet ./... 23:29:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:29:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:29:55 ./bin/test-attribution-txt.sh 23:29:55 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 23:29:55 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 23:29:55 go: downloading github.com/google/uuid v1.3.0 23:29:55 go: downloading github.com/stretchr/testify v1.7.0 23:29:55 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:29:55 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 23:29:55 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 23:29:55 go: downloading github.com/pelletier/go-toml v1.9.4 23:29:55 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 23:29:55 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:29:55 go: downloading github.com/gorilla/mux v1.8.0 23:29:55 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:29:55 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 23:29:55 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 23:29:55 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:29:55 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:29:55 go: downloading github.com/go-kit/kit v0.11.0 23:29:55 go: downloading github.com/go-playground/validator/v10 v10.9.0 23:29:55 go: downloading github.com/hashicorp/consul/api v1.9.1 23:29:55 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:29:55 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:29:55 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:29:55 go: downloading github.com/pebbe/zmq4 v1.2.7 23:29:55 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:29:55 go: downloading github.com/mitchellh/copystructure v1.0.0 23:29:55 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:29:55 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:29:55 go: downloading github.com/go-logfmt/logfmt v0.5.0 23:29:55 go: downloading github.com/davecgh/go-spew v1.1.1 23:29:55 go: downloading github.com/pmezard/go-difflib v1.0.0 23:29:55 go: downloading github.com/stretchr/objx v0.1.1 23:29:55 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 23:29:55 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 23:29:55 go: downloading golang.org/x/text v0.3.6 23:29:55 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:29:55 go: downloading github.com/hashicorp/errwrap v1.0.0 23:29:55 go: downloading github.com/x448/float16 v0.8.4 23:29:55 go: downloading github.com/go-playground/universal-translator v0.18.0 23:29:55 go: downloading github.com/leodido/go-urn v1.2.1 23:29:55 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 23:29:55 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:29:55 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:29:55 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:29:55 go: downloading github.com/hashicorp/serf v0.9.5 23:29:55 go: downloading github.com/gorilla/websocket v1.4.2 23:29:55 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:29:55 go: downloading github.com/go-playground/locales v0.14.0 23:29:55 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:29:55 go: downloading github.com/fatih/color v1.9.0 23:29:55 go: downloading github.com/mattn/go-colorable v0.1.6 23:29:55 go: downloading github.com/mattn/go-isatty v0.0.12 [Pipeline] echo 23:29:56 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 23:29:57 + go mod tidy 23:29:57 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 23:29:57 go: downloading github.com/go-stack/stack v1.8.0 23:29:57 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:29:57 go: downloading github.com/hashicorp/consul/sdk v0.8.0 23:29:57 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:29:57 go: downloading github.com/onsi/ginkgo v1.10.1 23:29:57 go: downloading github.com/onsi/gomega v1.7.0 23:29:57 go: downloading github.com/kr/pretty v0.3.0 23:29:57 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:29:57 go: downloading github.com/hashicorp/memberlist v0.2.2 23:29:58 go: downloading github.com/pkg/errors v0.9.1 23:29:58 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:29:58 go: downloading github.com/kr/text v0.2.0 23:29:58 go: downloading github.com/rogpeppe/go-internal v1.8.0 23:29:58 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:29:58 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:29:58 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:29:58 go: downloading github.com/miekg/dns v1.1.26 23:29:58 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:29:58 go: downloading gopkg.in/yaml.v2 v2.3.0 23:29:58 go: downloading github.com/hpcloud/tail v1.0.0 23:29:58 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:29:58 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 23:29:58 $ docker stop --time=1 f559b052347811c19aea00e64c58e2b8b67e86397f2f6997f7afaa93725ad6a2 23:30:01 $ docker rm -f f559b052347811c19aea00e64c58e2b8b67e86397f2f6997f7afaa93725ad6a2 [Pipeline] // withDockerContainer [Pipeline] sh 23:30:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:30:03 Warning: overwriting stash ‘coverage-report’ 23:30:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:30:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:30:05 + ls -al . 23:30:05 total 304 23:30:05 drwxrwxr-x 11 jenkins jenkins 4096 Jun 2 23:29 . 23:30:05 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:25 .. 23:30:05 -rw-rw-r-- 1 jenkins jenkins 140 Jun 2 23:25 .dockerignore 23:30:05 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 23:25 .git 23:30:05 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:25 .github 23:30:05 -rw-rw-r-- 1 jenkins jenkins 124 Jun 2 23:25 .gitignore 23:30:05 -rw-rw-r-- 1 jenkins jenkins 26850 Jun 2 23:25 CHANGELOG.md 23:30:05 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 23:25 GOVERNANCE.md 23:30:05 -rw-rw-r-- 1 jenkins jenkins 880 Jun 2 23:25 Jenkinsfile 23:30:05 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 2 23:25 LICENSE 23:30:05 -rw-rw-r-- 1 jenkins jenkins 1120 Jun 2 23:25 Makefile 23:30:05 -rw-rw-r-- 1 jenkins jenkins 619 Jun 2 23:25 OWNERS.md 23:30:05 -rw-rw-r-- 1 jenkins jenkins 4890 Jun 2 23:25 README.md 23:30:05 -rw-rw-r-- 1 jenkins jenkins 11 Jun 2 23:21 VERSION 23:30:05 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:25 bin 23:30:05 -rw-r--r-- 1 jenkins jenkins 128641 Jun 2 23:28 coverage.out 23:30:05 drwxrwxr-x 5 jenkins jenkins 4096 Jun 2 23:25 example 23:30:05 -rw-rw-r-- 1 jenkins jenkins 576 Jun 2 23:29 go.mod 23:30:05 -rw-rw-r-- 1 jenkins jenkins 48946 Jun 2 23:25 go.sum 23:30:05 drwxrwxr-x 15 jenkins jenkins 4096 Jun 2 23:25 internal 23:30:05 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:25 openapi 23:30:05 drwxrwxr-x 5 jenkins jenkins 4096 Jun 2 23:25 pkg 23:30:05 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:25 snap 23:30:05 drwxrwxr-x 6 jenkins jenkins 4096 Jun 2 23:25 vendor 23:30:05 -rw-rw-r-- 1 jenkins jenkins 222 Jun 2 23:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:05 + 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-dev.4 . 23:30:07 Sending build context to Docker daemon 16.34MB 23:30:07 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 23:30:07 Step 2/24 : FROM ${BASE} AS builder 23:30:07 ---> c16ca307d84d 23:30:07 Step 3/24 : ARG MAKE=make build 23:30:07 ---> Running in db49508fbf0a 23:30:07 Removing intermediate container db49508fbf0a 23:30:07 ---> 1a0bbfef29b4 23:30:07 Step 4/24 : WORKDIR /device-sdk-go 23:30:07 ---> Running in cd9e88a3fc7b 23:30:08 Removing intermediate container cd9e88a3fc7b 23:30:08 ---> 4033fc352fbe 23:30:08 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:30:08 ---> Running in b1223f41da21 23:30:08 Removing intermediate container b1223f41da21 23:30:08 ---> 46caf30bb25e 23:30:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:30:08 ---> Running in bcb161bc3fec 23:30:10 Removing intermediate container bcb161bc3fec 23:30:10 ---> 5301d6d01cbd 23:30:10 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:30:10 ---> Running in 63b425bf84a0 23:30:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:30:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:30:13 OK: 220 MiB in 52 packages 23:30:14 Removing intermediate container 63b425bf84a0 23:30:14 ---> 6cf1d3cb8a9f 23:30:14 Step 8/24 : COPY . . 23:30:18 ---> 63e51c08cfb1 23:30:18 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:30:18 ---> Running in 41f20242089a 23:30:19 skipping... 23:30:20 Removing intermediate container 41f20242089a 23:30:20 ---> 44acdadb0ccd 23:30:20 Step 10/24 : RUN ${MAKE} 23:30:20 ---> Running in 542e678f03d1 23:30:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.1.1-dev.4" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:31:08 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:31:08 Removing intermediate container 542e678f03d1 23:31:08 ---> 832fd97c8cf2 23:31:08 Step 11/24 : FROM alpine:3.14 23:31:08 3.14: Pulling from library/alpine 23:31:08 455c02918c45: Pulling fs layer 23:31:08 455c02918c45: Verifying Checksum 23:31:08 455c02918c45: Download complete 23:31:08 455c02918c45: Pull complete 23:31:08 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:31:08 Status: Downloaded newer image for alpine:3.14 23:31:08 ---> ac73e934f311 23:31:08 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:31:08 ---> Running in cad6d291ad70 23:31:08 Removing intermediate container cad6d291ad70 23:31:08 ---> df7e68785207 23:31:08 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:31:08 ---> Running in db952872004c 23:31:08 Removing intermediate container db952872004c 23:31:08 ---> a46937f49f93 23:31:08 Step 14/24 : RUN apk add --update --no-cache zeromq 23:31:08 ---> Running in 9cf825b0e439 23:31:09 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:31:10 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:31:10 (1/5) Installing libgcc (10.3.1_git20210424-r2) 23:31:10 (2/5) Installing libsodium (1.0.18-r0) 23:31:10 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 23:31:10 (4/5) Installing libzmq (4.3.4-r0) 23:31:11 (5/5) Installing zeromq (4.3.4-r0) 23:31:11 Executing busybox-1.33.1-r7.trigger 23:31:11 OK: 8 MiB in 19 packages 23:31:12 Removing intermediate container 9cf825b0e439 23:31:12 ---> 384393bb360c 23:31:12 Step 15/24 : WORKDIR / 23:31:12 ---> Running in c6d75f398a99 23:31:12 Removing intermediate container c6d75f398a99 23:31:12 ---> b9cf631859dc 23:31:12 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:31:13 ---> 811134e0f7f2 23:31:13 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:31:14 ---> 9e45564ca185 23:31:14 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:31:14 ---> 6f1054659a62 23:31:14 Step 19/24 : EXPOSE 59999 23:31:14 ---> Running in 30cac3395a64 23:31:15 Removing intermediate container 30cac3395a64 23:31:15 ---> a5b5243da81f 23:31:15 Step 20/24 : ENTRYPOINT ["/device-simple"] 23:31:15 ---> Running in aaac80c9c8f8 23:31:15 Removing intermediate container aaac80c9c8f8 23:31:15 ---> 9cf48b42d526 23:31:15 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:31:15 ---> Running in 08cfb0abd686 23:31:15 Removing intermediate container 08cfb0abd686 23:31:15 ---> aff7a66c5c01 23:31:15 Step 22/24 : LABEL arch=arm64 23:31:15 ---> Running in 7193cec4fb3f 23:31:16 Removing intermediate container 7193cec4fb3f 23:31:16 ---> d4a36e343752 23:31:16 Step 23/24 : LABEL git_sha=ba443a3625d4eef64e240836a867426dc0799199 23:31:16 ---> Running in e063a9bf7442 23:31:16 Removing intermediate container e063a9bf7442 23:31:16 ---> 77c9fd733386 23:31:16 Step 24/24 : LABEL version=2.1.1-dev.4 23:31:16 ---> Running in 628b51b1acbb 23:31:16 Removing intermediate container 628b51b1acbb 23:31:16 ---> 371ec1e6d330 23:31:16 [Warning] One or more build-args [ARCH] were not consumed 23:31:17 Successfully built 371ec1e6d330 23:31:17 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:31:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:31:17 23:31:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:31:18 arm64: Pulling from edgex-lftools-log-publisher 23:31:18 8998bd30e6a1: Pulling fs layer 23:31:18 04944245beec: Pulling fs layer 23:31:18 699f458cf7ca: Pulling fs layer 23:31:18 765212b225bb: Pulling fs layer 23:31:18 f23df028b6ca: Pulling fs layer 23:31:18 d65c8cfc05b1: Pulling fs layer 23:31:18 2437ff75d9bd: Pulling fs layer 23:31:18 765212b225bb: Waiting 23:31:18 f23df028b6ca: Waiting 23:31:18 2437ff75d9bd: Waiting 23:31:18 d65c8cfc05b1: Waiting 23:31:18 04944245beec: Verifying Checksum 23:31:18 04944245beec: Download complete 23:31:18 765212b225bb: Verifying Checksum 23:31:18 765212b225bb: Download complete 23:31:18 f23df028b6ca: Verifying Checksum 23:31:18 f23df028b6ca: Download complete 23:31:18 d65c8cfc05b1: Verifying Checksum 23:31:18 d65c8cfc05b1: Download complete 23:31:18 699f458cf7ca: Verifying Checksum 23:31:18 699f458cf7ca: Download complete 23:31:18 8998bd30e6a1: Verifying Checksum 23:31:18 8998bd30e6a1: Download complete 23:31:21 2437ff75d9bd: Verifying Checksum 23:31:21 2437ff75d9bd: Download complete 23:31:23 8998bd30e6a1: Pull complete 23:31:23 04944245beec: Pull complete 23:31:25 699f458cf7ca: Pull complete 23:31:25 765212b225bb: Pull complete 23:31:26 f23df028b6ca: Pull complete 23:31:26 d65c8cfc05b1: Pull complete 23:31:41 2437ff75d9bd: Pull complete 23:31:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:31:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:31:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:31:41 prd-ubuntu20.04-docker-arm64-4c-16g-725 does not seem to be running inside a container 23:31:41 $ 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/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:31:44 $ docker top 3217dd1ec02c1eed156cfe7ac128d018e24484b69a7a0b8a2bd4e57f9cedee30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:31:45 ---> job-cost.sh 23:31:45 lf-activate-venv: SKIPPING 23:31:45 INFO: No Stack... 23:31:46 INFO: Retrieving Pricing Info for: v3-standard-4 23:31:47 INFO: Archiving Costs [Pipeline] sh 23:31:47 + cut -d, -f6 23:31:47 + cat /w/workspace/device-sdk-go/8/archives/cost.csv [Pipeline] lock 23:31:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-jakarta-8-stack-cost] 23:31:47 Resource [jenkins-edgexfoundry-device-sdk-go-jakarta-8-stack-cost] did not exist. Created. 23:31:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-jakarta-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:31:48 /w/workspace/device-sdk-go/8@tmp/durable-2a91239a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:31:49 + echo total: 0.10999999940395355 [Pipeline] stash 23:31:49 Warning: overwriting stash ‘stack-cost’ 23:31:49 Stashed 1 file(s) [Pipeline] } 23:31:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-jakarta-8-stack-cost] [Pipeline] // lock [Pipeline] } 23:31:49 $ docker stop --time=1 3217dd1ec02c1eed156cfe7ac128d018e24484b69a7a0b8a2bd4e57f9cedee30 23:31:50 $ docker rm -f 3217dd1ec02c1eed156cfe7ac128d018e24484b69a7a0b8a2bd4e57f9cedee30 [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:31:51 provisioning config files... 23:31:51 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config1139493344231827508tmp [Pipeline] { [Pipeline] sh 23:31:51 + set +x 23:31:51 + curl -s https://codecov.io/bash 23:31:51 + bash -s -- 23:31:51 23:31:51 _____ _ 23:31:51 / ____| | | 23:31:51 | | ___ __| | ___ ___ _____ __ 23:31:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:31:51 | |___| (_) | (_| | __/ (_| (_) \ V / 23:31:51 \_____\___/ \__,_|\___|\___\___/ \_/ 23:31:51 Bash-1.0.6 23:31:51 23:31:51 23:31:51 ==> git version 2.25.1 found 23:31:51 ==> 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:31:51 Release-Date: 2020-01-08 23:31:51 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:31:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:31:51 ==> Jenkins CI detected. 23:31:51 current dir:  /w/workspace/gexfoundry_device-sdk-go_jakarta 23:31:51 project root: . 23:31:51 --> token set from env 23:31:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:31:51 ==> Running gcov in . (disable via -X gcov) 23:31:51 ==> Python coveragepy not found 23:31:51 ==> Searching for coverage reports in: 23:31:51 + . 23:31:51 -> Found 1 reports 23:31:51 ==> Detecting git/mercurial file structure 23:31:51 ==> Reading reports 23:31:51 + ./coverage.out bytes=128641 23:31:51 ==> Appending adjustments 23:31:51 https://docs.codecov.io/docs/fixing-reports 23:31:52 + Found adjustments 23:31:52 ==> Gzipping contents 23:31:52 24K /tmp/codecov.KkiaL5.gz 23:31:52 ==> Uploading reports 23:31:52 url: https://codecov.io 23:31:52 query: branch=jakarta&commit=ba443a3625d4eef64e240836a867426dc0799199&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fjakarta%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:31:52 -> Pinging Codecov 23:31:52 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=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fjakarta%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:31:52 -> Uploading to 23:31:52 https://storage.googleapis.com/codecov/v4/raw/2022-06-02/7E55EF52A471D76F132DFD9A03CDDE97/ba443a3625d4eef64e240836a867426dc0799199/5ada496f-9b1c-4b19-b87d-77a22d7dcac3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220602T233152Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=609d25850c9aed65193a92244cb3913ee5a344b6d60d2834667b2306e7ea2ece 23:31:52 % Total % Received % Xferd Average Speed Time Time Time Current 23:31:52 Dload Upload Total Spent Left Speed 23:31:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23050 0 0 100 23050 0 101k --:--:-- --:--:-- --:--:-- 101k 23:31:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ba443a3625d4eef64e240836a867426dc0799199 [Pipeline] } 23:31:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:31:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:31:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:31:52 23:31:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:31:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:31:53 df9b9388f04a: Pulling fs layer 23:31:53 52dc419b0ee2: Pulling fs layer 23:31:53 25bc292e5bac: Pulling fs layer 23:31:53 114826534d7a: Pulling fs layer 23:31:53 4657fd5d0bcf: Pulling fs layer 23:31:53 6ad1cebc031e: Pulling fs layer 23:31:53 8a3aa393b2d8: Pulling fs layer 23:31:53 114826534d7a: Waiting 23:31:53 4657fd5d0bcf: Waiting 23:31:53 6ad1cebc031e: Waiting 23:31:53 8a3aa393b2d8: Waiting 23:31:53 25bc292e5bac: Verifying Checksum 23:31:53 25bc292e5bac: Download complete 23:31:53 52dc419b0ee2: Verifying Checksum 23:31:53 52dc419b0ee2: Download complete 23:31:53 4657fd5d0bcf: Verifying Checksum 23:31:53 4657fd5d0bcf: Download complete 23:31:53 df9b9388f04a: Download complete 23:31:53 df9b9388f04a: Pull complete 23:31:53 6ad1cebc031e: Verifying Checksum 23:31:53 6ad1cebc031e: Download complete 23:31:53 52dc419b0ee2: Pull complete 23:31:53 25bc292e5bac: Pull complete 23:31:54 114826534d7a: Verifying Checksum 23:31:54 114826534d7a: Download complete 23:31:54 8a3aa393b2d8: Verifying Checksum 23:31:54 8a3aa393b2d8: Download complete 23:31:57 114826534d7a: Pull complete 23:31:57 4657fd5d0bcf: Pull complete 23:31:57 6ad1cebc031e: Pull complete 23:32:01 8a3aa393b2d8: Pull complete 23:32:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:32:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:32:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:01 prd-ubuntu20.04-docker-8c-8g-723 does not seem to be running inside a container 23:32:01 $ 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:32:03 $ docker top 7fe725f270ed303c9cf127898286bb10fc33d6e2ef41b58ef998250c2263418d -eo pid,comm [Pipeline] { [Pipeline] echo 23:32:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 23:32:03 + set -o pipefail 23:32:03 + snyk monitor '--org=edgex-jenkins' 23:32:06 23:32:06 Monitoring /w/workspace/gexfoundry_device-sdk-go_jakarta (github.com/edgexfoundry/device-sdk-go/v2)... 23:32:06 23:32:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/ba377af3-36a8-4335-a1bd-36a721f94976/history/da5968c8-8074-4d83-876c-a294205fef0e 23:32:06 23:32:06 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:32:06 23:32:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:32:06 23:32:06 [Pipeline] } 23:32:06 $ docker stop --time=1 7fe725f270ed303c9cf127898286bb10fc33d6e2ef41b58ef998250c2263418d 23:32:08 $ docker rm -f 7fe725f270ed303c9cf127898286bb10fc33d6e2ef41b58ef998250c2263418d [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:32:08 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:32:08 provisioning config files... 23:32:08 copy managed file [swaggerhub-api-key] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config7748350724283734400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:32:08 --> edgex-publish-swagger.sh 23:32:08 === Publish openapi/v2 API === 23:32:08 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 23:32:08 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/gexfoundry_device-sdk-go_jakarta/openapi/v2/device-sdk.yaml] 23:32:08 % Total % Received % Xferd Average Speed Time Time Time Current 23:32:08 Dload Upload Total Spent Left Speed 23:32:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 76759 --:--:-- --:--:-- --:--:-- 76645 100 51659 0 0 100 51659 0 76759 --:--:-- --:--:-- --:--:-- 76645 23:32:09 23:32:09 [Pipeline] } 23:32:09 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:32:09 + git log --format=format:%s -1 ba443a3625d4eef64e240836a867426dc0799199 [Pipeline] sh 23:32:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:32:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:32:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:10 prd-ubuntu20.04-docker-8c-8g-723 does not seem to be running inside a container 23:32:10 $ 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:32:10 $ docker top b0ba25120e02bb4376c3a0847bce93fc4968b2c4031f4962b20a5b9fda36cfb5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:32:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:32:10 [ssh-agent] Looking for ssh-agent implementation... 23:32:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:32:10 $ docker exec b0ba25120e02bb4376c3a0847bce93fc4968b2c4031f4962b20a5b9fda36cfb5 ssh-agent 23:32:11 SSH_AUTH_SOCK=/tmp/ssh-4zTRM79y8nKC/agent.34 23:32:11 SSH_AGENT_PID=40 23:32:11 Running ssh-add (command line suppressed) 23:32:11 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_948929770554577250.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_948929770554577250.key) 23:32:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:32:11 + git semver tag 23:32:11 2022-06-02 23:32:11,640 [run_tag] DEBUG tag force:False 23:32:11 2022-06-02 23:32:11,641 [check_head_tag] DEBUG check head tag 23:32:11 2022-06-02 23:32:11,641 [execute] INFO git cat-file --batch-check 23:32:11 2022-06-02 23:32:11,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=) 23:32:11 2022-06-02 23:32:11,645 [execute] INFO git cat-file --batch 23:32:11 2022-06-02 23:32:11,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=) 23:32:11 2022-06-02 23:32:11,655 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 23:32:11 2022-06-02 23:32:11,655 [execute] INFO git tag -a v2.1.1-dev.4 -m v2.1.1-dev.4 23:32:11 2022-06-02 23:32:11,656 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.4', '-m', 'v2.1.1-dev.4'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=None) 23:32:11 2022-06-02 23:32:11,660 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 23:32:11 2.1.1-dev.4 [Pipeline] } 23:32:11 $ docker exec --env ******** --env ******** b0ba25120e02bb4376c3a0847bce93fc4968b2c4031f4962b20a5b9fda36cfb5 ssh-agent -k 23:32:11 unset SSH_AUTH_SOCK; 23:32:11 unset SSH_AGENT_PID; 23:32:11 echo Agent pid 40 killed; 23:32:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:32:12 + git semver [Pipeline] } 23:32:12 $ docker stop --time=1 b0ba25120e02bb4376c3a0847bce93fc4968b2c4031f4962b20a5b9fda36cfb5 23:32:13 $ docker rm -f b0ba25120e02bb4376c3a0847bce93fc4968b2c4031f4962b20a5b9fda36cfb5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:32:14 23:32:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:32:14 0.23.1-centos7: Pulling from edgex-lftools 23:32:14 ab5ef0e58194: Pulling fs layer 23:32:14 9712f1f96733: Pulling fs layer 23:32:14 63f879dbbcfc: Pulling fs layer 23:32:14 0d9ebad4ef96: Pulling fs layer 23:32:14 e9a5061849ea: Pulling fs layer 23:32:14 d747dcd14b5f: Pulling fs layer 23:32:14 2de7ff778b66: Pulling fs layer 23:32:14 0d9ebad4ef96: Waiting 23:32:14 e9a5061849ea: Waiting 23:32:14 d747dcd14b5f: Waiting 23:32:14 2de7ff778b66: Waiting 23:32:14 9712f1f96733: Verifying Checksum 23:32:14 9712f1f96733: Download complete 23:32:15 63f879dbbcfc: Verifying Checksum 23:32:15 63f879dbbcfc: Download complete 23:32:15 ab5ef0e58194: Verifying Checksum 23:32:15 ab5ef0e58194: Download complete 23:32:15 e9a5061849ea: Verifying Checksum 23:32:15 e9a5061849ea: Download complete 23:32:15 d747dcd14b5f: Verifying Checksum 23:32:15 d747dcd14b5f: Download complete 23:32:15 0d9ebad4ef96: Verifying Checksum 23:32:15 2de7ff778b66: Verifying Checksum 23:32:15 2de7ff778b66: Download complete 23:32:17 ab5ef0e58194: Pull complete 23:32:17 9712f1f96733: Pull complete 23:32:18 63f879dbbcfc: Pull complete 23:32:22 0d9ebad4ef96: Pull complete 23:32:22 e9a5061849ea: Pull complete 23:32:22 d747dcd14b5f: Pull complete 23:32:23 2de7ff778b66: Pull complete 23:32:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:32:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:32:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:23 prd-ubuntu20.04-docker-8c-8g-723 does not seem to be running inside a container 23:32:23 $ 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:32:25 $ docker top 3921434bcf02e5c5bfadd1fd1a6803904f6e0a69cdfa22fa2db86a0dc33a27d6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:32:25 provisioning config files... 23:32:25 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config4933963948782060067tmp 23:32:25 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config7910028063871022228tmp 23:32:25 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config3131898363320242167tmp [Pipeline] { [Pipeline] echo 23:32:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:32:25 ---> sigul-configuration.sh 23:32:25 gpg: directory `/root/.gnupg' created 23:32:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:32:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:32:25 gpg: keyring `/root/.gnupg/secring.gpg' created 23:32:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:32:25 gpg: CAST5 encrypted data 23:32:25 gpg: encrypted with 1 passphrase 23:32:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:32:26 + mkdir /home/jenkins 23:32:26 + mkdir /home/jenkins/sigul [Pipeline] sh 23:32:26 + 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:32:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:32:26 ---> sigul-install.sh 23:32:26 Sigul already installed; skipping installation. [Pipeline] sh 23:32:26 + git tag --list 23:32:26 0.7.1 23:32:26 delhi-tag 23:32:26 v1.0.0 23:32:26 v1.1.0 23:32:26 v1.1.1 23:32:26 v1.1.2 23:32:26 v1.2.0 23:32:26 v1.2.1 23:32:26 v1.2.2 23:32:26 v1.2.3 23:32:26 v1.3.0 23:32:26 v1.4.0 23:32:26 v2.0.0 23:32:26 v2.1.0 23:32:26 v2.1.1-dev.2 23:32:26 v2.1.1-dev.3 23:32:26 v2.1.1-dev.4 23:32:26 v2.2.0 23:32:26 v2.2.1-dev.1 23:32:26 v2.2.1-dev.2 23:32:26 v2.2.1-dev.3 [Pipeline] sh 23:32:27 + lftools sign git-tag v2.1.1-dev.4 23:32:27 Signing Git tag with Sigul... 23:32:27 Signing v2.1.1-dev.4 [Pipeline] echo 23:32:28 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:32:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:32:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:32:28 $ docker stop --time=1 3921434bcf02e5c5bfadd1fd1a6803904f6e0a69cdfa22fa2db86a0dc33a27d6 23:32:29 $ docker rm -f 3921434bcf02e5c5bfadd1fd1a6803904f6e0a69cdfa22fa2db86a0dc33a27d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:32:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:32:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:32:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:30 prd-ubuntu20.04-docker-8c-8g-723 does not seem to be running inside a container 23:32:30 $ 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:32:30 $ docker top 1aae9ac9753eb59ea96491332e2908920653ad6de0452841bc54414b035af7c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:32:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:32:30 [ssh-agent] Looking for ssh-agent implementation... 23:32:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:32:31 $ docker exec 1aae9ac9753eb59ea96491332e2908920653ad6de0452841bc54414b035af7c3 ssh-agent 23:32:31 SSH_AUTH_SOCK=/tmp/ssh-7s6fuaRCSzTj/agent.32 23:32:31 SSH_AGENT_PID=38 23:32:31 Running ssh-add (command line suppressed) 23:32:31 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_7299199070336763063.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_7299199070336763063.key) 23:32:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:32:31 + git semver bump pre 23:32:31 2022-06-02 23:32:31,824 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 23:32:31 2022-06-02 23:32:31,824 [bump_version] DEBUG bumping version:2.1.1-dev.4 on axis:pre with prefix:dev 23:32:31 2022-06-02 23:32:31,824 [bump_version] DEBUG bumped version:2.1.1-dev.5 23:32:31 2022-06-02 23:32:31,824 [write_version] DEBUG write version:2.1.1-dev.5 to path:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta with force:True 23:32:31 2022-06-02 23:32:31,824 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 23:32:31 2022-06-02 23:32:31,824 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 23:32:31 2022-06-02 23:32:31,826 [execute] INFO git cat-file --batch-check 23:32:31 2022-06-02 23:32:31,826 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 23:32:31 2022-06-02 23:32:31,831 [execute] INFO git cat-file --batch 23:32:31 2022-06-02 23:32:31,831 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 23:32:31 2022-06-02 23:32:31,837 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 23:32:31 2.1.1-dev.5 [Pipeline] } 23:32:31 $ docker exec --env ******** --env ******** 1aae9ac9753eb59ea96491332e2908920653ad6de0452841bc54414b035af7c3 ssh-agent -k 23:32:32 unset SSH_AUTH_SOCK; 23:32:32 unset SSH_AGENT_PID; 23:32:32 echo Agent pid 38 killed; 23:32:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:32:32 + git semver [Pipeline] } 23:32:32 $ docker stop --time=1 1aae9ac9753eb59ea96491332e2908920653ad6de0452841bc54414b035af7c3 23:32:33 $ docker rm -f 1aae9ac9753eb59ea96491332e2908920653ad6de0452841bc54414b035af7c3 [Pipeline] // withDockerContainer [Pipeline] sh 23:32:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:32:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:32:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:34 prd-ubuntu20.04-docker-8c-8g-723 does not seem to be running inside a container 23:32:34 $ 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:32:35 $ docker top a54376508be6d09bd90c57ff953dec6af3f718af20d1b788c5ab3cfa1c04e464 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:32:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:32:35 [ssh-agent] Looking for ssh-agent implementation... 23:32:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:32:35 $ docker exec a54376508be6d09bd90c57ff953dec6af3f718af20d1b788c5ab3cfa1c04e464 ssh-agent 23:32:35 SSH_AUTH_SOCK=/tmp/ssh-K9bVn4gNOfmB/agent.35 23:32:35 SSH_AGENT_PID=41 23:32:35 Running ssh-add (command line suppressed) 23:32:35 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_6273565252410359345.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_6273565252410359345.key) 23:32:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:32:35 + git semver push 23:32:36 2022-06-02 23:32:36,060 [run_push] DEBUG push 23:32:36 2022-06-02 23:32:36,061 [execute] INFO git push origin semver 23:32:36 2022-06-02 23:32:36,061 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 23:32:36 2022-06-02 23:32:36,492 [main] ERROR Cmd('git') failed due to: exit code(1) 23:32:36 cmdline: git push origin semver 23:32:36 stderr: 'Warning: Permanently added the ECDSA host key for IP address '140.82.112.4' to the list of known hosts. 23:32:36 To github.com:edgexfoundry/device-sdk-go.git 23:32:36 ! [rejected] semver -> semver (fetch first) 23:32:36 error: failed to push some refs to 'github.com:edgexfoundry/device-sdk-go.git' 23:32:36 hint: Updates were rejected because the remote contains work that you do 23:32:36 hint: not have locally. This is usually caused by another repository pushing 23:32:36 hint: to the same ref. You may want to first integrate the remote changes 23:32:36 hint: (e.g., 'git pull ...') before pushing again. 23:32:36 hint: See the 'Note about fast-forwards' in 'git push --help' for details.' 23:32:36 ERROR: Cmd('git') failed due to: exit code(1) 23:32:36 cmdline: git push origin semver 23:32:36 stderr: 'Warning: Permanently added the ECDSA host key for IP address '140.82.112.4' to the list of known hosts. 23:32:36 To github.com:edgexfoundry/device-sdk-go.git 23:32:36 ! [rejected] semver -> semver (fetch first) 23:32:36 error: failed to push some refs to 'github.com:edgexfoundry/device-sdk-go.git' 23:32:36 hint: Updates were rejected because the remote contains work that you do 23:32:36 hint: not have locally. This is usually caused by another repository pushing 23:32:36 hint: to the same ref. You may want to first integrate the remote changes 23:32:36 hint: (e.g., 'git pull ...') before pushing again. 23:32:36 hint: See the 'Note about fast-forwards' in 'git push --help' for details.' [Pipeline] } 23:32:36 $ docker exec --env ******** --env ******** a54376508be6d09bd90c57ff953dec6af3f718af20d1b788c5ab3cfa1c04e464 ssh-agent -k 23:32:36 unset SSH_AUTH_SOCK; 23:32:36 unset SSH_AGENT_PID; 23:32:36 echo Agent pid 41 killed; 23:32:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 23:32:36 $ docker stop --time=1 a54376508be6d09bd90c57ff953dec6af3f718af20d1b788c5ab3cfa1c04e464 23:32:38 $ docker rm -f a54376508be6d09bd90c57ff953dec6af3f718af20d1b788c5ab3cfa1c04e464 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to earlier failure(s) [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:32:38 + [ -d /w/workspace/gexfoundry_device-sdk-go_jakarta/archives ] 23:32:38 + ls -al /w/workspace/gexfoundry_device-sdk-go_jakarta/archives 23:32:38 total 16 23:32:38 drwxr-xr-x 3 root root 4096 Jun 2 23:23 . 23:32:38 drwxrwxr-x 13 jenkins jenkins 4096 Jun 2 23:32 .. 23:32:38 drwxr-xr-x 2 root root 4096 Jun 2 23:23 cost 23:32:38 -rw-r--r-- 1 root root 85 Jun 2 23:23 cost.csv 23:32:38 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_jakarta/archives 23:32:38 + ls -al /w/workspace/gexfoundry_device-sdk-go_jakarta/archives 23:32:38 total 16 23:32:38 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 23:23 . 23:32:38 drwxrwxr-x 13 jenkins jenkins 4096 Jun 2 23:32 .. 23:32:38 drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 23:23 cost 23:32:38 -rw-r--r-- 1 jenkins jenkins 85 Jun 2 23:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:32:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:32:39 ---> package-listing.sh 23:32:39 ++ facter osfamily 23:32:39 ++ tr '[:upper:]' '[:lower:]' 23:32:40 + OS_FAMILY=debian 23:32:40 + workspace=/w/workspace/gexfoundry_device-sdk-go_jakarta 23:32:40 + START_PACKAGES=/tmp/packages_start.txt 23:32:40 + END_PACKAGES=/tmp/packages_end.txt 23:32:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:32:40 + PACKAGES=/tmp/packages_start.txt 23:32:40 + '[' /w/workspace/gexfoundry_device-sdk-go_jakarta ']' 23:32:40 + PACKAGES=/tmp/packages_end.txt 23:32:40 + case "${OS_FAMILY}" in 23:32:40 + dpkg -l 23:32:40 + grep '^ii' 23:32:40 + '[' -f /tmp/packages_start.txt ']' 23:32:40 + '[' -f /tmp/packages_end.txt ']' 23:32:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:32:40 + '[' /w/workspace/gexfoundry_device-sdk-go_jakarta ']' 23:32:40 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/ 23:32:40 + 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:32:40 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:32:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:32:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:40 prd-ubuntu20.04-docker-8c-8g-723 does not seem to be running inside a container 23:32:41 $ 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:32:41 $ docker top d53a810a5a78c5f7096c2650e84b25b24f87a2b02001b78870c8dfa069d24d4a -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:41 + touch /tmp/pre-build-complete [Pipeline] sh 23:32:41 + mkdir -p /var/log/sysstat [Pipeline] sh 23:32:42 + ls /var/log/sa-host 23:32:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:32:42 provisioning config files... 23:32:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config6089440922305442187tmp [Pipeline] { [Pipeline] echo 23:32:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:32:42 ---> create-netrc.sh [Pipeline] } 23:32:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:32:42 ---> python-tools-install.sh [Pipeline] echo 23:32:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:32:43 ---> sudo-logs.sh 23:32:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:32:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:32:43 ---> job-cost.sh 23:32:43 lf-activate-venv: SKIPPING 23:32:43 DEBUG: total: 0.2199999988079071 23:32:43 INFO: Retrieving Stack Cost... 23:32:44 INFO: Retrieving Pricing Info for: v3-standard-8 23:32:44 INFO: Archiving Costs [Pipeline] echo 23:32:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:32:44 ---> logs-deploy.sh 23:32:44 lf-activate-venv: SKIPPING 23:32:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/jakarta/8 23:32:44 INFO: archiving workspace using pattern(s): 23:32:45 Archives upload complete. 23:32:45 INFO: archiving logs to Nexus