Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 53e4264da7a8f5345b5b18c03a825d0468689761 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-ssh1260638726572223414.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh9963257019411759729.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh18097232826771233632.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh9003642778571001314.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-ssh9415011000119998288.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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: true 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1635 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.24.4' 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 /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/jenkins-gitclient-ssh3837118919824190681.key > 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 53e4264da7a8f5345b5b18c03a825d0468689761 (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 53e4264da7a8f5345b5b18c03a825d0468689761 # timeout=10 Commit message: "Merge pull request #333 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8" > git rev-list --no-walk 65976b5f62c44c0dc6a515179a4847523af2a8b0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-17T01:38:49.354Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-17T01:38:49.405Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-17T01:38:49.420Z] ========================================================= [2022-01-17T01:38:49.420Z] EdgeX Global Pipelines Version Info [2022-01-17T01:38:49.420Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:38:50.533Z] ------------------- [2022-01-17T01:38:50.533Z] stable info: [2022-01-17T01:38:50.533Z] ------------------- [2022-01-17T01:38:50.533Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-17T01:38:50.533Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-17T01:38:50.533Z] Message: update stable to v1.0.219 [2022-01-17T01:38:51.103Z] ------------------- [2022-01-17T01:38:51.103Z] experimental info: [2022-01-17T01:38:51.103Z] ------------------- [2022-01-17T01:38:51.103Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-17T01:38:51.103Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-17T01:38:51.103Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-17T01:38:51.269Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-01-17T01:38:51.278Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-01-17T01:38:51.286Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-17T01:38:51.295Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-17T01:38:51.304Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-17T01:38:51.313Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-17T01:38:51.321Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-17T01:38:51.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-17T01:38:51.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-17T01:38:51.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-17T01:38:51.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-17T01:38:51.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-01-17T01:38:51.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-17T01:38:51.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-17T01:38:51.432Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-17T01:38:51.449Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-17T01:38:51.466Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-17T01:38:51.478Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-17T01:38:51.492Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-17T01:38:51.503Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-17T01:38:51.513Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-17T01:38:51.523Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-17T01:38:51.534Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-17T01:38:51.547Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-17T01:38:51.561Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-17T01:38:51.571Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-17T01:38:51.586Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-17T01:38:51.604Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-17T01:38:51.617Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-17T01:38:51.629Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53e4264da7a8f5345b5b18c03a825d0468689761 [Pipeline] echo [2022-01-17T01:38:51.644Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53e4264 [Pipeline] echo [2022-01-17T01:38:51.660Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-17T01:38:51.708Z] provisioning config files... [2022-01-17T01:38:51.721Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2146284632773359632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:38:52.033Z] ---> docker-login.sh [2022-01-17T01:38:52.033Z] nexus3.edgexfoundry.org:10001 [2022-01-17T01:38:52.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:38:52.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:38:52.296Z] Configure a credential helper to remove this warning. See [2022-01-17T01:38:52.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:38:52.296Z] [2022-01-17T01:38:52.296Z] Login Succeeded [2022-01-17T01:38:52.296Z] nexus3.edgexfoundry.org:10002 [2022-01-17T01:38:52.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:38:52.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:38:52.296Z] Configure a credential helper to remove this warning. See [2022-01-17T01:38:52.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:38:52.296Z] [2022-01-17T01:38:52.296Z] Login Succeeded [2022-01-17T01:38:52.296Z] nexus3.edgexfoundry.org:10003 [2022-01-17T01:38:52.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:38:52.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:38:52.556Z] Configure a credential helper to remove this warning. See [2022-01-17T01:38:52.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:38:52.556Z] [2022-01-17T01:38:52.556Z] Login Succeeded [2022-01-17T01:38:52.556Z] nexus3.edgexfoundry.org:10004 [2022-01-17T01:38:52.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:38:52.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:38:52.556Z] Configure a credential helper to remove this warning. See [2022-01-17T01:38:52.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:38:52.556Z] [2022-01-17T01:38:52.556Z] Login Succeeded [2022-01-17T01:38:52.556Z] docker.io [2022-01-17T01:38:52.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:38:53.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:38:53.127Z] Configure a credential helper to remove this warning. See [2022-01-17T01:38:53.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:38:53.127Z] [2022-01-17T01:38:53.127Z] Login Succeeded [2022-01-17T01:38:53.127Z] ---> docker-login.sh ends [Pipeline] } [2022-01-17T01:38:53.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-17T01:38:53.540Z] + git rev-list -1 --merges 53e4264da7a8f5345b5b18c03a825d0468689761~1..53e4264da7a8f5345b5b18c03a825d0468689761 [Pipeline] echo [2022-01-17T01:38:53.568Z] -----------> git rev-list -1 --merges 53e4264da7a8f5345b5b18c03a825d0468689761~1..53e4264da7a8f5345b5b18c03a825d0468689761 53e4264da7a8f5345b5b18c03a825d0468689761 [2022-01-17T01:38:53.568Z] 53e4264da7a8f5345b5b18c03a825d0468689761 [false] [Pipeline] sh [2022-01-17T01:38:53.864Z] + git log --format=format:%s -1 53e4264da7a8f5345b5b18c03a825d0468689761 [Pipeline] echo [2022-01-17T01:38:53.881Z] ========================================================= [2022-01-17T01:38:53.881Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-17T01:38:53.881Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-17T01:38:54.229Z] + git log --format=format:%s -1 53e4264da7a8f5345b5b18c03a825d0468689761 [Pipeline] echo [2022-01-17T01:38:54.241Z] [semverPrep] GIT_COMMIT: 53e4264da7a8f5345b5b18c03a825d0468689761, Commit Message: Merge pull request #333 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8 [Pipeline] echo [2022-01-17T01:38:54.251Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-17T01:38:54.801Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-17T01:38:54.801Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-17T01:38:54.801Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-17T01:38:54.801Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-17T01:38:54.801Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-17T01:38:54.801Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-17T01:38:54.801Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:38:55.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T01:38:55.153Z] [2022-01-17T01:38:55.153Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:38:55.466Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T01:38:55.466Z] latest: Pulling from edgex-devops/git-semver [2022-01-17T01:38:55.466Z] a0d0a0d46f8b: Pulling fs layer [2022-01-17T01:38:55.466Z] 3e5f54012d9b: Pulling fs layer [2022-01-17T01:38:55.466Z] 4c7163046ea9: Pulling fs layer [2022-01-17T01:38:55.466Z] 0c2d73faf560: Pulling fs layer [2022-01-17T01:38:55.466Z] 0c2d73faf560: Waiting [2022-01-17T01:38:55.466Z] 3e5f54012d9b: Verifying Checksum [2022-01-17T01:38:55.466Z] 3e5f54012d9b: Download complete [2022-01-17T01:38:55.466Z] a0d0a0d46f8b: Verifying Checksum [2022-01-17T01:38:55.466Z] a0d0a0d46f8b: Download complete [2022-01-17T01:38:55.466Z] 4c7163046ea9: Verifying Checksum [2022-01-17T01:38:55.466Z] 4c7163046ea9: Download complete [2022-01-17T01:38:55.729Z] 0c2d73faf560: Verifying Checksum [2022-01-17T01:38:55.729Z] 0c2d73faf560: Download complete [2022-01-17T01:38:55.729Z] a0d0a0d46f8b: Pull complete [2022-01-17T01:38:55.729Z] 3e5f54012d9b: Pull complete [2022-01-17T01:38:55.990Z] 4c7163046ea9: Pull complete [2022-01-17T01:38:56.252Z] 0c2d73faf560: Pull complete [2022-01-17T01:38:56.252Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-17T01:38:56.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T01:38:56.252Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-17T01:38:56.323Z] prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container [2022-01-17T01:38:55.936Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-01-17T01:38:56.499Z] $ docker top c496c56f1945cae622a7eff9948813d58bfd6913ceff96e84cef9d13f475ed6e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-17T01:38:56.968Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-17T01:38:56.968Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-17T01:38:57.070Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-17T01:38:56.710Z] $ docker exec c496c56f1945cae622a7eff9948813d58bfd6913ceff96e84cef9d13f475ed6e ssh-agent [2022-01-17T01:38:57.172Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgEnBcM/agent.14 [2022-01-17T01:38:57.172Z] SSH_AGENT_PID=21 [2022-01-17T01:38:57.179Z] Running ssh-add (command line suppressed) [2022-01-17T01:38:56.911Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_616805423983553229.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_616805423983553229.key) [2022-01-17T01:38:57.272Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-17T01:38:57.567Z] + git tag --points-at HEAD [Pipeline] } [2022-01-17T01:38:57.267Z] $ docker exec --env ******** --env ******** c496c56f1945cae622a7eff9948813d58bfd6913ceff96e84cef9d13f475ed6e ssh-agent -k [2022-01-17T01:38:57.366Z] unset SSH_AUTH_SOCK; [2022-01-17T01:38:57.366Z] unset SSH_AGENT_PID; [2022-01-17T01:38:57.366Z] echo Agent pid 21 killed; [2022-01-17T01:38:57.687Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-17T01:38:57.715Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-17T01:38:57.715Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-17T01:38:57.833Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-17T01:38:57.537Z] $ docker exec c496c56f1945cae622a7eff9948813d58bfd6913ceff96e84cef9d13f475ed6e ssh-agent [2022-01-17T01:38:57.932Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkabpJp/agent.56 [2022-01-17T01:38:57.932Z] SSH_AGENT_PID=63 [2022-01-17T01:38:57.936Z] Running ssh-add (command line suppressed) [2022-01-17T01:38:57.746Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8528584922107111811.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8528584922107111811.key) [2022-01-17T01:38:58.045Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-17T01:38:58.335Z] + git semver init [2022-01-17T01:38:58.335Z] # -> Open(): unable to determine branch for HEAD [2022-01-17T01:38:58.335Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-01-17T01:38:58.335Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-17T01:38:58.335Z] # $SEMVER_REMOTE_NAME = origin [2022-01-17T01:38:58.335Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-17T01:38:58.335Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-17T01:38:58.335Z] # $SEMVER_BRANCH = main [2022-01-17T01:38:58.335Z] # $SEMVER_TEMP = /tmp/semver-329158877 [2022-01-17T01:38:58.335Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-01-17T01:38:59.276Z] # '/tmp/semver-329158877' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2022-01-17T01:38:59.276Z] # -> Force: false [2022-01-17T01:38:59.276Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-01-17T01:38:59.109Z] $ docker exec --env ******** --env ******** c496c56f1945cae622a7eff9948813d58bfd6913ceff96e84cef9d13f475ed6e ssh-agent -k [2022-01-17T01:38:59.195Z] unset SSH_AUTH_SOCK; [2022-01-17T01:38:59.195Z] unset SSH_AGENT_PID; [2022-01-17T01:38:59.195Z] echo Agent pid 63 killed; [2022-01-17T01:38:59.377Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-17T01:38:59.687Z] + git semver [Pipeline] } [2022-01-17T01:38:59.557Z] $ docker stop --time=1 c496c56f1945cae622a7eff9948813d58bfd6913ceff96e84cef9d13f475ed6e [2022-01-17T01:39:00.760Z] $ docker rm -f c496c56f1945cae622a7eff9948813d58bfd6913ceff96e84cef9d13f475ed6e [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-17T01:39:01.155Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-17T01:39:01.372Z] Stashed 1 file(s) [Pipeline] echo [2022-01-17T01:39:01.376Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.6 [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-01-17T01:39:01.513Z] provisioning config files... [2022-01-17T01:39:01.522Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7256311158694112616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:39:01.822Z] ---> docker-login.sh [2022-01-17T01:39:01.822Z] nexus3.edgexfoundry.org:10001 [2022-01-17T01:39:01.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:39:01.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:39:01.822Z] Configure a credential helper to remove this warning. See [2022-01-17T01:39:01.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:39:01.822Z] [2022-01-17T01:39:01.822Z] Login Succeeded [2022-01-17T01:39:01.822Z] nexus3.edgexfoundry.org:10002 [2022-01-17T01:39:01.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:39:01.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:39:01.822Z] Configure a credential helper to remove this warning. See [2022-01-17T01:39:01.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:39:01.822Z] [2022-01-17T01:39:01.822Z] Login Succeeded [2022-01-17T01:39:01.822Z] nexus3.edgexfoundry.org:10003 [2022-01-17T01:39:02.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:39:02.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:39:02.082Z] Configure a credential helper to remove this warning. See [2022-01-17T01:39:02.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:39:02.082Z] [2022-01-17T01:39:02.082Z] Login Succeeded [2022-01-17T01:39:02.082Z] nexus3.edgexfoundry.org:10004 [2022-01-17T01:39:02.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:39:02.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:39:02.082Z] Configure a credential helper to remove this warning. See [2022-01-17T01:39:02.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:39:02.082Z] [2022-01-17T01:39:02.082Z] Login Succeeded [2022-01-17T01:39:02.082Z] docker.io [2022-01-17T01:39:02.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:39:02.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:39:02.605Z] Configure a credential helper to remove this warning. See [2022-01-17T01:39:02.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:39:02.605Z] [2022-01-17T01:39:02.605Z] Login Succeeded [2022-01-17T01:39:02.605Z] ---> docker-login.sh ends [Pipeline] } [2022-01-17T01:39:02.613Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-17T01:39:02.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-17T01:39:02.699Z] ========================================================= [2022-01-17T01:39:02.699Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-17T01:39:02.699Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:39:03.011Z] + 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-01-17T01:39:03.011Z] Sending build context to Docker daemon 5.706MB [2022-01-17T01:39:03.011Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-01-17T01:39:03.011Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-17T01:39:03.011Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-17T01:39:03.011Z] 59bf1c3509f3: Pulling fs layer [2022-01-17T01:39:03.011Z] 666ba61612fd: Pulling fs layer [2022-01-17T01:39:03.011Z] 8ed8ca486205: Pulling fs layer [2022-01-17T01:39:03.011Z] 4fe6c5a15a65: Pulling fs layer [2022-01-17T01:39:03.011Z] 22a0e8bec74d: Pulling fs layer [2022-01-17T01:39:03.011Z] f965cba54748: Pulling fs layer [2022-01-17T01:39:03.011Z] 861ffc35075e: Pulling fs layer [2022-01-17T01:39:03.011Z] 4b385c91608e: Pulling fs layer [2022-01-17T01:39:03.011Z] 560528eb2ebb: Pulling fs layer [2022-01-17T01:39:03.011Z] 4fe6c5a15a65: Waiting [2022-01-17T01:39:03.011Z] 22a0e8bec74d: Waiting [2022-01-17T01:39:03.011Z] f965cba54748: Waiting [2022-01-17T01:39:03.011Z] 861ffc35075e: Waiting [2022-01-17T01:39:03.011Z] 4b385c91608e: Waiting [2022-01-17T01:39:03.011Z] 560528eb2ebb: Waiting [2022-01-17T01:39:03.011Z] 8ed8ca486205: Verifying Checksum [2022-01-17T01:39:03.011Z] 8ed8ca486205: Download complete [2022-01-17T01:39:03.011Z] 666ba61612fd: Verifying Checksum [2022-01-17T01:39:03.011Z] 666ba61612fd: Download complete [2022-01-17T01:39:03.281Z] 22a0e8bec74d: Verifying Checksum [2022-01-17T01:39:03.281Z] 22a0e8bec74d: Download complete [2022-01-17T01:39:03.281Z] f965cba54748: Verifying Checksum [2022-01-17T01:39:03.281Z] f965cba54748: Download complete [2022-01-17T01:39:03.281Z] 59bf1c3509f3: Verifying Checksum [2022-01-17T01:39:03.281Z] 59bf1c3509f3: Download complete [2022-01-17T01:39:03.281Z] 861ffc35075e: Verifying Checksum [2022-01-17T01:39:03.281Z] 861ffc35075e: Download complete [2022-01-17T01:39:03.281Z] 4b385c91608e: Verifying Checksum [2022-01-17T01:39:03.281Z] 4b385c91608e: Download complete [2022-01-17T01:39:03.553Z] 59bf1c3509f3: Pull complete [2022-01-17T01:39:03.822Z] 4fe6c5a15a65: Verifying Checksum [2022-01-17T01:39:03.822Z] 4fe6c5a15a65: Download complete [2022-01-17T01:39:03.822Z] 560528eb2ebb: Verifying Checksum [2022-01-17T01:39:03.822Z] 560528eb2ebb: Download complete [2022-01-17T01:39:03.822Z] 666ba61612fd: Pull complete [2022-01-17T01:39:03.822Z] 8ed8ca486205: Pull complete [2022-01-17T01:39:08.107Z] 4fe6c5a15a65: Pull complete [2022-01-17T01:39:08.107Z] 22a0e8bec74d: Pull complete [2022-01-17T01:39:08.107Z] f965cba54748: Pull complete [2022-01-17T01:39:08.107Z] 861ffc35075e: Pull complete [2022-01-17T01:39:08.107Z] 4b385c91608e: Pull complete [2022-01-17T01:39:10.031Z] 560528eb2ebb: Pull complete [2022-01-17T01:39:10.031Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-17T01:39:10.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-17T01:39:10.031Z] ---> dd4a08f94e63 [2022-01-17T01:39:10.031Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-17T01:39:11.440Z] ---> Running in aaf795a48d9e [2022-01-17T01:39:11.699Z] Removing intermediate container aaf795a48d9e [2022-01-17T01:39:11.699Z] ---> be976978b05a [2022-01-17T01:39:11.699Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-01-17T01:39:11.699Z] ---> Running in f7eb00db3348 [2022-01-17T01:39:11.699Z] Removing intermediate container f7eb00db3348 [2022-01-17T01:39:11.699Z] ---> 27e1eef21c60 [2022-01-17T01:39:11.699Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-17T01:39:11.699Z] ---> Running in 8eabebecc7e6 [2022-01-17T01:39:12.284Z] Removing intermediate container 8eabebecc7e6 [2022-01-17T01:39:12.284Z] ---> 722d41bd921b [2022-01-17T01:39:12.284Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-17T01:39:12.284Z] ---> Running in c56d80f60416 [2022-01-17T01:39:12.544Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-17T01:39:13.487Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-17T01:39:13.487Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-17T01:39:13.746Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-17T01:39:13.746Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-17T01:39:14.007Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-17T01:39:14.007Z] Executing busybox-1.34.1-r3.trigger [2022-01-17T01:39:14.007Z] OK: 224 MiB in 56 packages [2022-01-17T01:39:14.267Z] Removing intermediate container c56d80f60416 [2022-01-17T01:39:14.267Z] ---> 1180e1f98790 [2022-01-17T01:39:14.267Z] Step 7/11 : WORKDIR /device-mqtt-go [2022-01-17T01:39:14.267Z] ---> Running in 206723284b5e [2022-01-17T01:39:14.267Z] Removing intermediate container 206723284b5e [2022-01-17T01:39:14.267Z] ---> b5484230c52f [2022-01-17T01:39:14.267Z] Step 8/11 : COPY . . [2022-01-17T01:39:14.525Z] ---> b6452c2b15a3 [2022-01-17T01:39:14.525Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-17T01:39:14.786Z] ---> Running in 8a86e320803a [2022-01-17T01:39:16.483Z] Still waiting to schedule task [2022-01-17T01:39:16.483Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-17T01:39:41.407Z] Removing intermediate container 8a86e320803a [2022-01-17T01:39:41.407Z] ---> 6e2e804a91b7 [2022-01-17T01:39:41.407Z] Step 10/11 : ARG MAKE='make build' [2022-01-17T01:39:41.407Z] ---> Running in 3e5c7085546f [2022-01-17T01:39:41.407Z] Removing intermediate container 3e5c7085546f [2022-01-17T01:39:41.407Z] ---> 552ba3589ef6 [2022-01-17T01:39:41.407Z] Step 11/11 : RUN $MAKE [2022-01-17T01:39:41.407Z] ---> Running in 6df68ffd5462 [2022-01-17T01:39:41.407Z] noop [2022-01-17T01:39:41.407Z] Removing intermediate container 6df68ffd5462 [2022-01-17T01:39:41.407Z] ---> 80e78e516e0b [2022-01-17T01:39:41.407Z] Successfully built 80e78e516e0b [2022-01-17T01:39:41.408Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:39:41.706Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-17T01:39:41.706Z] . [Pipeline] withDockerContainer [2022-01-17T01:39:41.768Z] prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container [2022-01-17T01:39:41.798Z] $ 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-01-17T01:39:42.114Z] $ docker top 52f530a801a64c6670bd757984389e429254fda10ebe208c967b8dc44be50011 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-17T01:39:42.467Z] + go version [2022-01-17T01:39:42.467Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-17T01:39:42.478Z] $ docker stop --time=1 52f530a801a64c6670bd757984389e429254fda10ebe208c967b8dc44be50011 [2022-01-17T01:39:43.648Z] $ docker rm -f 52f530a801a64c6670bd757984389e429254fda10ebe208c967b8dc44be50011 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:39:44.047Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-17T01:39:44.047Z] . [Pipeline] withDockerContainer [2022-01-17T01:39:44.109Z] prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container [2022-01-17T01:39:44.143Z] $ 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-01-17T01:39:44.467Z] $ docker top 732a324c4a1af4c1939cd82695e4d06cd1aef26e5f15f4d1d58bf503429c6248 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-17T01:39:44.856Z] + make test [2022-01-17T01:39:44.856Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-17T01:39:45.118Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-01-17T01:40:00.085Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-01-17T01:40:00.085Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.5% of statements [2022-01-17T01:40:00.085Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-01-17T01:40:00.085Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-17T01:40:04.348Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-17T01:40:04.348Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-17T01:40:04.348Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-17T01:40:04.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-17T01:40:04.634Z] $ docker stop --time=1 732a324c4a1af4c1939cd82695e4d06cd1aef26e5f15f4d1d58bf503429c6248 [2022-01-17T01:40:06.122Z] $ docker rm -f 732a324c4a1af4c1939cd82695e4d06cd1aef26e5f15f4d1d58bf503429c6248 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-17T01:40:06.517Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-17T01:40:06.551Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-17T01:40:07.449Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-17T01:40:07.742Z] + ls -al . [2022-01-17T01:40:07.742Z] total 148 [2022-01-17T01:40:07.742Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 17 01:40 . [2022-01-17T01:40:07.742Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 17 01:38 .. [2022-01-17T01:40:07.742Z] -rw-rw-r--. 1 jenkins jenkins 7287 Jan 17 01:38 Attribution.txt [2022-01-17T01:40:07.742Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 17 01:38 bin [2022-01-17T01:40:07.742Z] -rw-rw-r--. 1 jenkins jenkins 7447 Jan 17 01:38 CHANGELOG.md [2022-01-17T01:40:07.742Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 17 01:38 cmd [2022-01-17T01:40:07.742Z] -rw-r--r--. 1 jenkins jenkins 17452 Jan 17 01:39 coverage.out [2022-01-17T01:40:07.742Z] -rw-rw-r--. 1 jenkins jenkins 1907 Jan 17 01:38 Dockerfile [2022-01-17T01:40:07.742Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 17 01:38 .dockerignore [2022-01-17T01:40:07.742Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 17 01:38 .git [2022-01-17T01:40:07.742Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 17 01:38 .github [2022-01-17T01:40:07.742Z] -rw-rw-r--. 1 jenkins jenkins 329 Jan 17 01:38 .gitignore [2022-01-17T01:40:07.742Z] -rw-rw-r--. 1 jenkins jenkins 410 Jan 17 01:38 go.mod [2022-01-17T01:40:07.742Z] -rw-rw-r--. 1 jenkins jenkins 49409 Jan 17 01:38 go.sum [2022-01-17T01:40:07.742Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 17 01:38 GOVERNANCE.md [2022-01-17T01:40:07.742Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 17 01:38 internal [2022-01-17T01:40:07.742Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 17 01:38 Jenkinsfile [2022-01-17T01:40:07.742Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 17 01:38 LICENSE [2022-01-17T01:40:07.742Z] -rw-rw-r--. 1 jenkins jenkins 1030 Jan 17 01:38 Makefile [2022-01-17T01:40:07.742Z] drwxrwxr-x. 2 jenkins jenkins 23 Jan 17 01:38 mock [2022-01-17T01:40:07.742Z] -rw-rw-r--. 1 jenkins jenkins 620 Jan 17 01:38 OWNERS.md [2022-01-17T01:40:07.742Z] -rw-rw-r--. 1 jenkins jenkins 2643 Jan 17 01:38 README.md [2022-01-17T01:40:07.742Z] drwx------. 3 jenkins jenkins 57 Jan 17 01:38 .semver [2022-01-17T01:40:07.742Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 17 01:38 snap [2022-01-17T01:40:07.742Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 17 01:39 VERSION [2022-01-17T01:40:07.742Z] -rw-rw-r--. 1 jenkins jenkins 227 Jan 17 01:38 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:40:08.040Z] + 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=53e4264da7a8f5345b5b18c03a825d0468689761 --label arch=amd64 --label version=2.2.0-dev.6 . [2022-01-17T01:40:08.040Z] Sending build context to Docker daemon 5.724MB [2022-01-17T01:40:08.040Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2022-01-17T01:40:08.040Z] Step 2/23 : FROM ${BASE} AS builder [2022-01-17T01:40:08.040Z] ---> 80e78e516e0b [2022-01-17T01:40:08.040Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-17T01:40:08.040Z] ---> Running in 1c13ebd6a6ca [2022-01-17T01:40:08.303Z] Removing intermediate container 1c13ebd6a6ca [2022-01-17T01:40:08.303Z] ---> 320a77c103f1 [2022-01-17T01:40:08.303Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2022-01-17T01:40:08.303Z] ---> Running in b717688509c8 [2022-01-17T01:40:08.303Z] Removing intermediate container b717688509c8 [2022-01-17T01:40:08.303Z] ---> 72f0ef75cbbf [2022-01-17T01:40:08.303Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-17T01:40:08.303Z] ---> Running in 986a361aeea7 [2022-01-17T01:40:08.880Z] Removing intermediate container 986a361aeea7 [2022-01-17T01:40:08.880Z] ---> cc42b8e1203a [2022-01-17T01:40:08.880Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-17T01:40:08.880Z] ---> Running in 39191f7ebbe9 [2022-01-17T01:40:09.140Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-17T01:40:10.080Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-17T01:40:10.346Z] OK: 224 MiB in 56 packages [2022-01-17T01:40:10.606Z] Removing intermediate container 39191f7ebbe9 [2022-01-17T01:40:10.606Z] ---> 93525d58d247 [2022-01-17T01:40:10.606Z] Step 7/23 : WORKDIR /device-mqtt-go [2022-01-17T01:40:10.606Z] ---> Running in 852410ccb05e [2022-01-17T01:40:10.606Z] Removing intermediate container 852410ccb05e [2022-01-17T01:40:10.606Z] ---> 0ac89d0af52b [2022-01-17T01:40:10.606Z] Step 8/23 : COPY . . [2022-01-17T01:40:10.866Z] ---> f73852dd03e1 [2022-01-17T01:40:10.866Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-17T01:40:10.866Z] ---> Running in 6ddc89c5c869 [2022-01-17T01:40:11.439Z] Removing intermediate container 6ddc89c5c869 [2022-01-17T01:40:11.439Z] ---> aff8b458b132 [2022-01-17T01:40:11.439Z] Step 10/23 : ARG MAKE='make build' [2022-01-17T01:40:11.439Z] ---> Running in 0973638dc599 [2022-01-17T01:40:11.702Z] Removing intermediate container 0973638dc599 [2022-01-17T01:40:11.702Z] ---> 8d36d5b0c5fc [2022-01-17T01:40:11.702Z] Step 11/23 : RUN $MAKE [2022-01-17T01:40:11.702Z] ---> Running in eb118e71d6e0 [2022-01-17T01:40:11.973Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.6" -o cmd/device-mqtt ./cmd [2022-01-17T01:40:24.248Z] Removing intermediate container eb118e71d6e0 [2022-01-17T01:40:24.248Z] ---> f224f0a0f3c7 [2022-01-17T01:40:24.248Z] Step 12/23 : FROM alpine:3.14 [2022-01-17T01:40:24.248Z] 3.14: Pulling from library/alpine [2022-01-17T01:40:24.510Z] 97518928ae5f: Pulling fs layer [2022-01-17T01:40:24.510Z] 97518928ae5f: Verifying Checksum [2022-01-17T01:40:24.510Z] 97518928ae5f: Download complete [2022-01-17T01:40:24.769Z] 97518928ae5f: Pull complete [2022-01-17T01:40:24.769Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-17T01:40:24.769Z] Status: Downloaded newer image for alpine:3.14 [2022-01-17T01:40:24.769Z] ---> 0a97eee8041e [2022-01-17T01:40:24.769Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-01-17T01:40:24.769Z] ---> Running in 659bfda52c40 [2022-01-17T01:40:25.031Z] Removing intermediate container 659bfda52c40 [2022-01-17T01:40:25.031Z] ---> 08344046a634 [2022-01-17T01:40:25.031Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-17T01:40:25.031Z] ---> Running in ec9a26404cf2 [2022-01-17T01:40:25.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-17T01:40:25.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-17T01:40:25.555Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-17T01:40:25.555Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-17T01:40:25.555Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-17T01:40:25.555Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-17T01:40:25.555Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-17T01:40:25.555Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-17T01:40:25.555Z] Executing busybox-1.33.1-r6.trigger [2022-01-17T01:40:25.555Z] OK: 8 MiB in 20 packages [2022-01-17T01:40:25.820Z] Removing intermediate container ec9a26404cf2 [2022-01-17T01:40:25.820Z] ---> 2ef12f268bd5 [2022-01-17T01:40:25.820Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2022-01-17T01:40:26.395Z] ---> 231e3938ef3e [2022-01-17T01:40:26.395Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-01-17T01:40:26.395Z] ---> 9a8ce63821d3 [2022-01-17T01:40:26.395Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-01-17T01:40:26.657Z] ---> dc8a426f57aa [2022-01-17T01:40:26.657Z] Step 18/23 : EXPOSE 59982 [2022-01-17T01:40:26.657Z] ---> Running in ff1ee3b83e31 [2022-01-17T01:40:26.657Z] Removing intermediate container ff1ee3b83e31 [2022-01-17T01:40:26.657Z] ---> 733888ffe7af [2022-01-17T01:40:26.657Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2022-01-17T01:40:26.657Z] ---> Running in c8e03762a10c [2022-01-17T01:40:26.918Z] Removing intermediate container c8e03762a10c [2022-01-17T01:40:26.918Z] ---> 44bd22cdd61d [2022-01-17T01:40:26.918Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-17T01:40:26.918Z] ---> Running in 09667ca14d07 [2022-01-17T01:40:26.918Z] Removing intermediate container 09667ca14d07 [2022-01-17T01:40:26.918Z] ---> f3e6812e7d85 [2022-01-17T01:40:26.918Z] Step 21/23 : LABEL arch=amd64 [2022-01-17T01:40:26.918Z] ---> Running in 8e3c746a9ab0 [2022-01-17T01:40:26.918Z] Removing intermediate container 8e3c746a9ab0 [2022-01-17T01:40:26.918Z] ---> 7f95406057f1 [2022-01-17T01:40:26.918Z] Step 22/23 : LABEL git_sha=53e4264da7a8f5345b5b18c03a825d0468689761 [2022-01-17T01:40:26.918Z] ---> Running in efc4359d31a0 [2022-01-17T01:40:27.178Z] Removing intermediate container efc4359d31a0 [2022-01-17T01:40:27.178Z] ---> 6bba832bd8e1 [2022-01-17T01:40:27.178Z] Step 23/23 : LABEL version=2.2.0-dev.6 [2022-01-17T01:40:27.178Z] ---> Running in fe2f7b4eb490 [2022-01-17T01:40:27.178Z] Removing intermediate container fe2f7b4eb490 [2022-01-17T01:40:27.178Z] ---> bcae5899f1a5 [2022-01-17T01:40:27.178Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-17T01:40:27.178Z] Successfully built bcae5899f1a5 [2022-01-17T01:40:27.178Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-17T01:40:27.278Z] provisioning config files... [2022-01-17T01:40:27.287Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5523325766340506692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:40:27.581Z] ---> docker-login.sh [2022-01-17T01:40:27.581Z] nexus3.edgexfoundry.org:10001 [2022-01-17T01:40:27.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:40:27.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:40:27.581Z] Configure a credential helper to remove this warning. See [2022-01-17T01:40:27.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:40:27.581Z] [2022-01-17T01:40:27.581Z] Login Succeeded [2022-01-17T01:40:27.581Z] nexus3.edgexfoundry.org:10002 [2022-01-17T01:40:27.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:40:27.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:40:27.581Z] Configure a credential helper to remove this warning. See [2022-01-17T01:40:27.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:40:27.581Z] [2022-01-17T01:40:27.581Z] Login Succeeded [2022-01-17T01:40:27.581Z] nexus3.edgexfoundry.org:10003 [2022-01-17T01:40:27.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:40:27.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:40:27.841Z] Configure a credential helper to remove this warning. See [2022-01-17T01:40:27.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:40:27.841Z] [2022-01-17T01:40:27.841Z] Login Succeeded [2022-01-17T01:40:27.841Z] nexus3.edgexfoundry.org:10004 [2022-01-17T01:40:27.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:40:27.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:40:27.841Z] Configure a credential helper to remove this warning. See [2022-01-17T01:40:27.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:40:27.841Z] [2022-01-17T01:40:27.841Z] Login Succeeded [2022-01-17T01:40:27.841Z] docker.io [2022-01-17T01:40:27.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:40:28.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:40:28.411Z] Configure a credential helper to remove this warning. See [2022-01-17T01:40:28.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:40:28.411Z] [2022-01-17T01:40:28.411Z] Login Succeeded [2022-01-17T01:40:28.411Z] ---> docker-login.sh ends [Pipeline] } [2022-01-17T01:40:28.418Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-17T01:40:28.451Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-17T01:40:28.471Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-01-17T01:40:28.471Z] 53e4264da7a8f5345b5b18c03a825d0468689761 [2022-01-17T01:40:28.471Z] latest [2022-01-17T01:40:28.471Z] 2.2.0-dev.6 [2022-01-17T01:40:28.471Z] 53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6 [2022-01-17T01:40:28.471Z] main [2022-01-17T01:40:28.471Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:40:28.801Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:53e4264da7a8f5345b5b18c03a825d0468689761 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:40:29.106Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:53e4264da7a8f5345b5b18c03a825d0468689761 [2022-01-17T01:40:29.106Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-01-17T01:40:29.106Z] deefb4a03a96: Preparing [2022-01-17T01:40:29.106Z] 98133632d58e: Preparing [2022-01-17T01:40:29.106Z] 2df281491670: Preparing [2022-01-17T01:40:29.106Z] a86f804c9afc: Preparing [2022-01-17T01:40:29.106Z] 1a058d5342cc: Preparing [2022-01-17T01:40:29.106Z] 1a058d5342cc: Layer already exists [2022-01-17T01:40:29.380Z] deefb4a03a96: Pushed [2022-01-17T01:40:29.380Z] 98133632d58e: Pushed [2022-01-17T01:40:29.380Z] a86f804c9afc: Pushed [2022-01-17T01:40:30.772Z] 2df281491670: Pushed [2022-01-17T01:40:30.772Z] 53e4264da7a8f5345b5b18c03a825d0468689761: digest: sha256:6d29d4e830dec85b0f6e03b21acb79e7ec367f9343f1fb1fe11cebe78f76e748 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:40:31.075Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:40:31.370Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-01-17T01:40:31.370Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-01-17T01:40:31.370Z] deefb4a03a96: Preparing [2022-01-17T01:40:31.370Z] 98133632d58e: Preparing [2022-01-17T01:40:31.370Z] 2df281491670: Preparing [2022-01-17T01:40:31.370Z] a86f804c9afc: Preparing [2022-01-17T01:40:31.370Z] 1a058d5342cc: Preparing [2022-01-17T01:40:31.370Z] deefb4a03a96: Layer already exists [2022-01-17T01:40:31.370Z] 2df281491670: Layer already exists [2022-01-17T01:40:31.370Z] a86f804c9afc: Layer already exists [2022-01-17T01:40:31.370Z] 98133632d58e: Layer already exists [2022-01-17T01:40:31.370Z] 1a058d5342cc: Layer already exists [2022-01-17T01:40:31.370Z] latest: digest: sha256:6d29d4e830dec85b0f6e03b21acb79e7ec367f9343f1fb1fe11cebe78f76e748 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:40:31.671Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:40:31.966Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.6 [2022-01-17T01:40:31.966Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-01-17T01:40:31.966Z] deefb4a03a96: Preparing [2022-01-17T01:40:31.966Z] 98133632d58e: Preparing [2022-01-17T01:40:31.966Z] 2df281491670: Preparing [2022-01-17T01:40:31.966Z] a86f804c9afc: Preparing [2022-01-17T01:40:31.966Z] 1a058d5342cc: Preparing [2022-01-17T01:40:31.966Z] 2df281491670: Layer already exists [2022-01-17T01:40:31.966Z] a86f804c9afc: Layer already exists [2022-01-17T01:40:31.966Z] deefb4a03a96: Layer already exists [2022-01-17T01:40:31.966Z] 98133632d58e: Layer already exists [2022-01-17T01:40:31.966Z] 1a058d5342cc: Layer already exists [2022-01-17T01:40:31.966Z] 2.2.0-dev.6: digest: sha256:6d29d4e830dec85b0f6e03b21acb79e7ec367f9343f1fb1fe11cebe78f76e748 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:40:32.265Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:40:32.564Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6 [2022-01-17T01:40:32.564Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-01-17T01:40:32.564Z] deefb4a03a96: Preparing [2022-01-17T01:40:32.564Z] 98133632d58e: Preparing [2022-01-17T01:40:32.564Z] 2df281491670: Preparing [2022-01-17T01:40:32.564Z] a86f804c9afc: Preparing [2022-01-17T01:40:32.564Z] 1a058d5342cc: Preparing [2022-01-17T01:40:32.564Z] 1a058d5342cc: Layer already exists [2022-01-17T01:40:32.564Z] deefb4a03a96: Layer already exists [2022-01-17T01:40:32.564Z] 98133632d58e: Layer already exists [2022-01-17T01:40:32.564Z] a86f804c9afc: Layer already exists [2022-01-17T01:40:32.564Z] 2df281491670: Layer already exists [2022-01-17T01:40:32.564Z] 53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6: digest: sha256:6d29d4e830dec85b0f6e03b21acb79e7ec367f9343f1fb1fe11cebe78f76e748 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:40:32.866Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:40:33.166Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-01-17T01:40:33.166Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-01-17T01:40:33.166Z] deefb4a03a96: Preparing [2022-01-17T01:40:33.166Z] 98133632d58e: Preparing [2022-01-17T01:40:33.166Z] 2df281491670: Preparing [2022-01-17T01:40:33.166Z] a86f804c9afc: Preparing [2022-01-17T01:40:33.166Z] 1a058d5342cc: Preparing [2022-01-17T01:40:33.166Z] a86f804c9afc: Layer already exists [2022-01-17T01:40:33.166Z] 2df281491670: Layer already exists [2022-01-17T01:40:33.166Z] 1a058d5342cc: Layer already exists [2022-01-17T01:40:33.166Z] 98133632d58e: Layer already exists [2022-01-17T01:40:33.166Z] deefb4a03a96: Layer already exists [2022-01-17T01:40:33.166Z] main: digest: sha256:6d29d4e830dec85b0f6e03b21acb79e7ec367f9343f1fb1fe11cebe78f76e748 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-17T01:40:33.206Z] ===================================================== [Pipeline] echo [2022-01-17T01:40:33.216Z] taggedImages: [2022-01-17T01:40:33.216Z] - nexus3.edgexfoundry.org:10004/device-mqtt:53e4264da7a8f5345b5b18c03a825d0468689761 [2022-01-17T01:40:33.216Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-01-17T01:40:33.216Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.6 [2022-01-17T01:40:33.216Z] - nexus3.edgexfoundry.org:10004/device-mqtt:53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6 [2022-01-17T01:40:33.216Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:40:33.626Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-17T01:40:33.626Z] [2022-01-17T01:40:33.626Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:40:33.931Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-17T01:40:33.931Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-17T01:40:33.931Z] b4d181a07f80: Pulling fs layer [2022-01-17T01:40:33.931Z] a1111a8f2ec3: Pulling fs layer [2022-01-17T01:40:33.931Z] ed53099fbce6: Pulling fs layer [2022-01-17T01:40:33.931Z] dc539afda2c1: Pulling fs layer [2022-01-17T01:40:33.931Z] 77bc0d833cb6: Pulling fs layer [2022-01-17T01:40:33.931Z] 9065ff56babe: Pulling fs layer [2022-01-17T01:40:33.931Z] d287ab97295c: Pulling fs layer [2022-01-17T01:40:33.931Z] dc539afda2c1: Waiting [2022-01-17T01:40:33.931Z] 77bc0d833cb6: Waiting [2022-01-17T01:40:33.931Z] 9065ff56babe: Waiting [2022-01-17T01:40:33.931Z] d287ab97295c: Waiting [2022-01-17T01:40:33.931Z] a1111a8f2ec3: Verifying Checksum [2022-01-17T01:40:33.931Z] a1111a8f2ec3: Download complete [2022-01-17T01:40:33.931Z] dc539afda2c1: Verifying Checksum [2022-01-17T01:40:33.931Z] dc539afda2c1: Download complete [2022-01-17T01:40:33.931Z] ed53099fbce6: Verifying Checksum [2022-01-17T01:40:33.931Z] ed53099fbce6: Download complete [2022-01-17T01:40:33.931Z] 9065ff56babe: Verifying Checksum [2022-01-17T01:40:33.931Z] 9065ff56babe: Download complete [2022-01-17T01:40:33.931Z] 77bc0d833cb6: Verifying Checksum [2022-01-17T01:40:33.931Z] 77bc0d833cb6: Download complete [2022-01-17T01:40:34.193Z] b4d181a07f80: Verifying Checksum [2022-01-17T01:40:34.193Z] b4d181a07f80: Download complete [2022-01-17T01:40:34.773Z] d287ab97295c: Verifying Checksum [2022-01-17T01:40:34.773Z] d287ab97295c: Download complete [2022-01-17T01:40:35.739Z] b4d181a07f80: Pull complete [2022-01-17T01:40:36.015Z] a1111a8f2ec3: Pull complete [2022-01-17T01:40:36.592Z] ed53099fbce6: Pull complete [2022-01-17T01:40:36.592Z] dc539afda2c1: Pull complete [2022-01-17T01:40:36.852Z] 77bc0d833cb6: Pull complete [2022-01-17T01:40:36.852Z] 9065ff56babe: Pull complete [2022-01-17T01:40:42.180Z] d287ab97295c: Pull complete [2022-01-17T01:40:42.180Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-17T01:40:42.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-17T01:40:42.180Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-17T01:40:42.250Z] prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container [2022-01-17T01:40:42.283Z] $ 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-01-17T01:40:44.804Z] $ docker top 080cf630000e3d6c88bfbe1067299884b8f7c80fb297ee26af2cbd6fc5b60f84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:40:45.220Z] ---> job-cost.sh [2022-01-17T01:40:45.220Z] lf-activate-venv: SKIPPING [2022-01-17T01:40:45.220Z] INFO: No Stack... [2022-01-17T01:40:45.478Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-17T01:40:45.742Z] INFO: Archiving Costs [Pipeline] sh [2022-01-17T01:40:46.033Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-01-17T01:40:46.033Z] + cut -d, -f6 [Pipeline] lock [2022-01-17T01:40:46.049Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-27-stack-cost] [2022-01-17T01:40:46.055Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-27-stack-cost] did not exist. Created. [2022-01-17T01:40:46.055Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-17T01:40:46.360Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-17T01:40:46.453Z] Stashed 1 file(s) [Pipeline] } [2022-01-17T01:40:46.460Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-17T01:40:46.476Z] $ docker stop --time=1 080cf630000e3d6c88bfbe1067299884b8f7c80fb297ee26af2cbd6fc5b60f84 [2022-01-17T01:40:47.668Z] $ docker rm -f 080cf630000e3d6c88bfbe1067299884b8f7c80fb297ee26af2cbd6fc5b60f84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-17T01:42:45.368Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1637 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-01-17T01:42:45.387Z] Running in /w/workspace/device-mqtt-go/27 [Pipeline] { [Pipeline] checkout [2022-01-17T01:42:45.590Z] Selected Git installation does not exist. Using Default [2022-01-17T01:42:45.591Z] The recommended git tool is: NONE [2022-01-17T01:42:50.175Z] using credential edgex-jenkins-ssh [2022-01-17T01:42:54.136Z] Cloning the remote Git repository [2022-01-17T01:42:54.252Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-17T01:42:54.346Z] > git init /w/workspace/device-mqtt-go/27 # timeout=10 [2022-01-17T01:42:54.451Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-17T01:42:54.452Z] > git --version # timeout=10 [2022-01-17T01:42:54.475Z] > git --version # 'git version 2.17.1' [2022-01-17T01:42:54.477Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-17T01:42:55.819Z] Avoid second fetch [2022-01-17T01:42:55.819Z] Checking out Revision 53e4264da7a8f5345b5b18c03a825d0468689761 (main) [2022-01-17T01:42:54.573Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-17T01:42:55.778Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-01-17T01:42:55.802Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-17T01:42:55.849Z] > git config core.sparsecheckout # timeout=10 [2022-01-17T01:42:55.868Z] > git checkout -f 53e4264da7a8f5345b5b18c03a825d0468689761 # timeout=10 [2022-01-17T01:43:00.027Z] Commit message: "Merge pull request #333 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-17T01:43:00.998Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-17T01:43:00.999Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-17T01:43:00.999Z] Dload Upload Total Spent Left Speed [2022-01-17T01:43:00.999Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 67289 0 --:--:-- --:--:-- --:--:-- 67289 [Pipeline] sh [2022-01-17T01:43:01.529Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-17T01:43:01.875Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-17T01:43:01.876Z] + sudo tee /etc/docker/daemon.new [2022-01-17T01:43:01.876Z] { [2022-01-17T01:43:01.876Z] "registry-mirrors": [ [2022-01-17T01:43:01.876Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-17T01:43:01.876Z] ], [2022-01-17T01:43:01.876Z] "bip": "10.250.0.254/24", [2022-01-17T01:43:01.876Z] "hosts": [ [2022-01-17T01:43:01.876Z] "tcp://0.0.0.0:5555", [2022-01-17T01:43:01.876Z] "unix:///var/run/docker.sock" [2022-01-17T01:43:01.876Z] ], [2022-01-17T01:43:01.876Z] "mtu": 1458, [2022-01-17T01:43:01.876Z] "selinux-enabled": true, [2022-01-17T01:43:01.876Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-17T01:43:01.876Z] } [Pipeline] sh [2022-01-17T01:43:02.231Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-17T01:43:02.578Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-17T01:43:20.960Z] provisioning config files... [2022-01-17T01:43:20.984Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/27@tmp/config5154612718533577243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:43:21.345Z] ---> docker-login.sh [2022-01-17T01:43:21.345Z] nexus3.edgexfoundry.org:10001 [2022-01-17T01:43:21.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:43:22.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:43:22.225Z] Configure a credential helper to remove this warning. See [2022-01-17T01:43:22.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:43:22.225Z] [2022-01-17T01:43:22.225Z] Login Succeeded [2022-01-17T01:43:22.225Z] nexus3.edgexfoundry.org:10002 [2022-01-17T01:43:22.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:43:22.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:43:22.499Z] Configure a credential helper to remove this warning. See [2022-01-17T01:43:22.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:43:22.499Z] [2022-01-17T01:43:22.499Z] Login Succeeded [2022-01-17T01:43:22.499Z] nexus3.edgexfoundry.org:10003 [2022-01-17T01:43:23.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:43:23.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:43:23.097Z] Configure a credential helper to remove this warning. See [2022-01-17T01:43:23.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:43:23.097Z] [2022-01-17T01:43:23.097Z] Login Succeeded [2022-01-17T01:43:23.097Z] nexus3.edgexfoundry.org:10004 [2022-01-17T01:43:23.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:43:23.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:43:23.382Z] Configure a credential helper to remove this warning. See [2022-01-17T01:43:23.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:43:23.382Z] [2022-01-17T01:43:23.382Z] Login Succeeded [2022-01-17T01:43:23.382Z] docker.io [2022-01-17T01:43:23.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:43:24.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:43:24.251Z] Configure a credential helper to remove this warning. See [2022-01-17T01:43:24.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:43:24.251Z] [2022-01-17T01:43:24.251Z] Login Succeeded [2022-01-17T01:43:24.251Z] ---> docker-login.sh ends [Pipeline] } [2022-01-17T01:43:24.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-17T01:43:24.810Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-17T01:43:24.827Z] ========================================================= [2022-01-17T01:43:24.827Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-17T01:43:24.827Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:43:25.182Z] + 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-01-17T01:43:25.458Z] Sending build context to Docker daemon 2.964MB [2022-01-17T01:43:25.458Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-01-17T01:43:25.458Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-17T01:43:25.734Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-17T01:43:25.734Z] 9b3977197b4f: Pulling fs layer [2022-01-17T01:43:25.734Z] 1a89e8eeedd5: Pulling fs layer [2022-01-17T01:43:25.734Z] 94645a83ff95: Pulling fs layer [2022-01-17T01:43:25.734Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-17T01:43:25.734Z] 0c92f367c5e7: Pulling fs layer [2022-01-17T01:43:25.734Z] 4b8299f9d1f4: Pulling fs layer [2022-01-17T01:43:25.734Z] 9a6b49a46696: Pulling fs layer [2022-01-17T01:43:25.734Z] cf05db05a679: Pulling fs layer [2022-01-17T01:43:25.734Z] 4b8299f9d1f4: Waiting [2022-01-17T01:43:25.734Z] 9a6b49a46696: Waiting [2022-01-17T01:43:25.734Z] 3f3a8bcf1eab: Waiting [2022-01-17T01:43:25.734Z] 0c92f367c5e7: Waiting [2022-01-17T01:43:25.734Z] cf05db05a679: Waiting [2022-01-17T01:43:25.734Z] 94645a83ff95: Verifying Checksum [2022-01-17T01:43:25.734Z] 94645a83ff95: Download complete [2022-01-17T01:43:25.734Z] 1a89e8eeedd5: Download complete [2022-01-17T01:43:25.734Z] 0c92f367c5e7: Verifying Checksum [2022-01-17T01:43:25.734Z] 0c92f367c5e7: Download complete [2022-01-17T01:43:25.734Z] 4b8299f9d1f4: Verifying Checksum [2022-01-17T01:43:25.734Z] 4b8299f9d1f4: Download complete [2022-01-17T01:43:25.734Z] 9b3977197b4f: Verifying Checksum [2022-01-17T01:43:25.734Z] 9b3977197b4f: Download complete [2022-01-17T01:43:25.734Z] 9a6b49a46696: Verifying Checksum [2022-01-17T01:43:25.734Z] 9a6b49a46696: Download complete [2022-01-17T01:43:26.720Z] 9b3977197b4f: Pull complete [2022-01-17T01:43:27.324Z] 1a89e8eeedd5: Pull complete [2022-01-17T01:43:27.596Z] 94645a83ff95: Pull complete [2022-01-17T01:43:27.596Z] cf05db05a679: Verifying Checksum [2022-01-17T01:43:27.596Z] cf05db05a679: Download complete [2022-01-17T01:43:28.194Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-17T01:43:28.194Z] 3f3a8bcf1eab: Download complete [2022-01-17T01:43:40.602Z] 3f3a8bcf1eab: Pull complete [2022-01-17T01:43:40.602Z] 0c92f367c5e7: Pull complete [2022-01-17T01:43:40.602Z] 4b8299f9d1f4: Pull complete [2022-01-17T01:43:40.602Z] 9a6b49a46696: Pull complete [2022-01-17T01:43:46.011Z] cf05db05a679: Pull complete [2022-01-17T01:43:46.011Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-17T01:43:46.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-17T01:43:46.011Z] ---> 0ccda1f7e2ee [2022-01-17T01:43:46.011Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-17T01:43:47.445Z] ---> Running in 04ccbf08a1c2 [2022-01-17T01:43:48.041Z] Removing intermediate container 04ccbf08a1c2 [2022-01-17T01:43:48.041Z] ---> a8a660c694cd [2022-01-17T01:43:48.041Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-01-17T01:43:48.041Z] ---> Running in 362d01305900 [2022-01-17T01:43:48.314Z] Removing intermediate container 362d01305900 [2022-01-17T01:43:48.314Z] ---> 655be2b7ddcd [2022-01-17T01:43:48.314Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-17T01:43:48.587Z] ---> Running in ec2ed7054374 [2022-01-17T01:43:50.563Z] Removing intermediate container ec2ed7054374 [2022-01-17T01:43:50.563Z] ---> c634fee84dcd [2022-01-17T01:43:50.563Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-17T01:43:50.563Z] ---> Running in 4324ff6465de [2022-01-17T01:43:51.557Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-17T01:43:52.536Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-17T01:43:53.131Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-17T01:43:53.131Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-17T01:43:53.404Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-17T01:43:53.404Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-17T01:43:53.676Z] Executing busybox-1.34.1-r3.trigger [2022-01-17T01:43:53.676Z] OK: 224 MiB in 56 packages [2022-01-17T01:43:54.665Z] Removing intermediate container 4324ff6465de [2022-01-17T01:43:54.665Z] ---> 021a3ed44eee [2022-01-17T01:43:54.665Z] Step 7/11 : WORKDIR /device-mqtt-go [2022-01-17T01:43:54.665Z] ---> Running in 0e7893552537 [2022-01-17T01:43:55.261Z] Removing intermediate container 0e7893552537 [2022-01-17T01:43:55.261Z] ---> 70f6b40b7ba8 [2022-01-17T01:43:55.261Z] Step 8/11 : COPY . . [2022-01-17T01:43:55.862Z] ---> 6785d05365ba [2022-01-17T01:43:55.862Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-17T01:43:56.138Z] ---> Running in 6b8e62ca17d7 [2022-01-17T01:45:17.922Z] Removing intermediate container 6b8e62ca17d7 [2022-01-17T01:45:17.922Z] ---> bc3d46c42986 [2022-01-17T01:45:17.922Z] Step 10/11 : ARG MAKE='make build' [2022-01-17T01:45:17.922Z] ---> Running in 508aa7146e20 [2022-01-17T01:45:17.922Z] Removing intermediate container 508aa7146e20 [2022-01-17T01:45:17.922Z] ---> 419495843a61 [2022-01-17T01:45:17.922Z] Step 11/11 : RUN $MAKE [2022-01-17T01:45:17.922Z] ---> Running in cd9cb506a985 [2022-01-17T01:45:17.922Z] noop [2022-01-17T01:45:17.922Z] Removing intermediate container cd9cb506a985 [2022-01-17T01:45:17.922Z] ---> e67e4cda74a0 [2022-01-17T01:45:17.922Z] Successfully built e67e4cda74a0 [2022-01-17T01:45:17.922Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:45:18.275Z] + docker inspect -f . ci-base-image-arm64 [2022-01-17T01:45:18.275Z] . [Pipeline] withDockerContainer [2022-01-17T01:45:18.532Z] prd-ubuntu18.04-docker-arm64-4c-16g-1637 does not seem to be running inside a container [2022-01-17T01:45:18.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/27 -v /w/workspace/device-mqtt-go/27:/w/workspace/device-mqtt-go/27:rw,z -v /w/workspace/device-mqtt-go/27@tmp:/w/workspace/device-mqtt-go/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-17T01:45:20.098Z] $ docker top b6eaceaa101c6c1b5b2155356f5a3190e366288df6f0a9e48a837245e28c85dd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-17T01:45:21.058Z] + go version [2022-01-17T01:45:21.058Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-17T01:45:21.083Z] $ docker stop --time=1 b6eaceaa101c6c1b5b2155356f5a3190e366288df6f0a9e48a837245e28c85dd [2022-01-17T01:45:22.827Z] $ docker rm -f b6eaceaa101c6c1b5b2155356f5a3190e366288df6f0a9e48a837245e28c85dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:45:23.470Z] + docker inspect -f . ci-base-image-arm64 [2022-01-17T01:45:23.470Z] . [Pipeline] withDockerContainer [2022-01-17T01:45:23.714Z] prd-ubuntu18.04-docker-arm64-4c-16g-1637 does not seem to be running inside a container [2022-01-17T01:45:23.798Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/27 -v /w/workspace/device-mqtt-go/27:/w/workspace/device-mqtt-go/27:rw,z -v /w/workspace/device-mqtt-go/27@tmp:/w/workspace/device-mqtt-go/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-17T01:45:25.266Z] $ docker top 4994d90c90411d25f6b0f5801f0c6595385f219cd8888e7b939c392102c02dd0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-17T01:45:26.214Z] + make test [2022-01-17T01:45:26.215Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-17T01:45:27.661Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-01-17T01:46:24.282Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-01-17T01:46:24.282Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 22.5% of statements [2022-01-17T01:46:24.282Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-01-17T01:46:24.282Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-17T01:46:51.104Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-17T01:46:51.104Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-17T01:46:51.104Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-17T01:46:51.130Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-17T01:46:51.140Z] $ docker stop --time=1 4994d90c90411d25f6b0f5801f0c6595385f219cd8888e7b939c392102c02dd0 [2022-01-17T01:46:52.953Z] $ docker rm -f 4994d90c90411d25f6b0f5801f0c6595385f219cd8888e7b939c392102c02dd0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-17T01:46:53.817Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-17T01:46:53.846Z] Warning: overwriting stash ‘coverage-report’ [2022-01-17T01:46:54.421Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-17T01:46:54.813Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-17T01:46:55.153Z] + ls -al . [2022-01-17T01:46:55.153Z] total 180 [2022-01-17T01:46:55.153Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 01:46 . [2022-01-17T01:46:55.153Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 01:42 .. [2022-01-17T01:46:55.153Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 01:42 .dockerignore [2022-01-17T01:46:55.153Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 01:42 .git [2022-01-17T01:46:55.153Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 01:42 .github [2022-01-17T01:46:55.153Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 17 01:42 .gitignore [2022-01-17T01:46:55.153Z] -rw-rw-r-- 1 jenkins jenkins 7287 Jan 17 01:42 Attribution.txt [2022-01-17T01:46:55.153Z] -rw-rw-r-- 1 jenkins jenkins 7447 Jan 17 01:42 CHANGELOG.md [2022-01-17T01:46:55.153Z] -rw-rw-r-- 1 jenkins jenkins 1907 Jan 17 01:42 Dockerfile [2022-01-17T01:46:55.153Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 01:42 GOVERNANCE.md [2022-01-17T01:46:55.153Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 01:42 Jenkinsfile [2022-01-17T01:46:55.153Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 01:42 LICENSE [2022-01-17T01:46:55.153Z] -rw-rw-r-- 1 jenkins jenkins 1030 Jan 17 01:42 Makefile [2022-01-17T01:46:55.153Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 01:42 OWNERS.md [2022-01-17T01:46:55.153Z] -rw-rw-r-- 1 jenkins jenkins 2643 Jan 17 01:42 README.md [2022-01-17T01:46:55.153Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 01:39 VERSION [2022-01-17T01:46:55.153Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 01:42 bin [2022-01-17T01:46:55.153Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 01:42 cmd [2022-01-17T01:46:55.153Z] -rw-r--r-- 1 jenkins jenkins 17452 Jan 17 01:46 coverage.out [2022-01-17T01:46:55.153Z] -rw-rw-r-- 1 jenkins jenkins 410 Jan 17 01:42 go.mod [2022-01-17T01:46:55.153Z] -rw-rw-r-- 1 jenkins jenkins 49409 Jan 17 01:42 go.sum [2022-01-17T01:46:55.153Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 01:42 internal [2022-01-17T01:46:55.153Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 01:42 mock [2022-01-17T01:46:55.153Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 01:42 snap [2022-01-17T01:46:55.153Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 17 01:42 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:46:55.502Z] + 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=53e4264da7a8f5345b5b18c03a825d0468689761 --label arch=arm64 --label version=2.2.0-dev.6 . [2022-01-17T01:46:55.774Z] Sending build context to Docker daemon 2.982MB [2022-01-17T01:46:56.047Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2022-01-17T01:46:56.047Z] Step 2/23 : FROM ${BASE} AS builder [2022-01-17T01:46:56.047Z] ---> e67e4cda74a0 [2022-01-17T01:46:56.047Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-17T01:46:56.047Z] ---> Running in cfaa6ddd5911 [2022-01-17T01:46:56.324Z] Removing intermediate container cfaa6ddd5911 [2022-01-17T01:46:56.324Z] ---> 2ef5829f64ea [2022-01-17T01:46:56.324Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2022-01-17T01:46:56.599Z] ---> Running in 236f02b0a865 [2022-01-17T01:46:56.872Z] Removing intermediate container 236f02b0a865 [2022-01-17T01:46:56.872Z] ---> 7dbaf3f92487 [2022-01-17T01:46:56.872Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-17T01:46:57.149Z] ---> Running in fbaf26abfd2e [2022-01-17T01:46:59.198Z] Removing intermediate container fbaf26abfd2e [2022-01-17T01:46:59.198Z] ---> 320c407d46a4 [2022-01-17T01:46:59.198Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-17T01:46:59.198Z] ---> Running in c65cba367ae3 [2022-01-17T01:47:00.185Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-17T01:47:01.173Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-17T01:47:02.156Z] OK: 224 MiB in 56 packages [2022-01-17T01:47:02.751Z] Removing intermediate container c65cba367ae3 [2022-01-17T01:47:02.751Z] ---> 542906affca1 [2022-01-17T01:47:02.751Z] Step 7/23 : WORKDIR /device-mqtt-go [2022-01-17T01:47:02.751Z] ---> Running in 40863e68f965 [2022-01-17T01:47:03.353Z] Removing intermediate container 40863e68f965 [2022-01-17T01:47:03.353Z] ---> 7d51d49bb278 [2022-01-17T01:47:03.353Z] Step 8/23 : COPY . . [2022-01-17T01:47:04.349Z] ---> fe69dbdda7fe [2022-01-17T01:47:04.349Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-17T01:47:04.349Z] ---> Running in 61d921979d59 [2022-01-17T01:47:06.330Z] Removing intermediate container 61d921979d59 [2022-01-17T01:47:06.330Z] ---> b74cacb9709c [2022-01-17T01:47:06.330Z] Step 10/23 : ARG MAKE='make build' [2022-01-17T01:47:06.605Z] ---> Running in 14154f4b52e8 [2022-01-17T01:47:06.877Z] Removing intermediate container 14154f4b52e8 [2022-01-17T01:47:06.877Z] ---> 98686a16d994 [2022-01-17T01:47:06.877Z] Step 11/23 : RUN $MAKE [2022-01-17T01:47:06.877Z] ---> Running in b708a9566227 [2022-01-17T01:47:08.314Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.6" -o cmd/device-mqtt ./cmd [2022-01-17T01:47:55.299Z] Removing intermediate container b708a9566227 [2022-01-17T01:47:55.299Z] ---> 75f756feac24 [2022-01-17T01:47:55.299Z] Step 12/23 : FROM alpine:3.14 [2022-01-17T01:47:55.299Z] 3.14: Pulling from library/alpine [2022-01-17T01:47:55.299Z] be307f383ecc: Pulling fs layer [2022-01-17T01:47:55.299Z] be307f383ecc: Verifying Checksum [2022-01-17T01:47:55.299Z] be307f383ecc: Pull complete [2022-01-17T01:47:55.299Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-17T01:47:55.299Z] Status: Downloaded newer image for alpine:3.14 [2022-01-17T01:47:55.299Z] ---> 5b8b7b635229 [2022-01-17T01:47:55.299Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-01-17T01:47:55.299Z] ---> Running in 9cf3a3dc94a6 [2022-01-17T01:47:55.299Z] Removing intermediate container 9cf3a3dc94a6 [2022-01-17T01:47:55.299Z] ---> f5dbb302c3e1 [2022-01-17T01:47:55.299Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-17T01:47:55.299Z] ---> Running in 1c5db8a40a25 [2022-01-17T01:47:55.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-17T01:47:55.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-17T01:47:55.299Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-17T01:47:55.299Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-17T01:47:55.299Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-17T01:47:55.299Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-17T01:47:55.299Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-17T01:47:55.299Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-17T01:47:55.299Z] Executing busybox-1.33.1-r6.trigger [2022-01-17T01:47:55.299Z] OK: 8 MiB in 20 packages [2022-01-17T01:47:55.571Z] Removing intermediate container 1c5db8a40a25 [2022-01-17T01:47:55.571Z] ---> 4805eab31031 [2022-01-17T01:47:55.571Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2022-01-17T01:47:56.552Z] ---> 3a3e75388850 [2022-01-17T01:47:56.552Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-01-17T01:47:57.146Z] ---> 585b7bb17f30 [2022-01-17T01:47:57.146Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-01-17T01:47:57.741Z] ---> 04db2680b53d [2022-01-17T01:47:57.741Z] Step 18/23 : EXPOSE 59982 [2022-01-17T01:47:58.016Z] ---> Running in f24cf5b562eb [2022-01-17T01:47:58.291Z] Removing intermediate container f24cf5b562eb [2022-01-17T01:47:58.291Z] ---> 36bc4d492b2e [2022-01-17T01:47:58.291Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2022-01-17T01:47:58.291Z] ---> Running in 409bac05e629 [2022-01-17T01:47:58.885Z] Removing intermediate container 409bac05e629 [2022-01-17T01:47:58.885Z] ---> 0fb2de2bb8bb [2022-01-17T01:47:58.885Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-17T01:47:58.885Z] ---> Running in 4894035264ee [2022-01-17T01:47:59.157Z] Removing intermediate container 4894035264ee [2022-01-17T01:47:59.157Z] ---> d26bd374b425 [2022-01-17T01:47:59.157Z] Step 21/23 : LABEL arch=arm64 [2022-01-17T01:47:59.157Z] ---> Running in 9ce0f18742c7 [2022-01-17T01:47:59.764Z] Removing intermediate container 9ce0f18742c7 [2022-01-17T01:47:59.764Z] ---> ee2a58057632 [2022-01-17T01:47:59.764Z] Step 22/23 : LABEL git_sha=53e4264da7a8f5345b5b18c03a825d0468689761 [2022-01-17T01:47:59.764Z] ---> Running in bf3936de7a3b [2022-01-17T01:48:00.038Z] Removing intermediate container bf3936de7a3b [2022-01-17T01:48:00.038Z] ---> 6796be120886 [2022-01-17T01:48:00.038Z] Step 23/23 : LABEL version=2.2.0-dev.6 [2022-01-17T01:48:00.038Z] ---> Running in c2ac6d5fc568 [2022-01-17T01:48:00.633Z] Removing intermediate container c2ac6d5fc568 [2022-01-17T01:48:00.633Z] ---> d86ab4d6dff2 [2022-01-17T01:48:00.633Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-17T01:48:00.633Z] Successfully built d86ab4d6dff2 [2022-01-17T01:48:00.633Z] 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-01-17T01:48:00.742Z] provisioning config files... [2022-01-17T01:48:00.762Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/27@tmp/config7902606846234138904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:48:01.121Z] ---> docker-login.sh [2022-01-17T01:48:01.121Z] nexus3.edgexfoundry.org:10001 [2022-01-17T01:48:01.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:48:01.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:48:01.396Z] Configure a credential helper to remove this warning. See [2022-01-17T01:48:01.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:48:01.396Z] [2022-01-17T01:48:01.396Z] Login Succeeded [2022-01-17T01:48:01.396Z] nexus3.edgexfoundry.org:10002 [2022-01-17T01:48:01.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:48:01.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:48:01.995Z] Configure a credential helper to remove this warning. See [2022-01-17T01:48:01.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:48:01.995Z] [2022-01-17T01:48:01.995Z] Login Succeeded [2022-01-17T01:48:01.995Z] nexus3.edgexfoundry.org:10003 [2022-01-17T01:48:02.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:48:02.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:48:02.539Z] Configure a credential helper to remove this warning. See [2022-01-17T01:48:02.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:48:02.539Z] [2022-01-17T01:48:02.539Z] Login Succeeded [2022-01-17T01:48:02.539Z] nexus3.edgexfoundry.org:10004 [2022-01-17T01:48:02.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:48:02.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:48:02.815Z] Configure a credential helper to remove this warning. See [2022-01-17T01:48:02.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:48:02.815Z] [2022-01-17T01:48:02.815Z] Login Succeeded [2022-01-17T01:48:02.815Z] docker.io [2022-01-17T01:48:03.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-17T01:48:03.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-17T01:48:03.683Z] Configure a credential helper to remove this warning. See [2022-01-17T01:48:03.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-17T01:48:03.683Z] [2022-01-17T01:48:03.683Z] Login Succeeded [2022-01-17T01:48:03.683Z] ---> docker-login.sh ends [Pipeline] } [2022-01-17T01:48:03.701Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-17T01:48:03.736Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-17T01:48:03.763Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-01-17T01:48:03.763Z] 53e4264da7a8f5345b5b18c03a825d0468689761 [2022-01-17T01:48:03.763Z] latest [2022-01-17T01:48:03.763Z] 2.2.0-dev.6 [2022-01-17T01:48:03.763Z] 53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6 [2022-01-17T01:48:03.763Z] main [2022-01-17T01:48:03.763Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:48:04.129Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:53e4264da7a8f5345b5b18c03a825d0468689761 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:48:04.473Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:53e4264da7a8f5345b5b18c03a825d0468689761 [2022-01-17T01:48:04.473Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-01-17T01:48:04.473Z] 7ad2287f2add: Preparing [2022-01-17T01:48:04.473Z] 2464aa11975c: Preparing [2022-01-17T01:48:04.473Z] 3a8988fc99b4: Preparing [2022-01-17T01:48:04.473Z] d71f3d155621: Preparing [2022-01-17T01:48:04.473Z] 62170e181a92: Preparing [2022-01-17T01:48:04.473Z] 62170e181a92: Layer already exists [2022-01-17T01:48:04.745Z] 7ad2287f2add: Pushed [2022-01-17T01:48:04.745Z] 2464aa11975c: Pushed [2022-01-17T01:48:05.341Z] d71f3d155621: Pushed [2022-01-17T01:48:07.954Z] 3a8988fc99b4: Pushed [2022-01-17T01:48:07.954Z] 53e4264da7a8f5345b5b18c03a825d0468689761: digest: sha256:e888d2ffbbb100f477bd5254531dcae7ab9ae2cb06861f2c0800084414bca5b7 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:48:08.299Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:48:08.637Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-01-17T01:48:08.638Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-01-17T01:48:08.638Z] 7ad2287f2add: Preparing [2022-01-17T01:48:08.638Z] 2464aa11975c: Preparing [2022-01-17T01:48:08.638Z] 3a8988fc99b4: Preparing [2022-01-17T01:48:08.638Z] d71f3d155621: Preparing [2022-01-17T01:48:08.638Z] 62170e181a92: Preparing [2022-01-17T01:48:08.638Z] 2464aa11975c: Layer already exists [2022-01-17T01:48:08.638Z] 62170e181a92: Layer already exists [2022-01-17T01:48:08.638Z] 7ad2287f2add: Layer already exists [2022-01-17T01:48:08.638Z] d71f3d155621: Layer already exists [2022-01-17T01:48:08.638Z] 3a8988fc99b4: Layer already exists [2022-01-17T01:48:08.910Z] latest: digest: sha256:e888d2ffbbb100f477bd5254531dcae7ab9ae2cb06861f2c0800084414bca5b7 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:48:09.253Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:48:09.590Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.6 [2022-01-17T01:48:09.590Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-01-17T01:48:09.590Z] 7ad2287f2add: Preparing [2022-01-17T01:48:09.590Z] 2464aa11975c: Preparing [2022-01-17T01:48:09.590Z] 3a8988fc99b4: Preparing [2022-01-17T01:48:09.590Z] d71f3d155621: Preparing [2022-01-17T01:48:09.590Z] 62170e181a92: Preparing [2022-01-17T01:48:09.590Z] 7ad2287f2add: Layer already exists [2022-01-17T01:48:09.590Z] d71f3d155621: Layer already exists [2022-01-17T01:48:09.590Z] 3a8988fc99b4: Layer already exists [2022-01-17T01:48:09.590Z] 2464aa11975c: Layer already exists [2022-01-17T01:48:09.590Z] 62170e181a92: Layer already exists [2022-01-17T01:48:09.862Z] 2.2.0-dev.6: digest: sha256:e888d2ffbbb100f477bd5254531dcae7ab9ae2cb06861f2c0800084414bca5b7 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:48:10.207Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:48:10.550Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6 [2022-01-17T01:48:10.550Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-01-17T01:48:10.550Z] 7ad2287f2add: Preparing [2022-01-17T01:48:10.550Z] 2464aa11975c: Preparing [2022-01-17T01:48:10.550Z] 3a8988fc99b4: Preparing [2022-01-17T01:48:10.550Z] d71f3d155621: Preparing [2022-01-17T01:48:10.550Z] 62170e181a92: Preparing [2022-01-17T01:48:10.550Z] 2464aa11975c: Layer already exists [2022-01-17T01:48:10.550Z] 3a8988fc99b4: Layer already exists [2022-01-17T01:48:10.550Z] 7ad2287f2add: Layer already exists [2022-01-17T01:48:10.550Z] 62170e181a92: Layer already exists [2022-01-17T01:48:10.550Z] d71f3d155621: Layer already exists [2022-01-17T01:48:10.824Z] 53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6: digest: sha256:e888d2ffbbb100f477bd5254531dcae7ab9ae2cb06861f2c0800084414bca5b7 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:48:11.167Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:48:11.504Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-01-17T01:48:11.504Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-01-17T01:48:11.504Z] 7ad2287f2add: Preparing [2022-01-17T01:48:11.504Z] 2464aa11975c: Preparing [2022-01-17T01:48:11.504Z] 3a8988fc99b4: Preparing [2022-01-17T01:48:11.504Z] d71f3d155621: Preparing [2022-01-17T01:48:11.504Z] 62170e181a92: Preparing [2022-01-17T01:48:11.504Z] 3a8988fc99b4: Layer already exists [2022-01-17T01:48:11.504Z] 7ad2287f2add: Layer already exists [2022-01-17T01:48:11.504Z] 2464aa11975c: Layer already exists [2022-01-17T01:48:11.504Z] d71f3d155621: Layer already exists [2022-01-17T01:48:11.504Z] 62170e181a92: Layer already exists [2022-01-17T01:48:11.775Z] main: digest: sha256:e888d2ffbbb100f477bd5254531dcae7ab9ae2cb06861f2c0800084414bca5b7 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-17T01:48:11.823Z] ===================================================== [Pipeline] echo [2022-01-17T01:48:11.834Z] taggedImages: [2022-01-17T01:48:11.834Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:53e4264da7a8f5345b5b18c03a825d0468689761 [2022-01-17T01:48:11.834Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-01-17T01:48:11.834Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.6 [2022-01-17T01:48:11.834Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6 [2022-01-17T01:48:11.834Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:48:12.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-17T01:48:12.193Z] [2022-01-17T01:48:12.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:48:12.544Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-17T01:48:12.821Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-17T01:48:12.821Z] 448f6bf000e3: Pulling fs layer [2022-01-17T01:48:12.821Z] f757da607395: Pulling fs layer [2022-01-17T01:48:12.821Z] 05883995daec: Pulling fs layer [2022-01-17T01:48:12.821Z] 8603b9c90790: Pulling fs layer [2022-01-17T01:48:12.821Z] 1560dd03e051: Pulling fs layer [2022-01-17T01:48:12.821Z] 27f5ce0e4adf: Pulling fs layer [2022-01-17T01:48:12.821Z] c2d8d7efcc4b: Pulling fs layer [2022-01-17T01:48:12.821Z] 8603b9c90790: Waiting [2022-01-17T01:48:12.821Z] 1560dd03e051: Waiting [2022-01-17T01:48:12.821Z] 27f5ce0e4adf: Waiting [2022-01-17T01:48:12.821Z] c2d8d7efcc4b: Waiting [2022-01-17T01:48:12.821Z] f757da607395: Verifying Checksum [2022-01-17T01:48:12.821Z] f757da607395: Download complete [2022-01-17T01:48:12.821Z] 8603b9c90790: Verifying Checksum [2022-01-17T01:48:12.821Z] 8603b9c90790: Download complete [2022-01-17T01:48:12.821Z] 1560dd03e051: Verifying Checksum [2022-01-17T01:48:12.821Z] 1560dd03e051: Download complete [2022-01-17T01:48:13.093Z] 27f5ce0e4adf: Verifying Checksum [2022-01-17T01:48:13.093Z] 27f5ce0e4adf: Download complete [2022-01-17T01:48:13.093Z] 05883995daec: Verifying Checksum [2022-01-17T01:48:13.093Z] 05883995daec: Download complete [2022-01-17T01:48:13.368Z] 448f6bf000e3: Verifying Checksum [2022-01-17T01:48:13.368Z] 448f6bf000e3: Download complete [2022-01-17T01:48:15.995Z] c2d8d7efcc4b: Verifying Checksum [2022-01-17T01:48:15.995Z] c2d8d7efcc4b: Download complete [2022-01-17T01:48:16.974Z] 448f6bf000e3: Pull complete [2022-01-17T01:48:17.571Z] f757da607395: Pull complete [2022-01-17T01:48:19.009Z] 05883995daec: Pull complete [2022-01-17T01:48:19.283Z] 8603b9c90790: Pull complete [2022-01-17T01:48:20.264Z] 1560dd03e051: Pull complete [2022-01-17T01:48:20.542Z] 27f5ce0e4adf: Pull complete [2022-01-17T01:48:35.624Z] c2d8d7efcc4b: Pull complete [2022-01-17T01:48:35.624Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-17T01:48:35.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-17T01:48:35.624Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-17T01:48:35.857Z] prd-ubuntu18.04-docker-arm64-4c-16g-1637 does not seem to be running inside a container [2022-01-17T01:48:35.991Z] $ 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/27 -v /w/workspace/device-mqtt-go/27:/w/workspace/device-mqtt-go/27:rw,z -v /w/workspace/device-mqtt-go/27@tmp:/w/workspace/device-mqtt-go/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-17T01:48:38.821Z] $ docker top 061cc6ab1896faf7de40e27a4c1feaa517ef3deb3564327b6a9ad33c168d51d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:48:39.826Z] ---> job-cost.sh [2022-01-17T01:48:39.826Z] lf-activate-venv: SKIPPING [2022-01-17T01:48:39.826Z] INFO: No Stack... [2022-01-17T01:48:40.108Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-17T01:48:40.383Z] INFO: Archiving Costs [Pipeline] sh [2022-01-17T01:48:41.055Z] + cut -d, -f6+ [2022-01-17T01:48:41.055Z] cat /w/workspace/device-mqtt-go/27/archives/cost.csv [Pipeline] lock [2022-01-17T01:48:41.118Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-27-stack-cost] [2022-01-17T01:48:41.128Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-27-stack-cost] did not exist. Created. [2022-01-17T01:48:41.128Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-17T01:48:41.800Z] /w/workspace/device-mqtt-go/27@tmp/durable-48797243/script.sh: 1: /w/workspace/device-mqtt-go/27@tmp/durable-48797243/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-17T01:48:42.475Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-17T01:48:42.503Z] Warning: overwriting stash ‘stack-cost’ [2022-01-17T01:48:42.546Z] Stashed 1 file(s) [Pipeline] } [2022-01-17T01:48:42.554Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-17T01:48:42.569Z] $ docker stop --time=1 061cc6ab1896faf7de40e27a4c1feaa517ef3deb3564327b6a9ad33c168d51d7 [2022-01-17T01:48:44.030Z] $ docker rm -f 061cc6ab1896faf7de40e27a4c1feaa517ef3deb3564327b6a9ad33c168d51d7 [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-01-17T01:48:44.590Z] provisioning config files... [2022-01-17T01:48:44.601Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2337580913470185959tmp [Pipeline] { [Pipeline] sh [2022-01-17T01:48:44.913Z] + set +x [2022-01-17T01:48:44.914Z] + curl -s https://codecov.io/bash [2022-01-17T01:48:44.914Z] + bash -s -- [2022-01-17T01:48:44.914Z] [2022-01-17T01:48:44.914Z] _____ _ [2022-01-17T01:48:44.914Z] / ____| | | [2022-01-17T01:48:44.914Z] | | ___ __| | ___ ___ _____ __ [2022-01-17T01:48:44.914Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-17T01:48:44.914Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-17T01:48:44.914Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-17T01:48:44.914Z] Bash-1.0.6 [2022-01-17T01:48:44.914Z] [2022-01-17T01:48:44.914Z] [2022-01-17T01:48:44.914Z] ==> git version 2.24.4 found [2022-01-17T01:48:44.914Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-17T01:48:44.914Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-17T01:48:44.914Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-17T01:48:44.914Z] ==> Jenkins CI detected. [2022-01-17T01:48:44.914Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-17T01:48:44.914Z] project root: . [2022-01-17T01:48:44.914Z] --> token set from env [2022-01-17T01:48:44.914Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-17T01:48:45.174Z] ==> Running gcov in . (disable via -X gcov) [2022-01-17T01:48:45.174Z] ==> Python coveragepy not found [2022-01-17T01:48:45.174Z] ==> Searching for coverage reports in: [2022-01-17T01:48:45.174Z] + . [2022-01-17T01:48:45.174Z] -> Found 1 reports [2022-01-17T01:48:45.174Z] ==> Detecting git/mercurial file structure [2022-01-17T01:48:45.174Z] ==> Reading reports [2022-01-17T01:48:45.174Z] + ./coverage.out bytes=17452 [2022-01-17T01:48:45.174Z] ==> Appending adjustments [2022-01-17T01:48:45.174Z] https://docs.codecov.io/docs/fixing-reports [2022-01-17T01:48:45.174Z] + Found adjustments [2022-01-17T01:48:45.174Z] ==> Gzipping contents [2022-01-17T01:48:45.174Z] 4.0K /tmp/codecov.wRoHCF.gz [2022-01-17T01:48:45.174Z] ==> Uploading reports [2022-01-17T01:48:45.174Z] url: https://codecov.io [2022-01-17T01:48:45.174Z] query: branch=main&commit=53e4264da7a8f5345b5b18c03a825d0468689761&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-17T01:48:45.174Z] -> Pinging Codecov [2022-01-17T01:48:45.174Z] 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=53e4264da7a8f5345b5b18c03a825d0468689761&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-17T01:48:45.435Z] -> Uploading to [2022-01-17T01:48:45.435Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-17/7D719EC7BBE17E464838252E33014C33/53e4264da7a8f5345b5b18c03a825d0468689761/ff382f4b-9d2a-4532-b542-9bfe8e4f0f3d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220117T014845Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d3286fdb2f43fdff42dee5a89224324a30f7a5217198ea4a273b5070c2c5a0b3 [2022-01-17T01:48:45.435Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-17T01:48:45.435Z] Dload Upload Total Spent Left Speed [2022-01-17T01:48:45.697Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3216 0 0 100 3216 0 9988 --:--:-- --:--:-- --:--:-- 9987 [2022-01-17T01:48:45.697Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/53e4264da7a8f5345b5b18c03a825d0468689761 [Pipeline] } [2022-01-17T01:48:45.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-17T01:48:45.985Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-17T01:48:46.003Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:48:46.303Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-17T01:48:46.303Z] [2022-01-17T01:48:46.303Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:48:46.613Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-17T01:48:46.613Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-17T01:48:46.613Z] 188c0c94c7c5: Pulling fs layer [2022-01-17T01:48:46.613Z] 0ef7d3d256c8: Pulling fs layer [2022-01-17T01:48:46.613Z] de9db76c5a1d: Pulling fs layer [2022-01-17T01:48:46.613Z] 0eba1c9be4d2: Pulling fs layer [2022-01-17T01:48:46.613Z] 0d57e429df01: Pulling fs layer [2022-01-17T01:48:46.613Z] 4e4be7b47b0d: Pulling fs layer [2022-01-17T01:48:46.613Z] e1f770b5df2f: Pulling fs layer [2022-01-17T01:48:46.613Z] 85a0685a4137: Pulling fs layer [2022-01-17T01:48:46.613Z] 0eba1c9be4d2: Waiting [2022-01-17T01:48:46.613Z] 0d57e429df01: Waiting [2022-01-17T01:48:46.613Z] 4e4be7b47b0d: Waiting [2022-01-17T01:48:46.613Z] e1f770b5df2f: Waiting [2022-01-17T01:48:46.613Z] 85a0685a4137: Waiting [2022-01-17T01:48:46.613Z] de9db76c5a1d: Verifying Checksum [2022-01-17T01:48:46.613Z] de9db76c5a1d: Download complete [2022-01-17T01:48:46.613Z] 0ef7d3d256c8: Verifying Checksum [2022-01-17T01:48:46.613Z] 0ef7d3d256c8: Download complete [2022-01-17T01:48:46.613Z] 0d57e429df01: Verifying Checksum [2022-01-17T01:48:46.613Z] 0d57e429df01: Download complete [2022-01-17T01:48:46.613Z] 4e4be7b47b0d: Verifying Checksum [2022-01-17T01:48:46.613Z] 4e4be7b47b0d: Download complete [2022-01-17T01:48:46.613Z] 188c0c94c7c5: Verifying Checksum [2022-01-17T01:48:46.613Z] 188c0c94c7c5: Download complete [2022-01-17T01:48:46.875Z] e1f770b5df2f: Verifying Checksum [2022-01-17T01:48:46.875Z] e1f770b5df2f: Download complete [2022-01-17T01:48:47.144Z] 188c0c94c7c5: Pull complete [2022-01-17T01:48:47.144Z] 0eba1c9be4d2: Verifying Checksum [2022-01-17T01:48:47.144Z] 0eba1c9be4d2: Download complete [2022-01-17T01:48:47.405Z] 0ef7d3d256c8: Pull complete [2022-01-17T01:48:47.405Z] 85a0685a4137: Verifying Checksum [2022-01-17T01:48:47.405Z] 85a0685a4137: Download complete [2022-01-17T01:48:47.405Z] de9db76c5a1d: Pull complete [2022-01-17T01:48:51.628Z] 0eba1c9be4d2: Pull complete [2022-01-17T01:48:51.628Z] 0d57e429df01: Pull complete [2022-01-17T01:48:51.628Z] 4e4be7b47b0d: Pull complete [2022-01-17T01:48:51.892Z] e1f770b5df2f: Pull complete [2022-01-17T01:48:55.215Z] 85a0685a4137: Pull complete [2022-01-17T01:48:55.215Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-17T01:48:55.215Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-17T01:48:55.215Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-17T01:48:55.275Z] prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container [2022-01-17T01:48:55.310Z] $ 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-01-17T01:48:57.420Z] $ docker top 61b4ddc0ebacb5c035f74749419fb79bc648c98b4538b051fcbe85376e846e3b -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-17T01:48:57.498Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-17T01:48:57.786Z] + set -o pipefail [2022-01-17T01:48:57.786Z] + snyk monitor '--org=edgex-jenkins' [2022-01-17T01:49:03.082Z] [2022-01-17T01:49:03.082Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-01-17T01:49:03.082Z] [2022-01-17T01:49:03.082Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/7ed1b369-41e5-411f-8039-646ea95f23df [2022-01-17T01:49:03.082Z] [2022-01-17T01:49:03.082Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-01-17T01:49:03.082Z] [2022-01-17T01:49:03.082Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-17T01:49:03.082Z] [2022-01-17T01:49:03.082Z] [Pipeline] } [2022-01-17T01:49:03.091Z] $ docker stop --time=1 61b4ddc0ebacb5c035f74749419fb79bc648c98b4538b051fcbe85376e846e3b [2022-01-17T01:49:05.060Z] $ docker rm -f 61b4ddc0ebacb5c035f74749419fb79bc648c98b4538b051fcbe85376e846e3b [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-01-17T01:49:05.780Z] + git log --format=format:%s -1 53e4264da7a8f5345b5b18c03a825d0468689761 [Pipeline] sh [2022-01-17T01:49:06.075Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-17T01:49:06.075Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:49:06.373Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T01:49:06.373Z] . [Pipeline] withDockerContainer [2022-01-17T01:49:06.435Z] prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container [2022-01-17T01:49:06.464Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-01-17T01:49:06.805Z] $ docker top f017f05c48a9ba1353d8eb597166b024b696052b5a0adba844472f0f3b1520d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-17T01:49:06.900Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-17T01:49:06.900Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-17T01:49:06.994Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-17T01:49:06.996Z] $ docker exec f017f05c48a9ba1353d8eb597166b024b696052b5a0adba844472f0f3b1520d8 ssh-agent [2022-01-17T01:49:07.095Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBhHkIB/agent.15 [2022-01-17T01:49:07.095Z] SSH_AGENT_PID=22 [2022-01-17T01:49:07.100Z] Running ssh-add (command line suppressed) [2022-01-17T01:49:07.193Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8543819663506209147.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8543819663506209147.key) [2022-01-17T01:49:07.208Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-17T01:49:07.503Z] + git semver tag [2022-01-17T01:49:07.503Z] # -> Open(): unable to determine branch for HEAD [2022-01-17T01:49:07.503Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-01-17T01:49:07.503Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-17T01:49:07.503Z] # $SEMVER_REMOTE_NAME = origin [2022-01-17T01:49:07.503Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-17T01:49:07.503Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-17T01:49:07.503Z] # $SEMVER_BRANCH = main [2022-01-17T01:49:07.503Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-01-17T01:49:07.503Z] # 53e4264da7a8f5345b5b18c03a825d0468689761 HEAD [2022-01-17T01:49:07.503Z] # -> Force: false [2022-01-17T01:49:07.503Z] # 8acda35e4c450cf9ccc3982ae4273a8f678b4635 refs/tags/v2.2.0-dev.6 [Pipeline] } [2022-01-17T01:49:07.512Z] $ docker exec --env ******** --env ******** f017f05c48a9ba1353d8eb597166b024b696052b5a0adba844472f0f3b1520d8 ssh-agent -k [2022-01-17T01:49:07.593Z] unset SSH_AUTH_SOCK; [2022-01-17T01:49:07.593Z] unset SSH_AGENT_PID; [2022-01-17T01:49:07.593Z] echo Agent pid 22 killed; [2022-01-17T01:49:07.600Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-17T01:49:07.917Z] + git semver [Pipeline] } [2022-01-17T01:49:07.927Z] $ docker stop --time=1 f017f05c48a9ba1353d8eb597166b024b696052b5a0adba844472f0f3b1520d8 [2022-01-17T01:49:09.095Z] $ docker rm -f f017f05c48a9ba1353d8eb597166b024b696052b5a0adba844472f0f3b1520d8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:49:09.526Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-17T01:49:09.526Z] [2022-01-17T01:49:09.526Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:49:09.838Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-17T01:49:09.839Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-17T01:49:09.839Z] ab5ef0e58194: Pulling fs layer [2022-01-17T01:49:09.839Z] 9712f1f96733: Pulling fs layer [2022-01-17T01:49:09.839Z] 63f879dbbcfc: Pulling fs layer [2022-01-17T01:49:09.839Z] 0d9ebad4ef96: Pulling fs layer [2022-01-17T01:49:09.839Z] e9a5061849ea: Pulling fs layer [2022-01-17T01:49:09.839Z] d747dcd14b5f: Pulling fs layer [2022-01-17T01:49:09.839Z] 2de7ff778b66: Pulling fs layer [2022-01-17T01:49:09.839Z] 0d9ebad4ef96: Waiting [2022-01-17T01:49:09.839Z] e9a5061849ea: Waiting [2022-01-17T01:49:09.839Z] d747dcd14b5f: Waiting [2022-01-17T01:49:09.839Z] 2de7ff778b66: Waiting [2022-01-17T01:49:09.839Z] 9712f1f96733: Verifying Checksum [2022-01-17T01:49:09.839Z] 9712f1f96733: Download complete [2022-01-17T01:49:10.105Z] 63f879dbbcfc: Verifying Checksum [2022-01-17T01:49:10.105Z] 63f879dbbcfc: Download complete [2022-01-17T01:49:10.372Z] ab5ef0e58194: Verifying Checksum [2022-01-17T01:49:10.372Z] ab5ef0e58194: Download complete [2022-01-17T01:49:10.372Z] d747dcd14b5f: Verifying Checksum [2022-01-17T01:49:10.372Z] d747dcd14b5f: Download complete [2022-01-17T01:49:10.372Z] 0d9ebad4ef96: Verifying Checksum [2022-01-17T01:49:10.372Z] 0d9ebad4ef96: Download complete [2022-01-17T01:49:10.372Z] e9a5061849ea: Verifying Checksum [2022-01-17T01:49:10.372Z] e9a5061849ea: Download complete [2022-01-17T01:49:10.372Z] 2de7ff778b66: Verifying Checksum [2022-01-17T01:49:10.372Z] 2de7ff778b66: Download complete [2022-01-17T01:49:12.938Z] ab5ef0e58194: Pull complete [2022-01-17T01:49:13.205Z] 9712f1f96733: Pull complete [2022-01-17T01:49:14.159Z] 63f879dbbcfc: Pull complete [2022-01-17T01:49:18.375Z] 0d9ebad4ef96: Pull complete [2022-01-17T01:49:18.375Z] e9a5061849ea: Pull complete [2022-01-17T01:49:18.375Z] d747dcd14b5f: Pull complete [2022-01-17T01:49:19.314Z] 2de7ff778b66: Pull complete [2022-01-17T01:49:19.573Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-17T01:49:19.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-17T01:49:19.573Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-17T01:49:19.635Z] prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container [2022-01-17T01:49:19.665Z] $ 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-01-17T01:49:22.916Z] $ docker top 788d4c3c35935022ad922b71229c6d50e5288fb5f24051d9a4d9d77d2540da6c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-17T01:49:22.990Z] provisioning config files... [2022-01-17T01:49:22.997Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5792008322373648768tmp [2022-01-17T01:49:23.008Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config508087647296787493tmp [2022-01-17T01:49:23.017Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1906448740669400333tmp [Pipeline] { [Pipeline] echo [2022-01-17T01:49:23.030Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:49:23.314Z] ---> sigul-configuration.sh [2022-01-17T01:49:23.314Z] gpg: directory `/root/.gnupg' created [2022-01-17T01:49:23.314Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-17T01:49:23.314Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-17T01:49:23.314Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-17T01:49:23.314Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-17T01:49:23.314Z] gpg: CAST5 encrypted data [2022-01-17T01:49:23.314Z] gpg: encrypted with 1 passphrase [2022-01-17T01:49:23.314Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-17T01:49:23.606Z] + mkdir /home/jenkins [2022-01-17T01:49:23.606Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-17T01:49:23.896Z] + 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-01-17T01:49:23.906Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:49:24.191Z] ---> sigul-install.sh [2022-01-17T01:49:24.191Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-17T01:49:24.482Z] + git tag --list [2022-01-17T01:49:24.482Z] 0.7.1 [2022-01-17T01:49:24.482Z] v1.0.0 [2022-01-17T01:49:24.482Z] v1.1.0 [2022-01-17T01:49:24.482Z] v1.1.1 [2022-01-17T01:49:24.482Z] v1.2.2 [2022-01-17T01:49:24.482Z] v1.3.0 [2022-01-17T01:49:24.482Z] v1.3.1 [2022-01-17T01:49:24.482Z] v2.0.0 [2022-01-17T01:49:24.482Z] v2.0.1-dev.1 [2022-01-17T01:49:24.482Z] v2.0.1-dev.10 [2022-01-17T01:49:24.482Z] v2.0.1-dev.11 [2022-01-17T01:49:24.482Z] v2.0.1-dev.12 [2022-01-17T01:49:24.482Z] v2.0.1-dev.13 [2022-01-17T01:49:24.482Z] v2.0.1-dev.14 [2022-01-17T01:49:24.482Z] v2.0.1-dev.15 [2022-01-17T01:49:24.482Z] v2.0.1-dev.16 [2022-01-17T01:49:24.482Z] v2.0.1-dev.17 [2022-01-17T01:49:24.482Z] v2.0.1-dev.2 [2022-01-17T01:49:24.482Z] v2.0.1-dev.3 [2022-01-17T01:49:24.482Z] v2.0.1-dev.4 [2022-01-17T01:49:24.482Z] v2.0.1-dev.5 [2022-01-17T01:49:24.482Z] v2.0.1-dev.6 [2022-01-17T01:49:24.482Z] v2.0.1-dev.7 [2022-01-17T01:49:24.482Z] v2.0.1-dev.8 [2022-01-17T01:49:24.482Z] v2.0.1-dev.9 [2022-01-17T01:49:24.482Z] v2.1.0 [2022-01-17T01:49:24.482Z] v2.2.0-dev.1 [2022-01-17T01:49:24.482Z] v2.2.0-dev.2 [2022-01-17T01:49:24.482Z] v2.2.0-dev.3 [2022-01-17T01:49:24.482Z] v2.2.0-dev.4 [2022-01-17T01:49:24.482Z] v2.2.0-dev.5 [2022-01-17T01:49:24.482Z] v2.2.0-dev.6 [Pipeline] sh [2022-01-17T01:49:24.786Z] + lftools sign git-tag v2.2.0-dev.6 [2022-01-17T01:49:25.358Z] Signing Git tag with Sigul... [2022-01-17T01:49:25.358Z] Signing v2.2.0-dev.6 [Pipeline] echo [2022-01-17T01:49:25.628Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:49:25.925Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-17T01:49:25.935Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-17T01:49:25.951Z] $ docker stop --time=1 788d4c3c35935022ad922b71229c6d50e5288fb5f24051d9a4d9d77d2540da6c [2022-01-17T01:49:27.161Z] $ docker rm -f 788d4c3c35935022ad922b71229c6d50e5288fb5f24051d9a4d9d77d2540da6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-17T01:49:27.582Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-17T01:49:27.583Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:49:27.882Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T01:49:27.882Z] . [Pipeline] withDockerContainer [2022-01-17T01:49:27.949Z] prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container [2022-01-17T01:49:27.984Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-01-17T01:49:28.333Z] $ docker top 00b0c7d11a923c810d6d53d944b0d9d006a2acd62fe459a85f4187d5cf63278d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-17T01:49:28.423Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-17T01:49:28.423Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-17T01:49:28.526Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-17T01:49:28.527Z] $ docker exec 00b0c7d11a923c810d6d53d944b0d9d006a2acd62fe459a85f4187d5cf63278d ssh-agent [2022-01-17T01:49:28.625Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHCfHin/agent.14 [2022-01-17T01:49:28.625Z] SSH_AGENT_PID=20 [2022-01-17T01:49:28.630Z] Running ssh-add (command line suppressed) [2022-01-17T01:49:28.726Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6279226073325966709.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6279226073325966709.key) [2022-01-17T01:49:28.738Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-17T01:49:29.038Z] + git semver bump pre [2022-01-17T01:49:29.038Z] # -> Open(): unable to determine branch for HEAD [2022-01-17T01:49:29.038Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-01-17T01:49:29.038Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-17T01:49:29.038Z] # $SEMVER_REMOTE_NAME = origin [2022-01-17T01:49:29.038Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-17T01:49:29.038Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-17T01:49:29.038Z] # $SEMVER_BRANCH = main [2022-01-17T01:49:29.038Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-01-17T01:49:29.038Z] 2.2.0-dev.7 [Pipeline] } [2022-01-17T01:49:29.045Z] $ docker exec --env ******** --env ******** 00b0c7d11a923c810d6d53d944b0d9d006a2acd62fe459a85f4187d5cf63278d ssh-agent -k [2022-01-17T01:49:29.127Z] unset SSH_AUTH_SOCK; [2022-01-17T01:49:29.127Z] unset SSH_AGENT_PID; [2022-01-17T01:49:29.127Z] echo Agent pid 20 killed; [2022-01-17T01:49:29.136Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-17T01:49:29.444Z] + git semver [Pipeline] } [2022-01-17T01:49:29.456Z] $ docker stop --time=1 00b0c7d11a923c810d6d53d944b0d9d006a2acd62fe459a85f4187d5cf63278d [2022-01-17T01:49:30.640Z] $ docker rm -f 00b0c7d11a923c810d6d53d944b0d9d006a2acd62fe459a85f4187d5cf63278d [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-17T01:49:30.996Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-17T01:49:30.996Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:49:31.293Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-17T01:49:31.293Z] . [Pipeline] withDockerContainer [2022-01-17T01:49:31.353Z] prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container [2022-01-17T01:49:31.382Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-01-17T01:49:31.705Z] $ docker top e6c8aaa4509851d70461e8c833ddd97ffce2eee625c7e3454866471871779fcf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-17T01:49:31.787Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-17T01:49:31.787Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-17T01:49:31.890Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-17T01:49:31.892Z] $ docker exec e6c8aaa4509851d70461e8c833ddd97ffce2eee625c7e3454866471871779fcf ssh-agent [2022-01-17T01:49:31.986Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcceCKN/agent.15 [2022-01-17T01:49:31.986Z] SSH_AGENT_PID=22 [2022-01-17T01:49:31.991Z] Running ssh-add (command line suppressed) [2022-01-17T01:49:32.074Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1629145951875150611.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1629145951875150611.key) [2022-01-17T01:49:32.088Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-17T01:49:32.376Z] + git semver push [2022-01-17T01:49:32.376Z] # -> Open(): unable to determine branch for HEAD [2022-01-17T01:49:32.376Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-01-17T01:49:32.376Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-17T01:49:32.376Z] # $SEMVER_REMOTE_NAME = origin [2022-01-17T01:49:32.376Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-17T01:49:32.376Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-17T01:49:32.376Z] # $SEMVER_BRANCH = main [2022-01-17T01:49:32.376Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-01-17T01:49:33.765Z] $ docker exec --env ******** --env ******** e6c8aaa4509851d70461e8c833ddd97ffce2eee625c7e3454866471871779fcf ssh-agent -k [2022-01-17T01:49:33.845Z] unset SSH_AUTH_SOCK; [2022-01-17T01:49:33.845Z] unset SSH_AGENT_PID; [2022-01-17T01:49:33.845Z] echo Agent pid 22 killed; [2022-01-17T01:49:33.855Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-17T01:49:34.164Z] + git semver [Pipeline] } [2022-01-17T01:49:34.182Z] $ docker stop --time=1 e6c8aaa4509851d70461e8c833ddd97ffce2eee625c7e3454866471871779fcf [2022-01-17T01:49:35.363Z] $ docker rm -f e6c8aaa4509851d70461e8c833ddd97ffce2eee625c7e3454866471871779fcf [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-01-17T01:49:35.937Z] + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [2022-01-17T01:49:35.937Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-01-17T01:49:35.937Z] total 8 [2022-01-17T01:49:35.937Z] drwxr-xr-x. 3 root root 34 Jan 17 01:40 . [2022-01-17T01:49:35.937Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 17 01:49 .. [2022-01-17T01:49:35.937Z] drwxr-xr-x. 2 root root 6 Jan 17 01:40 cost [2022-01-17T01:49:35.937Z] -rw-r--r--. 1 root root 84 Jan 17 01:40 cost.csv [2022-01-17T01:49:35.937Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-01-17T01:49:35.937Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-01-17T01:49:35.937Z] total 8 [2022-01-17T01:49:35.937Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 17 01:40 . [2022-01-17T01:49:35.937Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 17 01:49 .. [2022-01-17T01:49:35.937Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 17 01:40 cost [2022-01-17T01:49:35.937Z] -rw-r--r--. 1 jenkins jenkins 84 Jan 17 01:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:49:36.235Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:49:36.808Z] ---> package-listing.sh [2022-01-17T01:49:36.809Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-17T01:49:36.809Z] ++ facter osfamily [2022-01-17T01:49:37.071Z] + OS_FAMILY=redhat [2022-01-17T01:49:37.071Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-17T01:49:37.071Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-17T01:49:37.071Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-17T01:49:37.071Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-17T01:49:37.071Z] + PACKAGES=/tmp/packages_start.txt [2022-01-17T01:49:37.071Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-01-17T01:49:37.071Z] + PACKAGES=/tmp/packages_end.txt [2022-01-17T01:49:37.071Z] + case "${OS_FAMILY}" in [2022-01-17T01:49:37.071Z] + rpm -qa [2022-01-17T01:49:37.071Z] + sort [2022-01-17T01:49:37.644Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-17T01:49:37.644Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-17T01:49:37.644Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-17T01:49:37.644Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-01-17T01:49:37.644Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-01-17T01:49:37.644Z] + 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-01-17T01:49:37.655Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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-01-17T01:49:37.939Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-17T01:49:38.506Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-17T01:49:38.506Z] . [Pipeline] withDockerContainer [2022-01-17T01:49:38.567Z] prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container [2022-01-17T01:49:38.597Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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-01-17T01:49:38.804Z] $ docker top 74d99372b29e9391caeb0bc8f0fd5c567e34a57483d3b0e2f21910fc6fb76c3d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-17T01:49:39.160Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-17T01:49:39.450Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-17T01:49:39.734Z] + ls /var/log/sa-host [2022-01-17T01:49:39.735Z] + sadf -c /var/log/sa-host/sa17 [2022-01-17T01:49:39.735Z] file_magic: OK [2022-01-17T01:49:39.735Z] HZ: Using current value: 100 [2022-01-17T01:49:39.735Z] file_header: OK [2022-01-17T01:49:39.735Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-17T01:49:39.735Z] Statistics: [2022-01-17T01:49:39.735Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-17T01:49:39.735Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-17T01:49:39.819Z] provisioning config files... [2022-01-17T01:49:39.828Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7845261283810147320tmp [Pipeline] { [Pipeline] echo [2022-01-17T01:49:39.840Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:49:40.123Z] ---> create-netrc.sh [Pipeline] } [2022-01-17T01:49:40.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:49:40.469Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-17T01:49:40.478Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:49:40.766Z] ---> sudo-logs.sh [2022-01-17T01:49:40.766Z] Archiving 'sudo' log.. [2022-01-17T01:49:40.766Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1635.novalocal: Name or service not known [2022-01-17T01:49:40.766Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1635.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-17T01:49:40.789Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:49:41.109Z] ---> job-cost.sh [2022-01-17T01:49:41.109Z] lf-activate-venv: SKIPPING [2022-01-17T01:49:41.109Z] DEBUG: total: 0.05999999865889549 [2022-01-17T01:49:41.109Z] INFO: Retrieving Stack Cost... [2022-01-17T01:49:41.679Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-17T01:49:41.938Z] INFO: Archiving Costs [Pipeline] echo [2022-01-17T01:49:41.952Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-17T01:49:42.246Z] ---> logs-deploy.sh [2022-01-17T01:49:42.246Z] lf-activate-venv: SKIPPING [2022-01-17T01:49:42.246Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/27 [2022-01-17T01:49:42.246Z] INFO: archiving workspace using pattern(s): [2022-01-17T01:49:42.826Z] Archives upload complete. [2022-01-17T01:49:43.087Z] INFO: archiving logs to Nexus