Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cb2e8553b38ac866c025eedbd79f7c0275d0a362 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-ssh14187406966625866331.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-ssh14096460785401170252.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-ssh14409925665832332277.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-ssh12704328356914982013.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-ssh1747202957581615480.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-36 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-ssh7605198599234072602.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 cb2e8553b38ac866c025eedbd79f7c0275d0a362 (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 cb2e8553b38ac866c025eedbd79f7c0275d0a362 # timeout=10 Commit message: "Merge pull request #329 from lenny-intel/no-win-zmq" > git rev-list --no-walk c95c2b68ca8fde09df7afb3969267a417f1b7138 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-02T06:15:57.567Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-02T06:15:57.628Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-02T06:15:57.644Z] ========================================================= [2021-12-02T06:15:57.644Z] EdgeX Global Pipelines Version Info [2021-12-02T06:15:57.644Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:15:58.811Z] ------------------- [2021-12-02T06:15:58.811Z] stable info: [2021-12-02T06:15:58.811Z] ------------------- [2021-12-02T06:15:58.811Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-02T06:15:58.811Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T06:15:58.811Z] Message: update stable to v1.0.217 [2021-12-02T06:15:59.385Z] ------------------- [2021-12-02T06:15:59.385Z] experimental info: [2021-12-02T06:15:59.385Z] ------------------- [2021-12-02T06:15:59.385Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-02T06:15:59.385Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T06:15:59.385Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-02T06:15:59.546Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-12-02T06:15:59.559Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-12-02T06:15:59.578Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-02T06:15:59.595Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-02T06:15:59.615Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-02T06:15:59.631Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-02T06:15:59.650Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-02T06:15:59.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-12-02T06:15:59.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-02T06:15:59.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-02T06:15:59.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-02T06:15:59.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-12-02T06:15:59.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-02T06:15:59.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-02T06:15:59.805Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T06:15:59.822Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T06:15:59.835Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T06:15:59.848Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T06:15:59.860Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-02T06:15:59.872Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-12-02T06:15:59.885Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-12-02T06:15:59.896Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-12-02T06:15:59.908Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-02T06:15:59.918Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-02T06:15:59.934Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-02T06:15:59.951Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-02T06:15:59.968Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-12-02T06:15:59.990Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-12-02T06:16:00.006Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-12-02T06:16:00.019Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb2e8553b38ac866c025eedbd79f7c0275d0a362 [Pipeline] echo [2021-12-02T06:16:00.030Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb2e855 [Pipeline] echo [2021-12-02T06:16:00.039Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T06:16:00.077Z] provisioning config files... [2021-12-02T06:16:00.090Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5179384304700563737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:16:00.401Z] ---> docker-login.sh [2021-12-02T06:16:00.401Z] nexus3.edgexfoundry.org:10001 [2021-12-02T06:16:00.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:16:00.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:16:00.663Z] Configure a credential helper to remove this warning. See [2021-12-02T06:16:00.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:16:00.663Z] [2021-12-02T06:16:00.663Z] Login Succeeded [2021-12-02T06:16:00.663Z] nexus3.edgexfoundry.org:10002 [2021-12-02T06:16:00.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:16:00.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:16:00.930Z] Configure a credential helper to remove this warning. See [2021-12-02T06:16:00.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:16:00.930Z] [2021-12-02T06:16:00.930Z] Login Succeeded [2021-12-02T06:16:00.930Z] nexus3.edgexfoundry.org:10003 [2021-12-02T06:16:00.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:16:00.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:16:00.930Z] Configure a credential helper to remove this warning. See [2021-12-02T06:16:00.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:16:00.930Z] [2021-12-02T06:16:00.930Z] Login Succeeded [2021-12-02T06:16:00.930Z] nexus3.edgexfoundry.org:10004 [2021-12-02T06:16:00.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:16:00.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:16:00.930Z] Configure a credential helper to remove this warning. See [2021-12-02T06:16:00.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:16:00.930Z] [2021-12-02T06:16:00.930Z] Login Succeeded [2021-12-02T06:16:00.930Z] docker.io [2021-12-02T06:16:01.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:16:01.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:16:01.461Z] Configure a credential helper to remove this warning. See [2021-12-02T06:16:01.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:16:01.461Z] [2021-12-02T06:16:01.461Z] Login Succeeded [2021-12-02T06:16:01.461Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T06:16:01.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-02T06:16:01.937Z] + git rev-list -1 --merges cb2e8553b38ac866c025eedbd79f7c0275d0a362~1..cb2e8553b38ac866c025eedbd79f7c0275d0a362 [Pipeline] echo [2021-12-02T06:16:01.969Z] -----------> git rev-list -1 --merges cb2e8553b38ac866c025eedbd79f7c0275d0a362~1..cb2e8553b38ac866c025eedbd79f7c0275d0a362 cb2e8553b38ac866c025eedbd79f7c0275d0a362 [2021-12-02T06:16:01.969Z] cb2e8553b38ac866c025eedbd79f7c0275d0a362 [false] [Pipeline] sh [2021-12-02T06:16:02.265Z] + git log --format=format:%s -1 cb2e8553b38ac866c025eedbd79f7c0275d0a362 [Pipeline] echo [2021-12-02T06:16:02.281Z] ========================================================= [2021-12-02T06:16:02.281Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-02T06:16:02.281Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T06:16:02.617Z] + git log --format=format:%s -1 cb2e8553b38ac866c025eedbd79f7c0275d0a362 [Pipeline] echo [2021-12-02T06:16:02.630Z] [semverPrep] GIT_COMMIT: cb2e8553b38ac866c025eedbd79f7c0275d0a362, Commit Message: Merge pull request #329 from lenny-intel/no-win-zmq [Pipeline] echo [2021-12-02T06:16:02.641Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-02T06:16:03.065Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T06:16:03.065Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-02T06:16:03.065Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-02T06:16:03.065Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-02T06:16:03.065Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-02T06:16:03.065Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-02T06:16:03.065Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:16:03.486Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T06:16:03.486Z] [2021-12-02T06:16:03.486Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:16:03.795Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T06:16:03.795Z] latest: Pulling from edgex-devops/git-semver [2021-12-02T06:16:03.795Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T06:16:03.795Z] 3e5f54012d9b: Pulling fs layer [2021-12-02T06:16:03.795Z] 4c7163046ea9: Pulling fs layer [2021-12-02T06:16:03.795Z] 0c2d73faf560: Pulling fs layer [2021-12-02T06:16:03.795Z] 0c2d73faf560: Waiting [2021-12-02T06:16:03.795Z] 3e5f54012d9b: Verifying Checksum [2021-12-02T06:16:03.795Z] 3e5f54012d9b: Download complete [2021-12-02T06:16:03.795Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T06:16:03.795Z] a0d0a0d46f8b: Download complete [2021-12-02T06:16:03.795Z] 0c2d73faf560: Verifying Checksum [2021-12-02T06:16:03.795Z] 0c2d73faf560: Download complete [2021-12-02T06:16:03.795Z] 4c7163046ea9: Verifying Checksum [2021-12-02T06:16:03.795Z] 4c7163046ea9: Download complete [2021-12-02T06:16:04.061Z] a0d0a0d46f8b: Pull complete [2021-12-02T06:16:04.061Z] 3e5f54012d9b: Pull complete [2021-12-02T06:16:04.326Z] 4c7163046ea9: Pull complete [2021-12-02T06:16:04.586Z] 0c2d73faf560: Pull complete [2021-12-02T06:16:04.586Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-02T06:16:04.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T06:16:04.586Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-02T06:16:04.671Z] prd-centos7-docker-4c-2g-36 does not seem to be running inside a container [2021-12-02T06:16:04.713Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T06:16:05.461Z] $ docker top caa720e97826e8acc3d3cea592edc0dd60c6ca07282634d3f369eaa7065ca2ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T06:16:05.575Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T06:16:05.575Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T06:16:05.690Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T06:16:05.694Z] $ docker exec caa720e97826e8acc3d3cea592edc0dd60c6ca07282634d3f369eaa7065ca2ae ssh-agent [2021-12-02T06:16:05.802Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEfpDnh/agent.14 [2021-12-02T06:16:05.802Z] SSH_AGENT_PID=20 [2021-12-02T06:16:05.810Z] Running ssh-add (command line suppressed) [2021-12-02T06:16:05.910Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1833105363731773068.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1833105363731773068.key) [2021-12-02T06:16:05.925Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T06:16:06.224Z] + git tag --points-at HEAD [Pipeline] } [2021-12-02T06:16:06.246Z] $ docker exec --env ******** --env ******** caa720e97826e8acc3d3cea592edc0dd60c6ca07282634d3f369eaa7065ca2ae ssh-agent -k [2021-12-02T06:16:06.347Z] unset SSH_AUTH_SOCK; [2021-12-02T06:16:06.348Z] unset SSH_AGENT_PID; [2021-12-02T06:16:06.348Z] echo Agent pid 20 killed; [2021-12-02T06:16:06.361Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-02T06:16:06.389Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T06:16:06.389Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T06:16:06.504Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T06:16:06.507Z] $ docker exec caa720e97826e8acc3d3cea592edc0dd60c6ca07282634d3f369eaa7065ca2ae ssh-agent [2021-12-02T06:16:06.609Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBAhoga/agent.52 [2021-12-02T06:16:06.609Z] SSH_AGENT_PID=59 [2021-12-02T06:16:06.615Z] Running ssh-add (command line suppressed) [2021-12-02T06:16:06.713Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8122182832327497231.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8122182832327497231.key) [2021-12-02T06:16:06.726Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T06:16:07.037Z] + git semver init [2021-12-02T06:16:07.038Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T06:16:07.038Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-12-02T06:16:07.038Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-02T06:16:07.038Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T06:16:07.038Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T06:16:07.038Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T06:16:07.038Z] # $SEMVER_BRANCH = main [2021-12-02T06:16:07.038Z] # $SEMVER_TEMP = /tmp/semver-681722571 [2021-12-02T06:16:07.038Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-12-02T06:16:07.986Z] # '/tmp/semver-681722571' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2021-12-02T06:16:07.986Z] # -> Force: false [2021-12-02T06:16:07.986Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-12-02T06:16:07.998Z] $ docker exec --env ******** --env ******** caa720e97826e8acc3d3cea592edc0dd60c6ca07282634d3f369eaa7065ca2ae ssh-agent -k [2021-12-02T06:16:08.099Z] unset SSH_AUTH_SOCK; [2021-12-02T06:16:08.100Z] unset SSH_AGENT_PID; [2021-12-02T06:16:08.100Z] echo Agent pid 59 killed; [2021-12-02T06:16:08.106Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T06:16:08.411Z] + git semver [Pipeline] } [2021-12-02T06:16:08.426Z] $ docker stop --time=1 caa720e97826e8acc3d3cea592edc0dd60c6ca07282634d3f369eaa7065ca2ae [2021-12-02T06:16:09.691Z] $ docker rm -f caa720e97826e8acc3d3cea592edc0dd60c6ca07282634d3f369eaa7065ca2ae [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T06:16:10.041Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-02T06:16:10.288Z] Stashed 1 file(s) [Pipeline] echo [2021-12-02T06:16:10.292Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.2 [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-02T06:16:25.558Z] Still waiting to schedule task [2021-12-02T06:16:25.558Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-36’ [2021-12-02T06:16:25.560Z] Still waiting to schedule task [2021-12-02T06:16:25.560Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-12-02T06:17:46.556Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-37 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-12-02T06:17:46.569Z] Running in /w/workspace/device-mqtt-go/23 [Pipeline] { [Pipeline] checkout [2021-12-02T06:17:46.749Z] Selected Git installation does not exist. Using Default [2021-12-02T06:17:46.749Z] The recommended git tool is: NONE [2021-12-02T06:17:51.397Z] using credential edgex-jenkins-ssh [2021-12-02T06:17:51.415Z] Cloning the remote Git repository [2021-12-02T06:17:51.463Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-12-02T06:17:51.536Z] > git init /w/workspace/device-mqtt-go/23 # timeout=10 [2021-12-02T06:17:51.612Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-12-02T06:17:51.612Z] > git --version # timeout=10 [2021-12-02T06:17:51.627Z] > git --version # 'git version 2.17.1' [2021-12-02T06:17:51.628Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T06:17:51.794Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T06:17:52.980Z] Avoid second fetch [2021-12-02T06:17:52.981Z] Checking out Revision cb2e8553b38ac866c025eedbd79f7c0275d0a362 (main) [2021-12-02T06:17:52.934Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-12-02T06:17:52.953Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T06:17:52.995Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T06:17:53.011Z] > git checkout -f cb2e8553b38ac866c025eedbd79f7c0275d0a362 # timeout=10 [2021-12-02T06:17:57.188Z] Commit message: "Merge pull request #329 from lenny-intel/no-win-zmq" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T06:17:57.981Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-02T06:17:57.981Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T06:17:57.981Z] Dload Upload Total Spent Left Speed [2021-12-02T06:17:57.981Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 70802 0 --:--:-- --:--:-- --:--:-- 70802 [Pipeline] sh [2021-12-02T06:17:58.493Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-02T06:17:58.837Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-02T06:17:58.838Z] + sudo tee /etc/docker/daemon.new [2021-12-02T06:17:58.838Z] { [2021-12-02T06:17:58.838Z] "registry-mirrors": [ [2021-12-02T06:17:58.838Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-02T06:17:58.838Z] ], [2021-12-02T06:17:58.838Z] "bip": "10.250.0.254/24", [2021-12-02T06:17:58.838Z] "hosts": [ [2021-12-02T06:17:58.838Z] "tcp://0.0.0.0:5555", [2021-12-02T06:17:58.838Z] "unix:///var/run/docker.sock" [2021-12-02T06:17:58.838Z] ], [2021-12-02T06:17:58.838Z] "mtu": 1458, [2021-12-02T06:17:58.838Z] "selinux-enabled": true, [2021-12-02T06:17:58.838Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-02T06:17:58.838Z] } [Pipeline] sh [2021-12-02T06:17:59.182Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-02T06:17:59.522Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T06:18:17.911Z] provisioning config files... [2021-12-02T06:18:17.933Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/23@tmp/config1847905431244493821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:18:18.294Z] ---> docker-login.sh [2021-12-02T06:18:18.294Z] nexus3.edgexfoundry.org:10001 [2021-12-02T06:18:18.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:18:18.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:18:18.906Z] Configure a credential helper to remove this warning. See [2021-12-02T06:18:18.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:18:18.906Z] [2021-12-02T06:18:18.906Z] Login Succeeded [2021-12-02T06:18:18.906Z] nexus3.edgexfoundry.org:10002 [2021-12-02T06:18:19.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:18:19.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:18:19.505Z] Configure a credential helper to remove this warning. See [2021-12-02T06:18:19.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:18:19.505Z] [2021-12-02T06:18:19.505Z] Login Succeeded [2021-12-02T06:18:19.505Z] nexus3.edgexfoundry.org:10003 [2021-12-02T06:18:19.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:18:20.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:18:20.050Z] Configure a credential helper to remove this warning. See [2021-12-02T06:18:20.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:18:20.050Z] [2021-12-02T06:18:20.050Z] Login Succeeded [2021-12-02T06:18:20.050Z] nexus3.edgexfoundry.org:10004 [2021-12-02T06:18:20.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:18:20.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:18:20.325Z] Configure a credential helper to remove this warning. See [2021-12-02T06:18:20.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:18:20.325Z] [2021-12-02T06:18:20.325Z] Login Succeeded [2021-12-02T06:18:20.325Z] docker.io [2021-12-02T06:18:20.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:18:21.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:18:21.190Z] Configure a credential helper to remove this warning. See [2021-12-02T06:18:21.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:18:21.190Z] [2021-12-02T06:18:21.190Z] Login Succeeded [2021-12-02T06:18:21.190Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T06:18:21.207Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T06:18:21.744Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T06:18:21.757Z] ========================================================= [2021-12-02T06:18:21.757Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-02T06:18:21.757Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:18:22.101Z] + 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-02T06:18:22.372Z] Sending build context to Docker daemon 2.948MB [2021-12-02T06:18:22.372Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T06:18:22.372Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T06:18:22.644Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-02T06:18:22.644Z] 552d1f2373af: Pulling fs layer [2021-12-02T06:18:22.644Z] ea3f2d53f512: Pulling fs layer [2021-12-02T06:18:22.644Z] 9e70ebbbe112: Pulling fs layer [2021-12-02T06:18:22.644Z] 7a9cfe048b4a: Pulling fs layer [2021-12-02T06:18:22.644Z] 72dc09318566: Pulling fs layer [2021-12-02T06:18:22.644Z] f4f7b4309257: Pulling fs layer [2021-12-02T06:18:22.644Z] 0ac9a79272e3: Pulling fs layer [2021-12-02T06:18:22.644Z] b78e95d17946: Pulling fs layer [2021-12-02T06:18:22.644Z] 0ac9a79272e3: Waiting [2021-12-02T06:18:22.644Z] b78e95d17946: Waiting [2021-12-02T06:18:22.644Z] f4f7b4309257: Waiting [2021-12-02T06:18:22.644Z] 7a9cfe048b4a: Waiting [2021-12-02T06:18:22.644Z] 72dc09318566: Waiting [2021-12-02T06:18:22.644Z] 9e70ebbbe112: Verifying Checksum [2021-12-02T06:18:22.644Z] 9e70ebbbe112: Download complete [2021-12-02T06:18:22.644Z] ea3f2d53f512: Verifying Checksum [2021-12-02T06:18:22.644Z] ea3f2d53f512: Download complete [2021-12-02T06:18:22.644Z] 72dc09318566: Verifying Checksum [2021-12-02T06:18:22.644Z] 72dc09318566: Download complete [2021-12-02T06:18:22.644Z] f4f7b4309257: Verifying Checksum [2021-12-02T06:18:22.644Z] f4f7b4309257: Download complete [2021-12-02T06:18:22.644Z] 552d1f2373af: Verifying Checksum [2021-12-02T06:18:22.644Z] 552d1f2373af: Download complete [2021-12-02T06:18:22.644Z] 0ac9a79272e3: Verifying Checksum [2021-12-02T06:18:22.644Z] 0ac9a79272e3: Download complete [2021-12-02T06:18:23.249Z] 552d1f2373af: Pull complete [2021-12-02T06:18:23.859Z] ea3f2d53f512: Pull complete [2021-12-02T06:18:24.458Z] 9e70ebbbe112: Pull complete [2021-12-02T06:18:24.732Z] b78e95d17946: Verifying Checksum [2021-12-02T06:18:24.732Z] b78e95d17946: Download complete [2021-12-02T06:18:25.007Z] 7a9cfe048b4a: Verifying Checksum [2021-12-02T06:18:25.007Z] 7a9cfe048b4a: Download complete [2021-12-02T06:18:25.030Z] Running on prd-centos7-docker-4c-2g-38 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-12-02T06:18:25.043Z] Running in /w/workspace/device-mqtt-go/23 [Pipeline] { [Pipeline] checkout [2021-12-02T06:18:25.135Z] Selected Git installation does not exist. Using Default [2021-12-02T06:18:25.135Z] The recommended git tool is: NONE [2021-12-02T06:18:26.686Z] using credential edgex-jenkins-ssh [2021-12-02T06:18:26.698Z] Cloning the remote Git repository [2021-12-02T06:18:26.886Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-12-02T06:18:26.920Z] > git init /w/workspace/device-mqtt-go/23 # timeout=10 [2021-12-02T06:18:26.946Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-12-02T06:18:26.946Z] > git --version # timeout=10 [2021-12-02T06:18:26.955Z] > git --version # 'git version 2.24.4' [2021-12-02T06:18:26.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T06:18:26.990Z] [INFO] Currently running in a labeled security context [2021-12-02T06:18:26.990Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T06:18:26.990Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/23@tmp/jenkins-gitclient-ssh2058143290337529069.key [2021-12-02T06:18:27.054Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T06:18:27.612Z] Avoid second fetch [2021-12-02T06:18:27.612Z] Checking out Revision cb2e8553b38ac866c025eedbd79f7c0275d0a362 (main) [2021-12-02T06:18:27.761Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-12-02T06:18:27.768Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T06:18:27.786Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T06:18:27.797Z] > git checkout -f cb2e8553b38ac866c025eedbd79f7c0275d0a362 # timeout=10 [2021-12-02T06:18:31.079Z] Commit message: "Merge pull request #329 from lenny-intel/no-win-zmq" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T06:18:31.388Z] provisioning config files... [2021-12-02T06:18:31.404Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/23@tmp/config3283708633832832262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:18:31.808Z] ---> docker-login.sh [2021-12-02T06:18:31.808Z] nexus3.edgexfoundry.org:10001 [2021-12-02T06:18:31.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:18:31.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:18:31.808Z] Configure a credential helper to remove this warning. See [2021-12-02T06:18:31.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:18:31.808Z] [2021-12-02T06:18:31.808Z] Login Succeeded [2021-12-02T06:18:31.808Z] nexus3.edgexfoundry.org:10002 [2021-12-02T06:18:32.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:18:32.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:18:32.068Z] Configure a credential helper to remove this warning. See [2021-12-02T06:18:32.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:18:32.068Z] [2021-12-02T06:18:32.068Z] Login Succeeded [2021-12-02T06:18:32.068Z] nexus3.edgexfoundry.org:10003 [2021-12-02T06:18:32.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:18:32.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:18:32.068Z] Configure a credential helper to remove this warning. See [2021-12-02T06:18:32.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:18:32.068Z] [2021-12-02T06:18:32.068Z] Login Succeeded [2021-12-02T06:18:32.068Z] nexus3.edgexfoundry.org:10004 [2021-12-02T06:18:32.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:18:32.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:18:32.330Z] Configure a credential helper to remove this warning. See [2021-12-02T06:18:32.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:18:32.330Z] [2021-12-02T06:18:32.330Z] Login Succeeded [2021-12-02T06:18:32.330Z] docker.io [2021-12-02T06:18:32.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:18:32.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:18:32.591Z] Configure a credential helper to remove this warning. See [2021-12-02T06:18:32.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:18:32.591Z] [2021-12-02T06:18:32.591Z] Login Succeeded [2021-12-02T06:18:32.591Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T06:18:32.667Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T06:18:32.810Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T06:18:32.820Z] ========================================================= [2021-12-02T06:18:32.820Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-02T06:18:32.820Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:18:33.124Z] + 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-02T06:18:33.124Z] Sending build context to Docker daemon 2.949MB [2021-12-02T06:18:33.124Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T06:18:33.124Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T06:18:33.394Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-02T06:18:33.394Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T06:18:33.394Z] 31adcdaf11c8: Pulling fs layer [2021-12-02T06:18:33.394Z] b8b176561691: Pulling fs layer [2021-12-02T06:18:33.394Z] 4527c011a84f: Pulling fs layer [2021-12-02T06:18:33.394Z] 5d74067f8e1e: Pulling fs layer [2021-12-02T06:18:33.394Z] e0aca202a116: Pulling fs layer [2021-12-02T06:18:33.394Z] 3a43be97a3b4: Pulling fs layer [2021-12-02T06:18:33.394Z] 34cad66bf833: Pulling fs layer [2021-12-02T06:18:33.394Z] b4e3c513aaa6: Pulling fs layer [2021-12-02T06:18:33.394Z] 4527c011a84f: Waiting [2021-12-02T06:18:33.394Z] 5d74067f8e1e: Waiting [2021-12-02T06:18:33.394Z] e0aca202a116: Waiting [2021-12-02T06:18:33.394Z] 3a43be97a3b4: Waiting [2021-12-02T06:18:33.394Z] 34cad66bf833: Waiting [2021-12-02T06:18:33.394Z] b4e3c513aaa6: Waiting [2021-12-02T06:18:33.394Z] b8b176561691: Verifying Checksum [2021-12-02T06:18:33.394Z] b8b176561691: Download complete [2021-12-02T06:18:33.394Z] 31adcdaf11c8: Download complete [2021-12-02T06:18:33.394Z] 5d74067f8e1e: Verifying Checksum [2021-12-02T06:18:33.394Z] 5d74067f8e1e: Download complete [2021-12-02T06:18:33.394Z] e0aca202a116: Verifying Checksum [2021-12-02T06:18:33.394Z] e0aca202a116: Download complete [2021-12-02T06:18:33.394Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T06:18:33.394Z] a0d0a0d46f8b: Download complete [2021-12-02T06:18:33.394Z] 3a43be97a3b4: Verifying Checksum [2021-12-02T06:18:33.394Z] 3a43be97a3b4: Download complete [2021-12-02T06:18:33.394Z] 34cad66bf833: Verifying Checksum [2021-12-02T06:18:33.394Z] 34cad66bf833: Download complete [2021-12-02T06:18:33.982Z] 4527c011a84f: Verifying Checksum [2021-12-02T06:18:33.982Z] 4527c011a84f: Download complete [2021-12-02T06:18:33.982Z] b4e3c513aaa6: Verifying Checksum [2021-12-02T06:18:33.982Z] b4e3c513aaa6: Download complete [2021-12-02T06:18:33.982Z] a0d0a0d46f8b: Pull complete [2021-12-02T06:18:33.982Z] 31adcdaf11c8: Pull complete [2021-12-02T06:18:33.982Z] b8b176561691: Pull complete [2021-12-02T06:18:37.416Z] 7a9cfe048b4a: Pull complete [2021-12-02T06:18:37.416Z] 72dc09318566: Pull complete [2021-12-02T06:18:37.416Z] f4f7b4309257: Pull complete [2021-12-02T06:18:37.416Z] 0ac9a79272e3: Pull complete [2021-12-02T06:18:38.233Z] 4527c011a84f: Pull complete [2021-12-02T06:18:38.233Z] 5d74067f8e1e: Pull complete [2021-12-02T06:18:38.233Z] e0aca202a116: Pull complete [2021-12-02T06:18:38.233Z] 3a43be97a3b4: Pull complete [2021-12-02T06:18:38.233Z] 34cad66bf833: Pull complete [2021-12-02T06:18:40.158Z] b4e3c513aaa6: Pull complete [2021-12-02T06:18:40.158Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-02T06:18:40.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-02T06:18:40.158Z] ---> 9f6097aaca64 [2021-12-02T06:18:40.158Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T06:18:42.817Z] b78e95d17946: Pull complete [2021-12-02T06:18:42.817Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-02T06:18:42.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-02T06:18:42.817Z] ---> 8b459fc5aaf0 [2021-12-02T06:18:42.817Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T06:18:43.795Z] ---> Running in 13e506db636c [2021-12-02T06:18:44.068Z] Removing intermediate container 13e506db636c [2021-12-02T06:18:44.068Z] ---> 2ec1c3ff80b9 [2021-12-02T06:18:44.068Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T06:18:44.342Z] ---> Running in 96ca8d2104f8 [2021-12-02T06:18:44.366Z] ---> Running in 9df175059589 [2021-12-02T06:18:44.366Z] Removing intermediate container 9df175059589 [2021-12-02T06:18:44.366Z] ---> 7a05dd9d82f8 [2021-12-02T06:18:44.366Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T06:18:44.366Z] ---> Running in 6296abc76e0a [2021-12-02T06:18:44.366Z] Removing intermediate container 6296abc76e0a [2021-12-02T06:18:44.366Z] ---> a662613a4021 [2021-12-02T06:18:44.366Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T06:18:44.366Z] ---> Running in c1a9d703a1db [2021-12-02T06:18:44.366Z] Removing intermediate container c1a9d703a1db [2021-12-02T06:18:44.366Z] ---> 7eb9d721d1e0 [2021-12-02T06:18:44.366Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T06:18:44.366Z] ---> Running in 7d168072f773 [2021-12-02T06:18:44.613Z] Removing intermediate container 96ca8d2104f8 [2021-12-02T06:18:44.613Z] ---> ea40e533a496 [2021-12-02T06:18:44.613Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T06:18:44.626Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T06:18:44.884Z] ---> Running in 95b6cda7a23f [2021-12-02T06:18:45.574Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T06:18:45.834Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T06:18:45.834Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T06:18:46.098Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T06:18:46.098Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T06:18:46.098Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T06:18:46.098Z] OK: 224 MiB in 56 packages [2021-12-02T06:18:46.315Z] Removing intermediate container 95b6cda7a23f [2021-12-02T06:18:46.315Z] ---> 1d225f3497d9 [2021-12-02T06:18:46.315Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T06:18:46.359Z] Removing intermediate container 7d168072f773 [2021-12-02T06:18:46.359Z] ---> 67460dd3a1ba [2021-12-02T06:18:46.359Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-12-02T06:18:46.587Z] ---> Running in 01528fd482bd [2021-12-02T06:18:46.625Z] ---> Running in 0b31cad81b13 [2021-12-02T06:18:46.625Z] Removing intermediate container 0b31cad81b13 [2021-12-02T06:18:46.625Z] ---> bb8aaaae3840 [2021-12-02T06:18:46.625Z] Step 8/11 : COPY . . [2021-12-02T06:18:46.893Z] ---> d59b0969d00f [2021-12-02T06:18:46.893Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T06:18:46.893Z] ---> Running in 0f79c1a09e13 [2021-12-02T06:18:47.560Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T06:18:48.146Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T06:18:49.116Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T06:18:49.116Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T06:18:49.116Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T06:18:49.116Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T06:18:49.386Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T06:18:49.386Z] OK: 223 MiB in 56 packages [2021-12-02T06:18:50.358Z] Removing intermediate container 01528fd482bd [2021-12-02T06:18:50.358Z] ---> 66ae660a8377 [2021-12-02T06:18:50.358Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-12-02T06:18:50.358Z] ---> Running in 2fbaa3a235e7 [2021-12-02T06:18:50.631Z] Removing intermediate container 2fbaa3a235e7 [2021-12-02T06:18:50.631Z] ---> 1c39d260e3af [2021-12-02T06:18:50.631Z] Step 8/11 : COPY . . [2021-12-02T06:18:51.602Z] ---> b6bc98eeca30 [2021-12-02T06:18:51.602Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T06:18:51.602Z] ---> Running in 06f11a2a32b8 [2021-12-02T06:19:25.678Z] Removing intermediate container 0f79c1a09e13 [2021-12-02T06:19:25.678Z] ---> fbaa0fc8e782 [2021-12-02T06:19:25.678Z] Step 10/11 : ARG MAKE='make build' [2021-12-02T06:19:25.678Z] ---> Running in 6b1e6f22f077 [2021-12-02T06:19:25.678Z] Removing intermediate container 6b1e6f22f077 [2021-12-02T06:19:25.678Z] ---> a32fd85553f9 [2021-12-02T06:19:25.678Z] Step 11/11 : RUN $MAKE [2021-12-02T06:19:25.678Z] ---> Running in 601ff7881449 [2021-12-02T06:19:25.678Z] noop [2021-12-02T06:19:25.678Z] Removing intermediate container 601ff7881449 [2021-12-02T06:19:25.678Z] ---> 49496e1cc36e [2021-12-02T06:19:25.678Z] Successfully built 49496e1cc36e [2021-12-02T06:19:25.678Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:19:25.992Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T06:19:25.992Z] . [Pipeline] withDockerContainer [2021-12-02T06:19:26.055Z] prd-centos7-docker-4c-2g-38 does not seem to be running inside a container [2021-12-02T06:19:26.095Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/23 -v /w/workspace/device-mqtt-go/23:/w/workspace/device-mqtt-go/23:rw,z -v /w/workspace/device-mqtt-go/23@tmp:/w/workspace/device-mqtt-go/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-02T06:19:26.437Z] $ docker top 7ac2b1243ff48ac2e6b2fef30324b78295e7929f928b010cda37926f939b196f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T06:19:26.818Z] + go version [2021-12-02T06:19:26.818Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-02T06:19:26.831Z] $ docker stop --time=1 7ac2b1243ff48ac2e6b2fef30324b78295e7929f928b010cda37926f939b196f [2021-12-02T06:19:28.002Z] $ docker rm -f 7ac2b1243ff48ac2e6b2fef30324b78295e7929f928b010cda37926f939b196f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:19:28.466Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T06:19:28.466Z] . [Pipeline] withDockerContainer [2021-12-02T06:19:28.531Z] prd-centos7-docker-4c-2g-38 does not seem to be running inside a container [2021-12-02T06:19:28.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/23 -v /w/workspace/device-mqtt-go/23:/w/workspace/device-mqtt-go/23:rw,z -v /w/workspace/device-mqtt-go/23@tmp:/w/workspace/device-mqtt-go/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-02T06:19:28.953Z] $ docker top 2a4c28935346683419873f9147a3b853e69397aea99e65eb48d8a29641ca47aa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T06:19:29.318Z] + make test [2021-12-02T06:19:29.318Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-12-02T06:19:29.582Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-12-02T06:19:44.537Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-12-02T06:19:45.126Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.5% of statements [2021-12-02T06:19:45.126Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-12-02T06:19:45.126Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T06:19:51.773Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T06:19:51.773Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T06:19:51.773Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T06:19:51.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T06:19:51.801Z] $ docker stop --time=1 2a4c28935346683419873f9147a3b853e69397aea99e65eb48d8a29641ca47aa [2021-12-02T06:19:53.228Z] $ docker rm -f 2a4c28935346683419873f9147a3b853e69397aea99e65eb48d8a29641ca47aa [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T06:19:53.625Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T06:19:53.799Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-12-02T06:19:54.894Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T06:19:55.187Z] + ls -al . [2021-12-02T06:19:55.187Z] total 148 [2021-12-02T06:19:55.187Z] drwxrwxr-x. 9 jenkins jenkins 4096 Dec 2 06:19 . [2021-12-02T06:19:55.187Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 2 06:18 .. [2021-12-02T06:19:55.187Z] -rw-rw-r--. 1 jenkins jenkins 7287 Dec 2 06:18 Attribution.txt [2021-12-02T06:19:55.187Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 06:18 bin [2021-12-02T06:19:55.187Z] -rw-rw-r--. 1 jenkins jenkins 7447 Dec 2 06:18 CHANGELOG.md [2021-12-02T06:19:55.187Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 06:18 cmd [2021-12-02T06:19:55.187Z] -rw-r--r--. 1 jenkins jenkins 17452 Dec 2 06:19 coverage.out [2021-12-02T06:19:55.187Z] -rw-rw-r--. 1 jenkins jenkins 1907 Dec 2 06:18 Dockerfile [2021-12-02T06:19:55.187Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 2 06:18 .dockerignore [2021-12-02T06:19:55.187Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 2 06:18 .git [2021-12-02T06:19:55.187Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 2 06:18 .github [2021-12-02T06:19:55.187Z] -rw-rw-r--. 1 jenkins jenkins 329 Dec 2 06:18 .gitignore [2021-12-02T06:19:55.187Z] -rw-rw-r--. 1 jenkins jenkins 410 Dec 2 06:18 go.mod [2021-12-02T06:19:55.187Z] -rw-rw-r--. 1 jenkins jenkins 49409 Dec 2 06:18 go.sum [2021-12-02T06:19:55.187Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 06:18 GOVERNANCE.md [2021-12-02T06:19:55.187Z] drwxrwxr-x. 3 jenkins jenkins 20 Dec 2 06:18 internal [2021-12-02T06:19:55.187Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 06:18 Jenkinsfile [2021-12-02T06:19:55.187Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 06:18 LICENSE [2021-12-02T06:19:55.187Z] -rw-rw-r--. 1 jenkins jenkins 1030 Dec 2 06:18 Makefile [2021-12-02T06:19:55.187Z] drwxrwxr-x. 2 jenkins jenkins 23 Dec 2 06:18 mock [2021-12-02T06:19:55.187Z] -rw-rw-r--. 1 jenkins jenkins 620 Dec 2 06:18 OWNERS.md [2021-12-02T06:19:55.187Z] -rw-rw-r--. 1 jenkins jenkins 2211 Dec 2 06:18 README.md [2021-12-02T06:19:55.187Z] drwxrwxr-x. 4 jenkins jenkins 71 Dec 2 06:18 snap [2021-12-02T06:19:55.187Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 2 06:16 VERSION [2021-12-02T06:19:55.187Z] -rw-rw-r--. 1 jenkins jenkins 227 Dec 2 06:18 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:19:55.495Z] + 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=cb2e8553b38ac866c025eedbd79f7c0275d0a362 --label arch=amd64 --label version=2.2.0-dev.2 . [2021-12-02T06:19:55.495Z] Sending build context to Docker daemon 2.968MB [2021-12-02T06:19:55.495Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T06:19:55.495Z] Step 2/23 : FROM ${BASE} AS builder [2021-12-02T06:19:55.495Z] ---> 49496e1cc36e [2021-12-02T06:19:55.495Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T06:19:55.495Z] ---> Running in 1150b4341a89 [2021-12-02T06:19:55.495Z] Removing intermediate container 1150b4341a89 [2021-12-02T06:19:55.495Z] ---> a00c8a8e4bf8 [2021-12-02T06:19:55.495Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T06:19:55.759Z] ---> Running in 5f926de54d74 [2021-12-02T06:19:55.759Z] Removing intermediate container 5f926de54d74 [2021-12-02T06:19:55.759Z] ---> 8b3f8dd3a3f3 [2021-12-02T06:19:55.759Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T06:19:55.759Z] ---> Running in 1530a3ce2574 [2021-12-02T06:19:56.328Z] Removing intermediate container 1530a3ce2574 [2021-12-02T06:19:56.328Z] ---> 3ac34401c63c [2021-12-02T06:19:56.328Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T06:19:56.328Z] ---> Running in 2fe670f26da6 [2021-12-02T06:19:56.328Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T06:19:57.269Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T06:19:57.529Z] OK: 224 MiB in 56 packages [2021-12-02T06:19:57.788Z] Removing intermediate container 2fe670f26da6 [2021-12-02T06:19:57.788Z] ---> 957ebd863d80 [2021-12-02T06:19:57.788Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-12-02T06:19:57.788Z] ---> Running in 494f65b2f792 [2021-12-02T06:19:57.788Z] Removing intermediate container 494f65b2f792 [2021-12-02T06:19:57.788Z] ---> 22517ff47efc [2021-12-02T06:19:57.788Z] Step 8/23 : COPY . . [2021-12-02T06:19:58.053Z] ---> 59f09429f3fc [2021-12-02T06:19:58.053Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T06:19:58.053Z] ---> Running in bba6e3451510 [2021-12-02T06:19:58.626Z] Removing intermediate container bba6e3451510 [2021-12-02T06:19:58.626Z] ---> ad04fb58cd95 [2021-12-02T06:19:58.626Z] Step 10/23 : ARG MAKE='make build' [2021-12-02T06:19:58.626Z] ---> Running in c384f32c3c8d [2021-12-02T06:19:58.626Z] Removing intermediate container c384f32c3c8d [2021-12-02T06:19:58.626Z] ---> 9910b827329d [2021-12-02T06:19:58.626Z] Step 11/23 : RUN $MAKE [2021-12-02T06:19:58.887Z] ---> Running in 6edc84ae8e66 [2021-12-02T06:19:59.148Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.2" -o cmd/device-mqtt ./cmd [2021-12-02T06:20:11.458Z] Removing intermediate container 6edc84ae8e66 [2021-12-02T06:20:11.458Z] ---> a7c301946e66 [2021-12-02T06:20:11.458Z] Step 12/23 : FROM alpine:3.14 [2021-12-02T06:20:11.458Z] 3.14: Pulling from library/alpine [2021-12-02T06:20:11.458Z] 97518928ae5f: Pulling fs layer [2021-12-02T06:20:11.458Z] 97518928ae5f: Verifying Checksum [2021-12-02T06:20:11.458Z] 97518928ae5f: Download complete [2021-12-02T06:20:11.458Z] 97518928ae5f: Pull complete [2021-12-02T06:20:11.458Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T06:20:11.458Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T06:20:11.458Z] ---> 0a97eee8041e [2021-12-02T06:20:11.458Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-12-02T06:20:11.458Z] ---> Running in 2c71ebd8d115 [2021-12-02T06:20:11.458Z] Removing intermediate container 2c71ebd8d115 [2021-12-02T06:20:11.458Z] ---> a4e33f850e73 [2021-12-02T06:20:11.458Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T06:20:11.458Z] ---> Running in 82f79d51fb7c [2021-12-02T06:20:11.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T06:20:11.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T06:20:11.983Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T06:20:11.983Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T06:20:11.983Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T06:20:11.983Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T06:20:11.983Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T06:20:11.983Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T06:20:11.983Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T06:20:11.983Z] OK: 8 MiB in 20 packages [2021-12-02T06:20:12.246Z] Removing intermediate container 82f79d51fb7c [2021-12-02T06:20:12.246Z] ---> ff742ab60724 [2021-12-02T06:20:12.246Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-12-02T06:20:12.819Z] ---> 5d3515bc0bde [2021-12-02T06:20:12.819Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-12-02T06:20:12.819Z] ---> 3a0403404b5c [2021-12-02T06:20:12.819Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-12-02T06:20:13.081Z] ---> e797d06abaeb [2021-12-02T06:20:13.081Z] Step 18/23 : EXPOSE 59982 [2021-12-02T06:20:13.081Z] ---> Running in f2f79098b64f [2021-12-02T06:20:13.081Z] Removing intermediate container f2f79098b64f [2021-12-02T06:20:13.081Z] ---> 7e8a97e3d27a [2021-12-02T06:20:13.081Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-12-02T06:20:13.081Z] ---> Running in 57765576be01 [2021-12-02T06:20:13.081Z] Removing intermediate container 57765576be01 [2021-12-02T06:20:13.081Z] ---> eb6f9358f1f9 [2021-12-02T06:20:13.081Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-12-02T06:20:13.081Z] ---> Running in a7cdeae26bb0 [2021-12-02T06:20:13.344Z] Removing intermediate container a7cdeae26bb0 [2021-12-02T06:20:13.344Z] ---> e532669dbee3 [2021-12-02T06:20:13.344Z] Step 21/23 : LABEL arch=amd64 [2021-12-02T06:20:13.344Z] ---> Running in c1b89bf37a69 [2021-12-02T06:20:13.344Z] Removing intermediate container c1b89bf37a69 [2021-12-02T06:20:13.344Z] ---> 1985ce1764ef [2021-12-02T06:20:13.344Z] Step 22/23 : LABEL git_sha=cb2e8553b38ac866c025eedbd79f7c0275d0a362 [2021-12-02T06:20:13.344Z] ---> Running in c3f9253d1937 [2021-12-02T06:20:13.344Z] Removing intermediate container c3f9253d1937 [2021-12-02T06:20:13.344Z] ---> 3a2002d3b481 [2021-12-02T06:20:13.344Z] Step 23/23 : LABEL version=2.2.0-dev.2 [2021-12-02T06:20:13.415Z] Removing intermediate container 06f11a2a32b8 [2021-12-02T06:20:13.415Z] ---> bcc213459059 [2021-12-02T06:20:13.415Z] Step 10/11 : ARG MAKE='make build' [2021-12-02T06:20:13.415Z] ---> Running in 02af6422c628 [2021-12-02T06:20:13.415Z] Removing intermediate container 02af6422c628 [2021-12-02T06:20:13.415Z] ---> a2c907404dd5 [2021-12-02T06:20:13.415Z] Step 11/11 : RUN $MAKE [2021-12-02T06:20:13.415Z] ---> Running in 88e4c9437e83 [2021-12-02T06:20:13.415Z] noop [2021-12-02T06:20:13.415Z] Removing intermediate container 88e4c9437e83 [2021-12-02T06:20:13.415Z] ---> 6efbc787b455 [2021-12-02T06:20:13.415Z] Successfully built 6efbc787b455 [2021-12-02T06:20:13.415Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:20:13.603Z] ---> Running in 403a05a5837b [2021-12-02T06:20:13.603Z] Removing intermediate container 403a05a5837b [2021-12-02T06:20:13.603Z] ---> d02ee3740ee3 [2021-12-02T06:20:13.603Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T06:20:13.603Z] Successfully built d02ee3740ee3 [2021-12-02T06:20:13.603Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T06:20:13.730Z] provisioning config files... [2021-12-02T06:20:13.741Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/23@tmp/config5009763928451376188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:20:13.761Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T06:20:13.761Z] . [Pipeline] withDockerContainer [2021-12-02T06:20:13.985Z] prd-ubuntu18.04-docker-arm64-4c-16g-37 does not seem to be running inside a container [2021-12-02T06:20:14.042Z] ---> docker-login.sh [2021-12-02T06:20:14.042Z] nexus3.edgexfoundry.org:10001 [2021-12-02T06:20:14.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:20:14.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:20:14.042Z] Configure a credential helper to remove this warning. See [2021-12-02T06:20:14.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:20:14.042Z] [2021-12-02T06:20:14.042Z] Login Succeeded [2021-12-02T06:20:14.042Z] nexus3.edgexfoundry.org:10002 [2021-12-02T06:20:14.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:20:14.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:20:14.042Z] Configure a credential helper to remove this warning. See [2021-12-02T06:20:14.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:20:14.042Z] [2021-12-02T06:20:14.042Z] Login Succeeded [2021-12-02T06:20:14.042Z] nexus3.edgexfoundry.org:10003 [2021-12-02T06:20:14.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/23 -v /w/workspace/device-mqtt-go/23:/w/workspace/device-mqtt-go/23:rw,z -v /w/workspace/device-mqtt-go/23@tmp:/w/workspace/device-mqtt-go/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-02T06:20:14.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:20:14.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:20:14.304Z] Configure a credential helper to remove this warning. See [2021-12-02T06:20:14.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:20:14.304Z] [2021-12-02T06:20:14.304Z] Login Succeeded [2021-12-02T06:20:14.304Z] nexus3.edgexfoundry.org:10004 [2021-12-02T06:20:14.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:20:14.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:20:14.304Z] Configure a credential helper to remove this warning. See [2021-12-02T06:20:14.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:20:14.304Z] [2021-12-02T06:20:14.304Z] Login Succeeded [2021-12-02T06:20:14.304Z] docker.io [2021-12-02T06:20:14.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:20:14.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:20:14.829Z] Configure a credential helper to remove this warning. See [2021-12-02T06:20:14.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:20:14.829Z] [2021-12-02T06:20:14.829Z] Login Succeeded [2021-12-02T06:20:14.829Z] ---> docker-login.sh ends [2021-12-02T06:20:15.329Z] $ docker top dacd856812a3d365318c2476a304d09aaaaee6e348e05b0fef8d6807524a366f -eo pid,comm [Pipeline] { [Pipeline] } [2021-12-02T06:20:15.574Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T06:20:15.653Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T06:20:15.673Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-12-02T06:20:15.673Z] cb2e8553b38ac866c025eedbd79f7c0275d0a362 [2021-12-02T06:20:15.673Z] latest [2021-12-02T06:20:15.673Z] 2.2.0-dev.2 [2021-12-02T06:20:15.673Z] cb2e8553b38ac866c025eedbd79f7c0275d0a362-2.2.0-dev.2 [2021-12-02T06:20:15.673Z] main [2021-12-02T06:20:15.673Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:20:15.995Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:cb2e8553b38ac866c025eedbd79f7c0275d0a362 [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:20:16.221Z] + go version [2021-12-02T06:20:16.221Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-02T06:20:16.246Z] $ docker stop --time=1 dacd856812a3d365318c2476a304d09aaaaee6e348e05b0fef8d6807524a366f [2021-12-02T06:20:16.298Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:cb2e8553b38ac866c025eedbd79f7c0275d0a362 [2021-12-02T06:20:16.298Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-02T06:20:16.298Z] bd62e2a6e248: Preparing [2021-12-02T06:20:16.298Z] 65fa619821fb: Preparing [2021-12-02T06:20:16.298Z] aa3e72e99be8: Preparing [2021-12-02T06:20:16.298Z] b6ad71069716: Preparing [2021-12-02T06:20:16.298Z] 1a058d5342cc: Preparing [2021-12-02T06:20:16.298Z] 1a058d5342cc: Layer already exists [2021-12-02T06:20:16.567Z] 65fa619821fb: Pushed [2021-12-02T06:20:16.567Z] bd62e2a6e248: Pushed [2021-12-02T06:20:16.567Z] b6ad71069716: Pushed [2021-12-02T06:20:17.512Z] aa3e72e99be8: Pushed [2021-12-02T06:20:17.772Z] cb2e8553b38ac866c025eedbd79f7c0275d0a362: digest: sha256:460224efc348be8fffc5751b8b3d703a62c6edca3c062c4dc5338309ac5a259e size: 1366 [2021-12-02T06:20:17.854Z] $ docker rm -f dacd856812a3d365318c2476a304d09aaaaee6e348e05b0fef8d6807524a366f [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-02T06:20:18.395Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:20:18.487Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T06:20:18.487Z] . [Pipeline] withDockerContainer [2021-12-02T06:20:18.679Z] prd-ubuntu18.04-docker-arm64-4c-16g-37 does not seem to be running inside a container [2021-12-02T06:20:18.687Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-12-02T06:20:18.687Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-02T06:20:18.687Z] bd62e2a6e248: Preparing [2021-12-02T06:20:18.687Z] 65fa619821fb: Preparing [2021-12-02T06:20:18.687Z] aa3e72e99be8: Preparing [2021-12-02T06:20:18.687Z] b6ad71069716: Preparing [2021-12-02T06:20:18.687Z] 1a058d5342cc: Preparing [2021-12-02T06:20:18.687Z] 1a058d5342cc: Layer already exists [2021-12-02T06:20:18.687Z] 65fa619821fb: Layer already exists [2021-12-02T06:20:18.687Z] b6ad71069716: Layer already exists [2021-12-02T06:20:18.687Z] aa3e72e99be8: Layer already exists [2021-12-02T06:20:18.687Z] bd62e2a6e248: Layer already exists [2021-12-02T06:20:18.687Z] latest: digest: sha256:460224efc348be8fffc5751b8b3d703a62c6edca3c062c4dc5338309ac5a259e size: 1366 [2021-12-02T06:20:18.754Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/23 -v /w/workspace/device-mqtt-go/23:/w/workspace/device-mqtt-go/23:rw,z -v /w/workspace/device-mqtt-go/23@tmp:/w/workspace/device-mqtt-go/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-02T06:20:19.993Z] $ docker top dcd1a1bad7b6d7706376bdf37225bad61b7441866ae0741b03b20fefe4e2cba4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:20:20.610Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:20:20.903Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.2 [2021-12-02T06:20:20.903Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-02T06:20:20.903Z] bd62e2a6e248: Preparing [2021-12-02T06:20:20.903Z] 65fa619821fb: Preparing [2021-12-02T06:20:20.903Z] aa3e72e99be8: Preparing [2021-12-02T06:20:20.903Z] b6ad71069716: Preparing [2021-12-02T06:20:20.903Z] 1a058d5342cc: Preparing [2021-12-02T06:20:20.903Z] 65fa619821fb: Layer already exists [2021-12-02T06:20:20.903Z] b6ad71069716: Layer already exists [2021-12-02T06:20:20.903Z] aa3e72e99be8: Layer already exists [2021-12-02T06:20:20.903Z] bd62e2a6e248: Layer already exists [2021-12-02T06:20:20.903Z] 1a058d5342cc: Layer already exists [2021-12-02T06:20:20.903Z] 2.2.0-dev.2: digest: sha256:460224efc348be8fffc5751b8b3d703a62c6edca3c062c4dc5338309ac5a259e size: 1366 [2021-12-02T06:20:20.910Z] + make test [2021-12-02T06:20:20.910Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:20:21.204Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:cb2e8553b38ac866c025eedbd79f7c0275d0a362-2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:20:21.505Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:cb2e8553b38ac866c025eedbd79f7c0275d0a362-2.2.0-dev.2 [2021-12-02T06:20:21.505Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-02T06:20:21.505Z] bd62e2a6e248: Preparing [2021-12-02T06:20:21.505Z] 65fa619821fb: Preparing [2021-12-02T06:20:21.505Z] aa3e72e99be8: Preparing [2021-12-02T06:20:21.505Z] b6ad71069716: Preparing [2021-12-02T06:20:21.505Z] 1a058d5342cc: Preparing [2021-12-02T06:20:21.505Z] aa3e72e99be8: Layer already exists [2021-12-02T06:20:21.505Z] b6ad71069716: Layer already exists [2021-12-02T06:20:21.505Z] 65fa619821fb: Layer already exists [2021-12-02T06:20:21.505Z] bd62e2a6e248: Layer already exists [2021-12-02T06:20:21.505Z] 1a058d5342cc: Layer already exists [2021-12-02T06:20:21.505Z] cb2e8553b38ac866c025eedbd79f7c0275d0a362-2.2.0-dev.2: digest: sha256:460224efc348be8fffc5751b8b3d703a62c6edca3c062c4dc5338309ac5a259e size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:20:21.804Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:20:21.889Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-12-02T06:20:22.097Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2021-12-02T06:20:22.097Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-02T06:20:22.097Z] bd62e2a6e248: Preparing [2021-12-02T06:20:22.097Z] 65fa619821fb: Preparing [2021-12-02T06:20:22.097Z] aa3e72e99be8: Preparing [2021-12-02T06:20:22.097Z] b6ad71069716: Preparing [2021-12-02T06:20:22.097Z] 1a058d5342cc: Preparing [2021-12-02T06:20:22.097Z] 65fa619821fb: Layer already exists [2021-12-02T06:20:22.097Z] bd62e2a6e248: Layer already exists [2021-12-02T06:20:22.097Z] 1a058d5342cc: Layer already exists [2021-12-02T06:20:22.097Z] aa3e72e99be8: Layer already exists [2021-12-02T06:20:22.097Z] b6ad71069716: Layer already exists [2021-12-02T06:20:22.097Z] main: digest: sha256:460224efc348be8fffc5751b8b3d703a62c6edca3c062c4dc5338309ac5a259e size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T06:20:22.140Z] ===================================================== [Pipeline] echo [2021-12-02T06:20:22.150Z] taggedImages: [2021-12-02T06:20:22.150Z] - nexus3.edgexfoundry.org:10004/device-mqtt:cb2e8553b38ac866c025eedbd79f7c0275d0a362 [2021-12-02T06:20:22.150Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-12-02T06:20:22.150Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.2 [2021-12-02T06:20:22.150Z] - nexus3.edgexfoundry.org:10004/device-mqtt:cb2e8553b38ac866c025eedbd79f7c0275d0a362-2.2.0-dev.2 [2021-12-02T06:20:22.150Z] - 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-02T06:20:22.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T06:20:22.648Z] [2021-12-02T06:20:22.648Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:20:22.956Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T06:20:22.956Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T06:20:22.956Z] b4d181a07f80: Pulling fs layer [2021-12-02T06:20:22.956Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T06:20:22.956Z] ed53099fbce6: Pulling fs layer [2021-12-02T06:20:22.956Z] dc539afda2c1: Pulling fs layer [2021-12-02T06:20:22.956Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T06:20:22.956Z] 9065ff56babe: Pulling fs layer [2021-12-02T06:20:22.956Z] d287ab97295c: Pulling fs layer [2021-12-02T06:20:22.956Z] dc539afda2c1: Waiting [2021-12-02T06:20:22.956Z] 77bc0d833cb6: Waiting [2021-12-02T06:20:22.956Z] 9065ff56babe: Waiting [2021-12-02T06:20:22.956Z] d287ab97295c: Waiting [2021-12-02T06:20:22.956Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T06:20:22.956Z] a1111a8f2ec3: Download complete [2021-12-02T06:20:22.956Z] dc539afda2c1: Verifying Checksum [2021-12-02T06:20:22.956Z] dc539afda2c1: Download complete [2021-12-02T06:20:22.956Z] ed53099fbce6: Verifying Checksum [2021-12-02T06:20:22.956Z] ed53099fbce6: Download complete [2021-12-02T06:20:22.956Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T06:20:22.956Z] 77bc0d833cb6: Download complete [2021-12-02T06:20:22.956Z] 9065ff56babe: Verifying Checksum [2021-12-02T06:20:22.956Z] 9065ff56babe: Download complete [2021-12-02T06:20:23.220Z] b4d181a07f80: Verifying Checksum [2021-12-02T06:20:23.220Z] b4d181a07f80: Download complete [2021-12-02T06:20:23.791Z] d287ab97295c: Verifying Checksum [2021-12-02T06:20:23.791Z] d287ab97295c: Download complete [2021-12-02T06:20:24.747Z] b4d181a07f80: Pull complete [2021-12-02T06:20:24.747Z] a1111a8f2ec3: Pull complete [2021-12-02T06:20:25.318Z] ed53099fbce6: Pull complete [2021-12-02T06:20:25.318Z] dc539afda2c1: Pull complete [2021-12-02T06:20:25.586Z] 77bc0d833cb6: Pull complete [2021-12-02T06:20:25.586Z] 9065ff56babe: Pull complete [2021-12-02T06:20:30.936Z] d287ab97295c: Pull complete [2021-12-02T06:20:30.936Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T06:20:30.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T06:20:30.936Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T06:20:31.004Z] prd-centos7-docker-4c-2g-38 does not seem to be running inside a container [2021-12-02T06:20:31.048Z] $ 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/23 -v /w/workspace/device-mqtt-go/23:/w/workspace/device-mqtt-go/23:rw,z -v /w/workspace/device-mqtt-go/23@tmp:/w/workspace/device-mqtt-go/23@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-02T06:20:33.104Z] $ docker top 73764c6de3797dbbb8d84437068946b73f55b1a07ae8fa96b79278733ef268e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:20:33.533Z] ---> job-cost.sh [2021-12-02T06:20:33.534Z] lf-activate-venv: SKIPPING [2021-12-02T06:20:33.534Z] INFO: No Stack... [2021-12-02T06:20:33.794Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T06:20:34.365Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T06:20:34.660Z] + cat /w/workspace/device-mqtt-go/23/archives/cost.csv [2021-12-02T06:20:34.660Z] + cut -d, -f6 [Pipeline] lock [2021-12-02T06:20:34.695Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-23-stack-cost] [2021-12-02T06:20:34.701Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-23-stack-cost] did not exist. Created. [2021-12-02T06:20:34.701Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T06:20:35.010Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-02T06:20:35.039Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T06:20:35.046Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-23-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T06:20:35.066Z] $ docker stop --time=1 73764c6de3797dbbb8d84437068946b73f55b1a07ae8fa96b79278733ef268e3 [2021-12-02T06:20:36.187Z] $ docker rm -f 73764c6de3797dbbb8d84437068946b73f55b1a07ae8fa96b79278733ef268e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-02T06:21:18.479Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-12-02T06:21:18.479Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.056s coverage: 22.5% of statements [2021-12-02T06:21:18.479Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-12-02T06:21:18.479Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T06:21:45.257Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T06:21:45.257Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T06:21:45.257Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T06:21:46.723Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T06:21:46.740Z] $ docker stop --time=1 dcd1a1bad7b6d7706376bdf37225bad61b7441866ae0741b03b20fefe4e2cba4 [2021-12-02T06:21:48.444Z] $ docker rm -f dcd1a1bad7b6d7706376bdf37225bad61b7441866ae0741b03b20fefe4e2cba4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T06:21:49.238Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T06:21:49.265Z] Warning: overwriting stash ‘coverage-report’ [2021-12-02T06:21:49.695Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T06:21:50.220Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T06:21:50.557Z] + ls -al . [2021-12-02T06:21:50.557Z] total 180 [2021-12-02T06:21:50.557Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 2 06:21 . [2021-12-02T06:21:50.557Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 06:17 .. [2021-12-02T06:21:50.557Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 2 06:17 .dockerignore [2021-12-02T06:21:50.557Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 06:17 .git [2021-12-02T06:21:50.557Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 06:17 .github [2021-12-02T06:21:50.557Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 2 06:17 .gitignore [2021-12-02T06:21:50.557Z] -rw-rw-r-- 1 jenkins jenkins 7287 Dec 2 06:17 Attribution.txt [2021-12-02T06:21:50.557Z] -rw-rw-r-- 1 jenkins jenkins 7447 Dec 2 06:17 CHANGELOG.md [2021-12-02T06:21:50.557Z] -rw-rw-r-- 1 jenkins jenkins 1907 Dec 2 06:17 Dockerfile [2021-12-02T06:21:50.557Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 06:17 GOVERNANCE.md [2021-12-02T06:21:50.557Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 06:17 Jenkinsfile [2021-12-02T06:21:50.557Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 06:17 LICENSE [2021-12-02T06:21:50.557Z] -rw-rw-r-- 1 jenkins jenkins 1030 Dec 2 06:17 Makefile [2021-12-02T06:21:50.557Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 2 06:17 OWNERS.md [2021-12-02T06:21:50.557Z] -rw-rw-r-- 1 jenkins jenkins 2211 Dec 2 06:17 README.md [2021-12-02T06:21:50.557Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 2 06:16 VERSION [2021-12-02T06:21:50.557Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 06:17 bin [2021-12-02T06:21:50.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 06:17 cmd [2021-12-02T06:21:50.557Z] -rw-r--r-- 1 jenkins jenkins 17452 Dec 2 06:21 coverage.out [2021-12-02T06:21:50.557Z] -rw-rw-r-- 1 jenkins jenkins 410 Dec 2 06:17 go.mod [2021-12-02T06:21:50.557Z] -rw-rw-r-- 1 jenkins jenkins 49409 Dec 2 06:17 go.sum [2021-12-02T06:21:50.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 06:17 internal [2021-12-02T06:21:50.557Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 06:17 mock [2021-12-02T06:21:50.557Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 06:17 snap [2021-12-02T06:21:50.557Z] -rw-rw-r-- 1 jenkins jenkins 227 Dec 2 06:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:21:50.902Z] + 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=cb2e8553b38ac866c025eedbd79f7c0275d0a362 --label arch=arm64 --label version=2.2.0-dev.2 . [2021-12-02T06:21:51.174Z] Sending build context to Docker daemon 2.967MB [2021-12-02T06:21:51.174Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T06:21:51.174Z] Step 2/23 : FROM ${BASE} AS builder [2021-12-02T06:21:51.174Z] ---> 6efbc787b455 [2021-12-02T06:21:51.174Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T06:21:51.448Z] ---> Running in 77d8c9a78f82 [2021-12-02T06:21:51.721Z] Removing intermediate container 77d8c9a78f82 [2021-12-02T06:21:51.721Z] ---> 86b90434b70f [2021-12-02T06:21:51.721Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T06:21:51.721Z] ---> Running in d470ae62ed31 [2021-12-02T06:21:52.318Z] Removing intermediate container d470ae62ed31 [2021-12-02T06:21:52.318Z] ---> 5bb784a0c353 [2021-12-02T06:21:52.318Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T06:21:52.318Z] ---> Running in 15ab1f33520e [2021-12-02T06:21:53.748Z] Removing intermediate container 15ab1f33520e [2021-12-02T06:21:53.748Z] ---> 93fc53f4e788 [2021-12-02T06:21:53.748Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T06:21:54.025Z] ---> Running in 44299c4abedf [2021-12-02T06:21:54.996Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T06:21:55.970Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T06:21:56.564Z] OK: 223 MiB in 56 packages [2021-12-02T06:21:57.157Z] Removing intermediate container 44299c4abedf [2021-12-02T06:21:57.157Z] ---> e0ac3a0d81a9 [2021-12-02T06:21:57.157Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-12-02T06:21:57.428Z] ---> Running in d564e1173833 [2021-12-02T06:21:57.701Z] Removing intermediate container d564e1173833 [2021-12-02T06:21:57.701Z] ---> 4b0fc10b45a1 [2021-12-02T06:21:57.701Z] Step 8/23 : COPY . . [2021-12-02T06:21:58.673Z] ---> 714ae875e886 [2021-12-02T06:21:58.673Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T06:21:58.673Z] ---> Running in 3fc9aaa3da22 [2021-12-02T06:22:00.640Z] Removing intermediate container 3fc9aaa3da22 [2021-12-02T06:22:00.640Z] ---> c6f85b11c0d6 [2021-12-02T06:22:00.640Z] Step 10/23 : ARG MAKE='make build' [2021-12-02T06:22:00.640Z] ---> Running in a44e28485be5 [2021-12-02T06:22:00.911Z] Removing intermediate container a44e28485be5 [2021-12-02T06:22:00.911Z] ---> 9192f3beba61 [2021-12-02T06:22:00.911Z] Step 11/23 : RUN $MAKE [2021-12-02T06:22:00.911Z] ---> Running in 1955d5bc1a1d [2021-12-02T06:22:02.342Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.2" -o cmd/device-mqtt ./cmd [2021-12-02T06:22:41.343Z] Removing intermediate container 1955d5bc1a1d [2021-12-02T06:22:41.343Z] ---> 682cb14a0415 [2021-12-02T06:22:41.343Z] Step 12/23 : FROM alpine:3.14 [2021-12-02T06:22:41.343Z] 3.14: Pulling from library/alpine [2021-12-02T06:22:41.343Z] be307f383ecc: Pulling fs layer [2021-12-02T06:22:41.343Z] be307f383ecc: Verifying Checksum [2021-12-02T06:22:41.343Z] be307f383ecc: Download complete [2021-12-02T06:22:41.343Z] be307f383ecc: Pull complete [2021-12-02T06:22:41.343Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T06:22:41.343Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T06:22:41.343Z] ---> 5b8b7b635229 [2021-12-02T06:22:41.343Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-12-02T06:22:41.343Z] ---> Running in a9b335f0b8ee [2021-12-02T06:22:41.343Z] Removing intermediate container a9b335f0b8ee [2021-12-02T06:22:41.343Z] ---> 78e0203c3f09 [2021-12-02T06:22:41.343Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T06:22:41.343Z] ---> Running in c40b18ccf818 [2021-12-02T06:22:41.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T06:22:41.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T06:22:41.343Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T06:22:41.343Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T06:22:41.343Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T06:22:41.343Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T06:22:41.343Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T06:22:41.343Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T06:22:41.343Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T06:22:41.343Z] OK: 8 MiB in 20 packages [2021-12-02T06:22:42.320Z] Removing intermediate container c40b18ccf818 [2021-12-02T06:22:42.320Z] ---> 21137d367f65 [2021-12-02T06:22:42.320Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-12-02T06:22:43.294Z] ---> 3f04d595f0e6 [2021-12-02T06:22:43.294Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-12-02T06:22:43.885Z] ---> 031f429aada7 [2021-12-02T06:22:43.885Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-12-02T06:22:44.477Z] ---> eaef5b5a5516 [2021-12-02T06:22:44.477Z] Step 18/23 : EXPOSE 59982 [2021-12-02T06:22:44.749Z] ---> Running in fa19bb24a95c [2021-12-02T06:22:45.020Z] Removing intermediate container fa19bb24a95c [2021-12-02T06:22:45.021Z] ---> 172775d4f4b1 [2021-12-02T06:22:45.021Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-12-02T06:22:45.021Z] ---> Running in fa3496904965 [2021-12-02T06:22:45.293Z] Removing intermediate container fa3496904965 [2021-12-02T06:22:45.293Z] ---> 0c7b34c6acd6 [2021-12-02T06:22:45.293Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-12-02T06:22:45.566Z] ---> Running in be2292d04131 [2021-12-02T06:22:45.839Z] Removing intermediate container be2292d04131 [2021-12-02T06:22:45.839Z] ---> de31603c43f8 [2021-12-02T06:22:45.839Z] Step 21/23 : LABEL arch=arm64 [2021-12-02T06:22:45.839Z] ---> Running in c7ee8778be99 [2021-12-02T06:22:46.112Z] Removing intermediate container c7ee8778be99 [2021-12-02T06:22:46.112Z] ---> f54390287af4 [2021-12-02T06:22:46.112Z] Step 22/23 : LABEL git_sha=cb2e8553b38ac866c025eedbd79f7c0275d0a362 [2021-12-02T06:22:46.385Z] ---> Running in 8a0faa936edf [2021-12-02T06:22:46.663Z] Removing intermediate container 8a0faa936edf [2021-12-02T06:22:46.663Z] ---> 73f26eed19c3 [2021-12-02T06:22:46.663Z] Step 23/23 : LABEL version=2.2.0-dev.2 [2021-12-02T06:22:46.663Z] ---> Running in 0f29d89d777c [2021-12-02T06:22:47.261Z] Removing intermediate container 0f29d89d777c [2021-12-02T06:22:47.261Z] ---> b62a5599bad3 [2021-12-02T06:22:47.261Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T06:22:47.261Z] Successfully built b62a5599bad3 [2021-12-02T06:22:47.261Z] 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-02T06:22:47.457Z] provisioning config files... [2021-12-02T06:22:47.478Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/23@tmp/config745240879758786823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:22:47.836Z] ---> docker-login.sh [2021-12-02T06:22:47.836Z] nexus3.edgexfoundry.org:10001 [2021-12-02T06:22:48.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:22:48.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:22:48.109Z] Configure a credential helper to remove this warning. See [2021-12-02T06:22:48.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:22:48.109Z] [2021-12-02T06:22:48.109Z] Login Succeeded [2021-12-02T06:22:48.109Z] nexus3.edgexfoundry.org:10002 [2021-12-02T06:22:48.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:22:48.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:22:48.656Z] Configure a credential helper to remove this warning. See [2021-12-02T06:22:48.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:22:48.656Z] [2021-12-02T06:22:48.656Z] Login Succeeded [2021-12-02T06:22:48.656Z] nexus3.edgexfoundry.org:10003 [2021-12-02T06:22:48.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:22:49.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:22:49.201Z] Configure a credential helper to remove this warning. See [2021-12-02T06:22:49.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:22:49.201Z] [2021-12-02T06:22:49.201Z] Login Succeeded [2021-12-02T06:22:49.201Z] nexus3.edgexfoundry.org:10004 [2021-12-02T06:22:49.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:22:49.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:22:49.476Z] Configure a credential helper to remove this warning. See [2021-12-02T06:22:49.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:22:49.476Z] [2021-12-02T06:22:49.476Z] Login Succeeded [2021-12-02T06:22:49.476Z] docker.io [2021-12-02T06:22:50.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T06:22:50.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T06:22:50.344Z] Configure a credential helper to remove this warning. See [2021-12-02T06:22:50.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T06:22:50.344Z] [2021-12-02T06:22:50.344Z] Login Succeeded [2021-12-02T06:22:50.344Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T06:22:50.361Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T06:22:50.395Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T06:22:50.417Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-12-02T06:22:50.417Z] cb2e8553b38ac866c025eedbd79f7c0275d0a362 [2021-12-02T06:22:50.417Z] latest [2021-12-02T06:22:50.417Z] 2.2.0-dev.2 [2021-12-02T06:22:50.417Z] cb2e8553b38ac866c025eedbd79f7c0275d0a362-2.2.0-dev.2 [2021-12-02T06:22:50.417Z] main [2021-12-02T06:22:50.417Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:22:50.778Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cb2e8553b38ac866c025eedbd79f7c0275d0a362 [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:22:51.121Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cb2e8553b38ac866c025eedbd79f7c0275d0a362 [2021-12-02T06:22:51.121Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-02T06:22:51.121Z] bffe5ae2d38e: Preparing [2021-12-02T06:22:51.121Z] 4993c38ded97: Preparing [2021-12-02T06:22:51.121Z] cdb069b1c42b: Preparing [2021-12-02T06:22:51.121Z] 638bc28fc4e1: Preparing [2021-12-02T06:22:51.121Z] 62170e181a92: Preparing [2021-12-02T06:22:51.121Z] 62170e181a92: Layer already exists [2021-12-02T06:22:51.395Z] 4993c38ded97: Pushed [2021-12-02T06:22:51.395Z] bffe5ae2d38e: Pushed [2021-12-02T06:22:51.993Z] 638bc28fc4e1: Pushed [2021-12-02T06:22:54.608Z] cdb069b1c42b: Pushed [2021-12-02T06:22:54.608Z] cb2e8553b38ac866c025eedbd79f7c0275d0a362: digest: sha256:b6818dc73d862aca4523c72361a5c7c3aee0944be86dd524762f6178931b4480 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:22:54.953Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:22:55.291Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-12-02T06:22:55.291Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-02T06:22:55.291Z] bffe5ae2d38e: Preparing [2021-12-02T06:22:55.291Z] 4993c38ded97: Preparing [2021-12-02T06:22:55.291Z] cdb069b1c42b: Preparing [2021-12-02T06:22:55.291Z] 638bc28fc4e1: Preparing [2021-12-02T06:22:55.291Z] 62170e181a92: Preparing [2021-12-02T06:22:55.291Z] 62170e181a92: Layer already exists [2021-12-02T06:22:55.291Z] 4993c38ded97: Layer already exists [2021-12-02T06:22:55.291Z] cdb069b1c42b: Layer already exists [2021-12-02T06:22:55.291Z] 638bc28fc4e1: Layer already exists [2021-12-02T06:22:55.291Z] bffe5ae2d38e: Layer already exists [2021-12-02T06:22:55.563Z] latest: digest: sha256:b6818dc73d862aca4523c72361a5c7c3aee0944be86dd524762f6178931b4480 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:22:55.912Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:22:56.255Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.2 [2021-12-02T06:22:56.255Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-02T06:22:56.255Z] bffe5ae2d38e: Preparing [2021-12-02T06:22:56.255Z] 4993c38ded97: Preparing [2021-12-02T06:22:56.255Z] cdb069b1c42b: Preparing [2021-12-02T06:22:56.255Z] 638bc28fc4e1: Preparing [2021-12-02T06:22:56.255Z] 62170e181a92: Preparing [2021-12-02T06:22:56.255Z] bffe5ae2d38e: Layer already exists [2021-12-02T06:22:56.255Z] 62170e181a92: Layer already exists [2021-12-02T06:22:56.255Z] 638bc28fc4e1: Layer already exists [2021-12-02T06:22:56.255Z] cdb069b1c42b: Layer already exists [2021-12-02T06:22:56.255Z] 4993c38ded97: Layer already exists [2021-12-02T06:22:56.255Z] 2.2.0-dev.2: digest: sha256:b6818dc73d862aca4523c72361a5c7c3aee0944be86dd524762f6178931b4480 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:22:56.874Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cb2e8553b38ac866c025eedbd79f7c0275d0a362-2.2.0-dev.2 [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:22:57.212Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cb2e8553b38ac866c025eedbd79f7c0275d0a362-2.2.0-dev.2 [2021-12-02T06:22:57.212Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-02T06:22:57.212Z] bffe5ae2d38e: Preparing [2021-12-02T06:22:57.212Z] 4993c38ded97: Preparing [2021-12-02T06:22:57.212Z] cdb069b1c42b: Preparing [2021-12-02T06:22:57.212Z] 638bc28fc4e1: Preparing [2021-12-02T06:22:57.212Z] 62170e181a92: Preparing [2021-12-02T06:22:57.212Z] 62170e181a92: Layer already exists [2021-12-02T06:22:57.212Z] cdb069b1c42b: Layer already exists [2021-12-02T06:22:57.212Z] bffe5ae2d38e: Layer already exists [2021-12-02T06:22:57.212Z] 4993c38ded97: Layer already exists [2021-12-02T06:22:57.212Z] 638bc28fc4e1: Layer already exists [2021-12-02T06:22:57.212Z] cb2e8553b38ac866c025eedbd79f7c0275d0a362-2.2.0-dev.2: digest: sha256:b6818dc73d862aca4523c72361a5c7c3aee0944be86dd524762f6178931b4480 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:22:57.832Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:22:58.181Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2021-12-02T06:22:58.181Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-02T06:22:58.181Z] bffe5ae2d38e: Preparing [2021-12-02T06:22:58.181Z] 4993c38ded97: Preparing [2021-12-02T06:22:58.181Z] cdb069b1c42b: Preparing [2021-12-02T06:22:58.181Z] 638bc28fc4e1: Preparing [2021-12-02T06:22:58.181Z] 62170e181a92: Preparing [2021-12-02T06:22:58.181Z] 62170e181a92: Layer already exists [2021-12-02T06:22:58.181Z] 4993c38ded97: Layer already exists [2021-12-02T06:22:58.181Z] bffe5ae2d38e: Layer already exists [2021-12-02T06:22:58.181Z] 638bc28fc4e1: Layer already exists [2021-12-02T06:22:58.181Z] cdb069b1c42b: Layer already exists [2021-12-02T06:22:58.452Z] main: digest: sha256:b6818dc73d862aca4523c72361a5c7c3aee0944be86dd524762f6178931b4480 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T06:22:58.502Z] ===================================================== [Pipeline] echo [2021-12-02T06:22:58.512Z] taggedImages: [2021-12-02T06:22:58.512Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cb2e8553b38ac866c025eedbd79f7c0275d0a362 [2021-12-02T06:22:58.512Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-12-02T06:22:58.512Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.2 [2021-12-02T06:22:58.512Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cb2e8553b38ac866c025eedbd79f7c0275d0a362-2.2.0-dev.2 [2021-12-02T06:22:58.512Z] - 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-02T06:22:58.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T06:22:58.939Z] [2021-12-02T06:22:58.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:22:59.287Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T06:22:59.561Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-02T06:22:59.561Z] 448f6bf000e3: Pulling fs layer [2021-12-02T06:22:59.561Z] f757da607395: Pulling fs layer [2021-12-02T06:22:59.561Z] 05883995daec: Pulling fs layer [2021-12-02T06:22:59.561Z] 8603b9c90790: Pulling fs layer [2021-12-02T06:22:59.561Z] 1560dd03e051: Pulling fs layer [2021-12-02T06:22:59.561Z] 27f5ce0e4adf: Pulling fs layer [2021-12-02T06:22:59.561Z] c2d8d7efcc4b: Pulling fs layer [2021-12-02T06:22:59.561Z] 8603b9c90790: Waiting [2021-12-02T06:22:59.561Z] 1560dd03e051: Waiting [2021-12-02T06:22:59.561Z] 27f5ce0e4adf: Waiting [2021-12-02T06:22:59.561Z] c2d8d7efcc4b: Waiting [2021-12-02T06:22:59.561Z] f757da607395: Verifying Checksum [2021-12-02T06:22:59.561Z] f757da607395: Download complete [2021-12-02T06:22:59.561Z] 8603b9c90790: Verifying Checksum [2021-12-02T06:22:59.561Z] 8603b9c90790: Download complete [2021-12-02T06:22:59.561Z] 1560dd03e051: Verifying Checksum [2021-12-02T06:22:59.561Z] 1560dd03e051: Download complete [2021-12-02T06:22:59.561Z] 05883995daec: Verifying Checksum [2021-12-02T06:22:59.561Z] 27f5ce0e4adf: Verifying Checksum [2021-12-02T06:22:59.561Z] 27f5ce0e4adf: Download complete [2021-12-02T06:23:00.157Z] 448f6bf000e3: Verifying Checksum [2021-12-02T06:23:00.157Z] 448f6bf000e3: Download complete [2021-12-02T06:23:02.777Z] c2d8d7efcc4b: Verifying Checksum [2021-12-02T06:23:02.777Z] c2d8d7efcc4b: Download complete [2021-12-02T06:23:03.760Z] 448f6bf000e3: Pull complete [2021-12-02T06:23:04.357Z] f757da607395: Pull complete [2021-12-02T06:23:05.790Z] 05883995daec: Pull complete [2021-12-02T06:23:05.790Z] 8603b9c90790: Pull complete [2021-12-02T06:23:06.775Z] 1560dd03e051: Pull complete [2021-12-02T06:23:07.047Z] 27f5ce0e4adf: Pull complete [2021-12-02T06:23:22.139Z] c2d8d7efcc4b: Pull complete [2021-12-02T06:23:22.139Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-02T06:23:22.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T06:23:22.139Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-02T06:23:22.342Z] prd-ubuntu18.04-docker-arm64-4c-16g-37 does not seem to be running inside a container [2021-12-02T06:23:22.427Z] $ 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/23 -v /w/workspace/device-mqtt-go/23:/w/workspace/device-mqtt-go/23:rw,z -v /w/workspace/device-mqtt-go/23@tmp:/w/workspace/device-mqtt-go/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-12-02T06:23:25.001Z] $ docker top 1136fa4ae7afaff55cd77f50d5c528e2471fa4036ddc6cdc218d4e5d22a957b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:23:25.902Z] ---> job-cost.sh [2021-12-02T06:23:25.902Z] lf-activate-venv: SKIPPING [2021-12-02T06:23:25.902Z] INFO: No Stack... [2021-12-02T06:23:26.176Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-02T06:23:26.446Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T06:23:27.110Z] + cat /w/workspace/device-mqtt-go/23/archives/cost.csv [2021-12-02T06:23:27.111Z] + cut -d, -f6 [Pipeline] lock [2021-12-02T06:23:27.173Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-23-stack-cost] [2021-12-02T06:23:27.180Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-23-stack-cost] did not exist. Created. [2021-12-02T06:23:27.180Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T06:23:27.842Z] /w/workspace/device-mqtt-go/23@tmp/durable-d004fe9e/script.sh: 1: /w/workspace/device-mqtt-go/23@tmp/durable-d004fe9e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-02T06:23:28.200Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-02T06:23:28.500Z] Warning: overwriting stash ‘stack-cost’ [2021-12-02T06:23:28.542Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T06:23:28.554Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-23-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T06:23:28.576Z] $ docker stop --time=1 1136fa4ae7afaff55cd77f50d5c528e2471fa4036ddc6cdc218d4e5d22a957b9 [2021-12-02T06:23:30.049Z] $ docker rm -f 1136fa4ae7afaff55cd77f50d5c528e2471fa4036ddc6cdc218d4e5d22a957b9 [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-02T06:23:30.694Z] provisioning config files... [2021-12-02T06:23:30.702Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config472230429300076293tmp [Pipeline] { [Pipeline] sh [2021-12-02T06:23:31.012Z] + set +x [2021-12-02T06:23:31.012Z] + bash -s -- [2021-12-02T06:23:31.012Z] + curl -s https://codecov.io/bash [2021-12-02T06:23:31.012Z] [2021-12-02T06:23:31.012Z] _____ _ [2021-12-02T06:23:31.012Z] / ____| | | [2021-12-02T06:23:31.012Z] | | ___ __| | ___ ___ _____ __ [2021-12-02T06:23:31.012Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-12-02T06:23:31.012Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-12-02T06:23:31.012Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-12-02T06:23:31.012Z] Bash-1.0.6 [2021-12-02T06:23:31.012Z] [2021-12-02T06:23:31.012Z] [2021-12-02T06:23:31.012Z] ==> git version 2.24.4 found [2021-12-02T06:23:31.012Z] ==> 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-02T06:23:31.012Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-12-02T06:23:31.012Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-12-02T06:23:31.012Z] ==> Jenkins CI detected. [2021-12-02T06:23:31.012Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-02T06:23:31.012Z] project root: . [2021-12-02T06:23:31.012Z] --> token set from env [2021-12-02T06:23:31.012Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-12-02T06:23:31.275Z] ==> Running gcov in . (disable via -X gcov) [2021-12-02T06:23:31.275Z] ==> Python coveragepy not found [2021-12-02T06:23:31.275Z] ==> Searching for coverage reports in: [2021-12-02T06:23:31.275Z] + . [2021-12-02T06:23:31.275Z] -> Found 1 reports [2021-12-02T06:23:31.275Z] ==> Detecting git/mercurial file structure [2021-12-02T06:23:31.275Z] ==> Reading reports [2021-12-02T06:23:31.275Z] + ./coverage.out bytes=17452 [2021-12-02T06:23:31.275Z] ==> Appending adjustments [2021-12-02T06:23:31.275Z] https://docs.codecov.io/docs/fixing-reports [2021-12-02T06:23:31.275Z] + Found adjustments [2021-12-02T06:23:31.275Z] ==> Gzipping contents [2021-12-02T06:23:31.275Z] 4.0K /tmp/codecov.XgON5O.gz [2021-12-02T06:23:31.275Z] ==> Uploading reports [2021-12-02T06:23:31.275Z] url: https://codecov.io [2021-12-02T06:23:31.275Z] query: branch=main&commit=cb2e8553b38ac866c025eedbd79f7c0275d0a362&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-02T06:23:31.275Z] -> Pinging Codecov [2021-12-02T06:23:31.275Z] 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=cb2e8553b38ac866c025eedbd79f7c0275d0a362&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-02T06:23:31.538Z] -> Uploading to [2021-12-02T06:23:31.538Z] https://storage.googleapis.com/codecov/v4/raw/2021-12-02/7D719EC7BBE17E464838252E33014C33/cb2e8553b38ac866c025eedbd79f7c0275d0a362/76bbcb44-7c48-410e-a626-b43e682c3021.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211202T062331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=216a4f676657902b4eee57e4244f9daba57f2731a143b1b8727df42eab2cca04 [2021-12-02T06:23:31.538Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T06:23:31.538Z] Dload Upload Total Spent Left Speed [2021-12-02T06:23:32.109Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3216 0 0 100 3216 0 10287 --:--:-- --:--:-- --:--:-- 10307 [2021-12-02T06:23:32.109Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/cb2e8553b38ac866c025eedbd79f7c0275d0a362 [Pipeline] } [2021-12-02T06:23:32.117Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-12-02T06:23:32.435Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-12-02T06:23:32.450Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:23:32.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T06:23:32.744Z] [2021-12-02T06:23:32.744Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:23:33.063Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T06:23:33.063Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-12-02T06:23:33.063Z] 188c0c94c7c5: Pulling fs layer [2021-12-02T06:23:33.063Z] 0ef7d3d256c8: Pulling fs layer [2021-12-02T06:23:33.063Z] de9db76c5a1d: Pulling fs layer [2021-12-02T06:23:33.063Z] 0eba1c9be4d2: Pulling fs layer [2021-12-02T06:23:33.063Z] 0d57e429df01: Pulling fs layer [2021-12-02T06:23:33.063Z] 4e4be7b47b0d: Pulling fs layer [2021-12-02T06:23:33.063Z] e1f770b5df2f: Pulling fs layer [2021-12-02T06:23:33.063Z] 85a0685a4137: Pulling fs layer [2021-12-02T06:23:33.063Z] 0d57e429df01: Waiting [2021-12-02T06:23:33.063Z] 4e4be7b47b0d: Waiting [2021-12-02T06:23:33.063Z] e1f770b5df2f: Waiting [2021-12-02T06:23:33.063Z] 85a0685a4137: Waiting [2021-12-02T06:23:33.063Z] 0eba1c9be4d2: Waiting [2021-12-02T06:23:33.063Z] de9db76c5a1d: Verifying Checksum [2021-12-02T06:23:33.063Z] de9db76c5a1d: Download complete [2021-12-02T06:23:33.063Z] 0ef7d3d256c8: Verifying Checksum [2021-12-02T06:23:33.063Z] 0ef7d3d256c8: Download complete [2021-12-02T06:23:33.063Z] 0d57e429df01: Verifying Checksum [2021-12-02T06:23:33.063Z] 0d57e429df01: Download complete [2021-12-02T06:23:33.063Z] 4e4be7b47b0d: Verifying Checksum [2021-12-02T06:23:33.063Z] 4e4be7b47b0d: Download complete [2021-12-02T06:23:33.063Z] 188c0c94c7c5: Verifying Checksum [2021-12-02T06:23:33.063Z] 188c0c94c7c5: Download complete [2021-12-02T06:23:33.329Z] e1f770b5df2f: Verifying Checksum [2021-12-02T06:23:33.329Z] e1f770b5df2f: Download complete [2021-12-02T06:23:33.602Z] 0eba1c9be4d2: Verifying Checksum [2021-12-02T06:23:33.602Z] 0eba1c9be4d2: Download complete [2021-12-02T06:23:33.602Z] 188c0c94c7c5: Pull complete [2021-12-02T06:23:33.867Z] 0ef7d3d256c8: Pull complete [2021-12-02T06:23:33.867Z] 85a0685a4137: Verifying Checksum [2021-12-02T06:23:33.867Z] 85a0685a4137: Download complete [2021-12-02T06:23:33.867Z] de9db76c5a1d: Pull complete [2021-12-02T06:23:37.209Z] 0eba1c9be4d2: Pull complete [2021-12-02T06:23:37.209Z] 0d57e429df01: Pull complete [2021-12-02T06:23:37.209Z] 4e4be7b47b0d: Pull complete [2021-12-02T06:23:37.793Z] e1f770b5df2f: Pull complete [2021-12-02T06:23:43.116Z] 85a0685a4137: Pull complete [2021-12-02T06:23:43.116Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-12-02T06:23:43.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T06:23:43.116Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-12-02T06:23:43.180Z] prd-centos7-docker-4c-2g-36 does not seem to be running inside a container [2021-12-02T06:23:43.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-12-02T06:23:43.744Z] $ docker top 0e3a3319766ebff701812ffc7e31733bb111be77f8747c4bd1caa7ef66a9fba2 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-12-02T06:23:43.822Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-12-02T06:23:44.107Z] + set -o pipefail [2021-12-02T06:23:44.107Z] + snyk monitor '--org=edgex-jenkins' [2021-12-02T06:23:48.316Z] [2021-12-02T06:23:48.316Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2021-12-02T06:23:48.316Z] [2021-12-02T06:23:48.316Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/d382ffff-f89b-4921-ae57-13c4806f0dd8 [2021-12-02T06:23:48.316Z] [2021-12-02T06:23:48.316Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-12-02T06:23:48.316Z] [2021-12-02T06:23:48.316Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-12-02T06:23:48.316Z] [2021-12-02T06:23:48.316Z] [Pipeline] } [2021-12-02T06:23:48.329Z] $ docker stop --time=1 0e3a3319766ebff701812ffc7e31733bb111be77f8747c4bd1caa7ef66a9fba2 [2021-12-02T06:23:50.171Z] $ docker rm -f 0e3a3319766ebff701812ffc7e31733bb111be77f8747c4bd1caa7ef66a9fba2 [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-02T06:23:51.202Z] + git log --format=format:%s -1 cb2e8553b38ac866c025eedbd79f7c0275d0a362 [Pipeline] sh [2021-12-02T06:23:51.505Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T06:23:51.505Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:23:51.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T06:23:51.797Z] . [Pipeline] withDockerContainer [2021-12-02T06:23:51.861Z] prd-centos7-docker-4c-2g-36 does not seem to be running inside a container [2021-12-02T06:23:51.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T06:23:52.229Z] $ docker top 28ee0b4829db70955c58dcc8e01612e79c34e325734a34ba3284603dee5db599 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T06:23:52.320Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T06:23:52.320Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T06:23:52.439Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T06:23:52.443Z] $ docker exec 28ee0b4829db70955c58dcc8e01612e79c34e325734a34ba3284603dee5db599 ssh-agent [2021-12-02T06:23:52.538Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbmNfLG/agent.14 [2021-12-02T06:23:52.538Z] SSH_AGENT_PID=20 [2021-12-02T06:23:52.543Z] Running ssh-add (command line suppressed) [2021-12-02T06:23:52.631Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2344642355432018704.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2344642355432018704.key) [2021-12-02T06:23:52.642Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T06:23:52.938Z] + git semver tag [2021-12-02T06:23:52.938Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T06:23:52.938Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-12-02T06:23:52.938Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-02T06:23:52.938Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T06:23:52.938Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T06:23:52.938Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T06:23:52.938Z] # $SEMVER_BRANCH = main [2021-12-02T06:23:52.938Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-12-02T06:23:52.938Z] # cb2e8553b38ac866c025eedbd79f7c0275d0a362 HEAD [2021-12-02T06:23:52.938Z] # -> Force: false [2021-12-02T06:23:52.938Z] # e14662809a413ec0fba24cb615134e338b68928b refs/tags/v2.2.0-dev.2 [Pipeline] } [2021-12-02T06:23:52.953Z] $ docker exec --env ******** --env ******** 28ee0b4829db70955c58dcc8e01612e79c34e325734a34ba3284603dee5db599 ssh-agent -k [2021-12-02T06:23:53.046Z] unset SSH_AUTH_SOCK; [2021-12-02T06:23:53.046Z] unset SSH_AGENT_PID; [2021-12-02T06:23:53.046Z] echo Agent pid 20 killed; [2021-12-02T06:23:53.060Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T06:23:53.363Z] + git semver [Pipeline] } [2021-12-02T06:23:53.376Z] $ docker stop --time=1 28ee0b4829db70955c58dcc8e01612e79c34e325734a34ba3284603dee5db599 [2021-12-02T06:23:54.545Z] $ docker rm -f 28ee0b4829db70955c58dcc8e01612e79c34e325734a34ba3284603dee5db599 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:23:54.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T06:23:54.940Z] [2021-12-02T06:23:54.940Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:23:55.239Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T06:23:55.239Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-12-02T06:23:55.239Z] ab5ef0e58194: Pulling fs layer [2021-12-02T06:23:55.239Z] 9712f1f96733: Pulling fs layer [2021-12-02T06:23:55.239Z] 63f879dbbcfc: Pulling fs layer [2021-12-02T06:23:55.239Z] 0d9ebad4ef96: Pulling fs layer [2021-12-02T06:23:55.239Z] e9a5061849ea: Pulling fs layer [2021-12-02T06:23:55.239Z] d747dcd14b5f: Pulling fs layer [2021-12-02T06:23:55.239Z] 2de7ff778b66: Pulling fs layer [2021-12-02T06:23:55.239Z] 0d9ebad4ef96: Waiting [2021-12-02T06:23:55.239Z] e9a5061849ea: Waiting [2021-12-02T06:23:55.239Z] d747dcd14b5f: Waiting [2021-12-02T06:23:55.239Z] 2de7ff778b66: Waiting [2021-12-02T06:23:55.239Z] 9712f1f96733: Verifying Checksum [2021-12-02T06:23:55.239Z] 9712f1f96733: Download complete [2021-12-02T06:23:55.511Z] 63f879dbbcfc: Verifying Checksum [2021-12-02T06:23:55.511Z] 63f879dbbcfc: Download complete [2021-12-02T06:23:55.779Z] ab5ef0e58194: Verifying Checksum [2021-12-02T06:23:55.779Z] ab5ef0e58194: Download complete [2021-12-02T06:23:55.779Z] d747dcd14b5f: Verifying Checksum [2021-12-02T06:23:55.779Z] d747dcd14b5f: Download complete [2021-12-02T06:23:55.779Z] 0d9ebad4ef96: Verifying Checksum [2021-12-02T06:23:55.779Z] 0d9ebad4ef96: Download complete [2021-12-02T06:23:55.779Z] e9a5061849ea: Verifying Checksum [2021-12-02T06:23:55.779Z] e9a5061849ea: Download complete [2021-12-02T06:23:55.779Z] 2de7ff778b66: Verifying Checksum [2021-12-02T06:23:55.779Z] 2de7ff778b66: Download complete [2021-12-02T06:23:58.333Z] ab5ef0e58194: Pull complete [2021-12-02T06:23:58.333Z] 9712f1f96733: Pull complete [2021-12-02T06:23:59.286Z] 63f879dbbcfc: Pull complete [2021-12-02T06:24:02.631Z] 0d9ebad4ef96: Pull complete [2021-12-02T06:24:03.215Z] e9a5061849ea: Pull complete [2021-12-02T06:24:03.215Z] d747dcd14b5f: Pull complete [2021-12-02T06:24:04.611Z] 2de7ff778b66: Pull complete [2021-12-02T06:24:04.611Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-12-02T06:24:04.611Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T06:24:04.611Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-12-02T06:24:04.684Z] prd-centos7-docker-4c-2g-36 does not seem to be running inside a container [2021-12-02T06:24:04.729Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-12-02T06:24:07.593Z] $ docker top 4eed8cef2f3fc1c60ca1aa5c9cbdfb689e99d5aaab22caf800f425f0af0d5801 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-12-02T06:24:07.684Z] provisioning config files... [2021-12-02T06:24:07.697Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3996268980623415558tmp [2021-12-02T06:24:07.709Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7860275739477811638tmp [2021-12-02T06:24:07.724Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2545373947797909718tmp [Pipeline] { [Pipeline] echo [2021-12-02T06:24:07.747Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:24:08.037Z] ---> sigul-configuration.sh [2021-12-02T06:24:08.037Z] gpg: directory `/root/.gnupg' created [2021-12-02T06:24:08.037Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-12-02T06:24:08.037Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-12-02T06:24:08.037Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-12-02T06:24:08.037Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-12-02T06:24:08.037Z] gpg: CAST5 encrypted data [2021-12-02T06:24:08.037Z] gpg: encrypted with 1 passphrase [2021-12-02T06:24:08.037Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-12-02T06:24:08.338Z] + mkdir /home/jenkins [2021-12-02T06:24:08.338Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-12-02T06:24:08.632Z] + 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-02T06:24:08.643Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:24:08.933Z] ---> sigul-install.sh [2021-12-02T06:24:08.933Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-12-02T06:24:09.225Z] + git tag --list [2021-12-02T06:24:09.226Z] 0.7.1 [2021-12-02T06:24:09.226Z] v1.0.0 [2021-12-02T06:24:09.226Z] v1.1.0 [2021-12-02T06:24:09.226Z] v1.1.1 [2021-12-02T06:24:09.226Z] v1.2.2 [2021-12-02T06:24:09.226Z] v1.3.0 [2021-12-02T06:24:09.226Z] v1.3.1 [2021-12-02T06:24:09.226Z] v2.0.0 [2021-12-02T06:24:09.226Z] v2.0.1-dev.1 [2021-12-02T06:24:09.226Z] v2.0.1-dev.10 [2021-12-02T06:24:09.226Z] v2.0.1-dev.11 [2021-12-02T06:24:09.226Z] v2.0.1-dev.12 [2021-12-02T06:24:09.226Z] v2.0.1-dev.13 [2021-12-02T06:24:09.226Z] v2.0.1-dev.14 [2021-12-02T06:24:09.226Z] v2.0.1-dev.15 [2021-12-02T06:24:09.226Z] v2.0.1-dev.16 [2021-12-02T06:24:09.226Z] v2.0.1-dev.17 [2021-12-02T06:24:09.226Z] v2.0.1-dev.2 [2021-12-02T06:24:09.226Z] v2.0.1-dev.3 [2021-12-02T06:24:09.226Z] v2.0.1-dev.4 [2021-12-02T06:24:09.226Z] v2.0.1-dev.5 [2021-12-02T06:24:09.226Z] v2.0.1-dev.6 [2021-12-02T06:24:09.226Z] v2.0.1-dev.7 [2021-12-02T06:24:09.226Z] v2.0.1-dev.8 [2021-12-02T06:24:09.226Z] v2.0.1-dev.9 [2021-12-02T06:24:09.226Z] v2.1.0 [2021-12-02T06:24:09.226Z] v2.2.0-dev.1 [2021-12-02T06:24:09.226Z] v2.2.0-dev.2 [Pipeline] sh [2021-12-02T06:24:09.522Z] + lftools sign git-tag v2.2.0-dev.2 [2021-12-02T06:24:10.094Z] Signing Git tag with Sigul... [2021-12-02T06:24:10.094Z] Signing v2.2.0-dev.2 [Pipeline] echo [2021-12-02T06:24:11.047Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:24:11.358Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-12-02T06:24:11.365Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-12-02T06:24:11.390Z] $ docker stop --time=1 4eed8cef2f3fc1c60ca1aa5c9cbdfb689e99d5aaab22caf800f425f0af0d5801 [2021-12-02T06:24:12.575Z] $ docker rm -f 4eed8cef2f3fc1c60ca1aa5c9cbdfb689e99d5aaab22caf800f425f0af0d5801 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2021-12-02T06:24:13.166Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T06:24:13.166Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:24:13.458Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T06:24:13.458Z] . [Pipeline] withDockerContainer [2021-12-02T06:24:13.517Z] prd-centos7-docker-4c-2g-36 does not seem to be running inside a container [2021-12-02T06:24:13.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T06:24:13.882Z] $ docker top d84107c4028828be8bbf8896531cc432192a33afaea5243c94f51f9fda3264e9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T06:24:13.969Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T06:24:13.969Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T06:24:14.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T06:24:14.063Z] $ docker exec d84107c4028828be8bbf8896531cc432192a33afaea5243c94f51f9fda3264e9 ssh-agent [2021-12-02T06:24:14.148Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbpoPLC/agent.15 [2021-12-02T06:24:14.148Z] SSH_AGENT_PID=21 [2021-12-02T06:24:14.152Z] Running ssh-add (command line suppressed) [2021-12-02T06:24:14.240Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6154954154226107502.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6154954154226107502.key) [2021-12-02T06:24:14.252Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T06:24:14.544Z] + git semver bump pre [2021-12-02T06:24:14.544Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T06:24:14.544Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-12-02T06:24:14.544Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-02T06:24:14.544Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T06:24:14.544Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T06:24:14.544Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T06:24:14.544Z] # $SEMVER_BRANCH = main [2021-12-02T06:24:14.544Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-12-02T06:24:14.544Z] 2.2.0-dev.3 [Pipeline] } [2021-12-02T06:24:14.600Z] $ docker exec --env ******** --env ******** d84107c4028828be8bbf8896531cc432192a33afaea5243c94f51f9fda3264e9 ssh-agent -k [2021-12-02T06:24:14.719Z] unset SSH_AUTH_SOCK; [2021-12-02T06:24:14.719Z] unset SSH_AGENT_PID; [2021-12-02T06:24:14.719Z] echo Agent pid 21 killed; [2021-12-02T06:24:14.726Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T06:24:15.125Z] + git semver [Pipeline] } [2021-12-02T06:24:15.159Z] $ docker stop --time=1 d84107c4028828be8bbf8896531cc432192a33afaea5243c94f51f9fda3264e9 [2021-12-02T06:24:16.356Z] $ docker rm -f d84107c4028828be8bbf8896531cc432192a33afaea5243c94f51f9fda3264e9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T06:24:16.709Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T06:24:16.709Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:24:17.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T06:24:17.011Z] . [Pipeline] withDockerContainer [2021-12-02T06:24:17.069Z] prd-centos7-docker-4c-2g-36 does not seem to be running inside a container [2021-12-02T06:24:17.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T06:24:17.450Z] $ docker top a79d8fee2987ae77178823ef19fadb5e33a0e9a5146b8fc65e93b5216b6caae1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T06:24:17.550Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T06:24:17.550Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T06:24:17.649Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T06:24:17.652Z] $ docker exec a79d8fee2987ae77178823ef19fadb5e33a0e9a5146b8fc65e93b5216b6caae1 ssh-agent [2021-12-02T06:24:17.751Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjJjhfC/agent.13 [2021-12-02T06:24:17.751Z] SSH_AGENT_PID=19 [2021-12-02T06:24:17.756Z] Running ssh-add (command line suppressed) [2021-12-02T06:24:17.845Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8015261447124861120.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8015261447124861120.key) [2021-12-02T06:24:17.856Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T06:24:18.152Z] + git semver push [2021-12-02T06:24:18.152Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T06:24:18.152Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-12-02T06:24:18.152Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-02T06:24:18.152Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T06:24:18.152Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T06:24:18.152Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T06:24:18.152Z] # $SEMVER_BRANCH = main [2021-12-02T06:24:18.152Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-12-02T06:24:20.073Z] $ docker exec --env ******** --env ******** a79d8fee2987ae77178823ef19fadb5e33a0e9a5146b8fc65e93b5216b6caae1 ssh-agent -k [2021-12-02T06:24:20.159Z] unset SSH_AUTH_SOCK; [2021-12-02T06:24:20.160Z] unset SSH_AGENT_PID; [2021-12-02T06:24:20.160Z] echo Agent pid 19 killed; [2021-12-02T06:24:20.170Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T06:24:20.479Z] + git semver [Pipeline] } [2021-12-02T06:24:20.495Z] $ docker stop --time=1 a79d8fee2987ae77178823ef19fadb5e33a0e9a5146b8fc65e93b5216b6caae1 [2021-12-02T06:24:21.674Z] $ docker rm -f a79d8fee2987ae77178823ef19fadb5e33a0e9a5146b8fc65e93b5216b6caae1 [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-02T06:24:22.577Z] + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:24:22.878Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:24:23.431Z] ---> package-listing.sh [2021-12-02T06:24:23.431Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-02T06:24:23.431Z] ++ facter osfamily [2021-12-02T06:24:23.696Z] + OS_FAMILY=redhat [2021-12-02T06:24:23.696Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-02T06:24:23.696Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-02T06:24:23.696Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-02T06:24:23.696Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-02T06:24:23.696Z] + PACKAGES=/tmp/packages_start.txt [2021-12-02T06:24:23.696Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-12-02T06:24:23.696Z] + PACKAGES=/tmp/packages_end.txt [2021-12-02T06:24:23.696Z] + case "${OS_FAMILY}" in [2021-12-02T06:24:23.696Z] + rpm -qa [2021-12-02T06:24:23.696Z] + sort [2021-12-02T06:24:24.265Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-02T06:24:24.265Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-02T06:24:24.265Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-02T06:24:24.265Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-12-02T06:24:24.265Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2021-12-02T06:24:24.265Z] + 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-02T06:24:24.276Z] 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-02T06:24:24.561Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:24:25.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T06:24:25.110Z] [2021-12-02T06:24:25.110Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T06:24:25.420Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T06:24:25.420Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T06:24:25.420Z] b4d181a07f80: Pulling fs layer [2021-12-02T06:24:25.420Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T06:24:25.420Z] ed53099fbce6: Pulling fs layer [2021-12-02T06:24:25.420Z] dc539afda2c1: Pulling fs layer [2021-12-02T06:24:25.420Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T06:24:25.420Z] 9065ff56babe: Pulling fs layer [2021-12-02T06:24:25.420Z] d287ab97295c: Pulling fs layer [2021-12-02T06:24:25.420Z] dc539afda2c1: Waiting [2021-12-02T06:24:25.420Z] 77bc0d833cb6: Waiting [2021-12-02T06:24:25.420Z] 9065ff56babe: Waiting [2021-12-02T06:24:25.420Z] d287ab97295c: Waiting [2021-12-02T06:24:25.420Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T06:24:25.420Z] a1111a8f2ec3: Download complete [2021-12-02T06:24:25.420Z] dc539afda2c1: Verifying Checksum [2021-12-02T06:24:25.420Z] dc539afda2c1: Download complete [2021-12-02T06:24:25.420Z] ed53099fbce6: Verifying Checksum [2021-12-02T06:24:25.420Z] ed53099fbce6: Download complete [2021-12-02T06:24:25.420Z] 9065ff56babe: Verifying Checksum [2021-12-02T06:24:25.420Z] 9065ff56babe: Download complete [2021-12-02T06:24:25.683Z] b4d181a07f80: Verifying Checksum [2021-12-02T06:24:25.683Z] b4d181a07f80: Download complete [2021-12-02T06:24:25.683Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T06:24:25.683Z] 77bc0d833cb6: Download complete [2021-12-02T06:24:26.258Z] d287ab97295c: Verifying Checksum [2021-12-02T06:24:26.258Z] d287ab97295c: Download complete [2021-12-02T06:24:26.841Z] b4d181a07f80: Pull complete [2021-12-02T06:24:27.100Z] a1111a8f2ec3: Pull complete [2021-12-02T06:24:27.673Z] ed53099fbce6: Pull complete [2021-12-02T06:24:27.673Z] dc539afda2c1: Pull complete [2021-12-02T06:24:27.942Z] 77bc0d833cb6: Pull complete [2021-12-02T06:24:28.203Z] 9065ff56babe: Pull complete [2021-12-02T06:24:33.560Z] d287ab97295c: Pull complete [2021-12-02T06:24:33.560Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T06:24:33.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T06:24:33.560Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T06:24:33.620Z] prd-centos7-docker-4c-2g-36 does not seem to be running inside a container [2021-12-02T06:24:33.653Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-02T06:24:35.599Z] $ docker top ce634fd30cd164bb9071f99942a6f23a4571ca6338266830ee8234be9ebc5c94 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T06:24:35.959Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-02T06:24:36.251Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-02T06:24:36.542Z] + ls /var/log/sa-host [2021-12-02T06:24:36.542Z] + sadf -c /var/log/sa-host/sa02 [2021-12-02T06:24:36.542Z] file_magic: OK [2021-12-02T06:24:36.542Z] HZ: Using current value: 100 [2021-12-02T06:24:36.542Z] file_header: OK [2021-12-02T06:24:36.542Z] 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-02T06:24:36.542Z] Statistics: [2021-12-02T06:24:36.542Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T06:24:36.542Z] File successfully converted to sysstat format version 12.0.3 [2021-12-02T06:24:36.542Z] + sadf -c /var/log/sa-host/sa17 [2021-12-02T06:24:36.542Z] file_magic: OK [2021-12-02T06:24:36.542Z] HZ: Using current value: 100 [2021-12-02T06:24:36.542Z] file_header: OK [2021-12-02T06:24:36.542Z] 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-02T06:24:36.542Z] Statistics: [2021-12-02T06:24:36.542Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T06:24:36.542Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T06:24:36.763Z] provisioning config files... [2021-12-02T06:24:36.772Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6583670042687922032tmp [Pipeline] { [Pipeline] echo [2021-12-02T06:24:36.784Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:24:37.070Z] ---> create-netrc.sh [Pipeline] } [2021-12-02T06:24:37.078Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:24:37.423Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-02T06:24:37.433Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:24:37.722Z] ---> sudo-logs.sh [2021-12-02T06:24:37.722Z] Archiving 'sudo' log.. [2021-12-02T06:24:38.295Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-36.novalocal: Name or service not known [2021-12-02T06:24:38.295Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-36.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-02T06:24:38.321Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:24:38.609Z] ---> job-cost.sh [2021-12-02T06:24:38.610Z] lf-activate-venv: SKIPPING [2021-12-02T06:24:38.610Z] DEBUG: total: 0.10999999940395355 [2021-12-02T06:24:38.610Z] INFO: Retrieving Stack Cost... [2021-12-02T06:24:38.869Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T06:24:39.440Z] INFO: Archiving Costs [Pipeline] echo [2021-12-02T06:24:39.454Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T06:24:39.739Z] ---> logs-deploy.sh [2021-12-02T06:24:39.739Z] lf-activate-venv: SKIPPING [2021-12-02T06:24:39.739Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/23 [2021-12-02T06:24:39.739Z] INFO: archiving workspace using pattern(s): [2021-12-02T06:24:40.310Z] Archives upload complete. [2021-12-02T06:24:40.569Z] INFO: archiving logs to Nexus