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 [2022-05-10T07:34:02.991Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T07:34:03.043Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T07:34:03.059Z] ========================================================= [2022-05-10T07:34:03.059Z] EdgeX Global Pipelines Version Info [2022-05-10T07:34:03.059Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:34:03.853Z] ------------------- [2022-05-10T07:34:03.853Z] stable info: [2022-05-10T07:34:03.853Z] ------------------- [2022-05-10T07:34:03.853Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T07:34:03.853Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T07:34:03.853Z] Message: update stable to v1.0.227 [2022-05-10T07:34:04.427Z] ------------------- [2022-05-10T07:34:04.427Z] experimental info: [2022-05-10T07:34:04.427Z] ------------------- [2022-05-10T07:34:04.427Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T07:34:04.427Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T07:34:04.427Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T07:34:04.560Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-05-10T07:34:04.574Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-05-10T07:34:04.588Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T07:34:04.599Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T07:34:04.611Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T07:34:04.626Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T07:34:04.639Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T07:34:04.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T07:34:04.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T07:34:04.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T07:34:04.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T07:34:04.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-05-10T07:34:04.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T07:34:04.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T07:34:04.727Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T07:34:04.741Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T07:34:04.752Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T07:34:04.764Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T07:34:04.774Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T07:34:04.784Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T07:34:04.794Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-10T07:34:04.805Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-10T07:34:04.819Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T07:34:04.831Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T07:34:04.845Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T07:34:04.859Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T07:34:04.870Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-10T07:34:04.886Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-10T07:34:04.897Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-10T07:34:04.912Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [Pipeline] echo [2022-05-10T07:34:04.923Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab5f304 [Pipeline] echo [2022-05-10T07:34:04.939Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:34:04.981Z] provisioning config files... [2022-05-10T07:34:04.999Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4729299194476195750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:34:05.317Z] ---> docker-login.sh [2022-05-10T07:34:05.317Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:34:05.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:34:05.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:34:05.583Z] Configure a credential helper to remove this warning. See [2022-05-10T07:34:05.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:34:05.583Z] [2022-05-10T07:34:05.583Z] Login Succeeded [2022-05-10T07:34:05.583Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:34:05.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:34:05.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:34:05.844Z] Configure a credential helper to remove this warning. See [2022-05-10T07:34:05.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:34:05.844Z] [2022-05-10T07:34:05.844Z] Login Succeeded [2022-05-10T07:34:05.844Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:34:05.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:34:05.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:34:05.844Z] Configure a credential helper to remove this warning. See [2022-05-10T07:34:05.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:34:05.844Z] [2022-05-10T07:34:05.844Z] Login Succeeded [2022-05-10T07:34:05.844Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:34:06.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:34:06.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:34:06.107Z] Configure a credential helper to remove this warning. See [2022-05-10T07:34:06.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:34:06.107Z] [2022-05-10T07:34:06.107Z] Login Succeeded [2022-05-10T07:34:06.107Z] docker.io [2022-05-10T07:34:06.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:34:06.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:34:06.679Z] Configure a credential helper to remove this warning. See [2022-05-10T07:34:06.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:34:06.679Z] [2022-05-10T07:34:06.679Z] Login Succeeded [2022-05-10T07:34:06.679Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:34:06.687Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T07:34:07.071Z] + git rev-list -1 --merges ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f~1..ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [Pipeline] echo [2022-05-10T07:34:07.192Z] -----------> git rev-list -1 --merges ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f~1..ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [2022-05-10T07:34:07.192Z] ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [false] [Pipeline] sh [2022-05-10T07:34:07.491Z] + git log --format=format:%s -1 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [Pipeline] echo [2022-05-10T07:34:07.509Z] ========================================================= [2022-05-10T07:34:07.509Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T07:34:07.509Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T07:34:07.853Z] + git log --format=format:%s -1 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [Pipeline] echo [2022-05-10T07:34:07.865Z] [semverPrep] GIT_COMMIT: ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f, Commit Message: Merge pull request #378 from jpwhitemn/kamakura-rls-notes [Pipeline] echo [2022-05-10T07:34:07.874Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T07:34:08.255Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T07:34:08.255Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T07:34:08.255Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T07:34:08.255Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T07:34:08.255Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T07:34:08.255Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T07:34:08.255Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:34:08.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:34:08.605Z] [2022-05-10T07:34:08.605Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:34:08.910Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:34:08.911Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T07:34:08.911Z] 1fe172e4850f: Pulling fs layer [2022-05-10T07:34:08.911Z] caf521ccaac6: Pulling fs layer [2022-05-10T07:34:08.911Z] 3ead6fa29328: Pulling fs layer [2022-05-10T07:34:08.911Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T07:34:08.911Z] a8d5f1318db7: Pulling fs layer [2022-05-10T07:34:08.911Z] c427282e49a2: Pulling fs layer [2022-05-10T07:34:08.911Z] 1827001aaf11: Pulling fs layer [2022-05-10T07:34:08.911Z] 0714d37db230: Pulling fs layer [2022-05-10T07:34:08.911Z] ac28cf19c067: Pulling fs layer [2022-05-10T07:34:08.911Z] ca983d60f3e2: Pulling fs layer [2022-05-10T07:34:08.911Z] 9f894cec8388: Pulling fs layer [2022-05-10T07:34:08.911Z] a8d5f1318db7: Waiting [2022-05-10T07:34:08.911Z] c427282e49a2: Waiting [2022-05-10T07:34:08.911Z] 1827001aaf11: Waiting [2022-05-10T07:34:08.911Z] 0714d37db230: Waiting [2022-05-10T07:34:08.911Z] ac28cf19c067: Waiting [2022-05-10T07:34:08.911Z] ca983d60f3e2: Waiting [2022-05-10T07:34:08.911Z] 9f894cec8388: Waiting [2022-05-10T07:34:08.911Z] 5c2a1cbceb83: Waiting [2022-05-10T07:34:08.911Z] caf521ccaac6: Download complete [2022-05-10T07:34:08.911Z] 5c2a1cbceb83: Verifying Checksum [2022-05-10T07:34:08.911Z] 5c2a1cbceb83: Download complete [2022-05-10T07:34:09.173Z] 3ead6fa29328: Verifying Checksum [2022-05-10T07:34:09.173Z] 3ead6fa29328: Download complete [2022-05-10T07:34:09.173Z] c427282e49a2: Verifying Checksum [2022-05-10T07:34:09.173Z] c427282e49a2: Download complete [2022-05-10T07:34:09.173Z] a8d5f1318db7: Verifying Checksum [2022-05-10T07:34:09.173Z] a8d5f1318db7: Download complete [2022-05-10T07:34:09.173Z] 0714d37db230: Verifying Checksum [2022-05-10T07:34:09.173Z] 0714d37db230: Download complete [2022-05-10T07:34:09.173Z] ac28cf19c067: Verifying Checksum [2022-05-10T07:34:09.173Z] ac28cf19c067: Download complete [2022-05-10T07:34:09.174Z] ca983d60f3e2: Verifying Checksum [2022-05-10T07:34:09.174Z] ca983d60f3e2: Download complete [2022-05-10T07:34:09.174Z] 9f894cec8388: Download complete [2022-05-10T07:34:09.174Z] 1fe172e4850f: Verifying Checksum [2022-05-10T07:34:09.174Z] 1fe172e4850f: Download complete [2022-05-10T07:34:09.434Z] 1827001aaf11: Verifying Checksum [2022-05-10T07:34:09.434Z] 1827001aaf11: Download complete [2022-05-10T07:34:10.816Z] 1fe172e4850f: Pull complete [2022-05-10T07:34:10.816Z] caf521ccaac6: Pull complete [2022-05-10T07:34:11.387Z] 3ead6fa29328: Pull complete [2022-05-10T07:34:11.388Z] 5c2a1cbceb83: Pull complete [2022-05-10T07:34:11.648Z] a8d5f1318db7: Pull complete [2022-05-10T07:34:11.908Z] c427282e49a2: Pull complete [2022-05-10T07:34:13.822Z] 1827001aaf11: Pull complete [2022-05-10T07:34:13.822Z] 0714d37db230: Pull complete [2022-05-10T07:34:14.082Z] ac28cf19c067: Pull complete [2022-05-10T07:34:14.082Z] ca983d60f3e2: Pull complete [2022-05-10T07:34:14.343Z] 9f894cec8388: Pull complete [2022-05-10T07:34:14.343Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T07:34:14.343Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:34:14.343Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T07:34:14.426Z] prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container [2022-05-10T07:34:14.477Z] $ 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 [2022-05-10T07:34:16.429Z] $ docker top 792539cfaf2fa6b3c30275ebf1f9be3fd4d11c3e1eb77274f7cf565dad062d91 -eo pid,comm [2022-05-10T07:34:16.491Z] 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). [2022-05-10T07:34:16.491Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T07:34:16.529Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:34:16.529Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:34:16.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:34:16.670Z] $ docker exec 792539cfaf2fa6b3c30275ebf1f9be3fd4d11c3e1eb77274f7cf565dad062d91 ssh-agent [2022-05-10T07:34:16.801Z] SSH_AUTH_SOCK=/tmp/ssh-H1WNLwPjFaUP/agent.32 [2022-05-10T07:34:16.801Z] SSH_AGENT_PID=39 [2022-05-10T07:34:16.810Z] Running ssh-add (command line suppressed) [2022-05-10T07:34:16.937Z] 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) [2022-05-10T07:34:16.945Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:34:17.241Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T07:34:17.267Z] $ docker exec --env ******** --env ******** 792539cfaf2fa6b3c30275ebf1f9be3fd4d11c3e1eb77274f7cf565dad062d91 ssh-agent -k [2022-05-10T07:34:17.388Z] unset SSH_AUTH_SOCK; [2022-05-10T07:34:17.389Z] unset SSH_AGENT_PID; [2022-05-10T07:34:17.389Z] echo Agent pid 39 killed; [2022-05-10T07:34:17.396Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T07:34:17.423Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:34:17.423Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:34:17.569Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:34:17.579Z] $ docker exec 792539cfaf2fa6b3c30275ebf1f9be3fd4d11c3e1eb77274f7cf565dad062d91 ssh-agent [2022-05-10T07:34:17.703Z] SSH_AUTH_SOCK=/tmp/ssh-7DCaOJF2olKn/agent.73 [2022-05-10T07:34:17.703Z] SSH_AGENT_PID=79 [2022-05-10T07:34:17.709Z] Running ssh-add (command line suppressed) [2022-05-10T07:34:17.830Z] 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) [2022-05-10T07:34:17.841Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:34:18.133Z] + git semver init [2022-05-10T07:34:18.394Z] 2022-05-10 07:34:18,352 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T07:34:18.394Z] 2022-05-10 07:34:18,352 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-05-10T07:34:18.394Z] 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 [2022-05-10T07:34:18.394Z] 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) [2022-05-10T07:34:19.338Z] 2022-05-10 07:34:19,185 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2022-05-10T07:34:19.338Z] 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 [2022-05-10T07:34:19.338Z] 2022-05-10 07:34:19,185 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T07:34:19.338Z] 2022-05-10 07:34:19,185 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T07:34:19.338Z] 2.2.0-dev.21 [Pipeline] } [2022-05-10T07:34:19.358Z] $ docker exec --env ******** --env ******** 792539cfaf2fa6b3c30275ebf1f9be3fd4d11c3e1eb77274f7cf565dad062d91 ssh-agent -k [2022-05-10T07:34:19.483Z] unset SSH_AUTH_SOCK; [2022-05-10T07:34:19.484Z] unset SSH_AGENT_PID; [2022-05-10T07:34:19.484Z] echo Agent pid 79 killed; [2022-05-10T07:34:19.491Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T07:34:19.798Z] + git semver [Pipeline] } [2022-05-10T07:34:20.081Z] $ docker stop --time=1 792539cfaf2fa6b3c30275ebf1f9be3fd4d11c3e1eb77274f7cf565dad062d91 [2022-05-10T07:34:21.415Z] $ docker rm -f 792539cfaf2fa6b3c30275ebf1f9be3fd4d11c3e1eb77274f7cf565dad062d91 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T07:34:21.780Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T07:34:22.057Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T07:34:22.061Z] [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 [2022-05-10T07:34:22.213Z] provisioning config files... [2022-05-10T07:34:22.223Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5460477496740285794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:34:22.365Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-45843 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-05-10T07:34:22.381Z] Running in /w/workspace/device-mqtt-go/43 [Pipeline] { [Pipeline] checkout [2022-05-10T07:34:22.526Z] ---> docker-login.sh [2022-05-10T07:34:22.526Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:34:22.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:34:22.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:34:22.526Z] Configure a credential helper to remove this warning. See [2022-05-10T07:34:22.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:34:22.526Z] [2022-05-10T07:34:22.526Z] Login Succeeded [2022-05-10T07:34:22.526Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:34:22.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:34:22.571Z] Selected Git installation does not exist. Using Default [2022-05-10T07:34:22.572Z] The recommended git tool is: NONE [2022-05-10T07:34:22.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:34:22.787Z] Configure a credential helper to remove this warning. See [2022-05-10T07:34:22.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:34:22.787Z] [2022-05-10T07:34:22.787Z] Login Succeeded [2022-05-10T07:34:22.787Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:34:22.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:34:22.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:34:22.787Z] Configure a credential helper to remove this warning. See [2022-05-10T07:34:22.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:34:22.787Z] [2022-05-10T07:34:22.787Z] Login Succeeded [2022-05-10T07:34:22.787Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:34:23.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:34:23.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:34:23.047Z] Configure a credential helper to remove this warning. See [2022-05-10T07:34:23.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:34:23.047Z] [2022-05-10T07:34:23.047Z] Login Succeeded [2022-05-10T07:34:23.047Z] docker.io [2022-05-10T07:34:23.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:34:23.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:34:23.309Z] Configure a credential helper to remove this warning. See [2022-05-10T07:34:23.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:34:23.309Z] [2022-05-10T07:34:23.309Z] Login Succeeded [2022-05-10T07:34:23.309Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:34:23.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T07:34:23.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T07:34:23.407Z] ========================================================= [2022-05-10T07:34:23.407Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T07:34:23.407Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:34:23.713Z] + 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 . [2022-05-10T07:34:23.713Z] Sending build context to Docker daemon 5.863MB [2022-05-10T07:34:23.713Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T07:34:23.713Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T07:34:23.713Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T07:34:23.713Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T07:34:23.713Z] 666ba61612fd: Pulling fs layer [2022-05-10T07:34:23.713Z] 8ed8ca486205: Pulling fs layer [2022-05-10T07:34:23.713Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T07:34:23.713Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T07:34:23.713Z] ca2b28591e48: Pulling fs layer [2022-05-10T07:34:23.713Z] a51346096db8: Pulling fs layer [2022-05-10T07:34:23.713Z] daebc70d1ce1: Pulling fs layer [2022-05-10T07:34:23.713Z] 0e18a0eac166: Pulling fs layer [2022-05-10T07:34:23.713Z] 22a0e8bec74d: Waiting [2022-05-10T07:34:23.713Z] ca2b28591e48: Waiting [2022-05-10T07:34:23.713Z] a51346096db8: Waiting [2022-05-10T07:34:23.713Z] daebc70d1ce1: Waiting [2022-05-10T07:34:23.713Z] 0e18a0eac166: Waiting [2022-05-10T07:34:23.713Z] 4fe6c5a15a65: Waiting [2022-05-10T07:34:23.713Z] 8ed8ca486205: Verifying Checksum [2022-05-10T07:34:23.713Z] 8ed8ca486205: Download complete [2022-05-10T07:34:23.976Z] 666ba61612fd: Download complete [2022-05-10T07:34:23.976Z] 22a0e8bec74d: Download complete [2022-05-10T07:34:23.976Z] ca2b28591e48: Verifying Checksum [2022-05-10T07:34:23.976Z] ca2b28591e48: Download complete [2022-05-10T07:34:23.976Z] a51346096db8: Verifying Checksum [2022-05-10T07:34:23.976Z] a51346096db8: Download complete [2022-05-10T07:34:23.976Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T07:34:23.976Z] 59bf1c3509f3: Download complete [2022-05-10T07:34:23.976Z] daebc70d1ce1: Verifying Checksum [2022-05-10T07:34:23.976Z] daebc70d1ce1: Download complete [2022-05-10T07:34:23.976Z] 59bf1c3509f3: Pull complete [2022-05-10T07:34:24.243Z] 666ba61612fd: Pull complete [2022-05-10T07:34:24.243Z] 8ed8ca486205: Pull complete [2022-05-10T07:34:24.503Z] 0e18a0eac166: Verifying Checksum [2022-05-10T07:34:24.503Z] 0e18a0eac166: Download complete [2022-05-10T07:34:24.762Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T07:34:24.762Z] 4fe6c5a15a65: Download complete [2022-05-10T07:34:27.033Z] using credential edgex-jenkins-ssh [2022-05-10T07:34:27.051Z] Cloning the remote Git repository [2022-05-10T07:34:27.122Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-10T07:34:27.277Z] > git init /w/workspace/device-mqtt-go/43 # timeout=10 [2022-05-10T07:34:27.406Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-10T07:34:27.407Z] > git --version # timeout=10 [2022-05-10T07:34:27.427Z] > git --version # 'git version 2.25.1' [2022-05-10T07:34:27.429Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T07:34:28.626Z] Avoid second fetch [2022-05-10T07:34:28.626Z] Checking out Revision ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f (main) [2022-05-10T07:34:27.495Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T07:34:28.588Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-05-10T07:34:28.607Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T07:34:28.651Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T07:34:28.674Z] > git checkout -f ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f # timeout=10 [2022-05-10T07:34:28.961Z] 4fe6c5a15a65: Pull complete [2022-05-10T07:34:28.961Z] 22a0e8bec74d: Pull complete [2022-05-10T07:34:28.961Z] ca2b28591e48: Pull complete [2022-05-10T07:34:28.961Z] a51346096db8: Pull complete [2022-05-10T07:34:28.961Z] daebc70d1ce1: Pull complete [2022-05-10T07:34:30.938Z] 0e18a0eac166: Pull complete [2022-05-10T07:34:30.938Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T07:34:30.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T07:34:30.938Z] ---> f018257e8ee9 [2022-05-10T07:34:30.938Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T07:34:32.923Z] 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 [2022-05-10T07:34:33.486Z] ---> Running in 57eb87ea6d5b [2022-05-10T07:34:33.486Z] Removing intermediate container 57eb87ea6d5b [2022-05-10T07:34:33.486Z] ---> 84aaf7ce9c3c [2022-05-10T07:34:33.486Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T07:34:33.742Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T07:34:33.742Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T07:34:33.742Z] Dload Upload Total Spent Left Speed [2022-05-10T07:34:33.742Z] 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 [2022-05-10T07:34:33.747Z] ---> Running in d49298bc30cd [2022-05-10T07:34:33.747Z] Removing intermediate container d49298bc30cd [2022-05-10T07:34:33.747Z] ---> fc2e66091f74 [2022-05-10T07:34:33.747Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] sh [2022-05-10T07:34:34.008Z] ---> Running in c125bffa9651 [2022-05-10T07:34:34.273Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T07:34:34.620Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T07:34:34.620Z] + sudo tee /etc/docker/daemon.new [2022-05-10T07:34:34.620Z] { [2022-05-10T07:34:34.620Z] "registry-mirrors": [ [2022-05-10T07:34:34.620Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T07:34:34.620Z] ], [2022-05-10T07:34:34.620Z] "bip": "10.250.0.254/24", [2022-05-10T07:34:34.620Z] "hosts": [ [2022-05-10T07:34:34.620Z] "tcp://0.0.0.0:5555", [2022-05-10T07:34:34.620Z] "unix:///var/run/docker.sock" [2022-05-10T07:34:34.620Z] ], [2022-05-10T07:34:34.620Z] "mtu": 1458, [2022-05-10T07:34:34.620Z] "selinux-enabled": true, [2022-05-10T07:34:34.620Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T07:34:34.620Z] } [Pipeline] sh [2022-05-10T07:34:34.949Z] Removing intermediate container c125bffa9651 [2022-05-10T07:34:34.950Z] ---> 4b064a02d575 [2022-05-10T07:34:34.950Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T07:34:34.950Z] ---> Running in 67fa2b0ce725 [2022-05-10T07:34:34.987Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T07:34:35.211Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T07:34:35.333Z] + sudo service docker restart [2022-05-10T07:34:36.157Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T07:34:36.419Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T07:34:36.419Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T07:34:36.419Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T07:34:36.679Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T07:34:36.679Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T07:34:36.679Z] OK: 224 MiB in 56 packages [2022-05-10T07:34:37.249Z] Removing intermediate container 67fa2b0ce725 [2022-05-10T07:34:37.249Z] ---> 429f88c3f858 [2022-05-10T07:34:37.249Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-05-10T07:34:37.249Z] ---> Running in 79834318cd8b [2022-05-10T07:34:37.249Z] Removing intermediate container 79834318cd8b [2022-05-10T07:34:37.249Z] ---> 4677188af095 [2022-05-10T07:34:37.249Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-10T07:34:37.510Z] ---> 2848ccdab048 [2022-05-10T07:34:37.510Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T07:34:37.510Z] ---> Running in 68925aa1c52d [2022-05-10T07:34:52.430Z] Removing intermediate container 68925aa1c52d [2022-05-10T07:34:52.430Z] ---> f4e9d08a7bc5 [2022-05-10T07:34:52.430Z] Step 10/12 : COPY . . [2022-05-10T07:34:52.430Z] ---> 3aba3c68f041 [2022-05-10T07:34:52.430Z] Step 11/12 : ARG MAKE='make build' [2022-05-10T07:34:52.430Z] ---> Running in fe97cac71645 [2022-05-10T07:34:52.430Z] Removing intermediate container fe97cac71645 [2022-05-10T07:34:52.430Z] ---> f90a950d35df [2022-05-10T07:34:52.430Z] Step 12/12 : RUN $MAKE [2022-05-10T07:34:52.430Z] ---> Running in 58c340c14805 [2022-05-10T07:34:52.430Z] noop [2022-05-10T07:34:53.000Z] Removing intermediate container 58c340c14805 [2022-05-10T07:34:53.000Z] ---> 0cf44780bb8b [2022-05-10T07:34:53.000Z] Successfully built 0cf44780bb8b [2022-05-10T07:34:53.000Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:34:53.299Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T07:34:53.299Z] . [Pipeline] withDockerContainer [2022-05-10T07:34:53.373Z] prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container [2022-05-10T07:34:53.420Z] $ 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 [2022-05-10T07:34:53.822Z] $ docker top 05a97b0096a7c0e7a4958272d91501ab67372c989358d628bf33386d0c2f3fe2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] configFileProvider [2022-05-10T07:34:53.939Z] provisioning config files... [2022-05-10T07:34:53.966Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/43@tmp/config569846638810741709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:34:54.183Z] + go version [2022-05-10T07:34:54.183Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T07:34:54.201Z] $ docker stop --time=1 05a97b0096a7c0e7a4958272d91501ab67372c989358d628bf33386d0c2f3fe2 [2022-05-10T07:34:54.333Z] ---> docker-login.sh [2022-05-10T07:34:54.333Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:34:54.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:34:55.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:34:55.206Z] Configure a credential helper to remove this warning. See [2022-05-10T07:34:55.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:34:55.206Z] [2022-05-10T07:34:55.206Z] Login Succeeded [2022-05-10T07:34:55.206Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:34:55.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:34:55.533Z] $ docker rm -f 05a97b0096a7c0e7a4958272d91501ab67372c989358d628bf33386d0c2f3fe2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:34:55.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:34:55.752Z] Configure a credential helper to remove this warning. See [2022-05-10T07:34:55.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:34:55.752Z] [2022-05-10T07:34:55.752Z] Login Succeeded [2022-05-10T07:34:55.752Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:34:56.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:34:56.027Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T07:34:56.027Z] . [Pipeline] withDockerContainer [2022-05-10T07:34:56.096Z] prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container [2022-05-10T07:34:56.139Z] $ 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 [2022-05-10T07:34:56.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:34:56.301Z] Configure a credential helper to remove this warning. See [2022-05-10T07:34:56.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:34:56.301Z] [2022-05-10T07:34:56.301Z] Login Succeeded [2022-05-10T07:34:56.301Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:34:56.527Z] $ docker top 5688eed5d8517d780dddd22df1d37b89cf42ab034631bf0de8871d6fcdbebe18 -eo pid,comm [2022-05-10T07:34:56.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T07:34:56.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:34:56.847Z] Configure a credential helper to remove this warning. See [2022-05-10T07:34:56.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:34:56.847Z] [2022-05-10T07:34:56.847Z] Login Succeeded [2022-05-10T07:34:56.847Z] docker.io [2022-05-10T07:34:56.891Z] + make test [2022-05-10T07:34:56.891Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T07:34:57.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:34:57.151Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-05-10T07:34:57.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:34:57.391Z] Configure a credential helper to remove this warning. See [2022-05-10T07:34:57.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:34:57.391Z] [2022-05-10T07:34:57.391Z] Login Succeeded [2022-05-10T07:34:57.391Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:34:57.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T07:34:57.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T07:34:57.957Z] ========================================================= [2022-05-10T07:34:57.957Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T07:34:57.957Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:34:58.304Z] + 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 . [2022-05-10T07:34:58.579Z] Sending build context to Docker daemon 3.041MB [2022-05-10T07:34:58.852Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T07:34:58.852Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T07:34:58.852Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T07:34:58.852Z] 9b3977197b4f: Pulling fs layer [2022-05-10T07:34:58.852Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T07:34:58.852Z] 94645a83ff95: Pulling fs layer [2022-05-10T07:34:58.852Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T07:34:58.852Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T07:34:58.852Z] 3096ccb668a1: Pulling fs layer [2022-05-10T07:34:58.852Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T07:34:58.852Z] a4caa8a26152: Pulling fs layer [2022-05-10T07:34:58.852Z] 0c92f367c5e7: Waiting [2022-05-10T07:34:58.852Z] 3096ccb668a1: Waiting [2022-05-10T07:34:58.852Z] e8cf19c19ddd: Waiting [2022-05-10T07:34:58.852Z] a4caa8a26152: Waiting [2022-05-10T07:34:58.852Z] 3f3a8bcf1eab: Waiting [2022-05-10T07:34:58.852Z] 94645a83ff95: Verifying Checksum [2022-05-10T07:34:58.852Z] 94645a83ff95: Download complete [2022-05-10T07:34:58.852Z] 1a89e8eeedd5: Download complete [2022-05-10T07:34:58.852Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T07:34:58.852Z] 0c92f367c5e7: Download complete [2022-05-10T07:34:58.852Z] 3096ccb668a1: Verifying Checksum [2022-05-10T07:34:58.852Z] 3096ccb668a1: Download complete [2022-05-10T07:34:58.852Z] 9b3977197b4f: Download complete [2022-05-10T07:34:59.129Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T07:34:59.129Z] e8cf19c19ddd: Download complete [2022-05-10T07:34:59.731Z] 9b3977197b4f: Pull complete [2022-05-10T07:35:00.332Z] 1a89e8eeedd5: Pull complete [2022-05-10T07:35:00.606Z] 94645a83ff95: Pull complete [2022-05-10T07:35:01.205Z] a4caa8a26152: Verifying Checksum [2022-05-10T07:35:01.205Z] a4caa8a26152: Download complete [2022-05-10T07:35:01.804Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T07:35:01.804Z] 3f3a8bcf1eab: Download complete [2022-05-10T07:35:07.136Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-05-10T07:35:07.136Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-05-10T07:35:07.136Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-05-10T07:35:14.206Z] 3f3a8bcf1eab: Pull complete [2022-05-10T07:35:14.206Z] 0c92f367c5e7: Pull complete [2022-05-10T07:35:14.206Z] 3096ccb668a1: Pull complete [2022-05-10T07:35:14.206Z] e8cf19c19ddd: Pull complete [2022-05-10T07:35:15.261Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T07:35:18.522Z] a4caa8a26152: Pull complete [2022-05-10T07:35:18.523Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T07:35:18.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T07:35:18.523Z] ---> 725f1c02e7f9 [2022-05-10T07:35:18.523Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T07:35:19.465Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T07:35:19.465Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T07:35:19.465Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T07:35:19.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T07:35:19.501Z] $ docker stop --time=1 5688eed5d8517d780dddd22df1d37b89cf42ab034631bf0de8871d6fcdbebe18 [2022-05-10T07:35:20.505Z] ---> Running in 1b803c18dd95 [2022-05-10T07:35:20.505Z] Removing intermediate container 1b803c18dd95 [2022-05-10T07:35:20.505Z] ---> e5900f4ec73e [2022-05-10T07:35:20.505Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T07:35:20.505Z] ---> Running in 7637dd3aa336 [2022-05-10T07:35:20.778Z] Removing intermediate container 7637dd3aa336 [2022-05-10T07:35:20.778Z] ---> 8c59112e6740 [2022-05-10T07:35:20.778Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:35:21.062Z] ---> Running in 76da1b4b95f2 [2022-05-10T07:35:21.375Z] $ docker rm -f 5688eed5d8517d780dddd22df1d37b89cf42ab034631bf0de8871d6fcdbebe18 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T07:35:21.812Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T07:35:21.853Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T07:35:22.375Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T07:35:22.675Z] + ls -al . [2022-05-10T07:35:22.675Z] total 180 [2022-05-10T07:35:22.675Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 07:35 . [2022-05-10T07:35:22.675Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:33 .. [2022-05-10T07:35:22.675Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 07:33 .dockerignore [2022-05-10T07:35:22.675Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:34 .git [2022-05-10T07:35:22.675Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:33 .github [2022-05-10T07:35:22.675Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 07:33 .gitignore [2022-05-10T07:35:22.675Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 07:33 .golangci.yml [2022-05-10T07:35:22.675Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 07:34 .semver [2022-05-10T07:35:22.675Z] -rw-rw-r-- 1 jenkins jenkins 8656 May 10 07:33 Attribution.txt [2022-05-10T07:35:22.675Z] -rw-rw-r-- 1 jenkins jenkins 11365 May 10 07:33 CHANGELOG.md [2022-05-10T07:35:22.675Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 10 07:33 Dockerfile [2022-05-10T07:35:22.675Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 07:33 GOVERNANCE.md [2022-05-10T07:35:22.675Z] -rw-rw-r-- 1 jenkins jenkins 678 May 10 07:33 Jenkinsfile [2022-05-10T07:35:22.675Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 07:33 LICENSE [2022-05-10T07:35:22.675Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 10 07:33 Makefile [2022-05-10T07:35:22.675Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 07:33 OWNERS.md [2022-05-10T07:35:22.675Z] -rw-rw-r-- 1 jenkins jenkins 2501 May 10 07:33 README.md [2022-05-10T07:35:22.675Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 07:34 VERSION [2022-05-10T07:35:22.675Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:33 bin [2022-05-10T07:35:22.675Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:33 cmd [2022-05-10T07:35:22.675Z] -rw-r--r-- 1 jenkins jenkins 17887 May 10 07:35 coverage.out [2022-05-10T07:35:22.675Z] -rw-rw-r-- 1 jenkins jenkins 3309 May 10 07:33 go.mod [2022-05-10T07:35:22.675Z] -rw-rw-r-- 1 jenkins jenkins 35490 May 10 07:33 go.sum [2022-05-10T07:35:22.675Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:33 internal [2022-05-10T07:35:22.675Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:33 mock [2022-05-10T07:35:22.675Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:33 snap [2022-05-10T07:35:22.675Z] -rw-rw-r-- 1 jenkins jenkins 227 May 10 07:33 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:35:22.977Z] + 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 . [2022-05-10T07:35:22.977Z] Sending build context to Docker daemon 5.881MB [2022-05-10T07:35:22.977Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T07:35:22.977Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-10T07:35:22.977Z] ---> 0cf44780bb8b [2022-05-10T07:35:22.977Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T07:35:22.977Z] ---> Running in 4cd1b5fe8397 [2022-05-10T07:35:23.036Z] Removing intermediate container 76da1b4b95f2 [2022-05-10T07:35:23.036Z] ---> 3ef5cfa9fd7c [2022-05-10T07:35:23.036Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T07:35:23.036Z] ---> Running in 6c8758f62b94 [2022-05-10T07:35:23.235Z] Removing intermediate container 4cd1b5fe8397 [2022-05-10T07:35:23.235Z] ---> 69683a415043 [2022-05-10T07:35:23.235Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T07:35:23.235Z] ---> Running in d9c5f413a558 [2022-05-10T07:35:23.235Z] Removing intermediate container d9c5f413a558 [2022-05-10T07:35:23.235Z] ---> d2c860795e74 [2022-05-10T07:35:23.235Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:35:23.235Z] ---> Running in f411297f458e [2022-05-10T07:35:23.809Z] Removing intermediate container f411297f458e [2022-05-10T07:35:23.809Z] ---> 3000dd570f59 [2022-05-10T07:35:23.809Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T07:35:24.020Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T07:35:24.070Z] ---> Running in 9cadd35e9288 [2022-05-10T07:35:24.329Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T07:35:24.614Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T07:35:25.269Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T07:35:25.269Z] OK: 224 MiB in 56 packages [2022-05-10T07:35:25.592Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T07:35:25.592Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T07:35:25.838Z] Removing intermediate container 9cadd35e9288 [2022-05-10T07:35:25.838Z] ---> 4b39182f7b24 [2022-05-10T07:35:25.838Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-05-10T07:35:25.838Z] ---> Running in 08acdd67fb90 [2022-05-10T07:35:25.838Z] Removing intermediate container 08acdd67fb90 [2022-05-10T07:35:25.838Z] ---> b124372d0271 [2022-05-10T07:35:25.838Z] Step 8/24 : COPY go.mod vendor* ./ [2022-05-10T07:35:25.838Z] ---> 3fdcd992cf96 [2022-05-10T07:35:25.838Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T07:35:25.864Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T07:35:25.864Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T07:35:26.098Z] ---> Running in 98d330808dda [2022-05-10T07:35:26.138Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T07:35:26.138Z] OK: 224 MiB in 56 packages [2022-05-10T07:35:26.668Z] Removing intermediate container 98d330808dda [2022-05-10T07:35:26.668Z] ---> a55451bbb4ab [2022-05-10T07:35:26.668Z] Step 10/24 : COPY . . [2022-05-10T07:35:26.930Z] ---> 15507cfe05ab [2022-05-10T07:35:26.930Z] Step 11/24 : ARG MAKE='make build' [2022-05-10T07:35:26.930Z] ---> Running in 821467bf8253 [2022-05-10T07:35:27.116Z] Removing intermediate container 6c8758f62b94 [2022-05-10T07:35:27.116Z] ---> a7d363af0802 [2022-05-10T07:35:27.116Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-05-10T07:35:27.116Z] ---> Running in e25432974f4a [2022-05-10T07:35:27.190Z] Removing intermediate container 821467bf8253 [2022-05-10T07:35:27.190Z] ---> 9afa2d9d67ba [2022-05-10T07:35:27.190Z] Step 12/24 : RUN $MAKE [2022-05-10T07:35:27.190Z] ---> Running in 88ffbc76d1cf [2022-05-10T07:35:27.390Z] Removing intermediate container e25432974f4a [2022-05-10T07:35:27.390Z] ---> 5e1166ee8d8f [2022-05-10T07:35:27.390Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-10T07:35:27.449Z] 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 [2022-05-10T07:35:27.986Z] ---> d314d3461c6f [2022-05-10T07:35:27.986Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T07:35:27.986Z] ---> Running in e5cfd0895d9e [2022-05-10T07:35:49.396Z] Removing intermediate container 88ffbc76d1cf [2022-05-10T07:35:49.396Z] ---> a38fc52682b3 [2022-05-10T07:35:49.396Z] Step 13/24 : FROM alpine:3.14 [2022-05-10T07:35:49.396Z] 3.14: Pulling from library/alpine [2022-05-10T07:35:49.396Z] 8663204ce13b: Pulling fs layer [2022-05-10T07:35:49.396Z] 8663204ce13b: Verifying Checksum [2022-05-10T07:35:49.396Z] 8663204ce13b: Download complete [2022-05-10T07:35:49.396Z] 8663204ce13b: Pull complete [2022-05-10T07:35:49.396Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T07:35:49.396Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T07:35:49.396Z] ---> e04c818066af [2022-05-10T07:35:49.396Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-05-10T07:35:49.396Z] ---> Running in 615a4bc64980 [2022-05-10T07:35:49.396Z] Removing intermediate container 615a4bc64980 [2022-05-10T07:35:49.396Z] ---> 1ae3afb1d1e3 [2022-05-10T07:35:49.396Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T07:35:49.396Z] ---> Running in 33618a141a84 [2022-05-10T07:35:49.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T07:35:49.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T07:35:49.396Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T07:35:49.396Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T07:35:49.396Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T07:35:49.396Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T07:35:49.396Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T07:35:49.396Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T07:35:49.396Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T07:35:49.396Z] OK: 8 MiB in 20 packages [2022-05-10T07:35:49.396Z] Removing intermediate container 33618a141a84 [2022-05-10T07:35:49.396Z] ---> 376f126dd81c [2022-05-10T07:35:49.396Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-05-10T07:35:49.396Z] ---> 0f5f23cc544f [2022-05-10T07:35:49.396Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-05-10T07:35:49.396Z] ---> 86b509923679 [2022-05-10T07:35:49.396Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-05-10T07:35:49.396Z] ---> 3cc9cf63e9a9 [2022-05-10T07:35:49.396Z] Step 19/24 : EXPOSE 59982 [2022-05-10T07:35:49.396Z] ---> Running in d354a82c4770 [2022-05-10T07:35:49.396Z] Removing intermediate container d354a82c4770 [2022-05-10T07:35:49.396Z] ---> d6ef445e04c2 [2022-05-10T07:35:49.396Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-05-10T07:35:49.656Z] ---> Running in 7861f38844e3 [2022-05-10T07:35:49.656Z] Removing intermediate container 7861f38844e3 [2022-05-10T07:35:49.656Z] ---> db9d3f28da3a [2022-05-10T07:35:49.656Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T07:35:49.656Z] ---> Running in c51034f808eb [2022-05-10T07:35:49.656Z] Removing intermediate container c51034f808eb [2022-05-10T07:35:49.656Z] ---> f3d624144f21 [2022-05-10T07:35:49.656Z] Step 22/24 : LABEL arch=amd64 [2022-05-10T07:35:49.656Z] ---> Running in 20d9d932cf62 [2022-05-10T07:35:49.917Z] Removing intermediate container 20d9d932cf62 [2022-05-10T07:35:49.918Z] ---> 325ec549397e [2022-05-10T07:35:49.918Z] Step 23/24 : LABEL git_sha=ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [2022-05-10T07:35:49.918Z] ---> Running in 17cc98021ec8 [2022-05-10T07:35:49.918Z] Removing intermediate container 17cc98021ec8 [2022-05-10T07:35:49.918Z] ---> 0c45b1e437c9 [2022-05-10T07:35:49.918Z] Step 24/24 : LABEL version=2.2.0-dev.21 [2022-05-10T07:35:50.178Z] ---> Running in c4989f8f1ee5 [2022-05-10T07:35:50.178Z] Removing intermediate container c4989f8f1ee5 [2022-05-10T07:35:50.178Z] ---> 329b1257edd9 [2022-05-10T07:35:50.178Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T07:35:50.178Z] Successfully built 329b1257edd9 [2022-05-10T07:35:50.178Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:35:50.282Z] provisioning config files... [2022-05-10T07:35:50.298Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7465067304858344298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:35:50.594Z] ---> docker-login.sh [2022-05-10T07:35:50.594Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:35:50.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:35:50.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:35:50.594Z] Configure a credential helper to remove this warning. See [2022-05-10T07:35:50.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:35:50.594Z] [2022-05-10T07:35:50.594Z] Login Succeeded [2022-05-10T07:35:50.594Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:35:50.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:35:50.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:35:50.854Z] Configure a credential helper to remove this warning. See [2022-05-10T07:35:50.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:35:50.854Z] [2022-05-10T07:35:50.854Z] Login Succeeded [2022-05-10T07:35:50.854Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:35:50.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:35:50.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:35:50.854Z] Configure a credential helper to remove this warning. See [2022-05-10T07:35:50.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:35:50.854Z] [2022-05-10T07:35:50.854Z] Login Succeeded [2022-05-10T07:35:50.854Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:35:50.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:35:51.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:35:51.115Z] Configure a credential helper to remove this warning. See [2022-05-10T07:35:51.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:35:51.115Z] [2022-05-10T07:35:51.115Z] Login Succeeded [2022-05-10T07:35:51.115Z] docker.io [2022-05-10T07:35:51.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:35:51.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:35:51.376Z] Configure a credential helper to remove this warning. See [2022-05-10T07:35:51.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:35:51.376Z] [2022-05-10T07:35:51.376Z] Login Succeeded [2022-05-10T07:35:51.376Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:35:51.386Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T07:35:51.420Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T07:35:51.448Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-05-10T07:35:51.448Z] ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [2022-05-10T07:35:51.448Z] latest [2022-05-10T07:35:51.448Z] 2.2.0-dev.21 [2022-05-10T07:35:51.448Z] ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21 [2022-05-10T07:35:51.448Z] main [2022-05-10T07:35:51.448Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:35:51.774Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:35:52.068Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [2022-05-10T07:35:52.068Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-10T07:35:52.068Z] cb176e78fd55: Preparing [2022-05-10T07:35:52.068Z] a7c46461876d: Preparing [2022-05-10T07:35:52.068Z] d36e100d8e9a: Preparing [2022-05-10T07:35:52.068Z] 483862dedd4d: Preparing [2022-05-10T07:35:52.068Z] b541d28bf3b4: Preparing [2022-05-10T07:35:52.068Z] b541d28bf3b4: Layer already exists [2022-05-10T07:35:52.068Z] cb176e78fd55: Pushed [2022-05-10T07:35:52.068Z] a7c46461876d: Pushed [2022-05-10T07:35:52.328Z] 483862dedd4d: Pushed [2022-05-10T07:35:55.621Z] d36e100d8e9a: Pushed [2022-05-10T07:35:55.621Z] ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f: digest: sha256:85e20c864562c82af34b1761b51061690efc03484a2614f670a942776e0f42a9 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:35:55.927Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:35:56.220Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-05-10T07:35:56.220Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-10T07:35:56.220Z] cb176e78fd55: Preparing [2022-05-10T07:35:56.220Z] a7c46461876d: Preparing [2022-05-10T07:35:56.220Z] d36e100d8e9a: Preparing [2022-05-10T07:35:56.220Z] 483862dedd4d: Preparing [2022-05-10T07:35:56.220Z] b541d28bf3b4: Preparing [2022-05-10T07:35:56.220Z] 483862dedd4d: Layer already exists [2022-05-10T07:35:56.220Z] d36e100d8e9a: Layer already exists [2022-05-10T07:35:56.220Z] a7c46461876d: Layer already exists [2022-05-10T07:35:56.220Z] b541d28bf3b4: Layer already exists [2022-05-10T07:35:56.220Z] cb176e78fd55: Layer already exists [2022-05-10T07:35:56.220Z] latest: digest: sha256:85e20c864562c82af34b1761b51061690efc03484a2614f670a942776e0f42a9 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:35:56.519Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.21 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:35:56.813Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.21 [2022-05-10T07:35:56.813Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-10T07:35:56.813Z] cb176e78fd55: Preparing [2022-05-10T07:35:56.813Z] a7c46461876d: Preparing [2022-05-10T07:35:56.813Z] d36e100d8e9a: Preparing [2022-05-10T07:35:56.813Z] 483862dedd4d: Preparing [2022-05-10T07:35:56.813Z] b541d28bf3b4: Preparing [2022-05-10T07:35:56.813Z] b541d28bf3b4: Layer already exists [2022-05-10T07:35:56.813Z] cb176e78fd55: Layer already exists [2022-05-10T07:35:56.813Z] a7c46461876d: Layer already exists [2022-05-10T07:35:56.813Z] 483862dedd4d: Layer already exists [2022-05-10T07:35:56.813Z] d36e100d8e9a: Layer already exists [2022-05-10T07:35:56.813Z] 2.2.0-dev.21: digest: sha256:85e20c864562c82af34b1761b51061690efc03484a2614f670a942776e0f42a9 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:35:57.112Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:35:57.405Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21 [2022-05-10T07:35:57.405Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-10T07:35:57.405Z] cb176e78fd55: Preparing [2022-05-10T07:35:57.405Z] a7c46461876d: Preparing [2022-05-10T07:35:57.405Z] d36e100d8e9a: Preparing [2022-05-10T07:35:57.405Z] 483862dedd4d: Preparing [2022-05-10T07:35:57.405Z] b541d28bf3b4: Preparing [2022-05-10T07:35:57.405Z] d36e100d8e9a: Layer already exists [2022-05-10T07:35:57.405Z] cb176e78fd55: Layer already exists [2022-05-10T07:35:57.405Z] b541d28bf3b4: Layer already exists [2022-05-10T07:35:57.405Z] 483862dedd4d: Layer already exists [2022-05-10T07:35:57.405Z] a7c46461876d: Layer already exists [2022-05-10T07:35:57.405Z] ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21: digest: sha256:85e20c864562c82af34b1761b51061690efc03484a2614f670a942776e0f42a9 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:35:57.706Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:35:58.003Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-05-10T07:35:58.003Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-10T07:35:58.003Z] cb176e78fd55: Preparing [2022-05-10T07:35:58.003Z] a7c46461876d: Preparing [2022-05-10T07:35:58.003Z] d36e100d8e9a: Preparing [2022-05-10T07:35:58.003Z] 483862dedd4d: Preparing [2022-05-10T07:35:58.003Z] b541d28bf3b4: Preparing [2022-05-10T07:35:58.003Z] b541d28bf3b4: Layer already exists [2022-05-10T07:35:58.003Z] cb176e78fd55: Layer already exists [2022-05-10T07:35:58.003Z] 483862dedd4d: Layer already exists [2022-05-10T07:35:58.003Z] d36e100d8e9a: Layer already exists [2022-05-10T07:35:58.003Z] a7c46461876d: Layer already exists [2022-05-10T07:35:58.003Z] main: digest: sha256:85e20c864562c82af34b1761b51061690efc03484a2614f670a942776e0f42a9 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T07:35:58.044Z] ===================================================== [Pipeline] echo [2022-05-10T07:35:58.054Z] taggedImages: [2022-05-10T07:35:58.054Z] - nexus3.edgexfoundry.org:10004/device-mqtt:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [2022-05-10T07:35:58.054Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-05-10T07:35:58.054Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.21 [2022-05-10T07:35:58.054Z] - nexus3.edgexfoundry.org:10004/device-mqtt:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21 [2022-05-10T07:35:58.054Z] - 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 [2022-05-10T07:35:58.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T07:35:58.425Z] [2022-05-10T07:35:58.425Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:35:58.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T07:35:58.727Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T07:35:58.727Z] 5eb5b503b376: Pulling fs layer [2022-05-10T07:35:58.727Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T07:35:58.727Z] ec43610c2a17: Pulling fs layer [2022-05-10T07:35:58.727Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T07:35:58.727Z] 33b1e0a273af: Pulling fs layer [2022-05-10T07:35:58.727Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T07:35:58.727Z] 2f39f015ded8: Pulling fs layer [2022-05-10T07:35:58.727Z] 33b1e0a273af: Waiting [2022-05-10T07:35:58.727Z] 5d3b04190fa2: Waiting [2022-05-10T07:35:58.727Z] 2f39f015ded8: Waiting [2022-05-10T07:35:58.727Z] 3a2ae6a8a46f: Waiting [2022-05-10T07:35:58.727Z] 5c69ac0246d0: Download complete [2022-05-10T07:35:58.727Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T07:35:58.727Z] 3a2ae6a8a46f: Download complete [2022-05-10T07:35:58.727Z] 33b1e0a273af: Verifying Checksum [2022-05-10T07:35:58.727Z] 33b1e0a273af: Download complete [2022-05-10T07:35:58.727Z] ec43610c2a17: Verifying Checksum [2022-05-10T07:35:58.727Z] ec43610c2a17: Download complete [2022-05-10T07:35:58.727Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T07:35:58.727Z] 5d3b04190fa2: Download complete [2022-05-10T07:35:58.988Z] 5eb5b503b376: Verifying Checksum [2022-05-10T07:35:58.988Z] 5eb5b503b376: Download complete [2022-05-10T07:35:59.556Z] 2f39f015ded8: Download complete [2022-05-10T07:36:00.493Z] 5eb5b503b376: Pull complete [2022-05-10T07:36:00.493Z] 5c69ac0246d0: Pull complete [2022-05-10T07:36:00.752Z] ec43610c2a17: Pull complete [2022-05-10T07:36:01.012Z] 3a2ae6a8a46f: Pull complete [2022-05-10T07:36:01.012Z] 33b1e0a273af: Pull complete [2022-05-10T07:36:01.271Z] 5d3b04190fa2: Pull complete [2022-05-10T07:36:05.508Z] 2f39f015ded8: Pull complete [2022-05-10T07:36:05.508Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T07:36:05.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T07:36:05.508Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T07:36:05.664Z] prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container [2022-05-10T07:36:05.700Z] $ 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 [2022-05-10T07:36:07.685Z] $ docker top cfc0604f9375cf5d4b40381763069791abbbe7c366df2ae1b6a928fa7bda675c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:36:08.074Z] ---> job-cost.sh [2022-05-10T07:36:08.074Z] lf-activate-venv: SKIPPING [2022-05-10T07:36:08.074Z] INFO: No Stack... [2022-05-10T07:36:08.644Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T07:36:08.904Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T07:36:09.204Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-05-10T07:36:09.204Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T07:36:09.219Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-43-stack-cost] [2022-05-10T07:36:09.227Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-43-stack-cost] did not exist. Created. [2022-05-10T07:36:09.227Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T07:36:09.527Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T07:36:09.561Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T07:36:09.567Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-43-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T07:36:09.592Z] $ docker stop --time=1 cfc0604f9375cf5d4b40381763069791abbbe7c366df2ae1b6a928fa7bda675c [2022-05-10T07:36:10.758Z] $ docker rm -f cfc0604f9375cf5d4b40381763069791abbbe7c366df2ae1b6a928fa7bda675c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T07:36:14.988Z] Removing intermediate container e5cfd0895d9e [2022-05-10T07:36:14.988Z] ---> 3146922470a7 [2022-05-10T07:36:14.988Z] Step 10/12 : COPY . . [2022-05-10T07:36:14.988Z] ---> dd30b8735536 [2022-05-10T07:36:14.988Z] Step 11/12 : ARG MAKE='make build' [2022-05-10T07:36:14.988Z] ---> Running in 11cf4c1c84eb [2022-05-10T07:36:14.988Z] Removing intermediate container 11cf4c1c84eb [2022-05-10T07:36:14.988Z] ---> baefa9c826c5 [2022-05-10T07:36:14.988Z] Step 12/12 : RUN $MAKE [2022-05-10T07:36:14.988Z] ---> Running in fdd0951cfc7f [2022-05-10T07:36:14.988Z] noop [2022-05-10T07:36:15.587Z] Removing intermediate container fdd0951cfc7f [2022-05-10T07:36:15.587Z] ---> 8af80e1a9345 [2022-05-10T07:36:15.587Z] Successfully built 8af80e1a9345 [2022-05-10T07:36:15.587Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:36:15.941Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T07:36:15.941Z] . [Pipeline] withDockerContainer [2022-05-10T07:36:16.194Z] prd-ubuntu20.04-docker-arm64-4c-16g-45843 does not seem to be running inside a container [2022-05-10T07:36:16.282Z] $ 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 [2022-05-10T07:36:17.656Z] $ docker top 8ce5bebedeeb2c5f7c58da4f743c687ec8a5f915530414672dcde1d9158be966 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T07:36:18.607Z] + go version [2022-05-10T07:36:18.607Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T07:36:18.643Z] $ docker stop --time=1 8ce5bebedeeb2c5f7c58da4f743c687ec8a5f915530414672dcde1d9158be966 [2022-05-10T07:36:20.331Z] $ docker rm -f 8ce5bebedeeb2c5f7c58da4f743c687ec8a5f915530414672dcde1d9158be966 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:36:20.976Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T07:36:20.976Z] . [Pipeline] withDockerContainer [2022-05-10T07:36:21.257Z] prd-ubuntu20.04-docker-arm64-4c-16g-45843 does not seem to be running inside a container [2022-05-10T07:36:21.385Z] $ 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 [2022-05-10T07:36:22.771Z] $ docker top 0dc1709882071379b11cdb8aba82f5fe7ffe1574da61f59b749fb0dbc27bee12 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T07:36:23.694Z] + make test [2022-05-10T07:36:23.694Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T07:36:25.702Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-05-10T07:37:47.564Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-05-10T07:37:47.564Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements [2022-05-10T07:37:47.564Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-05-10T07:37:47.564Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T07:37:47.565Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T07:38:14.370Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T07:38:14.370Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T07:38:14.370Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T07:38:14.395Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T07:38:14.415Z] $ docker stop --time=1 0dc1709882071379b11cdb8aba82f5fe7ffe1574da61f59b749fb0dbc27bee12 [2022-05-10T07:38:16.153Z] $ docker rm -f 0dc1709882071379b11cdb8aba82f5fe7ffe1574da61f59b749fb0dbc27bee12 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T07:38:17.124Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T07:38:17.152Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T07:38:17.709Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T07:38:18.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T07:38:18.445Z] + ls -al . [2022-05-10T07:38:18.445Z] total 176 [2022-05-10T07:38:18.445Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 07:38 . [2022-05-10T07:38:18.445Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:34 .. [2022-05-10T07:38:18.445Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 07:34 .dockerignore [2022-05-10T07:38:18.445Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:34 .git [2022-05-10T07:38:18.445Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:34 .github [2022-05-10T07:38:18.445Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 07:34 .gitignore [2022-05-10T07:38:18.445Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 07:34 .golangci.yml [2022-05-10T07:38:18.445Z] -rw-rw-r-- 1 jenkins jenkins 8656 May 10 07:34 Attribution.txt [2022-05-10T07:38:18.445Z] -rw-rw-r-- 1 jenkins jenkins 11365 May 10 07:34 CHANGELOG.md [2022-05-10T07:38:18.445Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 10 07:34 Dockerfile [2022-05-10T07:38:18.445Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 07:34 GOVERNANCE.md [2022-05-10T07:38:18.445Z] -rw-rw-r-- 1 jenkins jenkins 678 May 10 07:34 Jenkinsfile [2022-05-10T07:38:18.445Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 07:34 LICENSE [2022-05-10T07:38:18.445Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 10 07:34 Makefile [2022-05-10T07:38:18.445Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 07:34 OWNERS.md [2022-05-10T07:38:18.445Z] -rw-rw-r-- 1 jenkins jenkins 2501 May 10 07:34 README.md [2022-05-10T07:38:18.445Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 07:34 VERSION [2022-05-10T07:38:18.445Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:34 bin [2022-05-10T07:38:18.445Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:34 cmd [2022-05-10T07:38:18.445Z] -rw-r--r-- 1 jenkins jenkins 17887 May 10 07:37 coverage.out [2022-05-10T07:38:18.445Z] -rw-rw-r-- 1 jenkins jenkins 3309 May 10 07:34 go.mod [2022-05-10T07:38:18.445Z] -rw-rw-r-- 1 jenkins jenkins 35490 May 10 07:34 go.sum [2022-05-10T07:38:18.445Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:34 internal [2022-05-10T07:38:18.445Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:34 mock [2022-05-10T07:38:18.445Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:34 snap [2022-05-10T07:38:18.445Z] -rw-rw-r-- 1 jenkins jenkins 227 May 10 07:34 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:38:18.801Z] + 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 . [2022-05-10T07:38:19.075Z] Sending build context to Docker daemon 3.06MB [2022-05-10T07:38:19.350Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T07:38:19.350Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-10T07:38:19.350Z] ---> 8af80e1a9345 [2022-05-10T07:38:19.350Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T07:38:19.350Z] ---> Running in 9a0d6c7c8201 [2022-05-10T07:38:19.625Z] Removing intermediate container 9a0d6c7c8201 [2022-05-10T07:38:19.625Z] ---> afa8e0a7ad51 [2022-05-10T07:38:19.625Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T07:38:19.625Z] ---> Running in 34cf19b74a12 [2022-05-10T07:38:19.905Z] Removing intermediate container 34cf19b74a12 [2022-05-10T07:38:19.905Z] ---> 2329e2be2301 [2022-05-10T07:38:19.905Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:38:20.186Z] ---> Running in ca25437fe64f [2022-05-10T07:38:21.625Z] Removing intermediate container ca25437fe64f [2022-05-10T07:38:21.625Z] ---> 1853ed9c3e57 [2022-05-10T07:38:21.625Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T07:38:21.900Z] ---> Running in eec510d9f4de [2022-05-10T07:38:22.880Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T07:38:23.860Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T07:38:24.839Z] OK: 224 MiB in 56 packages [2022-05-10T07:38:25.446Z] Removing intermediate container eec510d9f4de [2022-05-10T07:38:25.446Z] ---> b4a624184865 [2022-05-10T07:38:25.446Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-05-10T07:38:25.446Z] ---> Running in f1766f6e6fe5 [2022-05-10T07:38:25.724Z] Removing intermediate container f1766f6e6fe5 [2022-05-10T07:38:25.724Z] ---> c530b25cda3b [2022-05-10T07:38:25.724Z] Step 8/24 : COPY go.mod vendor* ./ [2022-05-10T07:38:26.319Z] ---> 1bd3b7b78c2b [2022-05-10T07:38:26.319Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T07:38:26.319Z] ---> Running in 78048723b082 [2022-05-10T07:38:28.293Z] Removing intermediate container 78048723b082 [2022-05-10T07:38:28.293Z] ---> c3b68e54472b [2022-05-10T07:38:28.293Z] Step 10/24 : COPY . . [2022-05-10T07:38:29.272Z] ---> 3ead12e17734 [2022-05-10T07:38:29.272Z] Step 11/24 : ARG MAKE='make build' [2022-05-10T07:38:29.272Z] ---> Running in 8d162e67bc65 [2022-05-10T07:38:29.546Z] Removing intermediate container 8d162e67bc65 [2022-05-10T07:38:29.546Z] ---> d51f9351d55b [2022-05-10T07:38:29.546Z] Step 12/24 : RUN $MAKE [2022-05-10T07:38:29.546Z] ---> Running in dae9d5133a91 [2022-05-10T07:38:30.528Z] 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 [2022-05-10T07:40:37.397Z] Removing intermediate container dae9d5133a91 [2022-05-10T07:40:37.397Z] ---> 12685ca3ee77 [2022-05-10T07:40:37.397Z] Step 13/24 : FROM alpine:3.14 [2022-05-10T07:40:37.397Z] 3.14: Pulling from library/alpine [2022-05-10T07:40:37.397Z] 455c02918c45: Pulling fs layer [2022-05-10T07:40:37.397Z] 455c02918c45: Verifying Checksum [2022-05-10T07:40:37.397Z] 455c02918c45: Download complete [2022-05-10T07:40:37.397Z] 455c02918c45: Pull complete [2022-05-10T07:40:37.397Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T07:40:37.397Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T07:40:37.397Z] ---> ac73e934f311 [2022-05-10T07:40:37.397Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-05-10T07:40:37.397Z] ---> Running in 04585dda0d8b [2022-05-10T07:40:37.397Z] Removing intermediate container 04585dda0d8b [2022-05-10T07:40:37.397Z] ---> 5f3d387c79f1 [2022-05-10T07:40:37.397Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T07:40:37.397Z] ---> Running in 4abd87184e19 [2022-05-10T07:40:37.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T07:40:37.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T07:40:37.397Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T07:40:37.397Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T07:40:37.397Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T07:40:37.397Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T07:40:37.397Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T07:40:37.397Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T07:40:37.397Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T07:40:37.397Z] OK: 8 MiB in 20 packages [2022-05-10T07:40:37.397Z] Removing intermediate container 4abd87184e19 [2022-05-10T07:40:37.397Z] ---> 83c8851c1361 [2022-05-10T07:40:37.397Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-05-10T07:40:38.375Z] ---> b9153200cc95 [2022-05-10T07:40:38.375Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-05-10T07:40:38.973Z] ---> 2535d19316c1 [2022-05-10T07:40:38.973Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-05-10T07:40:39.605Z] ---> 50ca19493ef4 [2022-05-10T07:40:39.605Z] Step 19/24 : EXPOSE 59982 [2022-05-10T07:40:39.605Z] ---> Running in 4680b374e674 [2022-05-10T07:40:39.880Z] Removing intermediate container 4680b374e674 [2022-05-10T07:40:39.880Z] ---> 347d406bf90a [2022-05-10T07:40:39.880Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-05-10T07:40:39.880Z] ---> Running in 8872fef6785e [2022-05-10T07:40:40.161Z] Removing intermediate container 8872fef6785e [2022-05-10T07:40:40.161Z] ---> 52130f63accc [2022-05-10T07:40:40.161Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T07:40:40.161Z] ---> Running in 07650a6f2b9c [2022-05-10T07:40:40.796Z] Removing intermediate container 07650a6f2b9c [2022-05-10T07:40:40.796Z] ---> fd51fc9a0dbf [2022-05-10T07:40:40.796Z] Step 22/24 : LABEL arch=arm64 [2022-05-10T07:40:40.796Z] ---> Running in f490901dd7ef [2022-05-10T07:40:41.081Z] Removing intermediate container f490901dd7ef [2022-05-10T07:40:41.081Z] ---> 813aa8eceeb0 [2022-05-10T07:40:41.081Z] Step 23/24 : LABEL git_sha=ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [2022-05-10T07:40:41.081Z] ---> Running in 942077e753f4 [2022-05-10T07:40:41.714Z] Removing intermediate container 942077e753f4 [2022-05-10T07:40:41.714Z] ---> 413a53c24843 [2022-05-10T07:40:41.714Z] Step 24/24 : LABEL version=2.2.0-dev.21 [2022-05-10T07:40:41.714Z] ---> Running in 7f379cd3efe6 [2022-05-10T07:40:41.984Z] Removing intermediate container 7f379cd3efe6 [2022-05-10T07:40:41.985Z] ---> f6dbdf8e243f [2022-05-10T07:40:41.985Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T07:40:41.985Z] Successfully built f6dbdf8e243f [2022-05-10T07:40:41.985Z] 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 [2022-05-10T07:40:42.120Z] provisioning config files... [2022-05-10T07:40:42.141Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/43@tmp/config2578577166208188862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:40:42.492Z] ---> docker-login.sh [2022-05-10T07:40:42.493Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:40:42.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:40:42.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:40:42.766Z] Configure a credential helper to remove this warning. See [2022-05-10T07:40:42.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:40:42.766Z] [2022-05-10T07:40:42.766Z] Login Succeeded [2022-05-10T07:40:42.766Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:40:43.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:40:43.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:40:43.360Z] Configure a credential helper to remove this warning. See [2022-05-10T07:40:43.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:40:43.360Z] [2022-05-10T07:40:43.360Z] Login Succeeded [2022-05-10T07:40:43.360Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:40:43.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:40:43.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:40:43.957Z] Configure a credential helper to remove this warning. See [2022-05-10T07:40:43.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:40:43.957Z] [2022-05-10T07:40:43.957Z] Login Succeeded [2022-05-10T07:40:43.957Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:40:44.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:40:44.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:40:44.506Z] Configure a credential helper to remove this warning. See [2022-05-10T07:40:44.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:40:44.506Z] [2022-05-10T07:40:44.506Z] Login Succeeded [2022-05-10T07:40:44.506Z] docker.io [2022-05-10T07:40:44.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:40:45.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:40:45.373Z] Configure a credential helper to remove this warning. See [2022-05-10T07:40:45.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:40:45.373Z] [2022-05-10T07:40:45.373Z] Login Succeeded [2022-05-10T07:40:45.373Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:40:45.392Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T07:40:45.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T07:40:45.462Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-05-10T07:40:45.462Z] ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [2022-05-10T07:40:45.462Z] latest [2022-05-10T07:40:45.462Z] 2.2.0-dev.21 [2022-05-10T07:40:45.462Z] ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21 [2022-05-10T07:40:45.462Z] main [2022-05-10T07:40:45.462Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:40:45.819Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:40:46.156Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [2022-05-10T07:40:46.157Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-10T07:40:46.157Z] 91daac9af49b: Preparing [2022-05-10T07:40:46.157Z] 25f767f09420: Preparing [2022-05-10T07:40:46.157Z] dbf7a69c0525: Preparing [2022-05-10T07:40:46.157Z] c4c0e3b3c988: Preparing [2022-05-10T07:40:46.157Z] f73e7dbfee58: Preparing [2022-05-10T07:40:46.432Z] f73e7dbfee58: Layer already exists [2022-05-10T07:40:46.432Z] 91daac9af49b: Pushed [2022-05-10T07:40:46.432Z] 25f767f09420: Pushed [2022-05-10T07:40:47.026Z] c4c0e3b3c988: Pushed [2022-05-10T07:40:52.413Z] dbf7a69c0525: Pushed [2022-05-10T07:40:52.413Z] ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f: digest: sha256:ac7ca488b279f5fb027d015d6690830a164b05f10009f3956777e6b2de334f8d size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:40:52.760Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:40:53.094Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-05-10T07:40:53.094Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-10T07:40:53.094Z] 91daac9af49b: Preparing [2022-05-10T07:40:53.094Z] 25f767f09420: Preparing [2022-05-10T07:40:53.094Z] dbf7a69c0525: Preparing [2022-05-10T07:40:53.094Z] c4c0e3b3c988: Preparing [2022-05-10T07:40:53.094Z] f73e7dbfee58: Preparing [2022-05-10T07:40:53.094Z] f73e7dbfee58: Layer already exists [2022-05-10T07:40:53.094Z] c4c0e3b3c988: Layer already exists [2022-05-10T07:40:53.094Z] 91daac9af49b: Layer already exists [2022-05-10T07:40:53.094Z] 25f767f09420: Layer already exists [2022-05-10T07:40:53.094Z] dbf7a69c0525: Layer already exists [2022-05-10T07:40:53.366Z] latest: digest: sha256:ac7ca488b279f5fb027d015d6690830a164b05f10009f3956777e6b2de334f8d size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:40:53.714Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.21 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:40:54.053Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.21 [2022-05-10T07:40:54.053Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-10T07:40:54.053Z] 91daac9af49b: Preparing [2022-05-10T07:40:54.053Z] 25f767f09420: Preparing [2022-05-10T07:40:54.053Z] dbf7a69c0525: Preparing [2022-05-10T07:40:54.053Z] c4c0e3b3c988: Preparing [2022-05-10T07:40:54.053Z] f73e7dbfee58: Preparing [2022-05-10T07:40:54.053Z] c4c0e3b3c988: Layer already exists [2022-05-10T07:40:54.053Z] 91daac9af49b: Layer already exists [2022-05-10T07:40:54.053Z] dbf7a69c0525: Layer already exists [2022-05-10T07:40:54.053Z] f73e7dbfee58: Layer already exists [2022-05-10T07:40:54.053Z] 25f767f09420: Layer already exists [2022-05-10T07:40:54.326Z] 2.2.0-dev.21: digest: sha256:ac7ca488b279f5fb027d015d6690830a164b05f10009f3956777e6b2de334f8d size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:40:54.675Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:40:55.015Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21 [2022-05-10T07:40:55.015Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-10T07:40:55.015Z] 91daac9af49b: Preparing [2022-05-10T07:40:55.015Z] 25f767f09420: Preparing [2022-05-10T07:40:55.015Z] dbf7a69c0525: Preparing [2022-05-10T07:40:55.015Z] c4c0e3b3c988: Preparing [2022-05-10T07:40:55.015Z] f73e7dbfee58: Preparing [2022-05-10T07:40:55.015Z] dbf7a69c0525: Layer already exists [2022-05-10T07:40:55.015Z] 25f767f09420: Layer already exists [2022-05-10T07:40:55.015Z] f73e7dbfee58: Layer already exists [2022-05-10T07:40:55.015Z] c4c0e3b3c988: Layer already exists [2022-05-10T07:40:55.015Z] 91daac9af49b: Layer already exists [2022-05-10T07:40:55.286Z] ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21: digest: sha256:ac7ca488b279f5fb027d015d6690830a164b05f10009f3956777e6b2de334f8d size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:40:55.630Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:40:55.967Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-05-10T07:40:55.967Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-10T07:40:55.967Z] 91daac9af49b: Preparing [2022-05-10T07:40:55.967Z] 25f767f09420: Preparing [2022-05-10T07:40:55.967Z] dbf7a69c0525: Preparing [2022-05-10T07:40:55.967Z] c4c0e3b3c988: Preparing [2022-05-10T07:40:55.967Z] f73e7dbfee58: Preparing [2022-05-10T07:40:55.967Z] f73e7dbfee58: Layer already exists [2022-05-10T07:40:55.967Z] c4c0e3b3c988: Layer already exists [2022-05-10T07:40:55.967Z] dbf7a69c0525: Layer already exists [2022-05-10T07:40:55.967Z] 25f767f09420: Layer already exists [2022-05-10T07:40:55.967Z] 91daac9af49b: Layer already exists [2022-05-10T07:40:56.237Z] main: digest: sha256:ac7ca488b279f5fb027d015d6690830a164b05f10009f3956777e6b2de334f8d size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T07:40:56.276Z] ===================================================== [Pipeline] echo [2022-05-10T07:40:56.283Z] taggedImages: [2022-05-10T07:40:56.283Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [2022-05-10T07:40:56.283Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-05-10T07:40:56.283Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.21 [2022-05-10T07:40:56.283Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f-2.2.0-dev.21 [2022-05-10T07:40:56.283Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:40:56.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T07:40:56.673Z] [2022-05-10T07:40:56.673Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:40:57.043Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T07:40:57.348Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T07:40:57.348Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T07:40:57.348Z] 04944245beec: Pulling fs layer [2022-05-10T07:40:57.348Z] 699f458cf7ca: Pulling fs layer [2022-05-10T07:40:57.348Z] 765212b225bb: Pulling fs layer [2022-05-10T07:40:57.348Z] f23df028b6ca: Pulling fs layer [2022-05-10T07:40:57.348Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T07:40:57.348Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T07:40:57.348Z] f23df028b6ca: Waiting [2022-05-10T07:40:57.348Z] 765212b225bb: Waiting [2022-05-10T07:40:57.348Z] d65c8cfc05b1: Waiting [2022-05-10T07:40:57.348Z] 2437ff75d9bd: Waiting [2022-05-10T07:40:57.348Z] 04944245beec: Verifying Checksum [2022-05-10T07:40:57.348Z] 04944245beec: Download complete [2022-05-10T07:40:57.348Z] 765212b225bb: Verifying Checksum [2022-05-10T07:40:57.348Z] 765212b225bb: Download complete [2022-05-10T07:40:57.348Z] f23df028b6ca: Verifying Checksum [2022-05-10T07:40:57.348Z] f23df028b6ca: Download complete [2022-05-10T07:40:57.627Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T07:40:57.627Z] d65c8cfc05b1: Download complete [2022-05-10T07:40:57.627Z] 699f458cf7ca: Verifying Checksum [2022-05-10T07:40:57.901Z] 8998bd30e6a1: Verifying Checksum [2022-05-10T07:40:57.901Z] 8998bd30e6a1: Download complete [2022-05-10T07:41:00.523Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T07:41:00.523Z] 2437ff75d9bd: Download complete [2022-05-10T07:41:01.951Z] 8998bd30e6a1: Pull complete [2022-05-10T07:41:02.546Z] 04944245beec: Pull complete [2022-05-10T07:41:03.978Z] 699f458cf7ca: Pull complete [2022-05-10T07:41:04.249Z] 765212b225bb: Pull complete [2022-05-10T07:41:05.236Z] f23df028b6ca: Pull complete [2022-05-10T07:41:05.236Z] d65c8cfc05b1: Pull complete [2022-05-10T07:41:20.327Z] 2437ff75d9bd: Pull complete [2022-05-10T07:41:20.327Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T07:41:20.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T07:41:20.327Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T07:41:20.570Z] prd-ubuntu20.04-docker-arm64-4c-16g-45843 does not seem to be running inside a container [2022-05-10T07:41:20.655Z] $ 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 [2022-05-10T07:41:23.206Z] $ docker top 52d6d0ca81128cf4330053678517ebe69fc17452b18c370c4c39fe83ecfbfc11 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:41:24.130Z] ---> job-cost.sh [2022-05-10T07:41:24.130Z] lf-activate-venv: SKIPPING [2022-05-10T07:41:24.130Z] INFO: No Stack... [2022-05-10T07:41:24.403Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T07:41:25.379Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T07:41:26.043Z] + cat /w/workspace/device-mqtt-go/43/archives/cost.csv [2022-05-10T07:41:26.043Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T07:41:26.102Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-43-stack-cost] [2022-05-10T07:41:26.108Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-43-stack-cost] did not exist. Created. [2022-05-10T07:41:26.108Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T07:41:26.784Z] /w/workspace/device-mqtt-go/43@tmp/durable-950cac1a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T07:41:27.460Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T07:41:27.487Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T07:41:27.533Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T07:41:27.542Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-43-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T07:41:27.570Z] $ docker stop --time=1 52d6d0ca81128cf4330053678517ebe69fc17452b18c370c4c39fe83ecfbfc11 [2022-05-10T07:41:29.063Z] $ 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 [2022-05-10T07:41:29.670Z] provisioning config files... [2022-05-10T07:41:29.678Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5534356723591032722tmp [Pipeline] { [Pipeline] sh [2022-05-10T07:41:29.970Z] + set +x [2022-05-10T07:41:29.970Z] + + curl -s https://codecov.io/bash [2022-05-10T07:41:29.970Z] bash -s -- [2022-05-10T07:41:29.970Z] [2022-05-10T07:41:29.970Z] _____ _ [2022-05-10T07:41:29.970Z] / ____| | | [2022-05-10T07:41:29.970Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T07:41:29.970Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T07:41:29.970Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T07:41:29.970Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T07:41:29.970Z] Bash-1.0.6 [2022-05-10T07:41:29.970Z] [2022-05-10T07:41:29.970Z] [2022-05-10T07:41:29.970Z] ==> git version 2.25.1 found [2022-05-10T07:41:29.970Z] ==> 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 [2022-05-10T07:41:29.970Z] Release-Date: 2020-01-08 [2022-05-10T07:41:29.970Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-10T07:41:29.970Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T07:41:29.970Z] ==> Jenkins CI detected. [2022-05-10T07:41:29.970Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-05-10T07:41:29.970Z] project root: . [2022-05-10T07:41:29.970Z] --> token set from env [2022-05-10T07:41:29.970Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T07:41:29.970Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T07:41:29.970Z] ==> Python coveragepy not found [2022-05-10T07:41:29.970Z] ==> Searching for coverage reports in: [2022-05-10T07:41:29.970Z] + . [2022-05-10T07:41:29.970Z] -> Found 1 reports [2022-05-10T07:41:29.970Z] ==> Detecting git/mercurial file structure [2022-05-10T07:41:29.970Z] ==> Reading reports [2022-05-10T07:41:29.970Z] + ./coverage.out bytes=17887 [2022-05-10T07:41:29.970Z] ==> Appending adjustments [2022-05-10T07:41:29.970Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T07:41:30.230Z] + Found adjustments [2022-05-10T07:41:30.230Z] ==> Gzipping contents [2022-05-10T07:41:30.230Z] 4.0K /tmp/codecov.jntQJI.gz [2022-05-10T07:41:30.230Z] ==> Uploading reports [2022-05-10T07:41:30.230Z] url: https://codecov.io [2022-05-10T07:41:30.230Z] 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= [2022-05-10T07:41:30.230Z] -> Pinging Codecov [2022-05-10T07:41:30.230Z] 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= [2022-05-10T07:41:30.491Z] -> Uploading to [2022-05-10T07:41:30.491Z] 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 [2022-05-10T07:41:30.491Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T07:41:30.491Z] Dload Upload Total Spent Left Speed [2022-05-10T07:41:30.752Z] 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 [2022-05-10T07:41:30.752Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [Pipeline] } [2022-05-10T07:41:30.768Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-10T07:41:31.011Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-10T07:41:31.022Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:41:31.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T07:41:31.325Z] [2022-05-10T07:41:31.325Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:41:31.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T07:41:31.633Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-10T07:41:31.633Z] 188c0c94c7c5: Pulling fs layer [2022-05-10T07:41:31.633Z] 0ef7d3d256c8: Pulling fs layer [2022-05-10T07:41:31.633Z] de9db76c5a1d: Pulling fs layer [2022-05-10T07:41:31.633Z] 0eba1c9be4d2: Pulling fs layer [2022-05-10T07:41:31.633Z] 0d57e429df01: Pulling fs layer [2022-05-10T07:41:31.633Z] 4e4be7b47b0d: Pulling fs layer [2022-05-10T07:41:31.633Z] e1f770b5df2f: Pulling fs layer [2022-05-10T07:41:31.633Z] 85a0685a4137: Pulling fs layer [2022-05-10T07:41:31.633Z] 4e4be7b47b0d: Waiting [2022-05-10T07:41:31.633Z] e1f770b5df2f: Waiting [2022-05-10T07:41:31.633Z] 0eba1c9be4d2: Waiting [2022-05-10T07:41:31.633Z] 85a0685a4137: Waiting [2022-05-10T07:41:31.633Z] 0d57e429df01: Waiting [2022-05-10T07:41:31.633Z] de9db76c5a1d: Verifying Checksum [2022-05-10T07:41:31.633Z] de9db76c5a1d: Download complete [2022-05-10T07:41:31.633Z] 0ef7d3d256c8: Download complete [2022-05-10T07:41:31.633Z] 0d57e429df01: Verifying Checksum [2022-05-10T07:41:31.633Z] 0d57e429df01: Download complete [2022-05-10T07:41:31.633Z] 4e4be7b47b0d: Verifying Checksum [2022-05-10T07:41:31.633Z] 4e4be7b47b0d: Download complete [2022-05-10T07:41:31.633Z] 188c0c94c7c5: Verifying Checksum [2022-05-10T07:41:31.633Z] 188c0c94c7c5: Download complete [2022-05-10T07:41:31.894Z] 188c0c94c7c5: Pull complete [2022-05-10T07:41:31.894Z] e1f770b5df2f: Verifying Checksum [2022-05-10T07:41:31.894Z] e1f770b5df2f: Download complete [2022-05-10T07:41:31.894Z] 0ef7d3d256c8: Pull complete [2022-05-10T07:41:32.157Z] de9db76c5a1d: Pull complete [2022-05-10T07:41:32.417Z] 0eba1c9be4d2: Verifying Checksum [2022-05-10T07:41:32.417Z] 0eba1c9be4d2: Download complete [2022-05-10T07:41:32.676Z] 85a0685a4137: Verifying Checksum [2022-05-10T07:41:32.676Z] 85a0685a4137: Download complete [2022-05-10T07:41:35.964Z] 0eba1c9be4d2: Pull complete [2022-05-10T07:41:35.964Z] 0d57e429df01: Pull complete [2022-05-10T07:41:36.223Z] 4e4be7b47b0d: Pull complete [2022-05-10T07:41:36.482Z] e1f770b5df2f: Pull complete [2022-05-10T07:41:40.677Z] 85a0685a4137: Pull complete [2022-05-10T07:41:40.677Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-10T07:41:40.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T07:41:40.677Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-10T07:41:40.744Z] prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container [2022-05-10T07:41:40.785Z] $ 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 [2022-05-10T07:41:42.853Z] $ docker top bc0ba68bd3fcc89541d0ccb886fb1de6ffc57867635e339116ca100a443cc9e3 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-10T07:41:42.938Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-10T07:41:43.220Z] + set -o pipefail [2022-05-10T07:41:43.220Z] + snyk monitor '--org=edgex-jenkins' [2022-05-10T07:41:48.506Z] [2022-05-10T07:41:48.506Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-05-10T07:41:48.506Z] [2022-05-10T07:41:48.506Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/5b40ce46-dfea-4619-961f-b03c85f4b68b [2022-05-10T07:41:48.506Z] [2022-05-10T07:41:48.506Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-05-10T07:41:48.506Z] [2022-05-10T07:41:48.506Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-10T07:41:48.506Z] [2022-05-10T07:41:48.506Z] [Pipeline] } [2022-05-10T07:41:48.524Z] $ docker stop --time=1 bc0ba68bd3fcc89541d0ccb886fb1de6ffc57867635e339116ca100a443cc9e3 [2022-05-10T07:41:50.975Z] $ 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 [2022-05-10T07:41:51.704Z] + git log --format=format:%s -1 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f [Pipeline] sh [2022-05-10T07:41:51.999Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T07:41:51.999Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:41:52.295Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:41:52.295Z] . [Pipeline] withDockerContainer [2022-05-10T07:41:52.361Z] prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container [2022-05-10T07:41:52.405Z] $ 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 [2022-05-10T07:41:52.824Z] $ docker top 31bf6a8625fc19eef4a33e56e3db3852db217b7a0859e64206ad8523fcdecf8c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T07:41:52.923Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:41:52.923Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:41:53.037Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:41:53.044Z] $ docker exec 31bf6a8625fc19eef4a33e56e3db3852db217b7a0859e64206ad8523fcdecf8c ssh-agent [2022-05-10T07:41:53.151Z] SSH_AUTH_SOCK=/tmp/ssh-IEUfqk0XeqBF/agent.32 [2022-05-10T07:41:53.151Z] SSH_AGENT_PID=38 [2022-05-10T07:41:53.156Z] Running ssh-add (command line suppressed) [2022-05-10T07:41:53.280Z] 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) [2022-05-10T07:41:53.287Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:41:53.574Z] + git semver tag [2022-05-10T07:41:53.833Z] 2022-05-10 07:41:53,761 [run_tag] DEBUG tag force:False [2022-05-10T07:41:53.833Z] 2022-05-10 07:41:53,761 [check_head_tag] DEBUG check head tag [2022-05-10T07:41:53.833Z] 2022-05-10 07:41:53,762 [execute] INFO git cat-file --batch-check [2022-05-10T07:41:53.833Z] 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=) [2022-05-10T07:41:53.833Z] 2022-05-10 07:41:53,767 [execute] INFO git cat-file --batch [2022-05-10T07:41:53.833Z] 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=) [2022-05-10T07:41:53.833Z] 2022-05-10 07:41:53,786 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T07:41:53.833Z] 2022-05-10 07:41:53,786 [execute] INFO git tag -a v2.2.0-dev.21 -m v2.2.0-dev.21 [2022-05-10T07:41:53.833Z] 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) [2022-05-10T07:41:53.833Z] 2022-05-10 07:41:53,791 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T07:41:53.833Z] 2.2.0-dev.21 [Pipeline] } [2022-05-10T07:41:53.847Z] $ docker exec --env ******** --env ******** 31bf6a8625fc19eef4a33e56e3db3852db217b7a0859e64206ad8523fcdecf8c ssh-agent -k [2022-05-10T07:41:53.961Z] unset SSH_AUTH_SOCK; [2022-05-10T07:41:53.961Z] unset SSH_AGENT_PID; [2022-05-10T07:41:53.961Z] echo Agent pid 38 killed; [2022-05-10T07:41:53.971Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T07:41:54.306Z] + git semver [Pipeline] } [2022-05-10T07:41:54.598Z] $ docker stop --time=1 31bf6a8625fc19eef4a33e56e3db3852db217b7a0859e64206ad8523fcdecf8c [2022-05-10T07:41:55.909Z] $ docker rm -f 31bf6a8625fc19eef4a33e56e3db3852db217b7a0859e64206ad8523fcdecf8c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:41:56.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T07:41:56.310Z] [2022-05-10T07:41:56.310Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:41:56.614Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T07:41:56.615Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-10T07:41:56.615Z] ab5ef0e58194: Pulling fs layer [2022-05-10T07:41:56.615Z] 9712f1f96733: Pulling fs layer [2022-05-10T07:41:56.615Z] 63f879dbbcfc: Pulling fs layer [2022-05-10T07:41:56.615Z] 0d9ebad4ef96: Pulling fs layer [2022-05-10T07:41:56.615Z] e9a5061849ea: Pulling fs layer [2022-05-10T07:41:56.615Z] d747dcd14b5f: Pulling fs layer [2022-05-10T07:41:56.615Z] 2de7ff778b66: Pulling fs layer [2022-05-10T07:41:56.615Z] e9a5061849ea: Waiting [2022-05-10T07:41:56.615Z] d747dcd14b5f: Waiting [2022-05-10T07:41:56.615Z] 2de7ff778b66: Waiting [2022-05-10T07:41:56.615Z] 0d9ebad4ef96: Waiting [2022-05-10T07:41:56.615Z] 9712f1f96733: Download complete [2022-05-10T07:41:56.873Z] 63f879dbbcfc: Verifying Checksum [2022-05-10T07:41:56.873Z] 63f879dbbcfc: Download complete [2022-05-10T07:41:57.132Z] e9a5061849ea: Verifying Checksum [2022-05-10T07:41:57.132Z] e9a5061849ea: Download complete [2022-05-10T07:41:57.132Z] d747dcd14b5f: Download complete [2022-05-10T07:41:57.132Z] 0d9ebad4ef96: Verifying Checksum [2022-05-10T07:41:57.132Z] 0d9ebad4ef96: Download complete [2022-05-10T07:41:57.132Z] ab5ef0e58194: Verifying Checksum [2022-05-10T07:41:57.132Z] ab5ef0e58194: Download complete [2022-05-10T07:41:57.390Z] 2de7ff778b66: Verifying Checksum [2022-05-10T07:41:57.390Z] 2de7ff778b66: Download complete [2022-05-10T07:41:59.922Z] ab5ef0e58194: Pull complete [2022-05-10T07:41:59.922Z] 9712f1f96733: Pull complete [2022-05-10T07:42:00.856Z] 63f879dbbcfc: Pull complete [2022-05-10T07:42:05.044Z] 0d9ebad4ef96: Pull complete [2022-05-10T07:42:05.044Z] e9a5061849ea: Pull complete [2022-05-10T07:42:05.044Z] d747dcd14b5f: Pull complete [2022-05-10T07:42:06.430Z] 2de7ff778b66: Pull complete [2022-05-10T07:42:06.430Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-10T07:42:06.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T07:42:06.430Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-10T07:42:06.506Z] prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container [2022-05-10T07:42:06.546Z] $ 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 [2022-05-10T07:42:08.975Z] $ docker top 7f08f237ae12645f4235c7f563d895f1f76b420de2e8ea55204293a164f0f1e6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:42:09.052Z] provisioning config files... [2022-05-10T07:42:09.062Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config450175808587459011tmp [2022-05-10T07:42:09.075Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8309695154764509530tmp [2022-05-10T07:42:09.087Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7233307107373109154tmp [Pipeline] { [Pipeline] echo [2022-05-10T07:42:09.108Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:42:09.393Z] ---> sigul-configuration.sh [2022-05-10T07:42:09.393Z] gpg: directory `/root/.gnupg' created [2022-05-10T07:42:09.393Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-10T07:42:09.393Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-10T07:42:09.394Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-10T07:42:09.394Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-10T07:42:09.394Z] gpg: CAST5 encrypted data [2022-05-10T07:42:09.394Z] gpg: encrypted with 1 passphrase [2022-05-10T07:42:09.394Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-10T07:42:09.684Z] + mkdir /home/jenkins [2022-05-10T07:42:09.684Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-10T07:42:09.975Z] + 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 [2022-05-10T07:42:09.985Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:42:10.274Z] ---> sigul-install.sh [2022-05-10T07:42:10.274Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-10T07:42:10.564Z] + git tag --list [2022-05-10T07:42:10.564Z] 0.7.1 [2022-05-10T07:42:10.564Z] v1.0.0 [2022-05-10T07:42:10.564Z] v1.1.0 [2022-05-10T07:42:10.564Z] v1.1.1 [2022-05-10T07:42:10.564Z] v1.2.2 [2022-05-10T07:42:10.564Z] v1.3.0 [2022-05-10T07:42:10.564Z] v1.3.1 [2022-05-10T07:42:10.564Z] v2.0.0 [2022-05-10T07:42:10.564Z] v2.0.1-dev.1 [2022-05-10T07:42:10.564Z] v2.0.1-dev.10 [2022-05-10T07:42:10.564Z] v2.0.1-dev.11 [2022-05-10T07:42:10.564Z] v2.0.1-dev.12 [2022-05-10T07:42:10.564Z] v2.0.1-dev.13 [2022-05-10T07:42:10.564Z] v2.0.1-dev.14 [2022-05-10T07:42:10.564Z] v2.0.1-dev.15 [2022-05-10T07:42:10.564Z] v2.0.1-dev.16 [2022-05-10T07:42:10.564Z] v2.0.1-dev.17 [2022-05-10T07:42:10.564Z] v2.0.1-dev.2 [2022-05-10T07:42:10.564Z] v2.0.1-dev.3 [2022-05-10T07:42:10.564Z] v2.0.1-dev.4 [2022-05-10T07:42:10.564Z] v2.0.1-dev.5 [2022-05-10T07:42:10.564Z] v2.0.1-dev.6 [2022-05-10T07:42:10.564Z] v2.0.1-dev.7 [2022-05-10T07:42:10.564Z] v2.0.1-dev.8 [2022-05-10T07:42:10.564Z] v2.0.1-dev.9 [2022-05-10T07:42:10.564Z] v2.1.0 [2022-05-10T07:42:10.564Z] v2.2.0-dev.1 [2022-05-10T07:42:10.564Z] v2.2.0-dev.10 [2022-05-10T07:42:10.564Z] v2.2.0-dev.11 [2022-05-10T07:42:10.564Z] v2.2.0-dev.12 [2022-05-10T07:42:10.564Z] v2.2.0-dev.13 [2022-05-10T07:42:10.564Z] v2.2.0-dev.14 [2022-05-10T07:42:10.564Z] v2.2.0-dev.15 [2022-05-10T07:42:10.564Z] v2.2.0-dev.16 [2022-05-10T07:42:10.564Z] v2.2.0-dev.17 [2022-05-10T07:42:10.564Z] v2.2.0-dev.18 [2022-05-10T07:42:10.564Z] v2.2.0-dev.19 [2022-05-10T07:42:10.564Z] v2.2.0-dev.2 [2022-05-10T07:42:10.564Z] v2.2.0-dev.20 [2022-05-10T07:42:10.564Z] v2.2.0-dev.21 [2022-05-10T07:42:10.564Z] v2.2.0-dev.3 [2022-05-10T07:42:10.564Z] v2.2.0-dev.4 [2022-05-10T07:42:10.564Z] v2.2.0-dev.5 [2022-05-10T07:42:10.564Z] v2.2.0-dev.6 [2022-05-10T07:42:10.564Z] v2.2.0-dev.7 [2022-05-10T07:42:10.564Z] v2.2.0-dev.8 [2022-05-10T07:42:10.564Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-10T07:42:10.849Z] + lftools sign git-tag v2.2.0-dev.21 [2022-05-10T07:42:11.420Z] Signing Git tag with Sigul... [2022-05-10T07:42:11.420Z] Signing v2.2.0-dev.21 [Pipeline] echo [2022-05-10T07:42:11.689Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:42:11.981Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-10T07:42:11.989Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-10T07:42:12.013Z] $ docker stop --time=1 7f08f237ae12645f4235c7f563d895f1f76b420de2e8ea55204293a164f0f1e6 [2022-05-10T07:42:13.314Z] $ docker rm -f 7f08f237ae12645f4235c7f563d895f1f76b420de2e8ea55204293a164f0f1e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-10T07:42:13.729Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T07:42:13.729Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:42:14.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:42:14.029Z] . [Pipeline] withDockerContainer [2022-05-10T07:42:14.103Z] prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container [2022-05-10T07:42:14.142Z] $ 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 [2022-05-10T07:42:14.557Z] $ docker top 5aea9a6b5ec7d2f07896d48bda92e7d67b543ac4ba3d8730db81bb98900aadbd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T07:42:14.646Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:42:14.646Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:42:14.771Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:42:14.779Z] $ docker exec 5aea9a6b5ec7d2f07896d48bda92e7d67b543ac4ba3d8730db81bb98900aadbd ssh-agent [2022-05-10T07:42:14.894Z] SSH_AUTH_SOCK=/tmp/ssh-HsDGfUSgNwKy/agent.32 [2022-05-10T07:42:14.894Z] SSH_AGENT_PID=39 [2022-05-10T07:42:14.899Z] Running ssh-add (command line suppressed) [2022-05-10T07:42:15.017Z] 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) [2022-05-10T07:42:15.025Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:42:15.327Z] + git semver bump pre [2022-05-10T07:42:15.587Z] 2022-05-10 07:42:15,514 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T07:42:15.587Z] 2022-05-10 07:42:15,514 [bump_version] DEBUG bumping version:2.2.0-dev.21 on axis:pre with prefix:dev [2022-05-10T07:42:15.587Z] 2022-05-10 07:42:15,514 [bump_version] DEBUG bumped version:2.2.0-dev.22 [2022-05-10T07:42:15.587Z] 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 [2022-05-10T07:42:15.587Z] 2022-05-10 07:42:15,514 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T07:42:15.587Z] 2022-05-10 07:42:15,514 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T07:42:15.587Z] 2022-05-10 07:42:15,516 [execute] INFO git cat-file --batch-check [2022-05-10T07:42:15.587Z] 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=) [2022-05-10T07:42:15.587Z] 2022-05-10 07:42:15,521 [execute] INFO git cat-file --batch [2022-05-10T07:42:15.587Z] 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=) [2022-05-10T07:42:15.587Z] 2022-05-10 07:42:15,526 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T07:42:15.587Z] 2.2.0-dev.22 [Pipeline] } [2022-05-10T07:42:15.602Z] $ docker exec --env ******** --env ******** 5aea9a6b5ec7d2f07896d48bda92e7d67b543ac4ba3d8730db81bb98900aadbd ssh-agent -k [2022-05-10T07:42:15.694Z] unset SSH_AUTH_SOCK; [2022-05-10T07:42:15.695Z] unset SSH_AGENT_PID; [2022-05-10T07:42:15.695Z] echo Agent pid 39 killed; [2022-05-10T07:42:15.701Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T07:42:16.003Z] + git semver [Pipeline] } [2022-05-10T07:42:16.285Z] $ docker stop --time=1 5aea9a6b5ec7d2f07896d48bda92e7d67b543ac4ba3d8730db81bb98900aadbd [2022-05-10T07:42:17.599Z] $ docker rm -f 5aea9a6b5ec7d2f07896d48bda92e7d67b543ac4ba3d8730db81bb98900aadbd [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T07:42:17.952Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T07:42:17.952Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:42:18.246Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:42:18.246Z] . [Pipeline] withDockerContainer [2022-05-10T07:42:18.313Z] prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container [2022-05-10T07:42:18.350Z] $ 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 [2022-05-10T07:42:18.743Z] $ docker top 3926c58c04cf56d08aec88f65a1e4d443dcda825cfcbeca63ccbf95821096e11 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T07:42:18.902Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:42:18.902Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:42:19.038Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:42:19.046Z] $ docker exec 3926c58c04cf56d08aec88f65a1e4d443dcda825cfcbeca63ccbf95821096e11 ssh-agent [2022-05-10T07:42:19.167Z] SSH_AUTH_SOCK=/tmp/ssh-SXmwC75mWKfM/agent.32 [2022-05-10T07:42:19.167Z] SSH_AGENT_PID=38 [2022-05-10T07:42:19.173Z] Running ssh-add (command line suppressed) [2022-05-10T07:42:19.287Z] 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) [2022-05-10T07:42:19.298Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:42:19.587Z] + git semver push [2022-05-10T07:42:19.846Z] 2022-05-10 07:42:19,800 [run_push] DEBUG push [2022-05-10T07:42:19.846Z] 2022-05-10 07:42:19,800 [execute] INFO git push origin semver [2022-05-10T07:42:19.846Z] 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) [2022-05-10T07:42:20.785Z] 2022-05-10 07:42:20,624 [run_push] DEBUG push all version tags [2022-05-10T07:42:20.785Z] 2022-05-10 07:42:20,625 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-10T07:42:20.785Z] 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) [2022-05-10T07:42:21.725Z] 2022-05-10 07:42:21,390 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T07:42:21.725Z] 2.2.0-dev.22 [Pipeline] } [2022-05-10T07:42:21.742Z] $ docker exec --env ******** --env ******** 3926c58c04cf56d08aec88f65a1e4d443dcda825cfcbeca63ccbf95821096e11 ssh-agent -k [2022-05-10T07:42:21.858Z] unset SSH_AUTH_SOCK; [2022-05-10T07:42:21.858Z] unset SSH_AGENT_PID; [2022-05-10T07:42:21.858Z] echo Agent pid 38 killed; [2022-05-10T07:42:21.872Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T07:42:22.204Z] + git semver [Pipeline] } [2022-05-10T07:42:22.534Z] $ docker stop --time=1 3926c58c04cf56d08aec88f65a1e4d443dcda825cfcbeca63ccbf95821096e11 [2022-05-10T07:42:23.824Z] $ 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 [2022-05-10T07:42:24.499Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-05-10T07:42:24.499Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-10T07:42:24.499Z] total 16 [2022-05-10T07:42:24.499Z] drwxr-xr-x 3 root root 4096 May 10 07:36 . [2022-05-10T07:42:24.499Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 07:42 .. [2022-05-10T07:42:24.499Z] drwxr-xr-x 2 root root 4096 May 10 07:36 cost [2022-05-10T07:42:24.499Z] -rw-r--r-- 1 root root 84 May 10 07:36 cost.csv [2022-05-10T07:42:24.499Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-10T07:42:24.499Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-10T07:42:24.499Z] total 16 [2022-05-10T07:42:24.499Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 07:36 . [2022-05-10T07:42:24.499Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 07:42 .. [2022-05-10T07:42:24.499Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 07:36 cost [2022-05-10T07:42:24.499Z] -rw-r--r-- 1 jenkins jenkins 84 May 10 07:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:42:24.793Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:42:25.655Z] ---> package-listing.sh [2022-05-10T07:42:25.656Z] ++ facter osfamily [2022-05-10T07:42:25.656Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T07:42:25.916Z] + OS_FAMILY=debian [2022-05-10T07:42:25.916Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-05-10T07:42:25.916Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T07:42:25.916Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T07:42:25.916Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T07:42:25.916Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T07:42:25.916Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-05-10T07:42:25.916Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T07:42:25.916Z] + case "${OS_FAMILY}" in [2022-05-10T07:42:25.916Z] + dpkg -l [2022-05-10T07:42:25.916Z] + grep '^ii' [2022-05-10T07:42:25.916Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T07:42:25.916Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T07:42:25.916Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T07:42:25.916Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-05-10T07:42:25.916Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-05-10T07:42:25.916Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2022-05-10T07:42:25.928Z] 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 [2022-05-10T07:42:26.206Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:42:26.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T07:42:26.767Z] . [Pipeline] withDockerContainer [2022-05-10T07:42:26.832Z] prd-ubuntu20.04-docker-8c-8g-46039 does not seem to be running inside a container [2022-05-10T07:42:26.869Z] $ 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 [2022-05-10T07:42:27.079Z] $ docker top 571042641dc7d78409785b6c0ea7a01621e196378529ded5602863d3c2d09dd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T07:42:27.427Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T07:42:27.716Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T07:42:28.001Z] + ls /var/log/sa-host [2022-05-10T07:42:28.001Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:42:28.222Z] provisioning config files... [2022-05-10T07:42:28.232Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4849238384059443820tmp [Pipeline] { [Pipeline] echo [2022-05-10T07:42:28.242Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:42:28.522Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T07:42:28.531Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:42:28.868Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T07:42:28.878Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:42:29.161Z] ---> sudo-logs.sh [2022-05-10T07:42:29.162Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T07:42:29.186Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:42:29.474Z] ---> job-cost.sh [2022-05-10T07:42:29.474Z] lf-activate-venv: SKIPPING [2022-05-10T07:42:29.474Z] DEBUG: total: 0.2199999988079071 [2022-05-10T07:42:29.474Z] INFO: Retrieving Stack Cost... [2022-05-10T07:42:29.734Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T07:42:30.305Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T07:42:30.319Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:42:30.605Z] ---> logs-deploy.sh [2022-05-10T07:42:30.605Z] lf-activate-venv: SKIPPING [2022-05-10T07:42:30.605Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/43 [2022-05-10T07:42:30.605Z] INFO: archiving workspace using pattern(s): [2022-05-10T07:42:31.553Z] Archives upload complete. [2022-05-10T07:42:31.553Z] INFO: archiving logs to Nexus