Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c95c2b68ca8fde09df7afb3969267a417f1b7138 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-ssh13377806916286566635.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh12462800674209698977.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh17254160211119643552.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh7000685310210159231.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-ssh7525218317642032621.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.16 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 Running on prd-centos7-docker-4c-2g-55 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-ssh8274260917175338896.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 c95c2b68ca8fde09df7afb3969267a417f1b7138 (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 c95c2b68ca8fde09df7afb3969267a417f1b7138 # timeout=10 Commit message: "Merge pull request #325 from MonicaisHer/remove-two-env-config-overrides" > git rev-list --no-walk 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-01T11:26:54.062Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-01T11:26:54.101Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-01T11:26:54.127Z] ========================================================= [2021-12-01T11:26:54.127Z] EdgeX Global Pipelines Version Info [2021-12-01T11:26:54.127Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:26:55.263Z] ------------------- [2021-12-01T11:26:55.263Z] stable info: [2021-12-01T11:26:55.263Z] ------------------- [2021-12-01T11:26:55.263Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-01T11:26:55.263Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-01T11:26:55.263Z] Message: update stable to v1.0.217 [2021-12-01T11:26:55.837Z] ------------------- [2021-12-01T11:26:55.837Z] experimental info: [2021-12-01T11:26:55.837Z] ------------------- [2021-12-01T11:26:55.837Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-01T11:26:55.837Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-01T11:26:55.837Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-01T11:26:55.974Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-12-01T11:26:55.983Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-12-01T11:26:55.991Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-01T11:26:56.000Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-01T11:26:56.008Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-01T11:26:56.017Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-01T11:26:56.025Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-01T11:26:56.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-12-01T11:26:56.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-01T11:26:56.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-01T11:26:56.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-01T11:26:56.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-12-01T11:26:56.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-01T11:26:56.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-01T11:26:56.105Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-01T11:26:56.121Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-01T11:26:56.133Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-01T11:26:56.145Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-01T11:26:56.159Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-01T11:26:56.174Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-12-01T11:26:56.186Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-12-01T11:26:56.199Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-12-01T11:26:56.210Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-01T11:26:56.222Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-01T11:26:56.235Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-01T11:26:56.250Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-01T11:26:56.267Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-12-01T11:26:56.284Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-12-01T11:26:56.293Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-12-01T11:26:56.306Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c95c2b68ca8fde09df7afb3969267a417f1b7138 [Pipeline] echo [2021-12-01T11:26:56.321Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c95c2b6 [Pipeline] echo [2021-12-01T11:26:56.336Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-01T11:26:56.383Z] provisioning config files... [2021-12-01T11:26:56.397Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config895860107343506340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:26:56.711Z] ---> docker-login.sh [2021-12-01T11:26:56.711Z] nexus3.edgexfoundry.org:10001 [2021-12-01T11:26:56.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:26:56.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:26:56.979Z] Configure a credential helper to remove this warning. See [2021-12-01T11:26:56.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:26:56.979Z] [2021-12-01T11:26:56.979Z] Login Succeeded [2021-12-01T11:26:56.979Z] nexus3.edgexfoundry.org:10002 [2021-12-01T11:26:56.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:26:56.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:26:56.979Z] Configure a credential helper to remove this warning. See [2021-12-01T11:26:56.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:26:56.979Z] [2021-12-01T11:26:56.979Z] Login Succeeded [2021-12-01T11:26:56.979Z] nexus3.edgexfoundry.org:10003 [2021-12-01T11:26:57.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:26:57.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:26:57.239Z] Configure a credential helper to remove this warning. See [2021-12-01T11:26:57.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:26:57.239Z] [2021-12-01T11:26:57.239Z] Login Succeeded [2021-12-01T11:26:57.239Z] nexus3.edgexfoundry.org:10004 [2021-12-01T11:26:57.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:26:57.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:26:57.239Z] Configure a credential helper to remove this warning. See [2021-12-01T11:26:57.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:26:57.239Z] [2021-12-01T11:26:57.239Z] Login Succeeded [2021-12-01T11:26:57.239Z] docker.io [2021-12-01T11:26:57.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:26:57.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:26:57.761Z] Configure a credential helper to remove this warning. See [2021-12-01T11:26:57.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:26:57.761Z] [2021-12-01T11:26:57.761Z] Login Succeeded [2021-12-01T11:26:57.761Z] ---> docker-login.sh ends [Pipeline] } [2021-12-01T11:26:57.769Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-01T11:26:58.205Z] + git rev-list -1 --merges c95c2b68ca8fde09df7afb3969267a417f1b7138~1..c95c2b68ca8fde09df7afb3969267a417f1b7138 [Pipeline] echo [2021-12-01T11:26:58.231Z] -----------> git rev-list -1 --merges c95c2b68ca8fde09df7afb3969267a417f1b7138~1..c95c2b68ca8fde09df7afb3969267a417f1b7138 c95c2b68ca8fde09df7afb3969267a417f1b7138 [2021-12-01T11:26:58.231Z] c95c2b68ca8fde09df7afb3969267a417f1b7138 [false] [Pipeline] sh [2021-12-01T11:26:58.524Z] + git log --format=format:%s -1 c95c2b68ca8fde09df7afb3969267a417f1b7138 [Pipeline] echo [2021-12-01T11:26:58.540Z] ========================================================= [2021-12-01T11:26:58.540Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-01T11:26:58.540Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-01T11:26:58.876Z] + git log --format=format:%s -1 c95c2b68ca8fde09df7afb3969267a417f1b7138 [Pipeline] echo [2021-12-01T11:26:58.888Z] [semverPrep] GIT_COMMIT: c95c2b68ca8fde09df7afb3969267a417f1b7138, Commit Message: Merge pull request #325 from MonicaisHer/remove-two-env-config-overrides [Pipeline] echo [2021-12-01T11:26:58.896Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-01T11:26:59.346Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-01T11:26:59.346Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-01T11:26:59.346Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-01T11:26:59.346Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-01T11:26:59.346Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-01T11:26:59.346Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-01T11:26:59.346Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:26:59.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-01T11:26:59.768Z] [2021-12-01T11:26:59.768Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:27:00.076Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-01T11:27:00.076Z] latest: Pulling from edgex-devops/git-semver [2021-12-01T11:27:00.076Z] a0d0a0d46f8b: Pulling fs layer [2021-12-01T11:27:00.076Z] 3e5f54012d9b: Pulling fs layer [2021-12-01T11:27:00.076Z] 4c7163046ea9: Pulling fs layer [2021-12-01T11:27:00.076Z] 0c2d73faf560: Pulling fs layer [2021-12-01T11:27:00.076Z] 0c2d73faf560: Waiting [2021-12-01T11:27:00.076Z] 3e5f54012d9b: Verifying Checksum [2021-12-01T11:27:00.076Z] 3e5f54012d9b: Download complete [2021-12-01T11:27:00.076Z] a0d0a0d46f8b: Verifying Checksum [2021-12-01T11:27:00.076Z] a0d0a0d46f8b: Download complete [2021-12-01T11:27:00.076Z] 4c7163046ea9: Verifying Checksum [2021-12-01T11:27:00.076Z] 4c7163046ea9: Download complete [2021-12-01T11:27:00.076Z] 0c2d73faf560: Verifying Checksum [2021-12-01T11:27:00.076Z] 0c2d73faf560: Download complete [2021-12-01T11:27:00.339Z] a0d0a0d46f8b: Pull complete [2021-12-01T11:27:00.339Z] 3e5f54012d9b: Pull complete [2021-12-01T11:27:00.605Z] 4c7163046ea9: Pull complete [2021-12-01T11:27:00.872Z] 0c2d73faf560: Pull complete [2021-12-01T11:27:00.872Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-01T11:27:00.872Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-01T11:27:00.872Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-01T11:27:00.942Z] prd-centos7-docker-4c-2g-55 does not seem to be running inside a container [2021-12-01T11:27:00.983Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-01T11:27:01.718Z] $ docker top f013cc705196c5b715a1aef24a4e654eb31dcc4027ce40d71801d6994f7ac4ec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-01T11:27:01.815Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-01T11:27:01.815Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-01T11:27:01.919Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-01T11:27:01.924Z] $ docker exec f013cc705196c5b715a1aef24a4e654eb31dcc4027ce40d71801d6994f7ac4ec ssh-agent [2021-12-01T11:27:02.037Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMIlGoo/agent.14 [2021-12-01T11:27:02.037Z] SSH_AGENT_PID=20 [2021-12-01T11:27:02.047Z] Running ssh-add (command line suppressed) [2021-12-01T11:27:02.149Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2604065676806413329.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2604065676806413329.key) [2021-12-01T11:27:02.165Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-01T11:27:02.476Z] + git tag --points-at HEAD [Pipeline] } [2021-12-01T11:27:02.500Z] $ docker exec --env ******** --env ******** f013cc705196c5b715a1aef24a4e654eb31dcc4027ce40d71801d6994f7ac4ec ssh-agent -k [2021-12-01T11:27:02.585Z] unset SSH_AUTH_SOCK; [2021-12-01T11:27:02.585Z] unset SSH_AGENT_PID; [2021-12-01T11:27:02.585Z] echo Agent pid 20 killed; [2021-12-01T11:27:02.595Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-01T11:27:02.619Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-01T11:27:02.620Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-01T11:27:02.721Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-01T11:27:02.726Z] $ docker exec f013cc705196c5b715a1aef24a4e654eb31dcc4027ce40d71801d6994f7ac4ec ssh-agent [2021-12-01T11:27:02.814Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDFCdlL/agent.55 [2021-12-01T11:27:02.814Z] SSH_AGENT_PID=62 [2021-12-01T11:27:02.820Z] Running ssh-add (command line suppressed) [2021-12-01T11:27:02.907Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6914969560069286562.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6914969560069286562.key) [2021-12-01T11:27:02.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-01T11:27:03.219Z] + git semver init [2021-12-01T11:27:03.219Z] # -> Open(): unable to determine branch for HEAD [2021-12-01T11:27:03.219Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-12-01T11:27:03.219Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-01T11:27:03.219Z] # $SEMVER_REMOTE_NAME = origin [2021-12-01T11:27:03.219Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-01T11:27:03.219Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-01T11:27:03.219Z] # $SEMVER_BRANCH = main [2021-12-01T11:27:03.219Z] # $SEMVER_TEMP = /tmp/semver-006279698 [2021-12-01T11:27:03.219Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-12-01T11:27:04.164Z] # '/tmp/semver-006279698' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2021-12-01T11:27:04.164Z] # -> Force: false [2021-12-01T11:27:04.164Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-12-01T11:27:04.177Z] $ docker exec --env ******** --env ******** f013cc705196c5b715a1aef24a4e654eb31dcc4027ce40d71801d6994f7ac4ec ssh-agent -k [2021-12-01T11:27:04.257Z] unset SSH_AUTH_SOCK; [2021-12-01T11:27:04.258Z] unset SSH_AGENT_PID; [2021-12-01T11:27:04.258Z] echo Agent pid 62 killed; [2021-12-01T11:27:04.267Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-01T11:27:04.584Z] + git semver [Pipeline] } [2021-12-01T11:27:04.599Z] $ docker stop --time=1 f013cc705196c5b715a1aef24a4e654eb31dcc4027ce40d71801d6994f7ac4ec [2021-12-01T11:27:05.837Z] $ docker rm -f f013cc705196c5b715a1aef24a4e654eb31dcc4027ce40d71801d6994f7ac4ec [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-01T11:27:06.183Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-01T11:27:06.414Z] Stashed 1 file(s) [Pipeline] echo [2021-12-01T11:27:06.417Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-12-01T11:27:21.538Z] Still waiting to schedule task [2021-12-01T11:27:21.538Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-55’ [2021-12-01T11:27:21.540Z] Still waiting to schedule task [2021-12-01T11:27:21.540Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-12-01T11:28:47.107Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-56 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-12-01T11:28:47.119Z] Running in /w/workspace/device-mqtt-go/22 [Pipeline] { [Pipeline] checkout [2021-12-01T11:28:47.304Z] Selected Git installation does not exist. Using Default [2021-12-01T11:28:47.305Z] The recommended git tool is: NONE [2021-12-01T11:28:52.039Z] using credential edgex-jenkins-ssh [2021-12-01T11:28:52.061Z] Cloning the remote Git repository [2021-12-01T11:28:52.114Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-12-01T11:28:52.187Z] > git init /w/workspace/device-mqtt-go/22 # timeout=10 [2021-12-01T11:28:52.276Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-12-01T11:28:52.276Z] > git --version # timeout=10 [2021-12-01T11:28:52.294Z] > git --version # 'git version 2.17.1' [2021-12-01T11:28:52.296Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-01T11:28:52.421Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-01T11:28:53.592Z] Avoid second fetch [2021-12-01T11:28:53.592Z] Checking out Revision c95c2b68ca8fde09df7afb3969267a417f1b7138 (main) [2021-12-01T11:28:53.550Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-12-01T11:28:53.570Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-01T11:28:53.608Z] > git config core.sparsecheckout # timeout=10 [2021-12-01T11:28:53.622Z] > git checkout -f c95c2b68ca8fde09df7afb3969267a417f1b7138 # timeout=10 [2021-12-01T11:28:57.709Z] Commit message: "Merge pull request #325 from MonicaisHer/remove-two-env-config-overrides" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-01T11:28:58.583Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-01T11:28:58.583Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-01T11:28:58.583Z] Dload Upload Total Spent Left Speed [2021-12-01T11:28:58.583Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 79355 0 --:--:-- --:--:-- --:--:-- 79355 [Pipeline] sh [2021-12-01T11:28:59.094Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-01T11:28:59.434Z] + sudo tee /etc/docker/daemon.new [2021-12-01T11:28:59.434Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-01T11:28:59.434Z] { [2021-12-01T11:28:59.434Z] "registry-mirrors": [ [2021-12-01T11:28:59.434Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-01T11:28:59.434Z] ], [2021-12-01T11:28:59.434Z] "bip": "10.250.0.254/24", [2021-12-01T11:28:59.434Z] "hosts": [ [2021-12-01T11:28:59.434Z] "tcp://0.0.0.0:5555", [2021-12-01T11:28:59.434Z] "unix:///var/run/docker.sock" [2021-12-01T11:28:59.434Z] ], [2021-12-01T11:28:59.434Z] "mtu": 1458, [2021-12-01T11:28:59.434Z] "selinux-enabled": true, [2021-12-01T11:28:59.434Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-01T11:28:59.434Z] } [Pipeline] sh [2021-12-01T11:28:59.777Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-01T11:29:00.120Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-01T11:29:18.459Z] provisioning config files... [2021-12-01T11:29:18.481Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/22@tmp/config6682042038957979514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:29:18.834Z] ---> docker-login.sh [2021-12-01T11:29:18.834Z] nexus3.edgexfoundry.org:10001 [2021-12-01T11:29:19.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:29:19.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:29:19.426Z] Configure a credential helper to remove this warning. See [2021-12-01T11:29:19.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:29:19.426Z] [2021-12-01T11:29:19.426Z] Login Succeeded [2021-12-01T11:29:19.426Z] nexus3.edgexfoundry.org:10002 [2021-12-01T11:29:19.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:29:19.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:29:19.977Z] Configure a credential helper to remove this warning. See [2021-12-01T11:29:19.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:29:19.977Z] [2021-12-01T11:29:19.977Z] Login Succeeded [2021-12-01T11:29:19.977Z] nexus3.edgexfoundry.org:10003 [2021-12-01T11:29:20.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:29:20.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:29:20.252Z] Configure a credential helper to remove this warning. See [2021-12-01T11:29:20.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:29:20.252Z] [2021-12-01T11:29:20.252Z] Login Succeeded [2021-12-01T11:29:20.252Z] nexus3.edgexfoundry.org:10004 [2021-12-01T11:29:20.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:29:20.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:29:20.808Z] Configure a credential helper to remove this warning. See [2021-12-01T11:29:20.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:29:20.808Z] [2021-12-01T11:29:20.808Z] Login Succeeded [2021-12-01T11:29:20.808Z] docker.io [2021-12-01T11:29:21.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:29:21.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:29:21.350Z] Configure a credential helper to remove this warning. See [2021-12-01T11:29:21.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:29:21.350Z] [2021-12-01T11:29:21.350Z] Login Succeeded [2021-12-01T11:29:21.350Z] ---> docker-login.sh ends [Pipeline] } [2021-12-01T11:29:21.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-01T11:29:21.844Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-01T11:29:21.858Z] ========================================================= [2021-12-01T11:29:21.858Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-01T11:29:21.858Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:29:22.199Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-12-01T11:29:22.471Z] Sending build context to Docker daemon 2.944MB [2021-12-01T11:29:22.471Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-01T11:29:22.471Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-01T11:29:22.744Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-01T11:29:22.744Z] 552d1f2373af: Pulling fs layer [2021-12-01T11:29:22.744Z] ea3f2d53f512: Pulling fs layer [2021-12-01T11:29:22.744Z] 9e70ebbbe112: Pulling fs layer [2021-12-01T11:29:22.744Z] 7a9cfe048b4a: Pulling fs layer [2021-12-01T11:29:22.744Z] 72dc09318566: Pulling fs layer [2021-12-01T11:29:22.744Z] f4f7b4309257: Pulling fs layer [2021-12-01T11:29:22.744Z] 0ac9a79272e3: Pulling fs layer [2021-12-01T11:29:22.744Z] b78e95d17946: Pulling fs layer [2021-12-01T11:29:22.744Z] 72dc09318566: Waiting [2021-12-01T11:29:22.744Z] f4f7b4309257: Waiting [2021-12-01T11:29:22.744Z] 0ac9a79272e3: Waiting [2021-12-01T11:29:22.744Z] b78e95d17946: Waiting [2021-12-01T11:29:22.744Z] 7a9cfe048b4a: Waiting [2021-12-01T11:29:22.744Z] 9e70ebbbe112: Download complete [2021-12-01T11:29:22.744Z] ea3f2d53f512: Verifying Checksum [2021-12-01T11:29:22.744Z] ea3f2d53f512: Download complete [2021-12-01T11:29:22.744Z] 72dc09318566: Verifying Checksum [2021-12-01T11:29:22.744Z] 72dc09318566: Download complete [2021-12-01T11:29:22.744Z] f4f7b4309257: Verifying Checksum [2021-12-01T11:29:22.744Z] f4f7b4309257: Download complete [2021-12-01T11:29:22.744Z] 552d1f2373af: Download complete [2021-12-01T11:29:22.744Z] 0ac9a79272e3: Verifying Checksum [2021-12-01T11:29:22.744Z] 0ac9a79272e3: Download complete [2021-12-01T11:29:23.348Z] 552d1f2373af: Pull complete [2021-12-01T11:29:23.963Z] ea3f2d53f512: Pull complete [2021-12-01T11:29:24.572Z] 9e70ebbbe112: Pull complete [2021-12-01T11:29:24.572Z] b78e95d17946: Verifying Checksum [2021-12-01T11:29:24.572Z] b78e95d17946: Download complete [2021-12-01T11:29:25.165Z] 7a9cfe048b4a: Verifying Checksum [2021-12-01T11:29:25.165Z] 7a9cfe048b4a: Download complete [2021-12-01T11:29:26.989Z] Running on prd-centos7-docker-4c-2g-57 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-12-01T11:29:27.002Z] Running in /w/workspace/device-mqtt-go/22 [Pipeline] { [Pipeline] checkout [2021-12-01T11:29:27.095Z] Selected Git installation does not exist. Using Default [2021-12-01T11:29:27.095Z] The recommended git tool is: NONE [2021-12-01T11:29:28.825Z] using credential edgex-jenkins-ssh [2021-12-01T11:29:28.847Z] Cloning the remote Git repository [2021-12-01T11:29:28.508Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-12-01T11:29:28.563Z] > git init /w/workspace/device-mqtt-go/22 # timeout=10 [2021-12-01T11:29:28.599Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-12-01T11:29:28.599Z] > git --version # timeout=10 [2021-12-01T11:29:28.612Z] > git --version # 'git version 2.24.4' [2021-12-01T11:29:28.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-01T11:29:28.709Z] [INFO] Currently running in a labeled security context [2021-12-01T11:29:28.710Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-01T11:29:28.710Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/22@tmp/jenkins-gitclient-ssh3855453482412731463.key [2021-12-01T11:29:28.730Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-01T11:29:31.513Z] Avoid second fetch [2021-12-01T11:29:31.514Z] Checking out Revision c95c2b68ca8fde09df7afb3969267a417f1b7138 (main) [2021-12-01T11:29:31.118Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-12-01T11:29:31.125Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-01T11:29:31.144Z] > git config core.sparsecheckout # timeout=10 [2021-12-01T11:29:31.152Z] > git checkout -f c95c2b68ca8fde09df7afb3969267a417f1b7138 # timeout=10 [2021-12-01T11:29:34.920Z] Commit message: "Merge pull request #325 from MonicaisHer/remove-two-env-config-overrides" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-01T11:29:35.271Z] provisioning config files... [2021-12-01T11:29:35.319Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/22@tmp/config2444600673257490688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:29:35.736Z] ---> docker-login.sh [2021-12-01T11:29:35.736Z] nexus3.edgexfoundry.org:10001 [2021-12-01T11:29:35.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:29:35.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:29:35.736Z] Configure a credential helper to remove this warning. See [2021-12-01T11:29:35.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:29:35.736Z] [2021-12-01T11:29:35.736Z] Login Succeeded [2021-12-01T11:29:35.736Z] nexus3.edgexfoundry.org:10002 [2021-12-01T11:29:36.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:29:36.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:29:36.000Z] Configure a credential helper to remove this warning. See [2021-12-01T11:29:36.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:29:36.000Z] [2021-12-01T11:29:36.000Z] Login Succeeded [2021-12-01T11:29:36.000Z] nexus3.edgexfoundry.org:10003 [2021-12-01T11:29:36.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:29:36.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:29:36.270Z] Configure a credential helper to remove this warning. See [2021-12-01T11:29:36.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:29:36.270Z] [2021-12-01T11:29:36.270Z] Login Succeeded [2021-12-01T11:29:36.270Z] nexus3.edgexfoundry.org:10004 [2021-12-01T11:29:36.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:29:36.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:29:36.270Z] Configure a credential helper to remove this warning. See [2021-12-01T11:29:36.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:29:36.270Z] [2021-12-01T11:29:36.270Z] Login Succeeded [2021-12-01T11:29:36.270Z] docker.io [2021-12-01T11:29:36.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:29:36.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:29:36.852Z] Configure a credential helper to remove this warning. See [2021-12-01T11:29:36.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:29:36.852Z] [2021-12-01T11:29:36.852Z] Login Succeeded [2021-12-01T11:29:36.852Z] ---> docker-login.sh ends [Pipeline] } [2021-12-01T11:29:36.936Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-01T11:29:37.073Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-01T11:29:37.086Z] ========================================================= [2021-12-01T11:29:37.086Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-01T11:29:37.086Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:29:37.415Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-12-01T11:29:37.415Z] Sending build context to Docker daemon 2.945MB [2021-12-01T11:29:37.415Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-01T11:29:37.415Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-01T11:29:37.415Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-01T11:29:37.415Z] a0d0a0d46f8b: Pulling fs layer [2021-12-01T11:29:37.415Z] 31adcdaf11c8: Pulling fs layer [2021-12-01T11:29:37.415Z] b8b176561691: Pulling fs layer [2021-12-01T11:29:37.415Z] 4527c011a84f: Pulling fs layer [2021-12-01T11:29:37.415Z] 5d74067f8e1e: Pulling fs layer [2021-12-01T11:29:37.415Z] e0aca202a116: Pulling fs layer [2021-12-01T11:29:37.415Z] 3a43be97a3b4: Pulling fs layer [2021-12-01T11:29:37.415Z] 34cad66bf833: Pulling fs layer [2021-12-01T11:29:37.415Z] b4e3c513aaa6: Pulling fs layer [2021-12-01T11:29:37.415Z] e0aca202a116: Waiting [2021-12-01T11:29:37.415Z] 3a43be97a3b4: Waiting [2021-12-01T11:29:37.415Z] 4527c011a84f: Waiting [2021-12-01T11:29:37.415Z] 5d74067f8e1e: Waiting [2021-12-01T11:29:37.415Z] 34cad66bf833: Waiting [2021-12-01T11:29:37.415Z] b4e3c513aaa6: Waiting [2021-12-01T11:29:37.415Z] b8b176561691: Verifying Checksum [2021-12-01T11:29:37.415Z] b8b176561691: Download complete [2021-12-01T11:29:37.686Z] 31adcdaf11c8: Verifying Checksum [2021-12-01T11:29:37.686Z] 31adcdaf11c8: Download complete [2021-12-01T11:29:37.686Z] 5d74067f8e1e: Download complete [2021-12-01T11:29:37.686Z] e0aca202a116: Verifying Checksum [2021-12-01T11:29:37.686Z] e0aca202a116: Download complete [2021-12-01T11:29:37.686Z] 3a43be97a3b4: Verifying Checksum [2021-12-01T11:29:37.686Z] 3a43be97a3b4: Download complete [2021-12-01T11:29:37.686Z] a0d0a0d46f8b: Verifying Checksum [2021-12-01T11:29:37.686Z] a0d0a0d46f8b: Download complete [2021-12-01T11:29:37.686Z] 34cad66bf833: Verifying Checksum [2021-12-01T11:29:37.686Z] 34cad66bf833: Download complete [2021-12-01T11:29:37.712Z] 7a9cfe048b4a: Pull complete [2021-12-01T11:29:37.712Z] 72dc09318566: Pull complete [2021-12-01T11:29:37.712Z] f4f7b4309257: Pull complete [2021-12-01T11:29:37.712Z] 0ac9a79272e3: Pull complete [2021-12-01T11:29:38.270Z] b4e3c513aaa6: Verifying Checksum [2021-12-01T11:29:38.270Z] b4e3c513aaa6: Download complete [2021-12-01T11:29:38.270Z] a0d0a0d46f8b: Pull complete [2021-12-01T11:29:38.270Z] 4527c011a84f: Verifying Checksum [2021-12-01T11:29:38.270Z] 4527c011a84f: Download complete [2021-12-01T11:29:38.270Z] 31adcdaf11c8: Pull complete [2021-12-01T11:29:38.270Z] b8b176561691: Pull complete [2021-12-01T11:29:42.012Z] b78e95d17946: Pull complete [2021-12-01T11:29:42.012Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-01T11:29:42.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-01T11:29:42.012Z] ---> 8b459fc5aaf0 [2021-12-01T11:29:42.012Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-01T11:29:42.519Z] 4527c011a84f: Pull complete [2021-12-01T11:29:42.519Z] 5d74067f8e1e: Pull complete [2021-12-01T11:29:42.519Z] e0aca202a116: Pull complete [2021-12-01T11:29:42.790Z] 3a43be97a3b4: Pull complete [2021-12-01T11:29:42.790Z] 34cad66bf833: Pull complete [2021-12-01T11:29:43.984Z] ---> Running in 77b273ef30f1 [2021-12-01T11:29:43.984Z] Removing intermediate container 77b273ef30f1 [2021-12-01T11:29:43.984Z] ---> a5c8ffe9f41c [2021-12-01T11:29:43.984Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-01T11:29:44.263Z] ---> Running in c81e78de865c [2021-12-01T11:29:44.540Z] Removing intermediate container c81e78de865c [2021-12-01T11:29:44.540Z] ---> 13cd18bec6a8 [2021-12-01T11:29:44.540Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-01T11:29:44.540Z] ---> Running in 61504887e1a6 [2021-12-01T11:29:45.359Z] b4e3c513aaa6: Pull complete [2021-12-01T11:29:45.359Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-01T11:29:45.359Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-01T11:29:45.359Z] ---> 9f6097aaca64 [2021-12-01T11:29:45.359Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-01T11:29:46.522Z] Removing intermediate container 61504887e1a6 [2021-12-01T11:29:46.522Z] ---> ff56146429a0 [2021-12-01T11:29:46.522Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-01T11:29:46.522Z] ---> Running in 9d02f1bb1745 [2021-12-01T11:29:47.499Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-01T11:29:47.944Z] ---> Running in 7642aa32ceab [2021-12-01T11:29:47.944Z] Removing intermediate container 7642aa32ceab [2021-12-01T11:29:47.944Z] ---> 409ebceffc4a [2021-12-01T11:29:47.944Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-01T11:29:47.944Z] ---> Running in 77060a431240 [2021-12-01T11:29:47.944Z] Removing intermediate container 77060a431240 [2021-12-01T11:29:47.944Z] ---> d2b69a3822b0 [2021-12-01T11:29:47.944Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-01T11:29:47.944Z] ---> Running in 44e06b1918f6 [2021-12-01T11:29:48.470Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-01T11:29:48.531Z] Removing intermediate container 44e06b1918f6 [2021-12-01T11:29:48.531Z] ---> a46b79bd130e [2021-12-01T11:29:48.531Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-01T11:29:48.531Z] ---> Running in ea391936a2f5 [2021-12-01T11:29:48.793Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-01T11:29:49.060Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-01T11:29:49.061Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-01T11:29:49.333Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-01T11:29:49.333Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-01T11:29:49.333Z] Executing busybox-1.33.1-r3.trigger [2021-12-01T11:29:49.365Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-01T11:29:49.608Z] OK: 223 MiB in 56 packages [2021-12-01T11:29:49.949Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-01T11:29:49.949Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-01T11:29:49.949Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-01T11:29:50.210Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-01T11:29:50.210Z] Executing busybox-1.33.1-r3.trigger [2021-12-01T11:29:50.210Z] OK: 224 MiB in 56 packages [2021-12-01T11:29:50.473Z] Removing intermediate container ea391936a2f5 [2021-12-01T11:29:50.473Z] ---> 23369fb09f62 [2021-12-01T11:29:50.473Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-12-01T11:29:50.473Z] ---> Running in d6e9ae173c5d [2021-12-01T11:29:50.586Z] Removing intermediate container 9d02f1bb1745 [2021-12-01T11:29:50.586Z] ---> 55b2eeee335d [2021-12-01T11:29:50.586Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-12-01T11:29:50.586Z] ---> Running in 9264fae19698 [2021-12-01T11:29:50.738Z] Removing intermediate container d6e9ae173c5d [2021-12-01T11:29:50.738Z] ---> b14c4b2d7b27 [2021-12-01T11:29:50.738Z] Step 8/11 : COPY . . [2021-12-01T11:29:50.857Z] Removing intermediate container 9264fae19698 [2021-12-01T11:29:50.857Z] ---> 3f3edb8ad36b [2021-12-01T11:29:50.857Z] Step 8/11 : COPY . . [2021-12-01T11:29:51.001Z] ---> 3552c2bb90ec [2021-12-01T11:29:51.001Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-01T11:29:51.001Z] ---> Running in 06953f186feb [2021-12-01T11:29:51.829Z] ---> 224260b74464 [2021-12-01T11:29:51.829Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-01T11:29:51.829Z] ---> Running in 2bc6d513f42a [2021-12-01T11:30:23.196Z] Removing intermediate container 06953f186feb [2021-12-01T11:30:23.196Z] ---> 086bcffd4526 [2021-12-01T11:30:23.196Z] Step 10/11 : ARG MAKE='make build' [2021-12-01T11:30:23.196Z] ---> Running in aa69f7a110c9 [2021-12-01T11:30:23.196Z] Removing intermediate container aa69f7a110c9 [2021-12-01T11:30:23.196Z] ---> 695f0d79b3b2 [2021-12-01T11:30:23.196Z] Step 11/11 : RUN $MAKE [2021-12-01T11:30:23.196Z] ---> Running in 199b724515af [2021-12-01T11:30:23.457Z] noop [2021-12-01T11:30:23.724Z] Removing intermediate container 199b724515af [2021-12-01T11:30:23.724Z] ---> 4e27a0a00491 [2021-12-01T11:30:23.724Z] Successfully built 4e27a0a00491 [2021-12-01T11:30:23.724Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:30:24.019Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-01T11:30:24.020Z] . [Pipeline] withDockerContainer [2021-12-01T11:30:24.089Z] prd-centos7-docker-4c-2g-57 does not seem to be running inside a container [2021-12-01T11:30:24.126Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/22 -v /w/workspace/device-mqtt-go/22:/w/workspace/device-mqtt-go/22:rw,z -v /w/workspace/device-mqtt-go/22@tmp:/w/workspace/device-mqtt-go/22@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-x86_64 cat [2021-12-01T11:30:24.517Z] $ docker top 9c60715293acc382dbca799ee805df8aa4cc10c4e6f9cd04228642a54a0c626e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-01T11:30:24.896Z] + go version [2021-12-01T11:30:24.896Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-01T11:30:24.916Z] $ docker stop --time=1 9c60715293acc382dbca799ee805df8aa4cc10c4e6f9cd04228642a54a0c626e [2021-12-01T11:30:26.114Z] $ docker rm -f 9c60715293acc382dbca799ee805df8aa4cc10c4e6f9cd04228642a54a0c626e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:30:26.631Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-01T11:30:26.631Z] . [Pipeline] withDockerContainer [2021-12-01T11:30:26.703Z] prd-centos7-docker-4c-2g-57 does not seem to be running inside a container [2021-12-01T11:30:26.735Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/22 -v /w/workspace/device-mqtt-go/22:/w/workspace/device-mqtt-go/22:rw,z -v /w/workspace/device-mqtt-go/22@tmp:/w/workspace/device-mqtt-go/22@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-x86_64 cat [2021-12-01T11:30:27.091Z] $ docker top 4653db43a9b24906c47591b780f0df73a55f9f2ffcc9ab142caa94b96282fdaa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-01T11:30:27.461Z] + make test [2021-12-01T11:30:27.461Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-12-01T11:30:27.726Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-12-01T11:30:45.961Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-12-01T11:30:45.961Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.5% of statements [2021-12-01T11:30:45.961Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-12-01T11:30:45.961Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-01T11:30:50.214Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-01T11:30:50.214Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-01T11:30:50.214Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-01T11:30:50.803Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-01T11:30:50.815Z] $ docker stop --time=1 4653db43a9b24906c47591b780f0df73a55f9f2ffcc9ab142caa94b96282fdaa [2021-12-01T11:30:52.321Z] $ docker rm -f 4653db43a9b24906c47591b780f0df73a55f9f2ffcc9ab142caa94b96282fdaa [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-01T11:30:52.710Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-01T11:30:52.948Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-12-01T11:30:54.073Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-01T11:30:54.371Z] + ls -al . [2021-12-01T11:30:54.371Z] total 148 [2021-12-01T11:30:54.371Z] drwxrwxr-x. 9 jenkins jenkins 4096 Dec 1 11:30 . [2021-12-01T11:30:54.371Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 1 11:29 .. [2021-12-01T11:30:54.371Z] -rw-rw-r--. 1 jenkins jenkins 7287 Dec 1 11:29 Attribution.txt [2021-12-01T11:30:54.371Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 1 11:29 bin [2021-12-01T11:30:54.371Z] -rw-rw-r--. 1 jenkins jenkins 7447 Dec 1 11:29 CHANGELOG.md [2021-12-01T11:30:54.371Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 1 11:29 cmd [2021-12-01T11:30:54.371Z] -rw-r--r--. 1 jenkins jenkins 17452 Dec 1 11:30 coverage.out [2021-12-01T11:30:54.371Z] -rw-rw-r--. 1 jenkins jenkins 1907 Dec 1 11:29 Dockerfile [2021-12-01T11:30:54.371Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 1 11:29 .dockerignore [2021-12-01T11:30:54.371Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 1 11:29 .git [2021-12-01T11:30:54.371Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 1 11:29 .github [2021-12-01T11:30:54.371Z] -rw-rw-r--. 1 jenkins jenkins 329 Dec 1 11:29 .gitignore [2021-12-01T11:30:54.371Z] -rw-rw-r--. 1 jenkins jenkins 404 Dec 1 11:29 go.mod [2021-12-01T11:30:54.371Z] -rw-rw-r--. 1 jenkins jenkins 49385 Dec 1 11:29 go.sum [2021-12-01T11:30:54.371Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 1 11:29 GOVERNANCE.md [2021-12-01T11:30:54.371Z] drwxrwxr-x. 3 jenkins jenkins 20 Dec 1 11:29 internal [2021-12-01T11:30:54.371Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 1 11:29 Jenkinsfile [2021-12-01T11:30:54.371Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 1 11:29 LICENSE [2021-12-01T11:30:54.371Z] -rw-rw-r--. 1 jenkins jenkins 1030 Dec 1 11:29 Makefile [2021-12-01T11:30:54.371Z] drwxrwxr-x. 2 jenkins jenkins 23 Dec 1 11:29 mock [2021-12-01T11:30:54.371Z] -rw-rw-r--. 1 jenkins jenkins 620 Dec 1 11:29 OWNERS.md [2021-12-01T11:30:54.371Z] -rw-rw-r--. 1 jenkins jenkins 2211 Dec 1 11:29 README.md [2021-12-01T11:30:54.371Z] drwxrwxr-x. 4 jenkins jenkins 71 Dec 1 11:29 snap [2021-12-01T11:30:54.371Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 1 11:27 VERSION [2021-12-01T11:30:54.371Z] -rw-rw-r--. 1 jenkins jenkins 227 Dec 1 11:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:30:54.670Z] + 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=c95c2b68ca8fde09df7afb3969267a417f1b7138 --label arch=amd64 --label version=2.2.0-dev.1 . [2021-12-01T11:30:54.670Z] Sending build context to Docker daemon 2.963MB [2021-12-01T11:30:54.670Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-12-01T11:30:54.670Z] Step 2/23 : FROM ${BASE} AS builder [2021-12-01T11:30:54.670Z] ---> 4e27a0a00491 [2021-12-01T11:30:54.670Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-01T11:30:54.670Z] ---> Running in 1479b757c284 [2021-12-01T11:30:54.670Z] Removing intermediate container 1479b757c284 [2021-12-01T11:30:54.670Z] ---> a42d0ed97c3b [2021-12-01T11:30:54.670Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-12-01T11:30:54.938Z] ---> Running in 68c2f851812f [2021-12-01T11:30:54.938Z] Removing intermediate container 68c2f851812f [2021-12-01T11:30:54.938Z] ---> 649301d3877f [2021-12-01T11:30:54.938Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-01T11:30:54.938Z] ---> Running in c2a2e867ff88 [2021-12-01T11:30:55.513Z] Removing intermediate container c2a2e867ff88 [2021-12-01T11:30:55.513Z] ---> 383c7ec39aaa [2021-12-01T11:30:55.513Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-01T11:30:55.513Z] ---> Running in a54c416a29d4 [2021-12-01T11:30:55.773Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-01T11:30:56.719Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-01T11:30:56.982Z] OK: 224 MiB in 56 packages [2021-12-01T11:30:57.241Z] Removing intermediate container a54c416a29d4 [2021-12-01T11:30:57.241Z] ---> f26d2cbf06b5 [2021-12-01T11:30:57.241Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-12-01T11:30:57.241Z] ---> Running in 099989b17022 [2021-12-01T11:30:57.241Z] Removing intermediate container 099989b17022 [2021-12-01T11:30:57.241Z] ---> 029e60e45ad5 [2021-12-01T11:30:57.241Z] Step 8/23 : COPY . . [2021-12-01T11:30:57.502Z] ---> 67373e33f3b2 [2021-12-01T11:30:57.502Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-01T11:30:57.502Z] ---> Running in 34237f31a3d8 [2021-12-01T11:30:58.074Z] Removing intermediate container 34237f31a3d8 [2021-12-01T11:30:58.074Z] ---> b45625d98f54 [2021-12-01T11:30:58.074Z] Step 10/23 : ARG MAKE='make build' [2021-12-01T11:30:58.074Z] ---> Running in 91a3c75ef1bc [2021-12-01T11:30:58.336Z] Removing intermediate container 91a3c75ef1bc [2021-12-01T11:30:58.336Z] ---> 1db883b0025e [2021-12-01T11:30:58.336Z] Step 11/23 : RUN $MAKE [2021-12-01T11:30:58.336Z] ---> Running in 90df7b1695f0 [2021-12-01T11:30:58.601Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.1" -o cmd/device-mqtt ./cmd [2021-12-01T11:31:10.885Z] Removing intermediate container 90df7b1695f0 [2021-12-01T11:31:10.885Z] ---> 27856b424686 [2021-12-01T11:31:10.885Z] Step 12/23 : FROM alpine:3.14 [2021-12-01T11:31:10.885Z] 3.14: Pulling from library/alpine [2021-12-01T11:31:11.149Z] 97518928ae5f: Pulling fs layer [2021-12-01T11:31:11.149Z] 97518928ae5f: Verifying Checksum [2021-12-01T11:31:11.149Z] 97518928ae5f: Download complete [2021-12-01T11:31:11.412Z] 97518928ae5f: Pull complete [2021-12-01T11:31:11.412Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-01T11:31:11.412Z] Status: Downloaded newer image for alpine:3.14 [2021-12-01T11:31:11.412Z] ---> 0a97eee8041e [2021-12-01T11:31:11.412Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-12-01T11:31:11.412Z] ---> Running in b11bf3a99e0c [2021-12-01T11:31:11.412Z] Removing intermediate container b11bf3a99e0c [2021-12-01T11:31:11.412Z] ---> 713cda364cb6 [2021-12-01T11:31:11.412Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-01T11:31:11.412Z] ---> Running in 12084bd84f3c [2021-12-01T11:31:11.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-01T11:31:11.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-01T11:31:11.929Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-01T11:31:11.929Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-01T11:31:12.188Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-01T11:31:12.188Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-01T11:31:12.188Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-01T11:31:12.188Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-01T11:31:12.188Z] Executing busybox-1.33.1-r6.trigger [2021-12-01T11:31:12.188Z] OK: 8 MiB in 20 packages [2021-12-01T11:31:12.450Z] Removing intermediate container 12084bd84f3c [2021-12-01T11:31:12.450Z] ---> 61ed6fcd890a [2021-12-01T11:31:12.450Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-12-01T11:31:12.712Z] ---> 34ba2bd9e621 [2021-12-01T11:31:12.712Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-12-01T11:31:12.972Z] ---> 51b17246c5aa [2021-12-01T11:31:12.972Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-12-01T11:31:12.972Z] ---> 95e73abfa6d1 [2021-12-01T11:31:12.972Z] Step 18/23 : EXPOSE 59982 [2021-12-01T11:31:12.972Z] ---> Running in 1df50e4dbf9a [2021-12-01T11:31:13.233Z] Removing intermediate container 1df50e4dbf9a [2021-12-01T11:31:13.233Z] ---> c42fdf3c5b16 [2021-12-01T11:31:13.233Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-12-01T11:31:13.233Z] ---> Running in e422be9b3c08 [2021-12-01T11:31:13.233Z] Removing intermediate container e422be9b3c08 [2021-12-01T11:31:13.233Z] ---> ba8d6fee3b9a [2021-12-01T11:31:13.233Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-12-01T11:31:13.233Z] ---> Running in 1a26c90cd3aa [2021-12-01T11:31:13.233Z] Removing intermediate container 1a26c90cd3aa [2021-12-01T11:31:13.233Z] ---> 07c5da484c3e [2021-12-01T11:31:13.233Z] Step 21/23 : LABEL arch=amd64 [2021-12-01T11:31:13.233Z] ---> Running in 2257b170345b [2021-12-01T11:31:13.494Z] Removing intermediate container 2257b170345b [2021-12-01T11:31:13.494Z] ---> 166c56e7e378 [2021-12-01T11:31:13.494Z] Step 22/23 : LABEL git_sha=c95c2b68ca8fde09df7afb3969267a417f1b7138 [2021-12-01T11:31:13.494Z] ---> Running in 5f9715e2b086 [2021-12-01T11:31:13.494Z] Removing intermediate container 5f9715e2b086 [2021-12-01T11:31:13.494Z] ---> 4dbf92b50049 [2021-12-01T11:31:13.494Z] Step 23/23 : LABEL version=2.2.0-dev.1 [2021-12-01T11:31:13.494Z] ---> Running in b53232c4b3bc [2021-12-01T11:31:13.621Z] Removing intermediate container 2bc6d513f42a [2021-12-01T11:31:13.621Z] ---> 3a4ec7761f77 [2021-12-01T11:31:13.621Z] Step 10/11 : ARG MAKE='make build' [2021-12-01T11:31:13.621Z] ---> Running in f8016edae244 [2021-12-01T11:31:13.621Z] Removing intermediate container f8016edae244 [2021-12-01T11:31:13.621Z] ---> d1f466f6a16e [2021-12-01T11:31:13.621Z] Step 11/11 : RUN $MAKE [2021-12-01T11:31:13.621Z] ---> Running in fd1adb9f72dd [2021-12-01T11:31:13.621Z] noop [2021-12-01T11:31:13.621Z] Removing intermediate container fd1adb9f72dd [2021-12-01T11:31:13.621Z] ---> 59c73e04475f [2021-12-01T11:31:13.621Z] Successfully built 59c73e04475f [2021-12-01T11:31:13.621Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:31:13.755Z] Removing intermediate container b53232c4b3bc [2021-12-01T11:31:13.755Z] ---> 8aaf1b28c5d8 [2021-12-01T11:31:13.755Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-01T11:31:13.755Z] Successfully built 8aaf1b28c5d8 [2021-12-01T11:31:13.755Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-01T11:31:13.924Z] provisioning config files... [2021-12-01T11:31:13.936Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/22@tmp/config632039497754489285tmp [Pipeline] { [Pipeline] libraryResource [2021-12-01T11:31:13.956Z] + docker inspect -f . ci-base-image-arm64 [2021-12-01T11:31:13.956Z] . [Pipeline] sh [Pipeline] withDockerContainer [2021-12-01T11:31:14.185Z] prd-ubuntu18.04-docker-arm64-4c-16g-56 does not seem to be running inside a container [2021-12-01T11:31:14.251Z] ---> docker-login.sh [2021-12-01T11:31:14.251Z] nexus3.edgexfoundry.org:10001 [2021-12-01T11:31:14.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:31:14.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:31:14.251Z] Configure a credential helper to remove this warning. See [2021-12-01T11:31:14.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:31:14.251Z] [2021-12-01T11:31:14.251Z] Login Succeeded [2021-12-01T11:31:14.251Z] nexus3.edgexfoundry.org:10002 [2021-12-01T11:31:14.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:31:14.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:31:14.251Z] Configure a credential helper to remove this warning. See [2021-12-01T11:31:14.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:31:14.251Z] [2021-12-01T11:31:14.251Z] Login Succeeded [2021-12-01T11:31:14.251Z] nexus3.edgexfoundry.org:10003 [2021-12-01T11:31:14.263Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/22 -v /w/workspace/device-mqtt-go/22:/w/workspace/device-mqtt-go/22:rw,z -v /w/workspace/device-mqtt-go/22@tmp:/w/workspace/device-mqtt-go/22@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 [2021-12-01T11:31:14.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:31:14.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:31:14.515Z] Configure a credential helper to remove this warning. See [2021-12-01T11:31:14.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:31:14.515Z] [2021-12-01T11:31:14.515Z] Login Succeeded [2021-12-01T11:31:14.515Z] nexus3.edgexfoundry.org:10004 [2021-12-01T11:31:14.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:31:14.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:31:14.515Z] Configure a credential helper to remove this warning. See [2021-12-01T11:31:14.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:31:14.515Z] [2021-12-01T11:31:14.515Z] Login Succeeded [2021-12-01T11:31:14.515Z] docker.io [2021-12-01T11:31:14.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:31:15.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:31:15.041Z] Configure a credential helper to remove this warning. See [2021-12-01T11:31:15.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:31:15.041Z] [2021-12-01T11:31:15.041Z] Login Succeeded [2021-12-01T11:31:15.041Z] ---> docker-login.sh ends [2021-12-01T11:31:15.519Z] $ docker top 1114eecfaa3a9c83edd0bc54637fcb7f32f63e53d1dff9d9c161a88d9a9f8d53 -eo pid,comm [Pipeline] { [Pipeline] } [2021-12-01T11:31:15.779Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-01T11:31:15.867Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-01T11:31:15.885Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-12-01T11:31:15.885Z] c95c2b68ca8fde09df7afb3969267a417f1b7138 [2021-12-01T11:31:15.885Z] latest [2021-12-01T11:31:15.885Z] 2.2.0-dev.1 [2021-12-01T11:31:15.885Z] c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1 [2021-12-01T11:31:15.885Z] main [2021-12-01T11:31:15.885Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:31:16.205Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:c95c2b68ca8fde09df7afb3969267a417f1b7138 [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:31:16.429Z] + go version [2021-12-01T11:31:16.429Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-01T11:31:16.451Z] $ docker stop --time=1 1114eecfaa3a9c83edd0bc54637fcb7f32f63e53d1dff9d9c161a88d9a9f8d53 [2021-12-01T11:31:16.497Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:c95c2b68ca8fde09df7afb3969267a417f1b7138 [2021-12-01T11:31:16.497Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-01T11:31:16.497Z] 2e7335245d1f: Preparing [2021-12-01T11:31:16.497Z] 08693f9d30e4: Preparing [2021-12-01T11:31:16.497Z] 7423334ef2cd: Preparing [2021-12-01T11:31:16.497Z] 00e00a26635d: Preparing [2021-12-01T11:31:16.497Z] 1a058d5342cc: Preparing [2021-12-01T11:31:16.497Z] 1a058d5342cc: Layer already exists [2021-12-01T11:31:16.763Z] 2e7335245d1f: Pushed [2021-12-01T11:31:16.763Z] 08693f9d30e4: Pushed [2021-12-01T11:31:16.763Z] 00e00a26635d: Pushed [2021-12-01T11:31:17.701Z] 7423334ef2cd: Pushed [2021-12-01T11:31:17.963Z] c95c2b68ca8fde09df7afb3969267a417f1b7138: digest: sha256:95031aad5fba69beaf3bbd2099b5c8f3a82e4c9a0566e0874ec5adec3c526632 size: 1366 [2021-12-01T11:31:18.051Z] $ docker rm -f 1114eecfaa3a9c83edd0bc54637fcb7f32f63e53d1dff9d9c161a88d9a9f8d53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:31:18.639Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:31:18.725Z] + docker inspect -f . ci-base-image-arm64 [2021-12-01T11:31:18.725Z] . [Pipeline] withDockerContainer [2021-12-01T11:31:18.934Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-12-01T11:31:18.935Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-01T11:31:18.935Z] 2e7335245d1f: Preparing [2021-12-01T11:31:18.935Z] 08693f9d30e4: Preparing [2021-12-01T11:31:18.935Z] 7423334ef2cd: Preparing [2021-12-01T11:31:18.935Z] 00e00a26635d: Preparing [2021-12-01T11:31:18.935Z] 1a058d5342cc: Preparing [2021-12-01T11:31:18.935Z] 1a058d5342cc: Layer already exists [2021-12-01T11:31:18.935Z] 2e7335245d1f: Layer already exists [2021-12-01T11:31:18.935Z] 7423334ef2cd: Layer already exists [2021-12-01T11:31:18.935Z] 08693f9d30e4: Layer already exists [2021-12-01T11:31:18.935Z] 00e00a26635d: Layer already exists [2021-12-01T11:31:18.935Z] latest: digest: sha256:95031aad5fba69beaf3bbd2099b5c8f3a82e4c9a0566e0874ec5adec3c526632 size: 1366 [2021-12-01T11:31:18.946Z] prd-ubuntu18.04-docker-arm64-4c-16g-56 does not seem to be running inside a container [2021-12-01T11:31:19.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/22 -v /w/workspace/device-mqtt-go/22:/w/workspace/device-mqtt-go/22:rw,z -v /w/workspace/device-mqtt-go/22@tmp:/w/workspace/device-mqtt-go/22@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 [2021-12-01T11:31:20.216Z] $ docker top c817c16b5655042f39b88b42e54bd7f49dda7602543d38a67313bb2f9a5fd98f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:31:20.786Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:31:21.077Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.1 [2021-12-01T11:31:21.077Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-01T11:31:21.077Z] 2e7335245d1f: Preparing [2021-12-01T11:31:21.077Z] 08693f9d30e4: Preparing [2021-12-01T11:31:21.077Z] 7423334ef2cd: Preparing [2021-12-01T11:31:21.077Z] 00e00a26635d: Preparing [2021-12-01T11:31:21.077Z] 1a058d5342cc: Preparing [2021-12-01T11:31:21.077Z] 00e00a26635d: Layer already exists [2021-12-01T11:31:21.077Z] 08693f9d30e4: Layer already exists [2021-12-01T11:31:21.077Z] 2e7335245d1f: Layer already exists [2021-12-01T11:31:21.077Z] 7423334ef2cd: Layer already exists [2021-12-01T11:31:21.077Z] 1a058d5342cc: Layer already exists [2021-12-01T11:31:21.077Z] 2.2.0-dev.1: digest: sha256:95031aad5fba69beaf3bbd2099b5c8f3a82e4c9a0566e0874ec5adec3c526632 size: 1366 [2021-12-01T11:31:21.079Z] + make test [2021-12-01T11:31:21.079Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:31:21.371Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:31:21.662Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1 [2021-12-01T11:31:21.662Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-01T11:31:21.662Z] 2e7335245d1f: Preparing [2021-12-01T11:31:21.662Z] 08693f9d30e4: Preparing [2021-12-01T11:31:21.662Z] 7423334ef2cd: Preparing [2021-12-01T11:31:21.662Z] 00e00a26635d: Preparing [2021-12-01T11:31:21.662Z] 1a058d5342cc: Preparing [2021-12-01T11:31:21.662Z] 08693f9d30e4: Layer already exists [2021-12-01T11:31:21.662Z] 2e7335245d1f: Layer already exists [2021-12-01T11:31:21.662Z] 00e00a26635d: Layer already exists [2021-12-01T11:31:21.662Z] 1a058d5342cc: Layer already exists [2021-12-01T11:31:21.662Z] 7423334ef2cd: Layer already exists [2021-12-01T11:31:21.662Z] c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1: digest: sha256:95031aad5fba69beaf3bbd2099b5c8f3a82e4c9a0566e0874ec5adec3c526632 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:31:21.965Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:31:22.265Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2021-12-01T11:31:22.265Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-01T11:31:22.265Z] 2e7335245d1f: Preparing [2021-12-01T11:31:22.265Z] 08693f9d30e4: Preparing [2021-12-01T11:31:22.265Z] 7423334ef2cd: Preparing [2021-12-01T11:31:22.265Z] 00e00a26635d: Preparing [2021-12-01T11:31:22.265Z] 1a058d5342cc: Preparing [2021-12-01T11:31:22.265Z] 1a058d5342cc: Layer already exists [2021-12-01T11:31:22.265Z] 7423334ef2cd: Layer already exists [2021-12-01T11:31:22.265Z] 08693f9d30e4: Layer already exists [2021-12-01T11:31:22.265Z] 2e7335245d1f: Layer already exists [2021-12-01T11:31:22.265Z] 00e00a26635d: Layer already exists [2021-12-01T11:31:22.265Z] main: digest: sha256:95031aad5fba69beaf3bbd2099b5c8f3a82e4c9a0566e0874ec5adec3c526632 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-01T11:31:22.297Z] ===================================================== [Pipeline] echo [2021-12-01T11:31:22.306Z] taggedImages: [2021-12-01T11:31:22.306Z] - nexus3.edgexfoundry.org:10004/device-mqtt:c95c2b68ca8fde09df7afb3969267a417f1b7138 [2021-12-01T11:31:22.306Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-12-01T11:31:22.306Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.1 [2021-12-01T11:31:22.306Z] - nexus3.edgexfoundry.org:10004/device-mqtt:c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1 [2021-12-01T11:31:22.306Z] - 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 [2021-12-01T11:31:22.511Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-12-01T11:31:22.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T11:31:22.792Z] [2021-12-01T11:31:22.792Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:31:23.098Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T11:31:23.098Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-01T11:31:23.098Z] b4d181a07f80: Pulling fs layer [2021-12-01T11:31:23.098Z] a1111a8f2ec3: Pulling fs layer [2021-12-01T11:31:23.098Z] ed53099fbce6: Pulling fs layer [2021-12-01T11:31:23.098Z] dc539afda2c1: Pulling fs layer [2021-12-01T11:31:23.098Z] 77bc0d833cb6: Pulling fs layer [2021-12-01T11:31:23.098Z] 9065ff56babe: Pulling fs layer [2021-12-01T11:31:23.098Z] d287ab97295c: Pulling fs layer [2021-12-01T11:31:23.098Z] dc539afda2c1: Waiting [2021-12-01T11:31:23.098Z] 77bc0d833cb6: Waiting [2021-12-01T11:31:23.098Z] 9065ff56babe: Waiting [2021-12-01T11:31:23.098Z] d287ab97295c: Waiting [2021-12-01T11:31:23.098Z] a1111a8f2ec3: Verifying Checksum [2021-12-01T11:31:23.098Z] a1111a8f2ec3: Download complete [2021-12-01T11:31:23.098Z] dc539afda2c1: Verifying Checksum [2021-12-01T11:31:23.098Z] dc539afda2c1: Download complete [2021-12-01T11:31:23.098Z] ed53099fbce6: Verifying Checksum [2021-12-01T11:31:23.098Z] ed53099fbce6: Download complete [2021-12-01T11:31:23.098Z] 9065ff56babe: Verifying Checksum [2021-12-01T11:31:23.098Z] 9065ff56babe: Download complete [2021-12-01T11:31:23.359Z] 77bc0d833cb6: Verifying Checksum [2021-12-01T11:31:23.359Z] 77bc0d833cb6: Download complete [2021-12-01T11:31:23.359Z] b4d181a07f80: Verifying Checksum [2021-12-01T11:31:23.359Z] b4d181a07f80: Download complete [2021-12-01T11:31:23.939Z] d287ab97295c: Verifying Checksum [2021-12-01T11:31:23.939Z] d287ab97295c: Download complete [2021-12-01T11:31:24.891Z] b4d181a07f80: Pull complete [2021-12-01T11:31:24.892Z] a1111a8f2ec3: Pull complete [2021-12-01T11:31:25.465Z] ed53099fbce6: Pull complete [2021-12-01T11:31:25.465Z] dc539afda2c1: Pull complete [2021-12-01T11:31:25.724Z] 77bc0d833cb6: Pull complete [2021-12-01T11:31:25.724Z] 9065ff56babe: Pull complete [2021-12-01T11:31:31.034Z] d287ab97295c: Pull complete [2021-12-01T11:31:31.034Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-01T11:31:31.034Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T11:31:31.034Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-01T11:31:31.096Z] prd-centos7-docker-4c-2g-57 does not seem to be running inside a container [2021-12-01T11:31:31.132Z] $ 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/22 -v /w/workspace/device-mqtt-go/22:/w/workspace/device-mqtt-go/22:rw,z -v /w/workspace/device-mqtt-go/22@tmp:/w/workspace/device-mqtt-go/22@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:latest cat [2021-12-01T11:31:33.594Z] $ docker top b23cb24b562f083e627601edb415987a834755a40785c8e25bb49651398a4912 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:31:34.042Z] ---> job-cost.sh [2021-12-01T11:31:34.042Z] lf-activate-venv: SKIPPING [2021-12-01T11:31:34.042Z] INFO: No Stack... [2021-12-01T11:31:34.302Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-01T11:31:34.564Z] INFO: Archiving Costs [Pipeline] sh [2021-12-01T11:31:34.859Z] + cut -d, -f6 [2021-12-01T11:31:34.859Z] + cat /w/workspace/device-mqtt-go/22/archives/cost.csv [Pipeline] lock [2021-12-01T11:31:34.885Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-22-stack-cost] [2021-12-01T11:31:34.892Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-22-stack-cost] did not exist. Created. [2021-12-01T11:31:34.892Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-01T11:31:35.209Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-01T11:31:35.242Z] Stashed 1 file(s) [Pipeline] } [2021-12-01T11:31:35.253Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-01T11:31:35.272Z] $ docker stop --time=1 b23cb24b562f083e627601edb415987a834755a40785c8e25bb49651398a4912 [2021-12-01T11:31:36.415Z] $ docker rm -f b23cb24b562f083e627601edb415987a834755a40785c8e25bb49651398a4912 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-01T11:32:19.058Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-12-01T11:32:19.058Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.054s coverage: 22.5% of statements [2021-12-01T11:32:19.058Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-12-01T11:32:19.058Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-01T11:32:45.875Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-01T11:32:45.875Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-01T11:32:45.875Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-01T11:32:45.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-01T11:32:45.910Z] $ docker stop --time=1 c817c16b5655042f39b88b42e54bd7f49dda7602543d38a67313bb2f9a5fd98f [2021-12-01T11:32:47.624Z] $ docker rm -f c817c16b5655042f39b88b42e54bd7f49dda7602543d38a67313bb2f9a5fd98f [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-01T11:32:48.393Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-01T11:32:48.422Z] Warning: overwriting stash ‘coverage-report’ [2021-12-01T11:32:48.851Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-01T11:32:49.294Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-01T11:32:49.620Z] + ls -al . [2021-12-01T11:32:49.620Z] total 180 [2021-12-01T11:32:49.620Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 1 11:32 . [2021-12-01T11:32:49.620Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 11:28 .. [2021-12-01T11:32:49.620Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 1 11:28 .dockerignore [2021-12-01T11:32:49.620Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 11:28 .git [2021-12-01T11:32:49.620Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 11:28 .github [2021-12-01T11:32:49.620Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 1 11:28 .gitignore [2021-12-01T11:32:49.620Z] -rw-rw-r-- 1 jenkins jenkins 7287 Dec 1 11:28 Attribution.txt [2021-12-01T11:32:49.620Z] -rw-rw-r-- 1 jenkins jenkins 7447 Dec 1 11:28 CHANGELOG.md [2021-12-01T11:32:49.620Z] -rw-rw-r-- 1 jenkins jenkins 1907 Dec 1 11:28 Dockerfile [2021-12-01T11:32:49.620Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 1 11:28 GOVERNANCE.md [2021-12-01T11:32:49.620Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 1 11:28 Jenkinsfile [2021-12-01T11:32:49.620Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 1 11:28 LICENSE [2021-12-01T11:32:49.620Z] -rw-rw-r-- 1 jenkins jenkins 1030 Dec 1 11:28 Makefile [2021-12-01T11:32:49.620Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 1 11:28 OWNERS.md [2021-12-01T11:32:49.620Z] -rw-rw-r-- 1 jenkins jenkins 2211 Dec 1 11:28 README.md [2021-12-01T11:32:49.620Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 1 11:27 VERSION [2021-12-01T11:32:49.620Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 11:28 bin [2021-12-01T11:32:49.620Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 11:28 cmd [2021-12-01T11:32:49.620Z] -rw-r--r-- 1 jenkins jenkins 17452 Dec 1 11:32 coverage.out [2021-12-01T11:32:49.620Z] -rw-rw-r-- 1 jenkins jenkins 404 Dec 1 11:28 go.mod [2021-12-01T11:32:49.620Z] -rw-rw-r-- 1 jenkins jenkins 49385 Dec 1 11:28 go.sum [2021-12-01T11:32:49.620Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 11:28 internal [2021-12-01T11:32:49.620Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 11:28 mock [2021-12-01T11:32:49.620Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 11:28 snap [2021-12-01T11:32:49.620Z] -rw-rw-r-- 1 jenkins jenkins 227 Dec 1 11:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:32:49.952Z] + 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=c95c2b68ca8fde09df7afb3969267a417f1b7138 --label arch=arm64 --label version=2.2.0-dev.1 . [2021-12-01T11:32:50.222Z] Sending build context to Docker daemon 2.962MB [2021-12-01T11:32:50.222Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-12-01T11:32:50.222Z] Step 2/23 : FROM ${BASE} AS builder [2021-12-01T11:32:50.222Z] ---> 59c73e04475f [2021-12-01T11:32:50.222Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-01T11:32:50.490Z] ---> Running in da17163c8ae0 [2021-12-01T11:32:50.762Z] Removing intermediate container da17163c8ae0 [2021-12-01T11:32:50.762Z] ---> 3739008c92fe [2021-12-01T11:32:50.762Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-12-01T11:32:50.762Z] ---> Running in 7cec7efd372a [2021-12-01T11:32:51.067Z] Removing intermediate container 7cec7efd372a [2021-12-01T11:32:51.067Z] ---> 97731d58e38b [2021-12-01T11:32:51.067Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-01T11:32:51.353Z] ---> Running in 807c4fa950c0 [2021-12-01T11:32:52.833Z] Removing intermediate container 807c4fa950c0 [2021-12-01T11:32:52.833Z] ---> 15f080eae7b0 [2021-12-01T11:32:52.833Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-01T11:32:53.133Z] ---> Running in e12f92bc0008 [2021-12-01T11:32:54.121Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-01T11:32:55.098Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-01T11:32:55.693Z] OK: 223 MiB in 56 packages [2021-12-01T11:32:56.681Z] Removing intermediate container e12f92bc0008 [2021-12-01T11:32:56.681Z] ---> 3397c03e5688 [2021-12-01T11:32:56.681Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-12-01T11:32:56.681Z] ---> Running in 31c81adca03d [2021-12-01T11:32:57.660Z] Removing intermediate container 31c81adca03d [2021-12-01T11:32:57.660Z] ---> 95232bb14ff0 [2021-12-01T11:32:57.660Z] Step 8/23 : COPY . . [2021-12-01T11:32:58.256Z] ---> 99a74b88379f [2021-12-01T11:32:58.256Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-01T11:32:58.533Z] ---> Running in c092dcb0e491 [2021-12-01T11:33:00.506Z] Removing intermediate container c092dcb0e491 [2021-12-01T11:33:00.506Z] ---> 99570601d042 [2021-12-01T11:33:00.506Z] Step 10/23 : ARG MAKE='make build' [2021-12-01T11:33:00.506Z] ---> Running in 97225533066f [2021-12-01T11:33:00.779Z] Removing intermediate container 97225533066f [2021-12-01T11:33:00.779Z] ---> 56ed991fa926 [2021-12-01T11:33:00.779Z] Step 11/23 : RUN $MAKE [2021-12-01T11:33:01.055Z] ---> Running in 736eab787f79 [2021-12-01T11:33:02.035Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.1" -o cmd/device-mqtt ./cmd [2021-12-01T11:33:41.052Z] Removing intermediate container 736eab787f79 [2021-12-01T11:33:41.052Z] ---> e616c02d7cd0 [2021-12-01T11:33:41.052Z] Step 12/23 : FROM alpine:3.14 [2021-12-01T11:33:41.052Z] 3.14: Pulling from library/alpine [2021-12-01T11:33:41.052Z] be307f383ecc: Pulling fs layer [2021-12-01T11:33:41.052Z] be307f383ecc: Download complete [2021-12-01T11:33:41.052Z] be307f383ecc: Pull complete [2021-12-01T11:33:41.052Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-01T11:33:41.052Z] Status: Downloaded newer image for alpine:3.14 [2021-12-01T11:33:41.052Z] ---> 5b8b7b635229 [2021-12-01T11:33:41.052Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-12-01T11:33:41.052Z] ---> Running in 9099b2310902 [2021-12-01T11:33:41.052Z] Removing intermediate container 9099b2310902 [2021-12-01T11:33:41.052Z] ---> 383fe2e67b3e [2021-12-01T11:33:41.052Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-01T11:33:41.052Z] ---> Running in f1617055efc0 [2021-12-01T11:33:41.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-01T11:33:41.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-01T11:33:41.052Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-01T11:33:41.052Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-01T11:33:41.052Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-01T11:33:41.052Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-01T11:33:41.052Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-01T11:33:41.052Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-01T11:33:41.052Z] Executing busybox-1.33.1-r6.trigger [2021-12-01T11:33:41.324Z] OK: 8 MiB in 20 packages [2021-12-01T11:33:42.299Z] Removing intermediate container f1617055efc0 [2021-12-01T11:33:42.299Z] ---> d4611a379e78 [2021-12-01T11:33:42.299Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-12-01T11:33:43.276Z] ---> 9578e5b39002 [2021-12-01T11:33:43.277Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-12-01T11:33:43.871Z] ---> 78d1114267ac [2021-12-01T11:33:43.871Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-12-01T11:33:44.463Z] ---> 6b5dcbb7a472 [2021-12-01T11:33:44.463Z] Step 18/23 : EXPOSE 59982 [2021-12-01T11:33:44.463Z] ---> Running in 0df0b184fdfe [2021-12-01T11:33:44.735Z] Removing intermediate container 0df0b184fdfe [2021-12-01T11:33:44.735Z] ---> 6045c1c154cc [2021-12-01T11:33:44.735Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-12-01T11:33:44.735Z] ---> Running in f0eced3c43ca [2021-12-01T11:33:45.007Z] Removing intermediate container f0eced3c43ca [2021-12-01T11:33:45.007Z] ---> 8bb8a140cafa [2021-12-01T11:33:45.007Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-12-01T11:33:45.278Z] ---> Running in f46ea42d1ef2 [2021-12-01T11:33:45.550Z] Removing intermediate container f46ea42d1ef2 [2021-12-01T11:33:45.550Z] ---> d3e8b07e0c83 [2021-12-01T11:33:45.550Z] Step 21/23 : LABEL arch=arm64 [2021-12-01T11:33:45.550Z] ---> Running in 03fdb9ae0173 [2021-12-01T11:33:45.822Z] Removing intermediate container 03fdb9ae0173 [2021-12-01T11:33:45.822Z] ---> 866ca9951689 [2021-12-01T11:33:45.822Z] Step 22/23 : LABEL git_sha=c95c2b68ca8fde09df7afb3969267a417f1b7138 [2021-12-01T11:33:46.098Z] ---> Running in e165858a9f54 [2021-12-01T11:33:46.370Z] Removing intermediate container e165858a9f54 [2021-12-01T11:33:46.370Z] ---> c9ad69a19858 [2021-12-01T11:33:46.370Z] Step 23/23 : LABEL version=2.2.0-dev.1 [2021-12-01T11:33:46.643Z] ---> Running in 8ab539f1a6bc [2021-12-01T11:33:46.916Z] Removing intermediate container 8ab539f1a6bc [2021-12-01T11:33:46.916Z] ---> e5c3a76f4776 [2021-12-01T11:33:46.916Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-01T11:33:46.916Z] Successfully built e5c3a76f4776 [2021-12-01T11:33:46.916Z] 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 [2021-12-01T11:33:47.149Z] provisioning config files... [2021-12-01T11:33:47.169Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/22@tmp/config6135753771085714773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:33:47.518Z] ---> docker-login.sh [2021-12-01T11:33:47.518Z] nexus3.edgexfoundry.org:10001 [2021-12-01T11:33:47.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:33:47.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:33:47.791Z] Configure a credential helper to remove this warning. See [2021-12-01T11:33:47.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:33:47.791Z] [2021-12-01T11:33:47.791Z] Login Succeeded [2021-12-01T11:33:47.791Z] nexus3.edgexfoundry.org:10002 [2021-12-01T11:33:48.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:33:48.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:33:48.337Z] Configure a credential helper to remove this warning. See [2021-12-01T11:33:48.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:33:48.337Z] [2021-12-01T11:33:48.337Z] Login Succeeded [2021-12-01T11:33:48.337Z] nexus3.edgexfoundry.org:10003 [2021-12-01T11:33:48.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:33:48.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:33:48.610Z] Configure a credential helper to remove this warning. See [2021-12-01T11:33:48.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:33:48.610Z] [2021-12-01T11:33:48.610Z] Login Succeeded [2021-12-01T11:33:48.884Z] nexus3.edgexfoundry.org:10004 [2021-12-01T11:33:49.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:33:49.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:33:49.155Z] Configure a credential helper to remove this warning. See [2021-12-01T11:33:49.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:33:49.155Z] [2021-12-01T11:33:49.155Z] Login Succeeded [2021-12-01T11:33:49.155Z] docker.io [2021-12-01T11:33:49.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-01T11:33:50.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-01T11:33:50.019Z] Configure a credential helper to remove this warning. See [2021-12-01T11:33:50.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-01T11:33:50.019Z] [2021-12-01T11:33:50.019Z] Login Succeeded [2021-12-01T11:33:50.019Z] ---> docker-login.sh ends [Pipeline] } [2021-12-01T11:33:50.035Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-01T11:33:50.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-01T11:33:50.086Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-12-01T11:33:50.086Z] c95c2b68ca8fde09df7afb3969267a417f1b7138 [2021-12-01T11:33:50.086Z] latest [2021-12-01T11:33:50.086Z] 2.2.0-dev.1 [2021-12-01T11:33:50.086Z] c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1 [2021-12-01T11:33:50.086Z] main [2021-12-01T11:33:50.086Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:33:50.436Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c95c2b68ca8fde09df7afb3969267a417f1b7138 [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:33:50.771Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c95c2b68ca8fde09df7afb3969267a417f1b7138 [2021-12-01T11:33:50.772Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-01T11:33:50.772Z] 93a9aee4172c: Preparing [2021-12-01T11:33:50.772Z] 4d1041019a6f: Preparing [2021-12-01T11:33:50.772Z] e4b83f1f23e3: Preparing [2021-12-01T11:33:50.772Z] b4b6fa143719: Preparing [2021-12-01T11:33:50.772Z] 62170e181a92: Preparing [2021-12-01T11:33:50.772Z] 62170e181a92: Layer already exists [2021-12-01T11:33:51.047Z] 93a9aee4172c: Pushed [2021-12-01T11:33:51.047Z] 4d1041019a6f: Pushed [2021-12-01T11:33:51.641Z] b4b6fa143719: Pushed [2021-12-01T11:33:54.247Z] e4b83f1f23e3: Pushed [2021-12-01T11:33:54.247Z] c95c2b68ca8fde09df7afb3969267a417f1b7138: digest: sha256:db354106401184137087837d9ff634a3d43fc5f3327da1b6a16da64712c0f09a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:33:54.587Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:33:54.921Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-12-01T11:33:54.921Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-01T11:33:54.921Z] 93a9aee4172c: Preparing [2021-12-01T11:33:54.921Z] 4d1041019a6f: Preparing [2021-12-01T11:33:54.921Z] e4b83f1f23e3: Preparing [2021-12-01T11:33:54.921Z] b4b6fa143719: Preparing [2021-12-01T11:33:54.921Z] 62170e181a92: Preparing [2021-12-01T11:33:54.921Z] 4d1041019a6f: Layer already exists [2021-12-01T11:33:54.921Z] 93a9aee4172c: Layer already exists [2021-12-01T11:33:54.921Z] e4b83f1f23e3: Layer already exists [2021-12-01T11:33:54.921Z] 62170e181a92: Layer already exists [2021-12-01T11:33:54.921Z] b4b6fa143719: Layer already exists [2021-12-01T11:33:54.921Z] latest: digest: sha256:db354106401184137087837d9ff634a3d43fc5f3327da1b6a16da64712c0f09a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:33:55.529Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:33:55.868Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.1 [2021-12-01T11:33:55.868Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-01T11:33:55.868Z] 93a9aee4172c: Preparing [2021-12-01T11:33:55.868Z] 4d1041019a6f: Preparing [2021-12-01T11:33:55.868Z] e4b83f1f23e3: Preparing [2021-12-01T11:33:55.868Z] b4b6fa143719: Preparing [2021-12-01T11:33:55.868Z] 62170e181a92: Preparing [2021-12-01T11:33:55.868Z] 4d1041019a6f: Layer already exists [2021-12-01T11:33:55.868Z] 62170e181a92: Layer already exists [2021-12-01T11:33:55.868Z] b4b6fa143719: Layer already exists [2021-12-01T11:33:55.868Z] 93a9aee4172c: Layer already exists [2021-12-01T11:33:55.868Z] e4b83f1f23e3: Layer already exists [2021-12-01T11:33:55.868Z] 2.2.0-dev.1: digest: sha256:db354106401184137087837d9ff634a3d43fc5f3327da1b6a16da64712c0f09a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:33:56.486Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:33:56.821Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1 [2021-12-01T11:33:56.821Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-01T11:33:56.821Z] 93a9aee4172c: Preparing [2021-12-01T11:33:56.821Z] 4d1041019a6f: Preparing [2021-12-01T11:33:56.821Z] e4b83f1f23e3: Preparing [2021-12-01T11:33:56.821Z] b4b6fa143719: Preparing [2021-12-01T11:33:56.821Z] 62170e181a92: Preparing [2021-12-01T11:33:56.821Z] 93a9aee4172c: Layer already exists [2021-12-01T11:33:56.821Z] 4d1041019a6f: Layer already exists [2021-12-01T11:33:56.821Z] e4b83f1f23e3: Layer already exists [2021-12-01T11:33:56.821Z] 62170e181a92: Layer already exists [2021-12-01T11:33:56.821Z] b4b6fa143719: Layer already exists [2021-12-01T11:33:57.095Z] c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1: digest: sha256:db354106401184137087837d9ff634a3d43fc5f3327da1b6a16da64712c0f09a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:33:57.440Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:33:57.784Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2021-12-01T11:33:57.784Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-01T11:33:57.784Z] 93a9aee4172c: Preparing [2021-12-01T11:33:57.784Z] 4d1041019a6f: Preparing [2021-12-01T11:33:57.784Z] e4b83f1f23e3: Preparing [2021-12-01T11:33:57.784Z] b4b6fa143719: Preparing [2021-12-01T11:33:57.784Z] 62170e181a92: Preparing [2021-12-01T11:33:57.784Z] b4b6fa143719: Layer already exists [2021-12-01T11:33:57.784Z] 4d1041019a6f: Layer already exists [2021-12-01T11:33:57.784Z] e4b83f1f23e3: Layer already exists [2021-12-01T11:33:57.784Z] 93a9aee4172c: Layer already exists [2021-12-01T11:33:57.784Z] 62170e181a92: Layer already exists [2021-12-01T11:33:58.057Z] main: digest: sha256:db354106401184137087837d9ff634a3d43fc5f3327da1b6a16da64712c0f09a size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-01T11:33:58.110Z] ===================================================== [Pipeline] echo [2021-12-01T11:33:58.119Z] taggedImages: [2021-12-01T11:33:58.119Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c95c2b68ca8fde09df7afb3969267a417f1b7138 [2021-12-01T11:33:58.119Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-12-01T11:33:58.119Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.1 [2021-12-01T11:33:58.119Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1 [2021-12-01T11:33:58.119Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:33:58.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-01T11:33:58.553Z] [2021-12-01T11:33:58.553Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:33:58.892Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-01T11:33:59.163Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-01T11:33:59.163Z] 448f6bf000e3: Pulling fs layer [2021-12-01T11:33:59.163Z] f757da607395: Pulling fs layer [2021-12-01T11:33:59.163Z] 05883995daec: Pulling fs layer [2021-12-01T11:33:59.163Z] 8603b9c90790: Pulling fs layer [2021-12-01T11:33:59.163Z] 1560dd03e051: Pulling fs layer [2021-12-01T11:33:59.163Z] 27f5ce0e4adf: Pulling fs layer [2021-12-01T11:33:59.163Z] c2d8d7efcc4b: Pulling fs layer [2021-12-01T11:33:59.163Z] 8603b9c90790: Waiting [2021-12-01T11:33:59.163Z] 1560dd03e051: Waiting [2021-12-01T11:33:59.163Z] 27f5ce0e4adf: Waiting [2021-12-01T11:33:59.163Z] c2d8d7efcc4b: Waiting [2021-12-01T11:33:59.163Z] f757da607395: Verifying Checksum [2021-12-01T11:33:59.163Z] f757da607395: Download complete [2021-12-01T11:33:59.163Z] 8603b9c90790: Verifying Checksum [2021-12-01T11:33:59.163Z] 8603b9c90790: Download complete [2021-12-01T11:33:59.163Z] 1560dd03e051: Verifying Checksum [2021-12-01T11:33:59.163Z] 1560dd03e051: Download complete [2021-12-01T11:33:59.163Z] 27f5ce0e4adf: Verifying Checksum [2021-12-01T11:33:59.163Z] 27f5ce0e4adf: Download complete [2021-12-01T11:33:59.163Z] 05883995daec: Verifying Checksum [2021-12-01T11:33:59.163Z] 05883995daec: Download complete [2021-12-01T11:33:59.754Z] 448f6bf000e3: Download complete [2021-12-01T11:34:02.370Z] c2d8d7efcc4b: Verifying Checksum [2021-12-01T11:34:02.370Z] c2d8d7efcc4b: Download complete [2021-12-01T11:34:03.345Z] 448f6bf000e3: Pull complete [2021-12-01T11:34:03.939Z] f757da607395: Pull complete [2021-12-01T11:34:05.397Z] 05883995daec: Pull complete [2021-12-01T11:34:05.669Z] 8603b9c90790: Pull complete [2021-12-01T11:34:06.648Z] 1560dd03e051: Pull complete [2021-12-01T11:34:06.919Z] 27f5ce0e4adf: Pull complete [2021-12-01T11:34:22.087Z] c2d8d7efcc4b: Pull complete [2021-12-01T11:34:22.087Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-01T11:34:22.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-01T11:34:22.087Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-01T11:34:22.324Z] prd-ubuntu18.04-docker-arm64-4c-16g-56 does not seem to be running inside a container [2021-12-01T11:34:22.409Z] $ 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/22 -v /w/workspace/device-mqtt-go/22:/w/workspace/device-mqtt-go/22:rw,z -v /w/workspace/device-mqtt-go/22@tmp:/w/workspace/device-mqtt-go/22@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 [2021-12-01T11:34:25.015Z] $ docker top d4fabb430031e07850caa7eeb21e2306a98208b55a89942cbffd464145a6ddff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:34:25.921Z] ---> job-cost.sh [2021-12-01T11:34:25.921Z] lf-activate-venv: SKIPPING [2021-12-01T11:34:25.921Z] INFO: No Stack... [2021-12-01T11:34:26.192Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-01T11:34:26.462Z] INFO: Archiving Costs [Pipeline] sh [2021-12-01T11:34:27.122Z] + cat /w/workspace/device-mqtt-go/22/archives/cost.csv [2021-12-01T11:34:27.122Z] + cut -d, -f6 [Pipeline] lock [2021-12-01T11:34:27.186Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-22-stack-cost] [2021-12-01T11:34:27.194Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-22-stack-cost] did not exist. Created. [2021-12-01T11:34:27.194Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-01T11:34:27.865Z] /w/workspace/device-mqtt-go/22@tmp/durable-fc22a727/script.sh: 1: /w/workspace/device-mqtt-go/22@tmp/durable-fc22a727/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-01T11:34:28.530Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-01T11:34:28.557Z] Warning: overwriting stash ‘stack-cost’ [2021-12-01T11:34:28.597Z] Stashed 1 file(s) [Pipeline] } [2021-12-01T11:34:28.606Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-01T11:34:28.628Z] $ docker stop --time=1 d4fabb430031e07850caa7eeb21e2306a98208b55a89942cbffd464145a6ddff [2021-12-01T11:34:30.083Z] $ docker rm -f d4fabb430031e07850caa7eeb21e2306a98208b55a89942cbffd464145a6ddff [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 [2021-12-01T11:34:30.898Z] provisioning config files... [2021-12-01T11:34:30.907Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config496826949245160387tmp [Pipeline] { [Pipeline] sh [2021-12-01T11:34:31.218Z] + set +x [2021-12-01T11:34:31.218Z] + curl -s https://codecov.io/bash [2021-12-01T11:34:31.218Z] + bash -s -- [2021-12-01T11:34:31.218Z] [2021-12-01T11:34:31.218Z] _____ _ [2021-12-01T11:34:31.218Z] / ____| | | [2021-12-01T11:34:31.218Z] | | ___ __| | ___ ___ _____ __ [2021-12-01T11:34:31.218Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-12-01T11:34:31.218Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-12-01T11:34:31.218Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-12-01T11:34:31.218Z] Bash-1.0.6 [2021-12-01T11:34:31.218Z] [2021-12-01T11:34:31.218Z] [2021-12-01T11:34:31.218Z] ==> git version 2.24.4 found [2021-12-01T11:34:31.218Z] ==> 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 [2021-12-01T11:34:31.218Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-12-01T11:34:31.218Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-12-01T11:34:31.218Z] ==> Jenkins CI detected. [2021-12-01T11:34:31.218Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-01T11:34:31.218Z] project root: . [2021-12-01T11:34:31.218Z] --> token set from env [2021-12-01T11:34:31.218Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-12-01T11:34:31.218Z] ==> Running gcov in . (disable via -X gcov) [2021-12-01T11:34:31.218Z] ==> Python coveragepy not found [2021-12-01T11:34:31.218Z] ==> Searching for coverage reports in: [2021-12-01T11:34:31.218Z] + . [2021-12-01T11:34:31.480Z] -> Found 1 reports [2021-12-01T11:34:31.480Z] ==> Detecting git/mercurial file structure [2021-12-01T11:34:31.480Z] ==> Reading reports [2021-12-01T11:34:31.480Z] + ./coverage.out bytes=17452 [2021-12-01T11:34:31.480Z] ==> Appending adjustments [2021-12-01T11:34:31.480Z] https://docs.codecov.io/docs/fixing-reports [2021-12-01T11:34:31.480Z] + Found adjustments [2021-12-01T11:34:31.480Z] ==> Gzipping contents [2021-12-01T11:34:31.480Z] 4.0K /tmp/codecov.V6Gn9V.gz [2021-12-01T11:34:31.480Z] ==> Uploading reports [2021-12-01T11:34:31.480Z] url: https://codecov.io [2021-12-01T11:34:31.480Z] query: branch=main&commit=c95c2b68ca8fde09df7afb3969267a417f1b7138&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-01T11:34:31.480Z] -> Pinging Codecov [2021-12-01T11:34:31.480Z] 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=c95c2b68ca8fde09df7afb3969267a417f1b7138&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-01T11:34:31.742Z] -> Uploading to [2021-12-01T11:34:31.742Z] https://storage.googleapis.com/codecov/v4/raw/2021-12-01/7D719EC7BBE17E464838252E33014C33/c95c2b68ca8fde09df7afb3969267a417f1b7138/906ce861-52d3-4bbb-bb31-38505aa66be2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211201T113431Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8692964283414bd7b164e9199056762afff8dabf39e439e701ba90afcbe49818 [2021-12-01T11:34:31.742Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-01T11:34:31.742Z] Dload Upload Total Spent Left Speed [2021-12-01T11:34:32.004Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3218 0 0 100 3218 0 11562 --:--:-- --:--:-- --:--:-- 11575 [2021-12-01T11:34:32.004Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/c95c2b68ca8fde09df7afb3969267a417f1b7138 [Pipeline] } [2021-12-01T11:34:32.011Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-12-01T11:34:32.321Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-12-01T11:34:32.331Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:34:32.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-01T11:34:32.670Z] [2021-12-01T11:34:32.670Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:34:32.989Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-01T11:34:32.989Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-12-01T11:34:32.989Z] 188c0c94c7c5: Pulling fs layer [2021-12-01T11:34:32.989Z] 0ef7d3d256c8: Pulling fs layer [2021-12-01T11:34:32.989Z] de9db76c5a1d: Pulling fs layer [2021-12-01T11:34:32.989Z] 0eba1c9be4d2: Pulling fs layer [2021-12-01T11:34:32.989Z] 0d57e429df01: Pulling fs layer [2021-12-01T11:34:32.989Z] 4e4be7b47b0d: Pulling fs layer [2021-12-01T11:34:32.989Z] e1f770b5df2f: Pulling fs layer [2021-12-01T11:34:32.989Z] 85a0685a4137: Pulling fs layer [2021-12-01T11:34:32.989Z] 0eba1c9be4d2: Waiting [2021-12-01T11:34:32.989Z] 0d57e429df01: Waiting [2021-12-01T11:34:32.989Z] 4e4be7b47b0d: Waiting [2021-12-01T11:34:32.989Z] e1f770b5df2f: Waiting [2021-12-01T11:34:32.989Z] 85a0685a4137: Waiting [2021-12-01T11:34:32.989Z] de9db76c5a1d: Verifying Checksum [2021-12-01T11:34:32.989Z] de9db76c5a1d: Download complete [2021-12-01T11:34:32.989Z] 0ef7d3d256c8: Download complete [2021-12-01T11:34:32.989Z] 0d57e429df01: Verifying Checksum [2021-12-01T11:34:32.989Z] 0d57e429df01: Download complete [2021-12-01T11:34:32.989Z] 4e4be7b47b0d: Verifying Checksum [2021-12-01T11:34:32.989Z] 4e4be7b47b0d: Download complete [2021-12-01T11:34:32.989Z] 188c0c94c7c5: Verifying Checksum [2021-12-01T11:34:32.989Z] 188c0c94c7c5: Download complete [2021-12-01T11:34:33.253Z] e1f770b5df2f: Verifying Checksum [2021-12-01T11:34:33.253Z] e1f770b5df2f: Download complete [2021-12-01T11:34:33.534Z] 0eba1c9be4d2: Verifying Checksum [2021-12-01T11:34:33.534Z] 0eba1c9be4d2: Download complete [2021-12-01T11:34:33.534Z] 188c0c94c7c5: Pull complete [2021-12-01T11:34:33.798Z] 0ef7d3d256c8: Pull complete [2021-12-01T11:34:33.798Z] 85a0685a4137: Verifying Checksum [2021-12-01T11:34:33.798Z] 85a0685a4137: Download complete [2021-12-01T11:34:33.798Z] de9db76c5a1d: Pull complete [2021-12-01T11:34:38.061Z] 0eba1c9be4d2: Pull complete [2021-12-01T11:34:38.061Z] 0d57e429df01: Pull complete [2021-12-01T11:34:38.061Z] 4e4be7b47b0d: Pull complete [2021-12-01T11:34:38.061Z] e1f770b5df2f: Pull complete [2021-12-01T11:34:42.276Z] 85a0685a4137: Pull complete [2021-12-01T11:34:42.276Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-12-01T11:34:42.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-01T11:34:42.276Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-12-01T11:34:42.344Z] prd-centos7-docker-4c-2g-55 does not seem to be running inside a container [2021-12-01T11:34:42.378Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-12-01T11:34:44.600Z] $ docker top 991e779b167ef40c6fd0ae9acc9313d3528109357e03a4977faf9cbf5fbb6ad2 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-12-01T11:34:44.669Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-12-01T11:34:44.959Z] + set -o pipefail [2021-12-01T11:34:44.959Z] + snyk monitor '--org=edgex-jenkins' [2021-12-01T11:34:50.277Z] [2021-12-01T11:34:50.277Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2021-12-01T11:34:50.277Z] [2021-12-01T11:34:50.277Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/9a3dcc61-bdd2-4d71-9227-930455c67b2c [2021-12-01T11:34:50.277Z] [2021-12-01T11:34:50.277Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-12-01T11:34:50.277Z] [2021-12-01T11:34:50.277Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-12-01T11:34:50.277Z] [2021-12-01T11:34:50.277Z] [Pipeline] } [2021-12-01T11:34:50.291Z] $ docker stop --time=1 991e779b167ef40c6fd0ae9acc9313d3528109357e03a4977faf9cbf5fbb6ad2 [2021-12-01T11:34:52.017Z] $ docker rm -f 991e779b167ef40c6fd0ae9acc9313d3528109357e03a4977faf9cbf5fbb6ad2 [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 [2021-12-01T11:34:52.864Z] + git log --format=format:%s -1 c95c2b68ca8fde09df7afb3969267a417f1b7138 [Pipeline] sh [2021-12-01T11:34:53.160Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-01T11:34:53.160Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:34:53.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-01T11:34:53.455Z] . [Pipeline] withDockerContainer [2021-12-01T11:34:53.514Z] prd-centos7-docker-4c-2g-55 does not seem to be running inside a container [2021-12-01T11:34:53.563Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-01T11:34:53.924Z] $ docker top e539f36153943725a8c8ea1c39aed5165c557ef357d64ad0273d73be2f9649f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-01T11:34:54.014Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-01T11:34:54.015Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-01T11:34:54.147Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-01T11:34:54.152Z] $ docker exec e539f36153943725a8c8ea1c39aed5165c557ef357d64ad0273d73be2f9649f2 ssh-agent [2021-12-01T11:34:54.266Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmcpHBL/agent.14 [2021-12-01T11:34:54.266Z] SSH_AGENT_PID=20 [2021-12-01T11:34:54.272Z] Running ssh-add (command line suppressed) [2021-12-01T11:34:54.368Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8047873305050084833.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8047873305050084833.key) [2021-12-01T11:34:54.380Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-01T11:34:54.684Z] + git semver tag [2021-12-01T11:34:54.684Z] # -> Open(): unable to determine branch for HEAD [2021-12-01T11:34:54.684Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-12-01T11:34:54.684Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-01T11:34:54.684Z] # $SEMVER_REMOTE_NAME = origin [2021-12-01T11:34:54.684Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-01T11:34:54.684Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-01T11:34:54.684Z] # $SEMVER_BRANCH = main [2021-12-01T11:34:54.684Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-12-01T11:34:54.684Z] # c95c2b68ca8fde09df7afb3969267a417f1b7138 HEAD [2021-12-01T11:34:54.684Z] # -> Force: false [2021-12-01T11:34:54.684Z] # bc2acd3d545e8ac7b8b3119d8dc2560d007c9bbd refs/tags/v2.2.0-dev.1 [Pipeline] } [2021-12-01T11:34:54.694Z] $ docker exec --env ******** --env ******** e539f36153943725a8c8ea1c39aed5165c557ef357d64ad0273d73be2f9649f2 ssh-agent -k [2021-12-01T11:34:54.791Z] unset SSH_AUTH_SOCK; [2021-12-01T11:34:54.791Z] unset SSH_AGENT_PID; [2021-12-01T11:34:54.791Z] echo Agent pid 20 killed; [2021-12-01T11:34:54.804Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-01T11:34:55.126Z] + git semver [Pipeline] } [2021-12-01T11:34:55.140Z] $ docker stop --time=1 e539f36153943725a8c8ea1c39aed5165c557ef357d64ad0273d73be2f9649f2 [2021-12-01T11:34:56.324Z] $ docker rm -f e539f36153943725a8c8ea1c39aed5165c557ef357d64ad0273d73be2f9649f2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:34:56.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-01T11:34:56.726Z] [2021-12-01T11:34:56.726Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:34:57.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-01T11:34:57.038Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-12-01T11:34:57.038Z] ab5ef0e58194: Pulling fs layer [2021-12-01T11:34:57.038Z] 9712f1f96733: Pulling fs layer [2021-12-01T11:34:57.038Z] 63f879dbbcfc: Pulling fs layer [2021-12-01T11:34:57.038Z] 0d9ebad4ef96: Pulling fs layer [2021-12-01T11:34:57.038Z] e9a5061849ea: Pulling fs layer [2021-12-01T11:34:57.038Z] d747dcd14b5f: Pulling fs layer [2021-12-01T11:34:57.038Z] 2de7ff778b66: Pulling fs layer [2021-12-01T11:34:57.038Z] e9a5061849ea: Waiting [2021-12-01T11:34:57.038Z] d747dcd14b5f: Waiting [2021-12-01T11:34:57.038Z] 2de7ff778b66: Waiting [2021-12-01T11:34:57.038Z] 0d9ebad4ef96: Waiting [2021-12-01T11:34:57.038Z] 9712f1f96733: Verifying Checksum [2021-12-01T11:34:57.038Z] 9712f1f96733: Download complete [2021-12-01T11:34:57.302Z] 63f879dbbcfc: Verifying Checksum [2021-12-01T11:34:57.302Z] 63f879dbbcfc: Download complete [2021-12-01T11:34:57.569Z] ab5ef0e58194: Verifying Checksum [2021-12-01T11:34:57.569Z] ab5ef0e58194: Download complete [2021-12-01T11:34:57.569Z] e9a5061849ea: Verifying Checksum [2021-12-01T11:34:57.569Z] e9a5061849ea: Download complete [2021-12-01T11:34:57.569Z] 0d9ebad4ef96: Verifying Checksum [2021-12-01T11:34:57.569Z] 0d9ebad4ef96: Download complete [2021-12-01T11:34:57.569Z] d747dcd14b5f: Verifying Checksum [2021-12-01T11:34:57.569Z] d747dcd14b5f: Download complete [2021-12-01T11:34:57.833Z] 2de7ff778b66: Verifying Checksum [2021-12-01T11:34:57.833Z] 2de7ff778b66: Download complete [2021-12-01T11:35:00.423Z] ab5ef0e58194: Pull complete [2021-12-01T11:35:00.423Z] 9712f1f96733: Pull complete [2021-12-01T11:35:01.404Z] 63f879dbbcfc: Pull complete [2021-12-01T11:35:05.654Z] 0d9ebad4ef96: Pull complete [2021-12-01T11:35:05.654Z] e9a5061849ea: Pull complete [2021-12-01T11:35:05.654Z] d747dcd14b5f: Pull complete [2021-12-01T11:35:07.048Z] 2de7ff778b66: Pull complete [2021-12-01T11:35:07.048Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-12-01T11:35:07.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-01T11:35:07.048Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-12-01T11:35:07.117Z] prd-centos7-docker-4c-2g-55 does not seem to be running inside a container [2021-12-01T11:35:07.151Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-12-01T11:35:10.461Z] $ docker top e726640bbc3ef230a5a7baef2337c7614f85bc328595c8ab4cdb8690d93794c8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-12-01T11:35:10.543Z] provisioning config files... [2021-12-01T11:35:10.553Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3775808797289013533tmp [2021-12-01T11:35:10.566Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1512208810532133594tmp [2021-12-01T11:35:10.576Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2824637617207886646tmp [Pipeline] { [Pipeline] echo [2021-12-01T11:35:10.594Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:35:10.890Z] ---> sigul-configuration.sh [2021-12-01T11:35:10.890Z] gpg: directory `/root/.gnupg' created [2021-12-01T11:35:10.890Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-12-01T11:35:10.890Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-12-01T11:35:10.890Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-12-01T11:35:10.890Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-12-01T11:35:10.890Z] gpg: CAST5 encrypted data [2021-12-01T11:35:10.890Z] gpg: encrypted with 1 passphrase [2021-12-01T11:35:10.890Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-12-01T11:35:11.186Z] + mkdir /home/jenkins [2021-12-01T11:35:11.186Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-12-01T11:35:11.485Z] + 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 [2021-12-01T11:35:11.494Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:35:11.783Z] ---> sigul-install.sh [2021-12-01T11:35:11.783Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-12-01T11:35:12.076Z] + git tag --list [2021-12-01T11:35:12.076Z] 0.7.1 [2021-12-01T11:35:12.076Z] v1.0.0 [2021-12-01T11:35:12.076Z] v1.1.0 [2021-12-01T11:35:12.076Z] v1.1.1 [2021-12-01T11:35:12.076Z] v1.2.2 [2021-12-01T11:35:12.076Z] v1.3.0 [2021-12-01T11:35:12.076Z] v1.3.1 [2021-12-01T11:35:12.076Z] v2.0.0 [2021-12-01T11:35:12.076Z] v2.0.1-dev.1 [2021-12-01T11:35:12.076Z] v2.0.1-dev.10 [2021-12-01T11:35:12.076Z] v2.0.1-dev.11 [2021-12-01T11:35:12.076Z] v2.0.1-dev.12 [2021-12-01T11:35:12.076Z] v2.0.1-dev.13 [2021-12-01T11:35:12.076Z] v2.0.1-dev.14 [2021-12-01T11:35:12.076Z] v2.0.1-dev.15 [2021-12-01T11:35:12.076Z] v2.0.1-dev.16 [2021-12-01T11:35:12.076Z] v2.0.1-dev.17 [2021-12-01T11:35:12.076Z] v2.0.1-dev.2 [2021-12-01T11:35:12.076Z] v2.0.1-dev.3 [2021-12-01T11:35:12.076Z] v2.0.1-dev.4 [2021-12-01T11:35:12.076Z] v2.0.1-dev.5 [2021-12-01T11:35:12.076Z] v2.0.1-dev.6 [2021-12-01T11:35:12.076Z] v2.0.1-dev.7 [2021-12-01T11:35:12.076Z] v2.0.1-dev.8 [2021-12-01T11:35:12.076Z] v2.0.1-dev.9 [2021-12-01T11:35:12.076Z] v2.1.0 [2021-12-01T11:35:12.076Z] v2.2.0-dev.1 [Pipeline] sh [2021-12-01T11:35:12.368Z] + lftools sign git-tag v2.2.0-dev.1 [2021-12-01T11:35:12.942Z] Signing Git tag with Sigul... [2021-12-01T11:35:12.943Z] Signing v2.2.0-dev.1 [Pipeline] echo [2021-12-01T11:35:14.338Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:35:14.635Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-12-01T11:35:14.644Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-12-01T11:35:14.663Z] $ docker stop --time=1 e726640bbc3ef230a5a7baef2337c7614f85bc328595c8ab4cdb8690d93794c8 [2021-12-01T11:35:15.958Z] $ docker rm -f e726640bbc3ef230a5a7baef2337c7614f85bc328595c8ab4cdb8690d93794c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2021-12-01T11:35:16.499Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-01T11:35:16.499Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:35:16.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-01T11:35:16.792Z] . [Pipeline] withDockerContainer [2021-12-01T11:35:16.848Z] prd-centos7-docker-4c-2g-55 does not seem to be running inside a container [2021-12-01T11:35:16.878Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-01T11:35:17.493Z] $ docker top 59c3c7c73864b88bd9f365312b0580f393f9e808c4ad1483b992fa21bd7852ec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-01T11:35:17.577Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-01T11:35:17.577Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-01T11:35:17.680Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-01T11:35:17.683Z] $ docker exec 59c3c7c73864b88bd9f365312b0580f393f9e808c4ad1483b992fa21bd7852ec ssh-agent [2021-12-01T11:35:17.768Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmMBdef/agent.15 [2021-12-01T11:35:17.768Z] SSH_AGENT_PID=21 [2021-12-01T11:35:17.775Z] Running ssh-add (command line suppressed) [2021-12-01T11:35:17.871Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8931621030360509610.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8931621030360509610.key) [2021-12-01T11:35:17.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-01T11:35:18.187Z] + git semver bump pre [2021-12-01T11:35:18.187Z] # -> Open(): unable to determine branch for HEAD [2021-12-01T11:35:18.187Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-12-01T11:35:18.187Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-01T11:35:18.187Z] # $SEMVER_REMOTE_NAME = origin [2021-12-01T11:35:18.187Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-01T11:35:18.187Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-01T11:35:18.187Z] # $SEMVER_BRANCH = main [2021-12-01T11:35:18.187Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-12-01T11:35:18.187Z] 2.2.0-dev.2 [Pipeline] } [2021-12-01T11:35:18.201Z] $ docker exec --env ******** --env ******** 59c3c7c73864b88bd9f365312b0580f393f9e808c4ad1483b992fa21bd7852ec ssh-agent -k [2021-12-01T11:35:18.282Z] unset SSH_AUTH_SOCK; [2021-12-01T11:35:18.282Z] unset SSH_AGENT_PID; [2021-12-01T11:35:18.282Z] echo Agent pid 21 killed; [2021-12-01T11:35:18.289Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-01T11:35:18.604Z] + git semver [Pipeline] } [2021-12-01T11:35:18.621Z] $ docker stop --time=1 59c3c7c73864b88bd9f365312b0580f393f9e808c4ad1483b992fa21bd7852ec [2021-12-01T11:35:19.844Z] $ docker rm -f 59c3c7c73864b88bd9f365312b0580f393f9e808c4ad1483b992fa21bd7852ec [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-01T11:35:20.196Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-01T11:35:20.196Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:35:20.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-01T11:35:20.489Z] . [Pipeline] withDockerContainer [2021-12-01T11:35:20.544Z] prd-centos7-docker-4c-2g-55 does not seem to be running inside a container [2021-12-01T11:35:20.576Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-01T11:35:20.967Z] $ docker top 296ad0f9a040b48b1dc5ba406cd30a2225a99938ad33a638dbc91cfc1229237e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-01T11:35:21.063Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-01T11:35:21.063Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-01T11:35:21.152Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-01T11:35:21.155Z] $ docker exec 296ad0f9a040b48b1dc5ba406cd30a2225a99938ad33a638dbc91cfc1229237e ssh-agent [2021-12-01T11:35:21.249Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMApIGE/agent.13 [2021-12-01T11:35:21.249Z] SSH_AGENT_PID=21 [2021-12-01T11:35:21.254Z] Running ssh-add (command line suppressed) [2021-12-01T11:35:21.345Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2626336948201435515.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2626336948201435515.key) [2021-12-01T11:35:21.359Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-01T11:35:21.648Z] + git semver push [2021-12-01T11:35:21.648Z] # -> Open(): unable to determine branch for HEAD [2021-12-01T11:35:21.648Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-12-01T11:35:21.648Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-01T11:35:21.648Z] # $SEMVER_REMOTE_NAME = origin [2021-12-01T11:35:21.648Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-01T11:35:21.648Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-01T11:35:21.648Z] # $SEMVER_BRANCH = main [2021-12-01T11:35:21.648Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-12-01T11:35:23.036Z] $ docker exec --env ******** --env ******** 296ad0f9a040b48b1dc5ba406cd30a2225a99938ad33a638dbc91cfc1229237e ssh-agent -k [2021-12-01T11:35:23.116Z] unset SSH_AUTH_SOCK; [2021-12-01T11:35:23.116Z] unset SSH_AGENT_PID; [2021-12-01T11:35:23.116Z] echo Agent pid 21 killed; [2021-12-01T11:35:23.128Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-01T11:35:23.433Z] + git semver [Pipeline] } [2021-12-01T11:35:23.448Z] $ docker stop --time=1 296ad0f9a040b48b1dc5ba406cd30a2225a99938ad33a638dbc91cfc1229237e [2021-12-01T11:35:24.640Z] $ docker rm -f 296ad0f9a040b48b1dc5ba406cd30a2225a99938ad33a638dbc91cfc1229237e [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 [2021-12-01T11:35:25.606Z] + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:35:25.910Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:35:26.469Z] ---> package-listing.sh [2021-12-01T11:35:26.470Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-01T11:35:26.470Z] ++ facter osfamily [2021-12-01T11:35:26.731Z] + OS_FAMILY=redhat [2021-12-01T11:35:26.731Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-01T11:35:26.731Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-01T11:35:26.731Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-01T11:35:26.731Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-01T11:35:26.731Z] + PACKAGES=/tmp/packages_start.txt [2021-12-01T11:35:26.731Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-12-01T11:35:26.731Z] + PACKAGES=/tmp/packages_end.txt [2021-12-01T11:35:26.731Z] + case "${OS_FAMILY}" in [2021-12-01T11:35:26.731Z] + rpm -qa [2021-12-01T11:35:26.731Z] + sort [2021-12-01T11:35:27.303Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-01T11:35:27.303Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-01T11:35:27.303Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-01T11:35:27.303Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-12-01T11:35:27.303Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2021-12-01T11:35:27.303Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2021-12-01T11:35:27.315Z] 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 [2021-12-01T11:35:27.590Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:35:28.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T11:35:28.143Z] [2021-12-01T11:35:28.143Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-01T11:35:28.443Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T11:35:28.443Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-01T11:35:28.443Z] b4d181a07f80: Pulling fs layer [2021-12-01T11:35:28.443Z] a1111a8f2ec3: Pulling fs layer [2021-12-01T11:35:28.443Z] ed53099fbce6: Pulling fs layer [2021-12-01T11:35:28.443Z] dc539afda2c1: Pulling fs layer [2021-12-01T11:35:28.443Z] 77bc0d833cb6: Pulling fs layer [2021-12-01T11:35:28.443Z] 9065ff56babe: Pulling fs layer [2021-12-01T11:35:28.443Z] d287ab97295c: Pulling fs layer [2021-12-01T11:35:28.443Z] dc539afda2c1: Waiting [2021-12-01T11:35:28.443Z] 77bc0d833cb6: Waiting [2021-12-01T11:35:28.443Z] 9065ff56babe: Waiting [2021-12-01T11:35:28.443Z] d287ab97295c: Waiting [2021-12-01T11:35:28.443Z] a1111a8f2ec3: Verifying Checksum [2021-12-01T11:35:28.443Z] a1111a8f2ec3: Download complete [2021-12-01T11:35:28.443Z] dc539afda2c1: Verifying Checksum [2021-12-01T11:35:28.443Z] dc539afda2c1: Download complete [2021-12-01T11:35:28.443Z] ed53099fbce6: Verifying Checksum [2021-12-01T11:35:28.443Z] ed53099fbce6: Download complete [2021-12-01T11:35:28.443Z] 9065ff56babe: Verifying Checksum [2021-12-01T11:35:28.443Z] 9065ff56babe: Download complete [2021-12-01T11:35:28.703Z] 77bc0d833cb6: Verifying Checksum [2021-12-01T11:35:28.703Z] 77bc0d833cb6: Download complete [2021-12-01T11:35:28.703Z] b4d181a07f80: Verifying Checksum [2021-12-01T11:35:28.703Z] b4d181a07f80: Download complete [2021-12-01T11:35:29.274Z] d287ab97295c: Verifying Checksum [2021-12-01T11:35:29.274Z] d287ab97295c: Download complete [2021-12-01T11:35:30.214Z] b4d181a07f80: Pull complete [2021-12-01T11:35:30.214Z] a1111a8f2ec3: Pull complete [2021-12-01T11:35:30.802Z] ed53099fbce6: Pull complete [2021-12-01T11:35:31.070Z] dc539afda2c1: Pull complete [2021-12-01T11:35:31.333Z] 77bc0d833cb6: Pull complete [2021-12-01T11:35:31.333Z] 9065ff56babe: Pull complete [2021-12-01T11:35:36.648Z] d287ab97295c: Pull complete [2021-12-01T11:35:36.649Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-01T11:35:36.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-01T11:35:36.649Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-01T11:35:36.721Z] prd-centos7-docker-4c-2g-55 does not seem to be running inside a container [2021-12-01T11:35:36.763Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-01T11:35:39.468Z] $ docker top 387dff7450bc124964afd4c2b28b40137bc52340948a12fcedc652c2cd038c7c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-01T11:35:39.837Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-01T11:35:40.133Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-01T11:35:40.423Z] + ls /var/log/sa-host [2021-12-01T11:35:40.423Z] + sadf -c /var/log/sa-host/sa01 [2021-12-01T11:35:40.423Z] file_magic: OK [2021-12-01T11:35:40.423Z] HZ: Using current value: 100 [2021-12-01T11:35:40.423Z] file_header: OK [2021-12-01T11:35:40.423Z] 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 [2021-12-01T11:35:40.423Z] Statistics: [2021-12-01T11:35:40.423Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-01T11:35:40.423Z] File successfully converted to sysstat format version 12.0.3 [2021-12-01T11:35:40.423Z] + sadf -c /var/log/sa-host/sa17 [2021-12-01T11:35:40.423Z] file_magic: OK [2021-12-01T11:35:40.423Z] HZ: Using current value: 100 [2021-12-01T11:35:40.423Z] file_header: OK [2021-12-01T11:35:40.423Z] 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 [2021-12-01T11:35:40.423Z] Statistics: [2021-12-01T11:35:40.423Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-01T11:35:40.423Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-01T11:35:40.661Z] provisioning config files... [2021-12-01T11:35:40.672Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1261600708644976852tmp [Pipeline] { [Pipeline] echo [2021-12-01T11:35:40.687Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:35:40.969Z] ---> create-netrc.sh [Pipeline] } [2021-12-01T11:35:40.977Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:35:41.311Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-01T11:35:41.320Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:35:41.610Z] ---> sudo-logs.sh [2021-12-01T11:35:41.610Z] Archiving 'sudo' log.. [2021-12-01T11:35:41.610Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-55.novalocal: Name or service not known [2021-12-01T11:35:41.610Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-55.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-01T11:35:41.633Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:35:41.940Z] ---> job-cost.sh [2021-12-01T11:35:41.940Z] lf-activate-venv: SKIPPING [2021-12-01T11:35:41.940Z] DEBUG: total: 0.10999999940395355 [2021-12-01T11:35:41.940Z] INFO: Retrieving Stack Cost... [2021-12-01T11:35:42.508Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-01T11:35:42.770Z] INFO: Archiving Costs [Pipeline] echo [2021-12-01T11:35:42.783Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-01T11:35:43.071Z] ---> logs-deploy.sh [2021-12-01T11:35:43.072Z] lf-activate-venv: SKIPPING [2021-12-01T11:35:43.072Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/22 [2021-12-01T11:35:43.072Z] INFO: archiving workspace using pattern(s): [2021-12-01T11:35:43.643Z] Archives upload complete. [2021-12-01T11:35:43.904Z] INFO: archiving logs to Nexus