Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f 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-ssh2307573460039976549.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9985563576836139413.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5628750122718529906.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5635901556622418116.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17734691485816939128.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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-46039 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f (main) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-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 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f # timeout=10 Commit message: "Merge pull request #378 from jpwhitemn/kamakura-rls-notes" > git rev-list --no-walk 9e5ff16ea29b888a79edc386c2a8af4882824547 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:34:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:34:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:34:03 ========================================================= 07:34:03 EdgeX Global Pipelines Version Info 07:34:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:34:03 ------------------- 07:34:03 stable info: 07:34:03 ------------------- 07:34:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:34:03 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 07:34:03 Message: update stable to v1.0.227 07:34:04 ------------------- 07:34:04 experimental info: 07:34:04 ------------------- 07:34:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:34:04 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 07:34:04 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab5f304 [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:34:04 provisioning config files... 07:34:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4729299194476195750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:34:05 ---> docker-login.sh 07:34:05 nexus3.edgexfoundry.org:10001 07:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:05 Configure a credential helper to remove this warning. See 07:34:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:05 07:34:05 Login Succeeded 07:34:05 nexus3.edgexfoundry.org:10002 07:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:05 Configure a credential helper to remove this warning. See 07:34:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:05 07:34:05 Login Succeeded 07:34:05 nexus3.edgexfoundry.org:10003 07:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:05 Configure a credential helper to remove this warning. See 07:34:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:05 07:34:05 Login Succeeded 07:34:05 nexus3.edgexfoundry.org:10004 07:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:06 Configure a credential helper to remove this warning. See 07:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:06 07:34:06 Login Succeeded 07:34:06 docker.io 07:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:06 Configure a credential helper to remove this warning. See 07:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:06 07:34:06 Login Succeeded 07:34:06 ---> docker-login.sh ends [Pipeline] } 07:34:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:34:07 + git rev-list -1 --merges ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f~1..ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [Pipeline] echo 07:34:07 -----------> git rev-list -1 --merges ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f~1..ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f 07:34:07 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [false] [Pipeline] sh 07:34:07 + git log --format=format:%s -1 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [Pipeline] echo 07:34:07 ========================================================= 07:34:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:34:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:34:07 + git log --format=format:%s -1 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [Pipeline] echo 07:34:07 [semverPrep] GIT_COMMIT: ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f, Commit Message: Merge pull request #378 from jpwhitemn/kamakura-rls-notes [Pipeline] echo 07:34:07 [semverPrep] This is not a build commit. [Pipeline] sh 07:34:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:34:08 + grep -v github /etc/ssh/ssh_known_hosts 07:34:08 + [ -e /tmp/ssh_known_hosts ] 07:34:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:34:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:34:08 + sudo tee -a /etc/ssh/ssh_known_hosts 07:34:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:34:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:34:08 07:34:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:34:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:34:08 latest: Pulling from edgex-devops/py-git-semver 07:34:08 1fe172e4850f: Pulling fs layer 07:34:08 caf521ccaac6: Pulling fs layer 07:34:08 3ead6fa29328: Pulling fs layer 07:34:08 5c2a1cbceb83: Pulling fs layer 07:34:08 a8d5f1318db7: Pulling fs layer 07:34:08 c427282e49a2: Pulling fs layer 07:34:08 1827001aaf11: Pulling fs layer 07:34:08 0714d37db230: Pulling fs layer 07:34:08 ac28cf19c067: Pulling fs layer 07:34:08 ca983d60f3e2: Pulling fs layer 07:34:08 9f894cec8388: Pulling fs layer 07:34:08 a8d5f1318db7: Waiting 07:34:08 c427282e49a2: Waiting 07:34:08 1827001aaf11: Waiting 07:34:08 0714d37db230: Waiting 07:34:08 ac28cf19c067: Waiting 07:34:08 ca983d60f3e2: Waiting 07:34:08 9f894cec8388: Waiting 07:34:08 5c2a1cbceb83: Waiting 07:34:08 caf521ccaac6: Download complete 07:34:08 5c2a1cbceb83: Verifying Checksum 07:34:08 5c2a1cbceb83: Download complete 07:34:09 3ead6fa29328: Verifying Checksum 07:34:09 3ead6fa29328: Download complete 07:34:09 c427282e49a2: Verifying Checksum 07:34:09 c427282e49a2: Download complete 07:34:09 a8d5f1318db7: Verifying Checksum 07:34:09 a8d5f1318db7: Download complete 07:34:09 0714d37db230: Verifying Checksum 07:34:09 0714d37db230: Download complete 07:34:09 ac28cf19c067: Verifying Checksum 07:34:09 ac28cf19c067: Download complete 07:34:09 ca983d60f3e2: Verifying Checksum 07:34:09 ca983d60f3e2: Download complete 07:34:09 9f894cec8388: Download complete 07:34:09 1fe172e4850f: Verifying Checksum 07:34:09 1fe172e4850f: Download complete 07:34:09 1827001aaf11: Verifying Checksum 07:34:09 1827001aaf11: Download complete 07:34:10 1fe172e4850f: Pull complete 07:34:10 caf521ccaac6: Pull complete 07:34:11 3ead6fa29328: Pull complete 07:34:11 5c2a1cbceb83: Pull complete 07:34:11 a8d5f1318db7: Pull complete 07:34:11 c427282e49a2: Pull complete 07:34:13 1827001aaf11: Pull complete 07:34:13 0714d37db230: Pull complete 07:34:14 ac28cf19c067: Pull complete 07:34:14 ca983d60f3e2: Pull complete 07:34:14 9f894cec8388: Pull complete 07:34:14 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 07:34:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:34:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 07:34:14 prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container 07:34:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 07:34:16 $ docker top 792539cfaf2fa6b3c30275ebf1f9be3fd4d11c3e1eb77274f7cf565dad062d91 -eo pid,comm 07:34:16 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). 07:34:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:34:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:34:16 [ssh-agent] Looking for ssh-agent implementation... 07:34:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:34:16 $ docker exec 792539cfaf2fa6b3c30275ebf1f9be3fd4d11c3e1eb77274f7cf565dad062d91 ssh-agent 07:34:16 SSH_AUTH_SOCK=/tmp/ssh-H1WNLwPjFaUP/agent.32 07:34:16 SSH_AGENT_PID=39 07:34:16 Running ssh-add (command line suppressed) 07:34:16 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2683222602140357664.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2683222602140357664.key) 07:34:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:34:17 + git tag --points-at HEAD [Pipeline] } 07:34:17 $ docker exec --env ******** --env ******** 792539cfaf2fa6b3c30275ebf1f9be3fd4d11c3e1eb77274f7cf565dad062d91 ssh-agent -k 07:34:17 unset SSH_AUTH_SOCK; 07:34:17 unset SSH_AGENT_PID; 07:34:17 echo Agent pid 39 killed; 07:34:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:34:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:34:17 [ssh-agent] Looking for ssh-agent implementation... 07:34:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:34:17 $ docker exec 792539cfaf2fa6b3c30275ebf1f9be3fd4d11c3e1eb77274f7cf565dad062d91 ssh-agent 07:34:17 SSH_AUTH_SOCK=/tmp/ssh-7DCaOJF2olKn/agent.73 07:34:17 SSH_AGENT_PID=79 07:34:17 Running ssh-add (command line suppressed) 07:34:17 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6724711402667154798.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6724711402667154798.key) 07:34:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:34:18 + git semver init 07:34:18 2022-05-10 07:34:18,352 [run_init] DEBUG init version:0.0.0 force:False 07:34:18 2022-05-10 07:34:18,352 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 07:34:18 2022-05-10 07:34:18,353 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 07:34:18 2022-05-10 07:34:18,353 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 07:34:19 2022-05-10 07:34:19,185 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 07:34:19 2022-05-10 07:34:19,185 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 07:34:19 2022-05-10 07:34:19,185 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:34:19 2022-05-10 07:34:19,185 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:34:19 2.2.0-dev.21 [Pipeline] } 07:34:19 $ docker exec --env ******** --env ******** 792539cfaf2fa6b3c30275ebf1f9be3fd4d11c3e1eb77274f7cf565dad062d91 ssh-agent -k 07:34:19 unset SSH_AUTH_SOCK; 07:34:19 unset SSH_AGENT_PID; 07:34:19 echo Agent pid 79 killed; 07:34:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:34:19 + git semver [Pipeline] } 07:34:20 $ docker stop --time=1 792539cfaf2fa6b3c30275ebf1f9be3fd4d11c3e1eb77274f7cf565dad062d91 07:34:21 $ docker rm -f 792539cfaf2fa6b3c30275ebf1f9be3fd4d11c3e1eb77274f7cf565dad062d91 [Pipeline] // withDockerContainer [Pipeline] sh 07:34:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:34:22 Stashed 1 file(s) [Pipeline] echo 07:34:22 [edgeXSemver]: initialized semver on version 2.2.0-dev.21 [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 07:34:22 provisioning config files... 07:34:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5460477496740285794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:34:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-45843 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 07:34:22 Running in /w/workspace/device-mqtt-go/43 [Pipeline] { [Pipeline] checkout 07:34:22 ---> docker-login.sh 07:34:22 nexus3.edgexfoundry.org:10001 07:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:22 Configure a credential helper to remove this warning. See 07:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:22 07:34:22 Login Succeeded 07:34:22 nexus3.edgexfoundry.org:10002 07:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:22 Selected Git installation does not exist. Using Default 07:34:22 The recommended git tool is: NONE 07:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:22 Configure a credential helper to remove this warning. See 07:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:22 07:34:22 Login Succeeded 07:34:22 nexus3.edgexfoundry.org:10003 07:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:22 Configure a credential helper to remove this warning. See 07:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:22 07:34:22 Login Succeeded 07:34:22 nexus3.edgexfoundry.org:10004 07:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:23 Configure a credential helper to remove this warning. See 07:34:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:23 07:34:23 Login Succeeded 07:34:23 docker.io 07:34:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:23 Configure a credential helper to remove this warning. See 07:34:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:23 07:34:23 Login Succeeded 07:34:23 ---> docker-login.sh ends [Pipeline] } 07:34:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:34:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:34:23 ========================================================= 07:34:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:34:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:34:23 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 07:34:23 Sending build context to Docker daemon 5.863MB 07:34:23 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 07:34:23 Step 2/12 : FROM ${BASE} AS builder 07:34:23 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:34:23 59bf1c3509f3: Pulling fs layer 07:34:23 666ba61612fd: Pulling fs layer 07:34:23 8ed8ca486205: Pulling fs layer 07:34:23 4fe6c5a15a65: Pulling fs layer 07:34:23 22a0e8bec74d: Pulling fs layer 07:34:23 ca2b28591e48: Pulling fs layer 07:34:23 a51346096db8: Pulling fs layer 07:34:23 daebc70d1ce1: Pulling fs layer 07:34:23 0e18a0eac166: Pulling fs layer 07:34:23 22a0e8bec74d: Waiting 07:34:23 ca2b28591e48: Waiting 07:34:23 a51346096db8: Waiting 07:34:23 daebc70d1ce1: Waiting 07:34:23 0e18a0eac166: Waiting 07:34:23 4fe6c5a15a65: Waiting 07:34:23 8ed8ca486205: Verifying Checksum 07:34:23 8ed8ca486205: Download complete 07:34:23 666ba61612fd: Download complete 07:34:23 22a0e8bec74d: Download complete 07:34:23 ca2b28591e48: Verifying Checksum 07:34:23 ca2b28591e48: Download complete 07:34:23 a51346096db8: Verifying Checksum 07:34:23 a51346096db8: Download complete 07:34:23 59bf1c3509f3: Verifying Checksum 07:34:23 59bf1c3509f3: Download complete 07:34:23 daebc70d1ce1: Verifying Checksum 07:34:23 daebc70d1ce1: Download complete 07:34:23 59bf1c3509f3: Pull complete 07:34:24 666ba61612fd: Pull complete 07:34:24 8ed8ca486205: Pull complete 07:34:24 0e18a0eac166: Verifying Checksum 07:34:24 0e18a0eac166: Download complete 07:34:24 4fe6c5a15a65: Verifying Checksum 07:34:24 4fe6c5a15a65: Download complete 07:34:27 using credential edgex-jenkins-ssh 07:34:27 Cloning the remote Git repository 07:34:27 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 07:34:27 > git init /w/workspace/device-mqtt-go/43 # timeout=10 07:34:27 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:34:27 > git --version # timeout=10 07:34:27 > git --version # 'git version 2.25.1' 07:34:27 using GIT_SSH to set credentials SSH Credentials for GitHub 07:34:28 Avoid second fetch 07:34:28 Checking out Revision ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f (main) 07:34:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:34:28 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:34:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:34:28 > git config core.sparsecheckout # timeout=10 07:34:28 > git checkout -f ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f # timeout=10 07:34:28 4fe6c5a15a65: Pull complete 07:34:28 22a0e8bec74d: Pull complete 07:34:28 ca2b28591e48: Pull complete 07:34:28 a51346096db8: Pull complete 07:34:28 daebc70d1ce1: Pull complete 07:34:30 0e18a0eac166: Pull complete 07:34:30 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 07:34:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:34:30 ---> f018257e8ee9 07:34:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:34:32 Commit message: "Merge pull request #378 from jpwhitemn/kamakura-rls-notes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:34:33 ---> Running in 57eb87ea6d5b 07:34:33 Removing intermediate container 57eb87ea6d5b 07:34:33 ---> 84aaf7ce9c3c 07:34:33 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:34:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:34:33 % Total % Received % Xferd Average Speed Time Time Time Current 07:34:33 Dload Upload Total Spent Left Speed 07:34:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89045 0 --:--:-- --:--:-- --:--:-- 88380 100 11843 100 11843 0 0 88380 0 --:--:-- --:--:-- --:--:-- 87725 07:34:33 ---> Running in d49298bc30cd 07:34:33 Removing intermediate container d49298bc30cd 07:34:33 ---> fc2e66091f74 07:34:33 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] sh 07:34:34 ---> Running in c125bffa9651 07:34:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:34:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:34:34 + sudo tee /etc/docker/daemon.new 07:34:34 { 07:34:34 "registry-mirrors": [ 07:34:34 "https://nexus3.edgexfoundry.org:10001" 07:34:34 ], 07:34:34 "bip": "10.250.0.254/24", 07:34:34 "hosts": [ 07:34:34 "tcp://0.0.0.0:5555", 07:34:34 "unix:///var/run/docker.sock" 07:34:34 ], 07:34:34 "mtu": 1458, 07:34:34 "selinux-enabled": true, 07:34:34 "seccomp-profile": "/etc/docker/seccomp.json" 07:34:34 } [Pipeline] sh 07:34:34 Removing intermediate container c125bffa9651 07:34:34 ---> 4b064a02d575 07:34:34 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:34:34 ---> Running in 67fa2b0ce725 07:34:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:34:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:34:35 + sudo service docker restart 07:34:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:34:36 (1/4) Installing openssh-keygen (8.8_p1-r1) 07:34:36 (2/4) Installing libedit (20210910.3.1-r0) 07:34:36 (3/4) Installing openssh-client-common (8.8_p1-r1) 07:34:36 (4/4) Installing openssh-client-default (8.8_p1-r1) 07:34:36 Executing busybox-1.34.1-r3.trigger 07:34:36 OK: 224 MiB in 56 packages 07:34:37 Removing intermediate container 67fa2b0ce725 07:34:37 ---> 429f88c3f858 07:34:37 Step 7/12 : WORKDIR /device-mqtt-go 07:34:37 ---> Running in 79834318cd8b 07:34:37 Removing intermediate container 79834318cd8b 07:34:37 ---> 4677188af095 07:34:37 Step 8/12 : COPY go.mod vendor* ./ 07:34:37 ---> 2848ccdab048 07:34:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:34:37 ---> Running in 68925aa1c52d 07:34:52 Removing intermediate container 68925aa1c52d 07:34:52 ---> f4e9d08a7bc5 07:34:52 Step 10/12 : COPY . . 07:34:52 ---> 3aba3c68f041 07:34:52 Step 11/12 : ARG MAKE='make build' 07:34:52 ---> Running in fe97cac71645 07:34:52 Removing intermediate container fe97cac71645 07:34:52 ---> f90a950d35df 07:34:52 Step 12/12 : RUN $MAKE 07:34:52 ---> Running in 58c340c14805 07:34:52 noop 07:34:53 Removing intermediate container 58c340c14805 07:34:53 ---> 0cf44780bb8b 07:34:53 Successfully built 0cf44780bb8b 07:34:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:34:53 + docker inspect -f . ci-base-image-x86_64 07:34:53 . [Pipeline] withDockerContainer 07:34:53 prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container 07:34:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:34:53 $ docker top 05a97b0096a7c0e7a4958272d91501ab67372c989358d628bf33386d0c2f3fe2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] configFileProvider 07:34:53 provisioning config files... 07:34:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/43@tmp/config569846638810741709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:34:54 + go version 07:34:54 go version go1.17.6 linux/amd64 [Pipeline] } 07:34:54 $ docker stop --time=1 05a97b0096a7c0e7a4958272d91501ab67372c989358d628bf33386d0c2f3fe2 07:34:54 ---> docker-login.sh 07:34:54 nexus3.edgexfoundry.org:10001 07:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:55 Configure a credential helper to remove this warning. See 07:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:55 07:34:55 Login Succeeded 07:34:55 nexus3.edgexfoundry.org:10002 07:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:55 $ docker rm -f 05a97b0096a7c0e7a4958272d91501ab67372c989358d628bf33386d0c2f3fe2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:55 Configure a credential helper to remove this warning. See 07:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:55 07:34:55 Login Succeeded 07:34:55 nexus3.edgexfoundry.org:10003 07:34:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:56 + docker inspect -f . ci-base-image-x86_64 07:34:56 . [Pipeline] withDockerContainer 07:34:56 prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container 07:34:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:34:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:56 Configure a credential helper to remove this warning. See 07:34:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:56 07:34:56 Login Succeeded 07:34:56 nexus3.edgexfoundry.org:10004 07:34:56 $ docker top 5688eed5d8517d780dddd22df1d37b89cf42ab034631bf0de8871d6fcdbebe18 -eo pid,comm 07:34:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:34:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:56 Configure a credential helper to remove this warning. See 07:34:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:56 07:34:56 Login Succeeded 07:34:56 docker.io 07:34:56 + make test 07:34:56 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:57 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:57 Configure a credential helper to remove this warning. See 07:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:57 07:34:57 Login Succeeded 07:34:57 ---> docker-login.sh ends [Pipeline] } 07:34:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:34:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:34:57 ========================================================= 07:34:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 07:34:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:34:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 07:34:58 Sending build context to Docker daemon 3.041MB 07:34:58 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 07:34:58 Step 2/12 : FROM ${BASE} AS builder 07:34:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:34:58 9b3977197b4f: Pulling fs layer 07:34:58 1a89e8eeedd5: Pulling fs layer 07:34:58 94645a83ff95: Pulling fs layer 07:34:58 3f3a8bcf1eab: Pulling fs layer 07:34:58 0c92f367c5e7: Pulling fs layer 07:34:58 3096ccb668a1: Pulling fs layer 07:34:58 e8cf19c19ddd: Pulling fs layer 07:34:58 a4caa8a26152: Pulling fs layer 07:34:58 0c92f367c5e7: Waiting 07:34:58 3096ccb668a1: Waiting 07:34:58 e8cf19c19ddd: Waiting 07:34:58 a4caa8a26152: Waiting 07:34:58 3f3a8bcf1eab: Waiting 07:34:58 94645a83ff95: Verifying Checksum 07:34:58 94645a83ff95: Download complete 07:34:58 1a89e8eeedd5: Download complete 07:34:58 0c92f367c5e7: Verifying Checksum 07:34:58 0c92f367c5e7: Download complete 07:34:58 3096ccb668a1: Verifying Checksum 07:34:58 3096ccb668a1: Download complete 07:34:58 9b3977197b4f: Download complete 07:34:59 e8cf19c19ddd: Verifying Checksum 07:34:59 e8cf19c19ddd: Download complete 07:34:59 9b3977197b4f: Pull complete 07:35:00 1a89e8eeedd5: Pull complete 07:35:00 94645a83ff95: Pull complete 07:35:01 a4caa8a26152: Verifying Checksum 07:35:01 a4caa8a26152: Download complete 07:35:01 3f3a8bcf1eab: Verifying Checksum 07:35:01 3f3a8bcf1eab: Download complete 07:35:07 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 07:35:07 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 07:35:07 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:35:14 3f3a8bcf1eab: Pull complete 07:35:14 0c92f367c5e7: Pull complete 07:35:14 3096ccb668a1: Pull complete 07:35:14 e8cf19c19ddd: Pull complete 07:35:15 GCO_ENABLED=1 GO111MODULE=on go vet ./... 07:35:18 a4caa8a26152: Pull complete 07:35:18 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 07:35:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:35:18 ---> 725f1c02e7f9 07:35:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:35:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:35:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:35:19 ./bin/test-attribution-txt.sh [Pipeline] echo 07:35:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:35:19 $ docker stop --time=1 5688eed5d8517d780dddd22df1d37b89cf42ab034631bf0de8871d6fcdbebe18 07:35:20 ---> Running in 1b803c18dd95 07:35:20 Removing intermediate container 1b803c18dd95 07:35:20 ---> e5900f4ec73e 07:35:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:35:20 ---> Running in 7637dd3aa336 07:35:20 Removing intermediate container 7637dd3aa336 07:35:20 ---> 8c59112e6740 07:35:20 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:35:21 ---> Running in 76da1b4b95f2 07:35:21 $ docker rm -f 5688eed5d8517d780dddd22df1d37b89cf42ab034631bf0de8871d6fcdbebe18 [Pipeline] // withDockerContainer [Pipeline] sh 07:35:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:35:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:35:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:35:22 + ls -al . 07:35:22 total 180 07:35:22 drwxrwxr-x 10 jenkins jenkins 4096 May 10 07:35 . 07:35:22 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:33 .. 07:35:22 -rw-rw-r-- 1 jenkins jenkins 140 May 10 07:33 .dockerignore 07:35:22 drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:34 .git 07:35:22 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:33 .github 07:35:22 -rw-rw-r-- 1 jenkins jenkins 329 May 10 07:33 .gitignore 07:35:22 -rw-rw-r-- 1 jenkins jenkins 41 May 10 07:33 .golangci.yml 07:35:22 drwxr-xr-x 3 jenkins jenkins 4096 May 10 07:34 .semver 07:35:22 -rw-rw-r-- 1 jenkins jenkins 8656 May 10 07:33 Attribution.txt 07:35:22 -rw-rw-r-- 1 jenkins jenkins 11365 May 10 07:33 CHANGELOG.md 07:35:22 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 07:33 Dockerfile 07:35:22 -rw-rw-r-- 1 jenkins jenkins 677 May 10 07:33 GOVERNANCE.md 07:35:22 -rw-rw-r-- 1 jenkins jenkins 678 May 10 07:33 Jenkinsfile 07:35:22 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 07:33 LICENSE 07:35:22 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 07:33 Makefile 07:35:22 -rw-rw-r-- 1 jenkins jenkins 620 May 10 07:33 OWNERS.md 07:35:22 -rw-rw-r-- 1 jenkins jenkins 2501 May 10 07:33 README.md 07:35:22 -rw-rw-r-- 1 jenkins jenkins 12 May 10 07:34 VERSION 07:35:22 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:33 bin 07:35:22 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:33 cmd 07:35:22 -rw-r--r-- 1 jenkins jenkins 17887 May 10 07:35 coverage.out 07:35:22 -rw-rw-r-- 1 jenkins jenkins 3309 May 10 07:33 go.mod 07:35:22 -rw-rw-r-- 1 jenkins jenkins 35490 May 10 07:33 go.sum 07:35:22 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:33 internal 07:35:22 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:33 mock 07:35:22 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:33 snap 07:35:22 -rw-rw-r-- 1 jenkins jenkins 227 May 10 07:33 version.go [Pipeline] isUnix [Pipeline] sh 07:35:22 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f --label arch=amd64 --label version=2.2.0-dev.21 . 07:35:22 Sending build context to Docker daemon 5.881MB 07:35:22 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 07:35:22 Step 2/24 : FROM ${BASE} AS builder 07:35:22 ---> 0cf44780bb8b 07:35:22 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:35:22 ---> Running in 4cd1b5fe8397 07:35:23 Removing intermediate container 76da1b4b95f2 07:35:23 ---> 3ef5cfa9fd7c 07:35:23 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:35:23 ---> Running in 6c8758f62b94 07:35:23 Removing intermediate container 4cd1b5fe8397 07:35:23 ---> 69683a415043 07:35:23 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 07:35:23 ---> Running in d9c5f413a558 07:35:23 Removing intermediate container d9c5f413a558 07:35:23 ---> d2c860795e74 07:35:23 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:35:23 ---> Running in f411297f458e 07:35:23 Removing intermediate container f411297f458e 07:35:23 ---> 3000dd570f59 07:35:23 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:35:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:35:24 ---> Running in 9cadd35e9288 07:35:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:35:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:35:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:35:25 OK: 224 MiB in 56 packages 07:35:25 (1/4) Installing openssh-keygen (8.8_p1-r1) 07:35:25 (2/4) Installing libedit (20210910.3.1-r0) 07:35:25 Removing intermediate container 9cadd35e9288 07:35:25 ---> 4b39182f7b24 07:35:25 Step 7/24 : WORKDIR /device-mqtt-go 07:35:25 ---> Running in 08acdd67fb90 07:35:25 Removing intermediate container 08acdd67fb90 07:35:25 ---> b124372d0271 07:35:25 Step 8/24 : COPY go.mod vendor* ./ 07:35:25 ---> 3fdcd992cf96 07:35:25 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:35:25 (3/4) Installing openssh-client-common (8.8_p1-r1) 07:35:25 (4/4) Installing openssh-client-default (8.8_p1-r1) 07:35:26 ---> Running in 98d330808dda 07:35:26 Executing busybox-1.34.1-r3.trigger 07:35:26 OK: 224 MiB in 56 packages 07:35:26 Removing intermediate container 98d330808dda 07:35:26 ---> a55451bbb4ab 07:35:26 Step 10/24 : COPY . . 07:35:26 ---> 15507cfe05ab 07:35:26 Step 11/24 : ARG MAKE='make build' 07:35:26 ---> Running in 821467bf8253 07:35:27 Removing intermediate container 6c8758f62b94 07:35:27 ---> a7d363af0802 07:35:27 Step 7/12 : WORKDIR /device-mqtt-go 07:35:27 ---> Running in e25432974f4a 07:35:27 Removing intermediate container 821467bf8253 07:35:27 ---> 9afa2d9d67ba 07:35:27 Step 12/24 : RUN $MAKE 07:35:27 ---> Running in 88ffbc76d1cf 07:35:27 Removing intermediate container e25432974f4a 07:35:27 ---> 5e1166ee8d8f 07:35:27 Step 8/12 : COPY go.mod vendor* ./ 07:35:27 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.21" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 07:35:27 ---> d314d3461c6f 07:35:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:35:27 ---> Running in e5cfd0895d9e 07:35:49 Removing intermediate container 88ffbc76d1cf 07:35:49 ---> a38fc52682b3 07:35:49 Step 13/24 : FROM alpine:3.14 07:35:49 3.14: Pulling from library/alpine 07:35:49 8663204ce13b: Pulling fs layer 07:35:49 8663204ce13b: Verifying Checksum 07:35:49 8663204ce13b: Download complete 07:35:49 8663204ce13b: Pull complete 07:35:49 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 07:35:49 Status: Downloaded newer image for alpine:3.14 07:35:49 ---> e04c818066af 07:35:49 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 07:35:49 ---> Running in 615a4bc64980 07:35:49 Removing intermediate container 615a4bc64980 07:35:49 ---> 1ae3afb1d1e3 07:35:49 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 07:35:49 ---> Running in 33618a141a84 07:35:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:35:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:35:49 (1/6) Installing dumb-init (1.2.5-r1) 07:35:49 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:35:49 (3/6) Installing libsodium (1.0.18-r0) 07:35:49 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:35:49 (5/6) Installing libzmq (4.3.4-r0) 07:35:49 (6/6) Installing zeromq (4.3.4-r0) 07:35:49 Executing busybox-1.33.1-r7.trigger 07:35:49 OK: 8 MiB in 20 packages 07:35:49 Removing intermediate container 33618a141a84 07:35:49 ---> 376f126dd81c 07:35:49 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 07:35:49 ---> 0f5f23cc544f 07:35:49 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 07:35:49 ---> 86b509923679 07:35:49 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:35:49 ---> 3cc9cf63e9a9 07:35:49 Step 19/24 : EXPOSE 59982 07:35:49 ---> Running in d354a82c4770 07:35:49 Removing intermediate container d354a82c4770 07:35:49 ---> d6ef445e04c2 07:35:49 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 07:35:49 ---> Running in 7861f38844e3 07:35:49 Removing intermediate container 7861f38844e3 07:35:49 ---> db9d3f28da3a 07:35:49 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:35:49 ---> Running in c51034f808eb 07:35:49 Removing intermediate container c51034f808eb 07:35:49 ---> f3d624144f21 07:35:49 Step 22/24 : LABEL arch=amd64 07:35:49 ---> Running in 20d9d932cf62 07:35:49 Removing intermediate container 20d9d932cf62 07:35:49 ---> 325ec549397e 07:35:49 Step 23/24 : LABEL git_sha=ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f 07:35:49 ---> Running in 17cc98021ec8 07:35:49 Removing intermediate container 17cc98021ec8 07:35:49 ---> 0c45b1e437c9 07:35:49 Step 24/24 : LABEL version=2.2.0-dev.21 07:35:50 ---> Running in c4989f8f1ee5 07:35:50 Removing intermediate container c4989f8f1ee5 07:35:50 ---> 329b1257edd9 07:35:50 [Warning] One or more build-args [ARCH] were not consumed 07:35:50 Successfully built 329b1257edd9 07:35:50 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:35:50 provisioning config files... 07:35:50 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7465067304858344298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:50 ---> docker-login.sh 07:35:50 nexus3.edgexfoundry.org:10001 07:35:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:50 Configure a credential helper to remove this warning. See 07:35:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:50 07:35:50 Login Succeeded 07:35:50 nexus3.edgexfoundry.org:10002 07:35:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:50 Configure a credential helper to remove this warning. See 07:35:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:50 07:35:50 Login Succeeded 07:35:50 nexus3.edgexfoundry.org:10003 07:35:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:50 Configure a credential helper to remove this warning. See 07:35:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:50 07:35:50 Login Succeeded 07:35:50 nexus3.edgexfoundry.org:10004 07:35:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:51 Configure a credential helper to remove this warning. See 07:35:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:51 07:35:51 Login Succeeded 07:35:51 docker.io 07:35:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:51 Configure a credential helper to remove this warning. See 07:35:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:51 07:35:51 Login Succeeded 07:35:51 ---> docker-login.sh ends [Pipeline] } 07:35:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:35:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:35:51 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 07:35:51 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f 07:35:51 latest 07:35:51 2.2.0-dev.21 07:35:51 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21 07:35:51 main 07:35:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:35:51 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [Pipeline] isUnix [Pipeline] sh 07:35:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f 07:35:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:35:52 cb176e78fd55: Preparing 07:35:52 a7c46461876d: Preparing 07:35:52 d36e100d8e9a: Preparing 07:35:52 483862dedd4d: Preparing 07:35:52 b541d28bf3b4: Preparing 07:35:52 b541d28bf3b4: Layer already exists 07:35:52 cb176e78fd55: Pushed 07:35:52 a7c46461876d: Pushed 07:35:52 483862dedd4d: Pushed 07:35:55 d36e100d8e9a: Pushed 07:35:55 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f: digest: sha256:85e20c864562c82af34b1761b51061690efc03484a2614f670a942776e0f42a9 size: 1367 [Pipeline] isUnix [Pipeline] sh 07:35:55 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 07:35:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 07:35:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:35:56 cb176e78fd55: Preparing 07:35:56 a7c46461876d: Preparing 07:35:56 d36e100d8e9a: Preparing 07:35:56 483862dedd4d: Preparing 07:35:56 b541d28bf3b4: Preparing 07:35:56 483862dedd4d: Layer already exists 07:35:56 d36e100d8e9a: Layer already exists 07:35:56 a7c46461876d: Layer already exists 07:35:56 b541d28bf3b4: Layer already exists 07:35:56 cb176e78fd55: Layer already exists 07:35:56 latest: digest: sha256:85e20c864562c82af34b1761b51061690efc03484a2614f670a942776e0f42a9 size: 1367 [Pipeline] isUnix [Pipeline] sh 07:35:56 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.21 [Pipeline] isUnix [Pipeline] sh 07:35:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.21 07:35:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:35:56 cb176e78fd55: Preparing 07:35:56 a7c46461876d: Preparing 07:35:56 d36e100d8e9a: Preparing 07:35:56 483862dedd4d: Preparing 07:35:56 b541d28bf3b4: Preparing 07:35:56 b541d28bf3b4: Layer already exists 07:35:56 cb176e78fd55: Layer already exists 07:35:56 a7c46461876d: Layer already exists 07:35:56 483862dedd4d: Layer already exists 07:35:56 d36e100d8e9a: Layer already exists 07:35:56 2.2.0-dev.21: digest: sha256:85e20c864562c82af34b1761b51061690efc03484a2614f670a942776e0f42a9 size: 1367 [Pipeline] isUnix [Pipeline] sh 07:35:57 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21 [Pipeline] isUnix [Pipeline] sh 07:35:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21 07:35:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:35:57 cb176e78fd55: Preparing 07:35:57 a7c46461876d: Preparing 07:35:57 d36e100d8e9a: Preparing 07:35:57 483862dedd4d: Preparing 07:35:57 b541d28bf3b4: Preparing 07:35:57 d36e100d8e9a: Layer already exists 07:35:57 cb176e78fd55: Layer already exists 07:35:57 b541d28bf3b4: Layer already exists 07:35:57 483862dedd4d: Layer already exists 07:35:57 a7c46461876d: Layer already exists 07:35:57 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21: digest: sha256:85e20c864562c82af34b1761b51061690efc03484a2614f670a942776e0f42a9 size: 1367 [Pipeline] isUnix [Pipeline] sh 07:35:57 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 07:35:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 07:35:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:35:58 cb176e78fd55: Preparing 07:35:58 a7c46461876d: Preparing 07:35:58 d36e100d8e9a: Preparing 07:35:58 483862dedd4d: Preparing 07:35:58 b541d28bf3b4: Preparing 07:35:58 b541d28bf3b4: Layer already exists 07:35:58 cb176e78fd55: Layer already exists 07:35:58 483862dedd4d: Layer already exists 07:35:58 d36e100d8e9a: Layer already exists 07:35:58 a7c46461876d: Layer already exists 07:35:58 main: digest: sha256:85e20c864562c82af34b1761b51061690efc03484a2614f670a942776e0f42a9 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:35:58 ===================================================== [Pipeline] echo 07:35:58 taggedImages: 07:35:58 - nexus3.edgexfoundry.org:10004/device-mqtt:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f 07:35:58 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 07:35:58 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.21 07:35:58 - nexus3.edgexfoundry.org:10004/device-mqtt:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21 07:35:58 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:35:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:35:58 07:35:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:35:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:35:58 latest: Pulling from edgex-lftools-log-publisher 07:35:58 5eb5b503b376: Pulling fs layer 07:35:58 5c69ac0246d0: Pulling fs layer 07:35:58 ec43610c2a17: Pulling fs layer 07:35:58 3a2ae6a8a46f: Pulling fs layer 07:35:58 33b1e0a273af: Pulling fs layer 07:35:58 5d3b04190fa2: Pulling fs layer 07:35:58 2f39f015ded8: Pulling fs layer 07:35:58 33b1e0a273af: Waiting 07:35:58 5d3b04190fa2: Waiting 07:35:58 2f39f015ded8: Waiting 07:35:58 3a2ae6a8a46f: Waiting 07:35:58 5c69ac0246d0: Download complete 07:35:58 3a2ae6a8a46f: Verifying Checksum 07:35:58 3a2ae6a8a46f: Download complete 07:35:58 33b1e0a273af: Verifying Checksum 07:35:58 33b1e0a273af: Download complete 07:35:58 ec43610c2a17: Verifying Checksum 07:35:58 ec43610c2a17: Download complete 07:35:58 5d3b04190fa2: Verifying Checksum 07:35:58 5d3b04190fa2: Download complete 07:35:58 5eb5b503b376: Verifying Checksum 07:35:58 5eb5b503b376: Download complete 07:35:59 2f39f015ded8: Download complete 07:36:00 5eb5b503b376: Pull complete 07:36:00 5c69ac0246d0: Pull complete 07:36:00 ec43610c2a17: Pull complete 07:36:01 3a2ae6a8a46f: Pull complete 07:36:01 33b1e0a273af: Pull complete 07:36:01 5d3b04190fa2: Pull complete 07:36:05 2f39f015ded8: Pull complete 07:36:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:36:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:36:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:36:05 prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container 07:36:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:36:07 $ docker top cfc0604f9375cf5d4b40381763069791abbbe7c366df2ae1b6a928fa7bda675c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:08 ---> job-cost.sh 07:36:08 lf-activate-venv: SKIPPING 07:36:08 INFO: No Stack... 07:36:08 INFO: Retrieving Pricing Info for: v3-standard-8 07:36:08 INFO: Archiving Costs [Pipeline] sh 07:36:09 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 07:36:09 + cut -d, -f6 [Pipeline] lock 07:36:09 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-43-stack-cost] 07:36:09 Resource [jenkins-edgexfoundry-device-mqtt-go-main-43-stack-cost] did not exist. Created. 07:36:09 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:36:09 + echo total: 0.2199999988079071 [Pipeline] stash 07:36:09 Stashed 1 file(s) [Pipeline] } 07:36:09 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-43-stack-cost] [Pipeline] // lock [Pipeline] } 07:36:09 $ docker stop --time=1 cfc0604f9375cf5d4b40381763069791abbbe7c366df2ae1b6a928fa7bda675c 07:36:10 $ docker rm -f cfc0604f9375cf5d4b40381763069791abbbe7c366df2ae1b6a928fa7bda675c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:36:14 Removing intermediate container e5cfd0895d9e 07:36:14 ---> 3146922470a7 07:36:14 Step 10/12 : COPY . . 07:36:14 ---> dd30b8735536 07:36:14 Step 11/12 : ARG MAKE='make build' 07:36:14 ---> Running in 11cf4c1c84eb 07:36:14 Removing intermediate container 11cf4c1c84eb 07:36:14 ---> baefa9c826c5 07:36:14 Step 12/12 : RUN $MAKE 07:36:14 ---> Running in fdd0951cfc7f 07:36:14 noop 07:36:15 Removing intermediate container fdd0951cfc7f 07:36:15 ---> 8af80e1a9345 07:36:15 Successfully built 8af80e1a9345 07:36:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:36:15 + docker inspect -f . ci-base-image-arm64 07:36:15 . [Pipeline] withDockerContainer 07:36:16 prd-ubuntu20.04-docker-arm64-4c-16g-45843 does not seem to be running inside a container 07:36:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/43 -v /w/workspace/device-mqtt-go/43:/w/workspace/device-mqtt-go/43:rw,z -v /w/workspace/device-mqtt-go/43@tmp:/w/workspace/device-mqtt-go/43@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 07:36:17 $ docker top 8ce5bebedeeb2c5f7c58da4f743c687ec8a5f915530414672dcde1d9158be966 -eo pid,comm [Pipeline] { [Pipeline] sh 07:36:18 + go version 07:36:18 go version go1.17.6 linux/arm64 [Pipeline] } 07:36:18 $ docker stop --time=1 8ce5bebedeeb2c5f7c58da4f743c687ec8a5f915530414672dcde1d9158be966 07:36:20 $ docker rm -f 8ce5bebedeeb2c5f7c58da4f743c687ec8a5f915530414672dcde1d9158be966 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:36:20 + docker inspect -f . ci-base-image-arm64 07:36:20 . [Pipeline] withDockerContainer 07:36:21 prd-ubuntu20.04-docker-arm64-4c-16g-45843 does not seem to be running inside a container 07:36:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/43 -v /w/workspace/device-mqtt-go/43:/w/workspace/device-mqtt-go/43:rw,z -v /w/workspace/device-mqtt-go/43@tmp:/w/workspace/device-mqtt-go/43@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 07:36:22 $ docker top 0dc1709882071379b11cdb8aba82f5fe7ffe1574da61f59b749fb0dbc27bee12 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:36:23 + make test 07:36:23 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:36:25 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:37:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 07:37:47 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements 07:37:47 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:37:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:37:47 GCO_ENABLED=1 GO111MODULE=on go vet ./... 07:38:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:38:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:38:14 ./bin/test-attribution-txt.sh [Pipeline] echo 07:38:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:38:14 $ docker stop --time=1 0dc1709882071379b11cdb8aba82f5fe7ffe1574da61f59b749fb0dbc27bee12 07:38:16 $ docker rm -f 0dc1709882071379b11cdb8aba82f5fe7ffe1574da61f59b749fb0dbc27bee12 [Pipeline] // withDockerContainer [Pipeline] sh 07:38:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:38:17 Warning: overwriting stash ‘coverage-report’ 07:38:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:38:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:38:18 + ls -al . 07:38:18 total 176 07:38:18 drwxrwxr-x 9 jenkins jenkins 4096 May 10 07:38 . 07:38:18 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:34 .. 07:38:18 -rw-rw-r-- 1 jenkins jenkins 140 May 10 07:34 .dockerignore 07:38:18 drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:34 .git 07:38:18 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:34 .github 07:38:18 -rw-rw-r-- 1 jenkins jenkins 329 May 10 07:34 .gitignore 07:38:18 -rw-rw-r-- 1 jenkins jenkins 41 May 10 07:34 .golangci.yml 07:38:18 -rw-rw-r-- 1 jenkins jenkins 8656 May 10 07:34 Attribution.txt 07:38:18 -rw-rw-r-- 1 jenkins jenkins 11365 May 10 07:34 CHANGELOG.md 07:38:18 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 07:34 Dockerfile 07:38:18 -rw-rw-r-- 1 jenkins jenkins 677 May 10 07:34 GOVERNANCE.md 07:38:18 -rw-rw-r-- 1 jenkins jenkins 678 May 10 07:34 Jenkinsfile 07:38:18 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 07:34 LICENSE 07:38:18 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 07:34 Makefile 07:38:18 -rw-rw-r-- 1 jenkins jenkins 620 May 10 07:34 OWNERS.md 07:38:18 -rw-rw-r-- 1 jenkins jenkins 2501 May 10 07:34 README.md 07:38:18 -rw-rw-r-- 1 jenkins jenkins 12 May 10 07:34 VERSION 07:38:18 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:34 bin 07:38:18 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:34 cmd 07:38:18 -rw-r--r-- 1 jenkins jenkins 17887 May 10 07:37 coverage.out 07:38:18 -rw-rw-r-- 1 jenkins jenkins 3309 May 10 07:34 go.mod 07:38:18 -rw-rw-r-- 1 jenkins jenkins 35490 May 10 07:34 go.sum 07:38:18 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:34 internal 07:38:18 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:34 mock 07:38:18 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:34 snap 07:38:18 -rw-rw-r-- 1 jenkins jenkins 227 May 10 07:34 version.go [Pipeline] isUnix [Pipeline] sh 07:38:18 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f --label arch=arm64 --label version=2.2.0-dev.21 . 07:38:19 Sending build context to Docker daemon 3.06MB 07:38:19 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 07:38:19 Step 2/24 : FROM ${BASE} AS builder 07:38:19 ---> 8af80e1a9345 07:38:19 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:38:19 ---> Running in 9a0d6c7c8201 07:38:19 Removing intermediate container 9a0d6c7c8201 07:38:19 ---> afa8e0a7ad51 07:38:19 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 07:38:19 ---> Running in 34cf19b74a12 07:38:19 Removing intermediate container 34cf19b74a12 07:38:19 ---> 2329e2be2301 07:38:19 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:38:20 ---> Running in ca25437fe64f 07:38:21 Removing intermediate container ca25437fe64f 07:38:21 ---> 1853ed9c3e57 07:38:21 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:38:21 ---> Running in eec510d9f4de 07:38:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:38:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:38:24 OK: 224 MiB in 56 packages 07:38:25 Removing intermediate container eec510d9f4de 07:38:25 ---> b4a624184865 07:38:25 Step 7/24 : WORKDIR /device-mqtt-go 07:38:25 ---> Running in f1766f6e6fe5 07:38:25 Removing intermediate container f1766f6e6fe5 07:38:25 ---> c530b25cda3b 07:38:25 Step 8/24 : COPY go.mod vendor* ./ 07:38:26 ---> 1bd3b7b78c2b 07:38:26 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:38:26 ---> Running in 78048723b082 07:38:28 Removing intermediate container 78048723b082 07:38:28 ---> c3b68e54472b 07:38:28 Step 10/24 : COPY . . 07:38:29 ---> 3ead12e17734 07:38:29 Step 11/24 : ARG MAKE='make build' 07:38:29 ---> Running in 8d162e67bc65 07:38:29 Removing intermediate container 8d162e67bc65 07:38:29 ---> d51f9351d55b 07:38:29 Step 12/24 : RUN $MAKE 07:38:29 ---> Running in dae9d5133a91 07:38:30 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.21" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 07:40:37 Removing intermediate container dae9d5133a91 07:40:37 ---> 12685ca3ee77 07:40:37 Step 13/24 : FROM alpine:3.14 07:40:37 3.14: Pulling from library/alpine 07:40:37 455c02918c45: Pulling fs layer 07:40:37 455c02918c45: Verifying Checksum 07:40:37 455c02918c45: Download complete 07:40:37 455c02918c45: Pull complete 07:40:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 07:40:37 Status: Downloaded newer image for alpine:3.14 07:40:37 ---> ac73e934f311 07:40:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 07:40:37 ---> Running in 04585dda0d8b 07:40:37 Removing intermediate container 04585dda0d8b 07:40:37 ---> 5f3d387c79f1 07:40:37 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 07:40:37 ---> Running in 4abd87184e19 07:40:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:40:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:40:37 (1/6) Installing dumb-init (1.2.5-r1) 07:40:37 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:40:37 (3/6) Installing libsodium (1.0.18-r0) 07:40:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:40:37 (5/6) Installing libzmq (4.3.4-r0) 07:40:37 (6/6) Installing zeromq (4.3.4-r0) 07:40:37 Executing busybox-1.33.1-r7.trigger 07:40:37 OK: 8 MiB in 20 packages 07:40:37 Removing intermediate container 4abd87184e19 07:40:37 ---> 83c8851c1361 07:40:37 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 07:40:38 ---> b9153200cc95 07:40:38 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 07:40:38 ---> 2535d19316c1 07:40:38 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:40:39 ---> 50ca19493ef4 07:40:39 Step 19/24 : EXPOSE 59982 07:40:39 ---> Running in 4680b374e674 07:40:39 Removing intermediate container 4680b374e674 07:40:39 ---> 347d406bf90a 07:40:39 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 07:40:39 ---> Running in 8872fef6785e 07:40:40 Removing intermediate container 8872fef6785e 07:40:40 ---> 52130f63accc 07:40:40 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:40:40 ---> Running in 07650a6f2b9c 07:40:40 Removing intermediate container 07650a6f2b9c 07:40:40 ---> fd51fc9a0dbf 07:40:40 Step 22/24 : LABEL arch=arm64 07:40:40 ---> Running in f490901dd7ef 07:40:41 Removing intermediate container f490901dd7ef 07:40:41 ---> 813aa8eceeb0 07:40:41 Step 23/24 : LABEL git_sha=ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f 07:40:41 ---> Running in 942077e753f4 07:40:41 Removing intermediate container 942077e753f4 07:40:41 ---> 413a53c24843 07:40:41 Step 24/24 : LABEL version=2.2.0-dev.21 07:40:41 ---> Running in 7f379cd3efe6 07:40:41 Removing intermediate container 7f379cd3efe6 07:40:41 ---> f6dbdf8e243f 07:40:41 [Warning] One or more build-args [ARCH] were not consumed 07:40:41 Successfully built f6dbdf8e243f 07:40:41 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:40:42 provisioning config files... 07:40:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/43@tmp/config2578577166208188862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:40:42 ---> docker-login.sh 07:40:42 nexus3.edgexfoundry.org:10001 07:40:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:42 Configure a credential helper to remove this warning. See 07:40:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:42 07:40:42 Login Succeeded 07:40:42 nexus3.edgexfoundry.org:10002 07:40:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:43 Configure a credential helper to remove this warning. See 07:40:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:43 07:40:43 Login Succeeded 07:40:43 nexus3.edgexfoundry.org:10003 07:40:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:43 Configure a credential helper to remove this warning. See 07:40:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:43 07:40:43 Login Succeeded 07:40:43 nexus3.edgexfoundry.org:10004 07:40:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:44 Configure a credential helper to remove this warning. See 07:40:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:44 07:40:44 Login Succeeded 07:40:44 docker.io 07:40:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:45 Configure a credential helper to remove this warning. See 07:40:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:45 07:40:45 Login Succeeded 07:40:45 ---> docker-login.sh ends [Pipeline] } 07:40:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:40:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:40:45 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 07:40:45 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f 07:40:45 latest 07:40:45 2.2.0-dev.21 07:40:45 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21 07:40:45 main 07:40:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:40:45 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [Pipeline] isUnix [Pipeline] sh 07:40:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f 07:40:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:40:46 91daac9af49b: Preparing 07:40:46 25f767f09420: Preparing 07:40:46 dbf7a69c0525: Preparing 07:40:46 c4c0e3b3c988: Preparing 07:40:46 f73e7dbfee58: Preparing 07:40:46 f73e7dbfee58: Layer already exists 07:40:46 91daac9af49b: Pushed 07:40:46 25f767f09420: Pushed 07:40:47 c4c0e3b3c988: Pushed 07:40:52 dbf7a69c0525: Pushed 07:40:52 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f: digest: sha256:ac7ca488b279f5fb027d015d6690830a164b05f10009f3956777e6b2de334f8d size: 1366 [Pipeline] isUnix [Pipeline] sh 07:40:52 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:40:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 07:40:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:40:53 91daac9af49b: Preparing 07:40:53 25f767f09420: Preparing 07:40:53 dbf7a69c0525: Preparing 07:40:53 c4c0e3b3c988: Preparing 07:40:53 f73e7dbfee58: Preparing 07:40:53 f73e7dbfee58: Layer already exists 07:40:53 c4c0e3b3c988: Layer already exists 07:40:53 91daac9af49b: Layer already exists 07:40:53 25f767f09420: Layer already exists 07:40:53 dbf7a69c0525: Layer already exists 07:40:53 latest: digest: sha256:ac7ca488b279f5fb027d015d6690830a164b05f10009f3956777e6b2de334f8d size: 1366 [Pipeline] isUnix [Pipeline] sh 07:40:53 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.21 [Pipeline] isUnix [Pipeline] sh 07:40:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.21 07:40:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:40:54 91daac9af49b: Preparing 07:40:54 25f767f09420: Preparing 07:40:54 dbf7a69c0525: Preparing 07:40:54 c4c0e3b3c988: Preparing 07:40:54 f73e7dbfee58: Preparing 07:40:54 c4c0e3b3c988: Layer already exists 07:40:54 91daac9af49b: Layer already exists 07:40:54 dbf7a69c0525: Layer already exists 07:40:54 f73e7dbfee58: Layer already exists 07:40:54 25f767f09420: Layer already exists 07:40:54 2.2.0-dev.21: digest: sha256:ac7ca488b279f5fb027d015d6690830a164b05f10009f3956777e6b2de334f8d size: 1366 [Pipeline] isUnix [Pipeline] sh 07:40:54 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21 [Pipeline] isUnix [Pipeline] sh 07:40:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21 07:40:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:40:55 91daac9af49b: Preparing 07:40:55 25f767f09420: Preparing 07:40:55 dbf7a69c0525: Preparing 07:40:55 c4c0e3b3c988: Preparing 07:40:55 f73e7dbfee58: Preparing 07:40:55 dbf7a69c0525: Layer already exists 07:40:55 25f767f09420: Layer already exists 07:40:55 f73e7dbfee58: Layer already exists 07:40:55 c4c0e3b3c988: Layer already exists 07:40:55 91daac9af49b: Layer already exists 07:40:55 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21: digest: sha256:ac7ca488b279f5fb027d015d6690830a164b05f10009f3956777e6b2de334f8d size: 1366 [Pipeline] isUnix [Pipeline] sh 07:40:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 07:40:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 07:40:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:40:55 91daac9af49b: Preparing 07:40:55 25f767f09420: Preparing 07:40:55 dbf7a69c0525: Preparing 07:40:55 c4c0e3b3c988: Preparing 07:40:55 f73e7dbfee58: Preparing 07:40:55 f73e7dbfee58: Layer already exists 07:40:55 c4c0e3b3c988: Layer already exists 07:40:55 dbf7a69c0525: Layer already exists 07:40:55 25f767f09420: Layer already exists 07:40:55 91daac9af49b: Layer already exists 07:40:56 main: digest: sha256:ac7ca488b279f5fb027d015d6690830a164b05f10009f3956777e6b2de334f8d size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:40:56 ===================================================== [Pipeline] echo 07:40:56 taggedImages: 07:40:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f 07:40:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 07:40:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.21 07:40:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21 07:40:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:40:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:40:56 07:40:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:40:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:40:57 arm64: Pulling from edgex-lftools-log-publisher 07:40:57 8998bd30e6a1: Pulling fs layer 07:40:57 04944245beec: Pulling fs layer 07:40:57 699f458cf7ca: Pulling fs layer 07:40:57 765212b225bb: Pulling fs layer 07:40:57 f23df028b6ca: Pulling fs layer 07:40:57 d65c8cfc05b1: Pulling fs layer 07:40:57 2437ff75d9bd: Pulling fs layer 07:40:57 f23df028b6ca: Waiting 07:40:57 765212b225bb: Waiting 07:40:57 d65c8cfc05b1: Waiting 07:40:57 2437ff75d9bd: Waiting 07:40:57 04944245beec: Verifying Checksum 07:40:57 04944245beec: Download complete 07:40:57 765212b225bb: Verifying Checksum 07:40:57 765212b225bb: Download complete 07:40:57 f23df028b6ca: Verifying Checksum 07:40:57 f23df028b6ca: Download complete 07:40:57 d65c8cfc05b1: Verifying Checksum 07:40:57 d65c8cfc05b1: Download complete 07:40:57 699f458cf7ca: Verifying Checksum 07:40:57 8998bd30e6a1: Verifying Checksum 07:40:57 8998bd30e6a1: Download complete 07:41:00 2437ff75d9bd: Verifying Checksum 07:41:00 2437ff75d9bd: Download complete 07:41:01 8998bd30e6a1: Pull complete 07:41:02 04944245beec: Pull complete 07:41:03 699f458cf7ca: Pull complete 07:41:04 765212b225bb: Pull complete 07:41:05 f23df028b6ca: Pull complete 07:41:05 d65c8cfc05b1: Pull complete 07:41:20 2437ff75d9bd: Pull complete 07:41:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:41:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:41:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:41:20 prd-ubuntu20.04-docker-arm64-4c-16g-45843 does not seem to be running inside a container 07:41:20 $ 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-mqtt-go/43 -v /w/workspace/device-mqtt-go/43:/w/workspace/device-mqtt-go/43:rw,z -v /w/workspace/device-mqtt-go/43@tmp:/w/workspace/device-mqtt-go/43@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 07:41:23 $ docker top 52d6d0ca81128cf4330053678517ebe69fc17452b18c370c4c39fe83ecfbfc11 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:24 ---> job-cost.sh 07:41:24 lf-activate-venv: SKIPPING 07:41:24 INFO: No Stack... 07:41:24 INFO: Retrieving Pricing Info for: v3-standard-4 07:41:25 INFO: Archiving Costs [Pipeline] sh 07:41:26 + cat /w/workspace/device-mqtt-go/43/archives/cost.csv 07:41:26 + cut -d, -f6 [Pipeline] lock 07:41:26 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-43-stack-cost] 07:41:26 Resource [jenkins-edgexfoundry-device-mqtt-go-main-43-stack-cost] did not exist. Created. 07:41:26 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:41:26 /w/workspace/device-mqtt-go/43@tmp/durable-950cac1a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:41:27 + echo total: 0.10999999940395355 [Pipeline] stash 07:41:27 Warning: overwriting stash ‘stack-cost’ 07:41:27 Stashed 1 file(s) [Pipeline] } 07:41:27 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-43-stack-cost] [Pipeline] // lock [Pipeline] } 07:41:27 $ docker stop --time=1 52d6d0ca81128cf4330053678517ebe69fc17452b18c370c4c39fe83ecfbfc11 07:41:29 $ docker rm -f 52d6d0ca81128cf4330053678517ebe69fc17452b18c370c4c39fe83ecfbfc11 [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 07:41:29 provisioning config files... 07:41:29 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5534356723591032722tmp [Pipeline] { [Pipeline] sh 07:41:29 + set +x 07:41:29 + + curl -s https://codecov.io/bash 07:41:29 bash -s -- 07:41:29 07:41:29 _____ _ 07:41:29 / ____| | | 07:41:29 | | ___ __| | ___ ___ _____ __ 07:41:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:41:29 | |___| (_) | (_| | __/ (_| (_) \ V / 07:41:29 \_____\___/ \__,_|\___|\___\___/ \_/ 07:41:29 Bash-1.0.6 07:41:29 07:41:29 07:41:29 ==> git version 2.25.1 found 07:41:29 ==> 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 07:41:29 Release-Date: 2020-01-08 07:41:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:41:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:41:29 ==> Jenkins CI detected. 07:41:29 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 07:41:29 project root: . 07:41:29 --> token set from env 07:41:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:41:29 ==> Running gcov in . (disable via -X gcov) 07:41:29 ==> Python coveragepy not found 07:41:29 ==> Searching for coverage reports in: 07:41:29 + . 07:41:29 -> Found 1 reports 07:41:29 ==> Detecting git/mercurial file structure 07:41:29 ==> Reading reports 07:41:29 + ./coverage.out bytes=17887 07:41:29 ==> Appending adjustments 07:41:29 https://docs.codecov.io/docs/fixing-reports 07:41:30 + Found adjustments 07:41:30 ==> Gzipping contents 07:41:30 4.0K /tmp/codecov.jntQJI.gz 07:41:30 ==> Uploading reports 07:41:30 url: https://codecov.io 07:41:30 query: branch=main&commit=ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:41:30 -> Pinging Codecov 07:41:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:41:30 -> Uploading to 07:41:30 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/7D719EC7BBE17E464838252E33014C33/ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f/80b7f6f7-b8c3-41dd-ae4a-39218683ea87.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T074130Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e7bb8f082b39c83d21b06ec842c7b9d250bd127f5284c3298611ca88d6803929 07:41:30 % Total % Received % Xferd Average Speed Time Time Time Current 07:41:30 Dload Upload Total Spent Left Speed 07:41:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3263 0 0 100 3263 0 12846 --:--:-- --:--:-- --:--:-- 12796 100 3263 0 0 100 3263 0 12846 --:--:-- --:--:-- --:--:-- 12796 07:41:30 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [Pipeline] } 07:41:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:41:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:41:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:41:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:41:31 07:41:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 07:41:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:41:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:41:31 188c0c94c7c5: Pulling fs layer 07:41:31 0ef7d3d256c8: Pulling fs layer 07:41:31 de9db76c5a1d: Pulling fs layer 07:41:31 0eba1c9be4d2: Pulling fs layer 07:41:31 0d57e429df01: Pulling fs layer 07:41:31 4e4be7b47b0d: Pulling fs layer 07:41:31 e1f770b5df2f: Pulling fs layer 07:41:31 85a0685a4137: Pulling fs layer 07:41:31 4e4be7b47b0d: Waiting 07:41:31 e1f770b5df2f: Waiting 07:41:31 0eba1c9be4d2: Waiting 07:41:31 85a0685a4137: Waiting 07:41:31 0d57e429df01: Waiting 07:41:31 de9db76c5a1d: Verifying Checksum 07:41:31 de9db76c5a1d: Download complete 07:41:31 0ef7d3d256c8: Download complete 07:41:31 0d57e429df01: Verifying Checksum 07:41:31 0d57e429df01: Download complete 07:41:31 4e4be7b47b0d: Verifying Checksum 07:41:31 4e4be7b47b0d: Download complete 07:41:31 188c0c94c7c5: Verifying Checksum 07:41:31 188c0c94c7c5: Download complete 07:41:31 188c0c94c7c5: Pull complete 07:41:31 e1f770b5df2f: Verifying Checksum 07:41:31 e1f770b5df2f: Download complete 07:41:31 0ef7d3d256c8: Pull complete 07:41:32 de9db76c5a1d: Pull complete 07:41:32 0eba1c9be4d2: Verifying Checksum 07:41:32 0eba1c9be4d2: Download complete 07:41:32 85a0685a4137: Verifying Checksum 07:41:32 85a0685a4137: Download complete 07:41:35 0eba1c9be4d2: Pull complete 07:41:35 0d57e429df01: Pull complete 07:41:36 4e4be7b47b0d: Pull complete 07:41:36 e1f770b5df2f: Pull complete 07:41:40 85a0685a4137: Pull complete 07:41:40 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 07:41:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:41:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 07:41:40 prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container 07:41:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:41:42 $ docker top bc0ba68bd3fcc89541d0ccb886fb1de6ffc57867635e339116ca100a443cc9e3 -eo pid,comm [Pipeline] { [Pipeline] echo 07:41:42 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 07:41:43 + set -o pipefail 07:41:43 + snyk monitor '--org=edgex-jenkins' 07:41:48 07:41:48 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 07:41:48 07:41:48 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/5b40ce46-dfea-4619-961f-b03c85f4b68b 07:41:48 07:41:48 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:41:48 07:41:48 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:41:48 07:41:48 [Pipeline] } 07:41:48 $ docker stop --time=1 bc0ba68bd3fcc89541d0ccb886fb1de6ffc57867635e339116ca100a443cc9e3 07:41:50 $ docker rm -f bc0ba68bd3fcc89541d0ccb886fb1de6ffc57867635e339116ca100a443cc9e3 [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) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:41:51 + git log --format=format:%s -1 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [Pipeline] sh 07:41:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:41:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:41:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:41:52 . [Pipeline] withDockerContainer 07:41:52 prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container 07:41:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 07:41:52 $ docker top 31bf6a8625fc19eef4a33e56e3db3852db217b7a0859e64206ad8523fcdecf8c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:41:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:41:52 [ssh-agent] Looking for ssh-agent implementation... 07:41:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:41:53 $ docker exec 31bf6a8625fc19eef4a33e56e3db3852db217b7a0859e64206ad8523fcdecf8c ssh-agent 07:41:53 SSH_AUTH_SOCK=/tmp/ssh-IEUfqk0XeqBF/agent.32 07:41:53 SSH_AGENT_PID=38 07:41:53 Running ssh-add (command line suppressed) 07:41:53 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3634770521882862415.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3634770521882862415.key) 07:41:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:41:53 + git semver tag 07:41:53 2022-05-10 07:41:53,761 [run_tag] DEBUG tag force:False 07:41:53 2022-05-10 07:41:53,761 [check_head_tag] DEBUG check head tag 07:41:53 2022-05-10 07:41:53,762 [execute] INFO git cat-file --batch-check 07:41:53 2022-05-10 07:41:53,762 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 07:41:53 2022-05-10 07:41:53,767 [execute] INFO git cat-file --batch 07:41:53 2022-05-10 07:41:53,767 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 07:41:53 2022-05-10 07:41:53,786 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:41:53 2022-05-10 07:41:53,786 [execute] INFO git tag -a v2.2.0-dev.21 -m v2.2.0-dev.21 07:41:53 2022-05-10 07:41:53,786 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.21', '-m', 'v2.2.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 07:41:53 2022-05-10 07:41:53,791 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:41:53 2.2.0-dev.21 [Pipeline] } 07:41:53 $ docker exec --env ******** --env ******** 31bf6a8625fc19eef4a33e56e3db3852db217b7a0859e64206ad8523fcdecf8c ssh-agent -k 07:41:53 unset SSH_AUTH_SOCK; 07:41:53 unset SSH_AGENT_PID; 07:41:53 echo Agent pid 38 killed; 07:41:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:41:54 + git semver [Pipeline] } 07:41:54 $ docker stop --time=1 31bf6a8625fc19eef4a33e56e3db3852db217b7a0859e64206ad8523fcdecf8c 07:41:55 $ docker rm -f 31bf6a8625fc19eef4a33e56e3db3852db217b7a0859e64206ad8523fcdecf8c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 07:41:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:41:56 07:41:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 07:41:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:41:56 0.23.1-centos7: Pulling from edgex-lftools 07:41:56 ab5ef0e58194: Pulling fs layer 07:41:56 9712f1f96733: Pulling fs layer 07:41:56 63f879dbbcfc: Pulling fs layer 07:41:56 0d9ebad4ef96: Pulling fs layer 07:41:56 e9a5061849ea: Pulling fs layer 07:41:56 d747dcd14b5f: Pulling fs layer 07:41:56 2de7ff778b66: Pulling fs layer 07:41:56 e9a5061849ea: Waiting 07:41:56 d747dcd14b5f: Waiting 07:41:56 2de7ff778b66: Waiting 07:41:56 0d9ebad4ef96: Waiting 07:41:56 9712f1f96733: Download complete 07:41:56 63f879dbbcfc: Verifying Checksum 07:41:56 63f879dbbcfc: Download complete 07:41:57 e9a5061849ea: Verifying Checksum 07:41:57 e9a5061849ea: Download complete 07:41:57 d747dcd14b5f: Download complete 07:41:57 0d9ebad4ef96: Verifying Checksum 07:41:57 0d9ebad4ef96: Download complete 07:41:57 ab5ef0e58194: Verifying Checksum 07:41:57 ab5ef0e58194: Download complete 07:41:57 2de7ff778b66: Verifying Checksum 07:41:57 2de7ff778b66: Download complete 07:41:59 ab5ef0e58194: Pull complete 07:41:59 9712f1f96733: Pull complete 07:42:00 63f879dbbcfc: Pull complete 07:42:05 0d9ebad4ef96: Pull complete 07:42:05 e9a5061849ea: Pull complete 07:42:05 d747dcd14b5f: Pull complete 07:42:06 2de7ff778b66: Pull complete 07:42:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:42:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:42:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 07:42:06 prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container 07:42:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:42:08 $ docker top 7f08f237ae12645f4235c7f563d895f1f76b420de2e8ea55204293a164f0f1e6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:42:09 provisioning config files... 07:42:09 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config450175808587459011tmp 07:42:09 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8309695154764509530tmp 07:42:09 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7233307107373109154tmp [Pipeline] { [Pipeline] echo 07:42:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:42:09 ---> sigul-configuration.sh 07:42:09 gpg: directory `/root/.gnupg' created 07:42:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:42:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:42:09 gpg: keyring `/root/.gnupg/secring.gpg' created 07:42:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:42:09 gpg: CAST5 encrypted data 07:42:09 gpg: encrypted with 1 passphrase 07:42:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:42:09 + mkdir /home/jenkins 07:42:09 + mkdir /home/jenkins/sigul [Pipeline] sh 07:42:09 + 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 07:42:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:42:10 ---> sigul-install.sh 07:42:10 Sigul already installed; skipping installation. [Pipeline] sh 07:42:10 + git tag --list 07:42:10 0.7.1 07:42:10 v1.0.0 07:42:10 v1.1.0 07:42:10 v1.1.1 07:42:10 v1.2.2 07:42:10 v1.3.0 07:42:10 v1.3.1 07:42:10 v2.0.0 07:42:10 v2.0.1-dev.1 07:42:10 v2.0.1-dev.10 07:42:10 v2.0.1-dev.11 07:42:10 v2.0.1-dev.12 07:42:10 v2.0.1-dev.13 07:42:10 v2.0.1-dev.14 07:42:10 v2.0.1-dev.15 07:42:10 v2.0.1-dev.16 07:42:10 v2.0.1-dev.17 07:42:10 v2.0.1-dev.2 07:42:10 v2.0.1-dev.3 07:42:10 v2.0.1-dev.4 07:42:10 v2.0.1-dev.5 07:42:10 v2.0.1-dev.6 07:42:10 v2.0.1-dev.7 07:42:10 v2.0.1-dev.8 07:42:10 v2.0.1-dev.9 07:42:10 v2.1.0 07:42:10 v2.2.0-dev.1 07:42:10 v2.2.0-dev.10 07:42:10 v2.2.0-dev.11 07:42:10 v2.2.0-dev.12 07:42:10 v2.2.0-dev.13 07:42:10 v2.2.0-dev.14 07:42:10 v2.2.0-dev.15 07:42:10 v2.2.0-dev.16 07:42:10 v2.2.0-dev.17 07:42:10 v2.2.0-dev.18 07:42:10 v2.2.0-dev.19 07:42:10 v2.2.0-dev.2 07:42:10 v2.2.0-dev.20 07:42:10 v2.2.0-dev.21 07:42:10 v2.2.0-dev.3 07:42:10 v2.2.0-dev.4 07:42:10 v2.2.0-dev.5 07:42:10 v2.2.0-dev.6 07:42:10 v2.2.0-dev.7 07:42:10 v2.2.0-dev.8 07:42:10 v2.2.0-dev.9 [Pipeline] sh 07:42:10 + lftools sign git-tag v2.2.0-dev.21 07:42:11 Signing Git tag with Sigul... 07:42:11 Signing v2.2.0-dev.21 [Pipeline] echo 07:42:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:42:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:42:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:42:12 $ docker stop --time=1 7f08f237ae12645f4235c7f563d895f1f76b420de2e8ea55204293a164f0f1e6 07:42:13 $ docker rm -f 7f08f237ae12645f4235c7f563d895f1f76b420de2e8ea55204293a164f0f1e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:42:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:42:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:42:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:42:14 . [Pipeline] withDockerContainer 07:42:14 prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container 07:42:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 07:42:14 $ docker top 5aea9a6b5ec7d2f07896d48bda92e7d67b543ac4ba3d8730db81bb98900aadbd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:42:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:42:14 [ssh-agent] Looking for ssh-agent implementation... 07:42:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:42:14 $ docker exec 5aea9a6b5ec7d2f07896d48bda92e7d67b543ac4ba3d8730db81bb98900aadbd ssh-agent 07:42:14 SSH_AUTH_SOCK=/tmp/ssh-HsDGfUSgNwKy/agent.32 07:42:14 SSH_AGENT_PID=39 07:42:14 Running ssh-add (command line suppressed) 07:42:15 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1442802199283553269.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1442802199283553269.key) 07:42:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:42:15 + git semver bump pre 07:42:15 2022-05-10 07:42:15,514 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:42:15 2022-05-10 07:42:15,514 [bump_version] DEBUG bumping version:2.2.0-dev.21 on axis:pre with prefix:dev 07:42:15 2022-05-10 07:42:15,514 [bump_version] DEBUG bumped version:2.2.0-dev.22 07:42:15 2022-05-10 07:42:15,514 [write_version] DEBUG write version:2.2.0-dev.22 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 07:42:15 2022-05-10 07:42:15,514 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:42:15 2022-05-10 07:42:15,514 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:42:15 2022-05-10 07:42:15,516 [execute] INFO git cat-file --batch-check 07:42:15 2022-05-10 07:42:15,516 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:42:15 2022-05-10 07:42:15,521 [execute] INFO git cat-file --batch 07:42:15 2022-05-10 07:42:15,521 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:42:15 2022-05-10 07:42:15,526 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:42:15 2.2.0-dev.22 [Pipeline] } 07:42:15 $ docker exec --env ******** --env ******** 5aea9a6b5ec7d2f07896d48bda92e7d67b543ac4ba3d8730db81bb98900aadbd ssh-agent -k 07:42:15 unset SSH_AUTH_SOCK; 07:42:15 unset SSH_AGENT_PID; 07:42:15 echo Agent pid 39 killed; 07:42:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:42:16 + git semver [Pipeline] } 07:42:16 $ docker stop --time=1 5aea9a6b5ec7d2f07896d48bda92e7d67b543ac4ba3d8730db81bb98900aadbd 07:42:17 $ docker rm -f 5aea9a6b5ec7d2f07896d48bda92e7d67b543ac4ba3d8730db81bb98900aadbd [Pipeline] // withDockerContainer [Pipeline] sh 07:42:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:42:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:42:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:42:18 . [Pipeline] withDockerContainer 07:42:18 prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container 07:42:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 07:42:18 $ docker top 3926c58c04cf56d08aec88f65a1e4d443dcda825cfcbeca63ccbf95821096e11 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:42:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:42:18 [ssh-agent] Looking for ssh-agent implementation... 07:42:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:42:19 $ docker exec 3926c58c04cf56d08aec88f65a1e4d443dcda825cfcbeca63ccbf95821096e11 ssh-agent 07:42:19 SSH_AUTH_SOCK=/tmp/ssh-SXmwC75mWKfM/agent.32 07:42:19 SSH_AGENT_PID=38 07:42:19 Running ssh-add (command line suppressed) 07:42:19 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5839589792587235078.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5839589792587235078.key) 07:42:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:42:19 + git semver push 07:42:19 2022-05-10 07:42:19,800 [run_push] DEBUG push 07:42:19 2022-05-10 07:42:19,800 [execute] INFO git push origin semver 07:42:19 2022-05-10 07:42:19,800 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:42:20 2022-05-10 07:42:20,624 [run_push] DEBUG push all version tags 07:42:20 2022-05-10 07:42:20,625 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:42:20 2022-05-10 07:42:20,625 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 07:42:21 2022-05-10 07:42:21,390 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:42:21 2.2.0-dev.22 [Pipeline] } 07:42:21 $ docker exec --env ******** --env ******** 3926c58c04cf56d08aec88f65a1e4d443dcda825cfcbeca63ccbf95821096e11 ssh-agent -k 07:42:21 unset SSH_AUTH_SOCK; 07:42:21 unset SSH_AGENT_PID; 07:42:21 echo Agent pid 38 killed; 07:42:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:42:22 + git semver [Pipeline] } 07:42:22 $ docker stop --time=1 3926c58c04cf56d08aec88f65a1e4d443dcda825cfcbeca63ccbf95821096e11 07:42:23 $ docker rm -f 3926c58c04cf56d08aec88f65a1e4d443dcda825cfcbeca63ccbf95821096e11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:42:24 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 07:42:24 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:42:24 total 16 07:42:24 drwxr-xr-x 3 root root 4096 May 10 07:36 . 07:42:24 drwxrwxr-x 11 jenkins jenkins 4096 May 10 07:42 .. 07:42:24 drwxr-xr-x 2 root root 4096 May 10 07:36 cost 07:42:24 -rw-r--r-- 1 root root 84 May 10 07:36 cost.csv 07:42:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:42:24 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:42:24 total 16 07:42:24 drwxr-xr-x 3 jenkins jenkins 4096 May 10 07:36 . 07:42:24 drwxrwxr-x 11 jenkins jenkins 4096 May 10 07:42 .. 07:42:24 drwxr-xr-x 2 jenkins jenkins 4096 May 10 07:36 cost 07:42:24 -rw-r--r-- 1 jenkins jenkins 84 May 10 07:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:42:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:42:25 ---> package-listing.sh 07:42:25 ++ facter osfamily 07:42:25 ++ tr '[:upper:]' '[:lower:]' 07:42:25 + OS_FAMILY=debian 07:42:25 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 07:42:25 + START_PACKAGES=/tmp/packages_start.txt 07:42:25 + END_PACKAGES=/tmp/packages_end.txt 07:42:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:42:25 + PACKAGES=/tmp/packages_start.txt 07:42:25 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 07:42:25 + PACKAGES=/tmp/packages_end.txt 07:42:25 + case "${OS_FAMILY}" in 07:42:25 + dpkg -l 07:42:25 + grep '^ii' 07:42:25 + '[' -f /tmp/packages_start.txt ']' 07:42:25 + '[' -f /tmp/packages_end.txt ']' 07:42:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:42:25 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 07:42:25 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 07:42:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 07:42:25 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:42:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:42:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:42:26 . [Pipeline] withDockerContainer 07:42:26 prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container 07:42:26 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:42:27 $ docker top 571042641dc7d78409785b6c0ea7a01621e196378529ded5602863d3c2d09dd7 -eo pid,comm [Pipeline] { [Pipeline] sh 07:42:27 + touch /tmp/pre-build-complete [Pipeline] sh 07:42:27 + mkdir -p /var/log/sysstat [Pipeline] sh 07:42:28 + ls /var/log/sa-host 07:42:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:42:28 provisioning config files... 07:42:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4849238384059443820tmp [Pipeline] { [Pipeline] echo 07:42:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:42:28 ---> create-netrc.sh [Pipeline] } 07:42:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:42:28 ---> python-tools-install.sh [Pipeline] echo 07:42:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:42:29 ---> sudo-logs.sh 07:42:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:42:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:42:29 ---> job-cost.sh 07:42:29 lf-activate-venv: SKIPPING 07:42:29 DEBUG: total: 0.2199999988079071 07:42:29 INFO: Retrieving Stack Cost... 07:42:29 INFO: Retrieving Pricing Info for: v3-standard-8 07:42:30 INFO: Archiving Costs [Pipeline] echo 07:42:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:42:30 ---> logs-deploy.sh 07:42:30 lf-activate-venv: SKIPPING 07:42:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/43 07:42:30 INFO: archiving workspace using pattern(s): 07:42:31 Archives upload complete. 07:42:31 INFO: archiving logs to Nexus