Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e697b4492d61b291e25afe90594ef703f17e91d3 Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3800 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision e697b4492d61b291e25afe90594ef703f17e91d3 (master) > 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 remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e697b4492d61b291e25afe90594ef703f17e91d3 # timeout=10 Commit message: "Merge pull request #230 from ernestojeda/rename-makefile-images" > git rev-list --no-walk 913720342204c874872800d189d2482144693ed5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-09T10:50:35.582Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-09T10:50:35.675Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-09T10:50:35.705Z] ========================================================= [2021-05-09T10:50:35.705Z] EdgeX Global Pipelines Version Info [2021-05-09T10:50:35.705Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:50:37.213Z] ------------------- [2021-05-09T10:50:37.213Z] stable info: [2021-05-09T10:50:37.213Z] ------------------- [2021-05-09T10:50:37.213Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-09T10:50:37.213Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-09T10:50:37.213Z] Message: update stable to v1.0.191 [2021-05-09T10:50:38.159Z] ------------------- [2021-05-09T10:50:38.159Z] experimental info: [2021-05-09T10:50:38.159Z] ------------------- [2021-05-09T10:50:38.159Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-09T10:50:38.159Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-09T10:50:38.159Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-09T10:50:38.279Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-05-09T10:50:38.302Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-05-09T10:50:38.328Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-09T10:50:38.352Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-09T10:50:38.376Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-09T10:50:38.400Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-09T10:50:38.423Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-09T10:50:38.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-09T10:50:38.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-09T10:50:38.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-09T10:50:38.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-09T10:50:38.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2021-05-09T10:50:38.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-09T10:50:38.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-09T10:50:38.622Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-09T10:50:38.646Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-09T10:50:38.671Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-09T10:50:38.697Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-09T10:50:38.723Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-09T10:50:38.755Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-09T10:50:38.783Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-09T10:50:38.809Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-09T10:50:38.840Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-09T10:50:38.890Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-09T10:50:38.915Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-09T10:50:38.940Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-09T10:50:38.963Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-09T10:50:38.986Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-09T10:50:39.011Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-09T10:50:39.036Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e697b4492d61b291e25afe90594ef703f17e91d3 [Pipeline] echo [2021-05-09T10:50:39.061Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e697b44 [Pipeline] echo [2021-05-09T10:50:39.086Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T10:50:39.185Z] provisioning config files... [2021-05-09T10:50:39.220Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config1531769150410610294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:50:39.543Z] ---> docker-login.sh [2021-05-09T10:50:39.543Z] nexus3.edgexfoundry.org:10001 [2021-05-09T10:50:39.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:50:39.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:50:39.805Z] Configure a credential helper to remove this warning. See [2021-05-09T10:50:39.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:50:39.805Z] [2021-05-09T10:50:39.805Z] Login Succeeded [2021-05-09T10:50:40.068Z] nexus3.edgexfoundry.org:10002 [2021-05-09T10:50:40.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:50:40.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:50:40.068Z] Configure a credential helper to remove this warning. See [2021-05-09T10:50:40.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:50:40.068Z] [2021-05-09T10:50:40.068Z] Login Succeeded [2021-05-09T10:50:40.068Z] nexus3.edgexfoundry.org:10003 [2021-05-09T10:50:40.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:50:40.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:50:40.329Z] Configure a credential helper to remove this warning. See [2021-05-09T10:50:40.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:50:40.329Z] [2021-05-09T10:50:40.329Z] Login Succeeded [2021-05-09T10:50:40.329Z] nexus3.edgexfoundry.org:10004 [2021-05-09T10:50:40.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:50:40.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:50:40.590Z] Configure a credential helper to remove this warning. See [2021-05-09T10:50:40.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:50:40.590Z] [2021-05-09T10:50:40.590Z] Login Succeeded [2021-05-09T10:50:40.590Z] docker.io [2021-05-09T10:50:40.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:50:40.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:50:40.853Z] Configure a credential helper to remove this warning. See [2021-05-09T10:50:40.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:50:40.853Z] [2021-05-09T10:50:40.853Z] Login Succeeded [2021-05-09T10:50:40.853Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T10:50:40.864Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T10:50:41.309Z] + git log --format=format:%s -1 e697b4492d61b291e25afe90594ef703f17e91d3 [Pipeline] echo [2021-05-09T10:50:41.385Z] GIT_COMMIT: e697b4492d61b291e25afe90594ef703f17e91d3, Commit Message: Merge pull request #230 from ernestojeda/rename-makefile-images [Pipeline] echo [2021-05-09T10:50:41.399Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:50:42.365Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T10:50:42.365Z] [2021-05-09T10:50:42.365Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:50:42.695Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T10:50:42.695Z] latest: Pulling from edgex-devops/git-semver [2021-05-09T10:50:42.695Z] 31603596830f: Pulling fs layer [2021-05-09T10:50:42.695Z] 54011a49482f: Pulling fs layer [2021-05-09T10:50:42.695Z] a6820b24f6d8: Pulling fs layer [2021-05-09T10:50:42.695Z] f581987b2513: Pulling fs layer [2021-05-09T10:50:42.695Z] f581987b2513: Waiting [2021-05-09T10:50:42.695Z] 54011a49482f: Verifying Checksum [2021-05-09T10:50:42.695Z] 54011a49482f: Download complete [2021-05-09T10:50:42.957Z] 31603596830f: Verifying Checksum [2021-05-09T10:50:42.957Z] 31603596830f: Download complete [2021-05-09T10:50:42.957Z] f581987b2513: Verifying Checksum [2021-05-09T10:50:42.957Z] f581987b2513: Download complete [2021-05-09T10:50:42.957Z] a6820b24f6d8: Verifying Checksum [2021-05-09T10:50:42.957Z] a6820b24f6d8: Download complete [2021-05-09T10:50:43.235Z] 31603596830f: Pull complete [2021-05-09T10:50:43.499Z] 54011a49482f: Pull complete [2021-05-09T10:50:44.468Z] a6820b24f6d8: Pull complete [2021-05-09T10:50:44.468Z] f581987b2513: Pull complete [2021-05-09T10:50:44.468Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-09T10:50:44.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T10:50:44.468Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-09T10:50:44.585Z] prd-centos7-docker-4c-2g-3800 does not seem to be running inside a container [2021-05-09T10:50:44.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-09T10:50:46.986Z] $ docker top 0e48974a860ce0e2c8fd0588e0981834f787bd243f77f343a383b85e92728608 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-09T10:50:47.149Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T10:50:47.149Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T10:50:47.382Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T10:50:47.386Z] $ docker exec 0e48974a860ce0e2c8fd0588e0981834f787bd243f77f343a383b85e92728608 ssh-agent [2021-05-09T10:50:47.553Z] SSH_AUTH_SOCK=/tmp/ssh-dYygiJZixD1A/agent.11 [2021-05-09T10:50:47.553Z] SSH_AGENT_PID=16 [2021-05-09T10:50:47.565Z] Running ssh-add (command line suppressed) [2021-05-09T10:50:47.686Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8205885213509621267.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_8205885213509621267.key) [2021-05-09T10:50:47.738Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T10:50:48.042Z] + git tag --points-at HEAD [Pipeline] } [2021-05-09T10:50:48.060Z] $ docker exec --env ******** --env ******** 0e48974a860ce0e2c8fd0588e0981834f787bd243f77f343a383b85e92728608 ssh-agent -k [2021-05-09T10:50:48.175Z] unset SSH_AUTH_SOCK; [2021-05-09T10:50:48.175Z] unset SSH_AGENT_PID; [2021-05-09T10:50:48.175Z] echo Agent pid 16 killed; [2021-05-09T10:50:48.221Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-09T10:50:48.262Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T10:50:48.262Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T10:50:48.427Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T10:50:48.431Z] $ docker exec 0e48974a860ce0e2c8fd0588e0981834f787bd243f77f343a383b85e92728608 ssh-agent [2021-05-09T10:50:48.592Z] SSH_AUTH_SOCK=/tmp/ssh-a0lM0nninZvt/agent.45 [2021-05-09T10:50:48.592Z] SSH_AGENT_PID=51 [2021-05-09T10:50:48.600Z] Running ssh-add (command line suppressed) [2021-05-09T10:50:48.721Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_688905000490859826.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_688905000490859826.key) [2021-05-09T10:50:48.771Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T10:50:49.074Z] + git semver init [2021-05-09T10:50:49.074Z] # -> Open(): unable to determine branch for HEAD [2021-05-09T10:50:49.074Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-09T10:50:49.074Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-09T10:50:49.074Z] # $SEMVER_REMOTE_NAME = origin [2021-05-09T10:50:49.074Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-09T10:50:49.074Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-09T10:50:49.074Z] # $SEMVER_BRANCH = master [2021-05-09T10:50:49.074Z] # $SEMVER_TEMP = /tmp/semver-139859033 [2021-05-09T10:50:49.074Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-05-09T10:50:49.646Z] # '/tmp/semver-139859033' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' [2021-05-09T10:50:49.646Z] # -> Force: false [2021-05-09T10:50:49.646Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-05-09T10:50:49.660Z] $ docker exec --env ******** --env ******** 0e48974a860ce0e2c8fd0588e0981834f787bd243f77f343a383b85e92728608 ssh-agent -k [2021-05-09T10:50:49.783Z] unset SSH_AUTH_SOCK; [2021-05-09T10:50:49.784Z] unset SSH_AGENT_PID; [2021-05-09T10:50:49.784Z] echo Agent pid 51 killed; [2021-05-09T10:50:49.894Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T10:50:50.247Z] + git semver [Pipeline] } [2021-05-09T10:50:50.264Z] $ docker stop --time=1 0e48974a860ce0e2c8fd0588e0981834f787bd243f77f343a383b85e92728608 [2021-05-09T10:50:51.626Z] $ docker rm -f 0e48974a860ce0e2c8fd0588e0981834f787bd243f77f343a383b85e92728608 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T10:50:52.015Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-09T10:50:52.333Z] Stashed 1 file(s) [Pipeline] echo [2021-05-09T10:50:52.336Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.9 [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-05-09T10:51:07.519Z] Still waiting to schedule task [2021-05-09T10:51:07.519Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3799’ is offline; ‘prd-centos7-docker-4c-2g-3801’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-09T10:51:07.521Z] Still waiting to schedule task [2021-05-09T10:51:07.521Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-09T10:52:06.990Z] Running on prd-centos7-docker-4c-2g-3804 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-05-09T10:52:07.010Z] Running in /w/workspace/device-mqtt-go/40 [Pipeline] { [Pipeline] checkout [2021-05-09T10:52:09.627Z] using credential edgex-jenkins-ssh [2021-05-09T10:52:09.642Z] Cloning the remote Git repository [2021-05-09T10:52:09.344Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-09T10:52:09.418Z] > git init /w/workspace/device-mqtt-go/40 # timeout=10 [2021-05-09T10:52:09.486Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-09T10:52:09.486Z] > git --version # timeout=10 [2021-05-09T10:52:09.493Z] > git --version # 'git version 2.24.3' [2021-05-09T10:52:09.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T10:52:09.529Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T10:52:10.105Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-05-09T10:52:10.110Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T10:52:10.123Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-05-09T10:52:10.758Z] Checking out Revision e697b4492d61b291e25afe90594ef703f17e91d3 (master) [2021-05-09T10:52:10.136Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-09T10:52:10.136Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T10:52:10.141Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-09T10:52:10.538Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T10:52:10.544Z] > git checkout -f e697b4492d61b291e25afe90594ef703f17e91d3 # timeout=10 [2021-05-09T10:52:14.216Z] Commit message: "Merge pull request #230 from ernestojeda/rename-makefile-images" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T10:52:15.215Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-09T10:52:15.572Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-09T10:52:15.874Z] + sudo service docker restart [2021-05-09T10:52:15.874Z] + true [2021-05-09T10:52:15.874Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T10:52:17.311Z] provisioning config files... [2021-05-09T10:52:17.345Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/40@tmp/config8206702353462034896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:52:17.682Z] ---> docker-login.sh [2021-05-09T10:52:17.682Z] nexus3.edgexfoundry.org:10001 [2021-05-09T10:52:17.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:52:17.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:52:17.945Z] Configure a credential helper to remove this warning. See [2021-05-09T10:52:17.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:52:17.945Z] [2021-05-09T10:52:17.945Z] Login Succeeded [2021-05-09T10:52:17.945Z] nexus3.edgexfoundry.org:10002 [2021-05-09T10:52:18.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:52:18.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:52:18.208Z] Configure a credential helper to remove this warning. See [2021-05-09T10:52:18.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:52:18.208Z] [2021-05-09T10:52:18.208Z] Login Succeeded [2021-05-09T10:52:18.208Z] nexus3.edgexfoundry.org:10003 [2021-05-09T10:52:18.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:52:18.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:52:18.470Z] Configure a credential helper to remove this warning. See [2021-05-09T10:52:18.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:52:18.470Z] [2021-05-09T10:52:18.470Z] Login Succeeded [2021-05-09T10:52:18.470Z] nexus3.edgexfoundry.org:10004 [2021-05-09T10:52:18.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:52:18.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:52:18.470Z] Configure a credential helper to remove this warning. See [2021-05-09T10:52:18.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:52:18.470Z] [2021-05-09T10:52:18.470Z] Login Succeeded [2021-05-09T10:52:18.470Z] docker.io [2021-05-09T10:52:18.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:52:18.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:52:18.994Z] Configure a credential helper to remove this warning. See [2021-05-09T10:52:18.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:52:18.994Z] [2021-05-09T10:52:18.994Z] Login Succeeded [2021-05-09T10:52:18.994Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T10:52:19.005Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-09T10:52:19.178Z] ========================================================= [2021-05-09T10:52:19.178Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-09T10:52:19.178Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:52:19.489Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-09T10:52:19.489Z] Sending build context to Docker daemon 548.4kB [2021-05-09T10:52:19.489Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T10:52:19.489Z] Step 2/8 : FROM ${BASE} [2021-05-09T10:52:19.489Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-09T10:52:19.489Z] 540db60ca938: Pulling fs layer [2021-05-09T10:52:19.489Z] adcc1eea9eea: Pulling fs layer [2021-05-09T10:52:19.489Z] 4c4ab2625f07: Pulling fs layer [2021-05-09T10:52:19.489Z] 0510c868ecb4: Pulling fs layer [2021-05-09T10:52:19.489Z] afea3b2eda06: Pulling fs layer [2021-05-09T10:52:19.489Z] 7809a108b3ef: Pulling fs layer [2021-05-09T10:52:19.489Z] f706445af74f: Pulling fs layer [2021-05-09T10:52:19.489Z] afea3b2eda06: Waiting [2021-05-09T10:52:19.489Z] 7809a108b3ef: Waiting [2021-05-09T10:52:19.489Z] f706445af74f: Waiting [2021-05-09T10:52:19.489Z] 0510c868ecb4: Waiting [2021-05-09T10:52:19.753Z] 4c4ab2625f07: Verifying Checksum [2021-05-09T10:52:19.753Z] 4c4ab2625f07: Download complete [2021-05-09T10:52:19.753Z] adcc1eea9eea: Verifying Checksum [2021-05-09T10:52:19.753Z] adcc1eea9eea: Download complete [2021-05-09T10:52:19.753Z] afea3b2eda06: Download complete [2021-05-09T10:52:19.753Z] 7809a108b3ef: Verifying Checksum [2021-05-09T10:52:19.753Z] 7809a108b3ef: Download complete [2021-05-09T10:52:19.753Z] 540db60ca938: Verifying Checksum [2021-05-09T10:52:19.753Z] 540db60ca938: Download complete [2021-05-09T10:52:20.019Z] 540db60ca938: Pull complete [2021-05-09T10:52:20.283Z] adcc1eea9eea: Pull complete [2021-05-09T10:52:20.283Z] 4c4ab2625f07: Pull complete [2021-05-09T10:52:21.684Z] f706445af74f: Verifying Checksum [2021-05-09T10:52:21.684Z] f706445af74f: Download complete [2021-05-09T10:52:22.638Z] 0510c868ecb4: Verifying Checksum [2021-05-09T10:52:22.638Z] 0510c868ecb4: Download complete [2021-05-09T10:52:28.031Z] 0510c868ecb4: Pull complete [2021-05-09T10:52:28.294Z] afea3b2eda06: Pull complete [2021-05-09T10:52:28.294Z] 7809a108b3ef: Pull complete [2021-05-09T10:52:32.532Z] f706445af74f: Pull complete [2021-05-09T10:52:32.532Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-09T10:52:32.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-09T10:52:32.532Z] ---> b068be0155e3 [2021-05-09T10:52:32.532Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-09T10:52:33.486Z] ---> Running in ca0ade815e9f [2021-05-09T10:52:33.751Z] Removing intermediate container ca0ade815e9f [2021-05-09T10:52:33.751Z] ---> af434a50e7a5 [2021-05-09T10:52:33.751Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T10:52:33.751Z] ---> Running in d459a2e3cef1 [2021-05-09T10:52:35.169Z] Removing intermediate container d459a2e3cef1 [2021-05-09T10:52:35.169Z] ---> daf794817ede [2021-05-09T10:52:35.169Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-09T10:52:35.169Z] ---> Running in f579d8d7a566 [2021-05-09T10:52:36.123Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-09T10:52:38.056Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-09T10:52:38.630Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-09T10:52:38.892Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-09T10:52:38.892Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-09T10:52:39.155Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-09T10:52:39.416Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-09T10:52:39.416Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-09T10:52:39.679Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-09T10:52:40.255Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-09T10:52:40.520Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-09T10:52:40.520Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-09T10:52:40.783Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-09T10:52:41.047Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-09T10:52:41.047Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-09T10:52:41.309Z] Executing busybox-1.32.1-r6.trigger [2021-05-09T10:52:41.309Z] OK: 156 MiB in 53 packages [2021-05-09T10:52:42.279Z] Removing intermediate container f579d8d7a566 [2021-05-09T10:52:42.279Z] ---> 932b8b9b2cd9 [2021-05-09T10:52:42.279Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-05-09T10:52:42.279Z] ---> Running in 478fbf6a1f34 [2021-05-09T10:52:42.542Z] Removing intermediate container 478fbf6a1f34 [2021-05-09T10:52:42.542Z] ---> 5c39ad685ee1 [2021-05-09T10:52:42.542Z] Step 7/8 : COPY . . [2021-05-09T10:52:43.492Z] ---> 72c589782a26 [2021-05-09T10:52:43.492Z] Step 8/8 : RUN go mod download [2021-05-09T10:52:43.492Z] ---> Running in 35329801272a [2021-05-09T10:53:10.132Z] Removing intermediate container 35329801272a [2021-05-09T10:53:10.132Z] ---> 504ebeb7e41c [2021-05-09T10:53:10.132Z] Successfully built 504ebeb7e41c [2021-05-09T10:53:10.132Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:53:10.455Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-09T10:53:10.455Z] . [Pipeline] withDockerContainer [2021-05-09T10:53:10.585Z] prd-centos7-docker-4c-2g-3804 does not seem to be running inside a container [2021-05-09T10:53:10.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/40 -v /w/workspace/device-mqtt-go/40:/w/workspace/device-mqtt-go/40:rw,z -v /w/workspace/device-mqtt-go/40@tmp:/w/workspace/device-mqtt-go/40@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 ******** ci-base-image-x86_64 cat [2021-05-09T10:53:11.458Z] $ docker top e61a2624ee0e9f63a697496b219ae972efbb9f0f74e273bf7a8435fff06560ba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T10:53:11.887Z] + go version [2021-05-09T10:53:11.887Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-09T10:53:11.902Z] $ docker stop --time=1 e61a2624ee0e9f63a697496b219ae972efbb9f0f74e273bf7a8435fff06560ba [2021-05-09T10:53:13.337Z] $ docker rm -f e61a2624ee0e9f63a697496b219ae972efbb9f0f74e273bf7a8435fff06560ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:53:13.933Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-09T10:53:13.933Z] . [Pipeline] withDockerContainer [2021-05-09T10:53:14.076Z] prd-centos7-docker-4c-2g-3804 does not seem to be running inside a container [2021-05-09T10:53:14.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/40 -v /w/workspace/device-mqtt-go/40:/w/workspace/device-mqtt-go/40:rw,z -v /w/workspace/device-mqtt-go/40@tmp:/w/workspace/device-mqtt-go/40@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 ******** ci-base-image-x86_64 cat [2021-05-09T10:53:14.966Z] $ docker top 47af1c59004823e968a48d1076a2024b3aee619c8612d1307bf48aaa7c1c048a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T10:53:15.503Z] + go mod tidy [Pipeline] sh [2021-05-09T10:53:16.403Z] + make test [2021-05-09T10:53:16.403Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-09T10:53:16.984Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-05-09T10:53:39.180Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-05-09T10:53:39.180Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 24.9% of statements [2021-05-09T10:53:39.180Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-05-09T10:53:39.180Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-09T10:53:47.447Z] gofmt -l . [2021-05-09T10:53:47.447Z] ["`gofmt -l .`" = ""] [2021-05-09T10:53:47.447Z] ./bin/test-attribution-txt.sh [2021-05-09T10:53:48.400Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-09T10:53:48.419Z] $ docker stop --time=1 47af1c59004823e968a48d1076a2024b3aee619c8612d1307bf48aaa7c1c048a [2021-05-09T10:53:50.334Z] $ docker rm -f 47af1c59004823e968a48d1076a2024b3aee619c8612d1307bf48aaa7c1c048a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T10:53:50.888Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-09T10:53:51.240Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-09T10:53:52.295Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-09T10:53:52.606Z] + ls -al . [2021-05-09T10:53:52.606Z] total 108 [2021-05-09T10:53:52.606Z] drwxrwxr-x. 9 jenkins jenkins 4096 May 9 10:53 . [2021-05-09T10:53:52.606Z] drwxrwxr-x. 4 jenkins jenkins 30 May 9 10:52 .. [2021-05-09T10:53:52.606Z] -rw-rw-r--. 1 jenkins jenkins 7100 May 9 10:52 Attribution.txt [2021-05-09T10:53:52.606Z] drwxrwxr-x. 2 jenkins jenkins 87 May 9 10:52 bin [2021-05-09T10:53:52.606Z] drwxrwxr-x. 3 jenkins jenkins 32 May 9 10:52 cmd [2021-05-09T10:53:52.606Z] -rw-r--r--. 1 jenkins jenkins 19386 May 9 10:53 coverage.out [2021-05-09T10:53:52.606Z] -rw-rw-r--. 1 jenkins jenkins 1861 May 9 10:52 Dockerfile [2021-05-09T10:53:52.606Z] -rw-rw-r--. 1 jenkins jenkins 994 May 9 10:52 Dockerfile.build [2021-05-09T10:53:52.606Z] -rw-rw-r--. 1 jenkins jenkins 140 May 9 10:52 .dockerignore [2021-05-09T10:53:52.606Z] drwxrwxr-x. 8 jenkins jenkins 162 May 9 10:52 .git [2021-05-09T10:53:52.606Z] drwxrwxr-x. 2 jenkins jenkins 103 May 9 10:52 .github [2021-05-09T10:53:52.606Z] -rw-rw-r--. 1 jenkins jenkins 336 May 9 10:52 .gitignore [2021-05-09T10:53:52.606Z] -rw-r--r--. 1 jenkins jenkins 409 May 9 10:53 go.mod [2021-05-09T10:53:52.606Z] -rw-r--r--. 1 jenkins jenkins 21534 May 9 10:53 go.sum [2021-05-09T10:53:52.606Z] drwxrwxr-x. 3 jenkins jenkins 20 May 9 10:52 internal [2021-05-09T10:53:52.606Z] -rw-rw-r--. 1 jenkins jenkins 677 May 9 10:52 Jenkinsfile [2021-05-09T10:53:52.606Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 9 10:52 LICENSE [2021-05-09T10:53:52.606Z] -rw-rw-r--. 1 jenkins jenkins 930 May 9 10:52 Makefile [2021-05-09T10:53:52.606Z] drwxrwxr-x. 2 jenkins jenkins 23 May 9 10:52 mock [2021-05-09T10:53:52.606Z] -rw-rw-r--. 1 jenkins jenkins 2217 May 9 10:52 README.md [2021-05-09T10:53:52.606Z] drwxrwxr-x. 4 jenkins jenkins 71 May 9 10:52 snap [2021-05-09T10:53:52.606Z] -rw-rw-r--. 1 jenkins jenkins 11 May 9 10:50 VERSION [2021-05-09T10:53:52.606Z] -rw-rw-r--. 1 jenkins jenkins 227 May 9 10:52 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:53:52.913Z] + docker build -t docker-device-mqtt-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e697b4492d61b291e25afe90594ef703f17e91d3 --label arch=amd64 --label version=1.3.2-dev.9 . [2021-05-09T10:53:53.176Z] Sending build context to Docker daemon 568.3kB [2021-05-09T10:53:53.176Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T10:53:53.176Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-09T10:53:53.176Z] ---> 504ebeb7e41c [2021-05-09T10:53:53.176Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-09T10:53:53.176Z] ---> Running in 43383c911887 [2021-05-09T10:53:53.437Z] Removing intermediate container 43383c911887 [2021-05-09T10:53:53.437Z] ---> 4422b4b70b2b [2021-05-09T10:53:53.437Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-05-09T10:53:53.437Z] ---> Running in 1be3940c14fa [2021-05-09T10:53:53.710Z] Removing intermediate container 1be3940c14fa [2021-05-09T10:53:53.710Z] ---> 6dc430b20b0c [2021-05-09T10:53:53.710Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T10:53:53.710Z] ---> Running in 01da84e735db [2021-05-09T10:53:54.667Z] Removing intermediate container 01da84e735db [2021-05-09T10:53:54.667Z] ---> ca2dfd396b5a [2021-05-09T10:53:54.667Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-09T10:53:54.667Z] ---> Running in bc18b12d51cd [2021-05-09T10:53:55.242Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-09T10:53:57.193Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-09T10:53:57.767Z] OK: 156 MiB in 53 packages [2021-05-09T10:53:58.344Z] Removing intermediate container bc18b12d51cd [2021-05-09T10:53:58.344Z] ---> 4adc3a923ee0 [2021-05-09T10:53:58.344Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-05-09T10:53:58.344Z] ---> Running in cba37bf0be1e [2021-05-09T10:53:58.344Z] Removing intermediate container cba37bf0be1e [2021-05-09T10:53:58.344Z] ---> 8ebc2c11abce [2021-05-09T10:53:58.344Z] Step 8/23 : COPY . . [2021-05-09T10:53:59.298Z] ---> 5c0a49c374e6 [2021-05-09T10:53:59.298Z] Step 9/23 : RUN go mod download [2021-05-09T10:53:59.298Z] ---> Running in 98f43a010fcb [2021-05-09T10:54:00.701Z] Removing intermediate container 98f43a010fcb [2021-05-09T10:54:00.701Z] ---> 7f8b4baf3cf3 [2021-05-09T10:54:00.701Z] Step 10/23 : ARG MAKE='make build' [2021-05-09T10:54:00.701Z] ---> Running in 5015dc87cbb5 [2021-05-09T10:54:00.701Z] Removing intermediate container 5015dc87cbb5 [2021-05-09T10:54:00.701Z] ---> a04d4685e811 [2021-05-09T10:54:00.701Z] Step 11/23 : RUN $MAKE [2021-05-09T10:54:00.701Z] ---> Running in 6e96ec316599 [2021-05-09T10:54:01.293Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.9" -o cmd/device-mqtt ./cmd [2021-05-09T10:54:10.022Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3806 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws [2021-05-09T10:54:10.055Z] Running in /w/workspace/device-mqtt-go/40 [Pipeline] { [Pipeline] checkout [2021-05-09T10:54:13.700Z] GCO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-09T10:54:16.379Z] using credential edgex-jenkins-ssh [2021-05-09T10:54:16.403Z] Cloning the remote Git repository [2021-05-09T10:54:16.423Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-09T10:54:16.969Z] > git init /w/workspace/device-mqtt-go/40 # timeout=10 [2021-05-09T10:54:17.100Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-09T10:54:17.101Z] > git --version # timeout=10 [2021-05-09T10:54:17.132Z] > git --version # 'git version 2.17.1' [2021-05-09T10:54:17.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T10:54:17.236Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T10:54:17.957Z] Removing intermediate container 6e96ec316599 [2021-05-09T10:54:17.957Z] ---> 301d96d76b98 [2021-05-09T10:54:17.957Z] Step 12/23 : FROM alpine:3.12 [2021-05-09T10:54:18.220Z] 3.12: Pulling from library/alpine [2021-05-09T10:54:18.485Z] 339de151aab4: Pulling fs layer [2021-05-09T10:54:18.658Z] Checking out Revision e697b4492d61b291e25afe90594ef703f17e91d3 (master) [2021-05-09T10:54:18.748Z] 339de151aab4: Download complete [2021-05-09T10:54:19.010Z] 339de151aab4: Pull complete [2021-05-09T10:54:19.010Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-09T10:54:19.010Z] Status: Downloaded newer image for alpine:3.12 [2021-05-09T10:54:19.010Z] ---> 13621d1b12d4 [2021-05-09T10:54:19.010Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-05-09T10:54:19.010Z] ---> Running in 3d641913271a [2021-05-09T10:54:18.041Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-05-09T10:54:18.060Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T10:54:18.095Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-05-09T10:54:18.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-05-09T10:54:18.150Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T10:54:18.166Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-09T10:54:18.628Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T10:54:18.642Z] > git checkout -f e697b4492d61b291e25afe90594ef703f17e91d3 # timeout=10 [2021-05-09T10:54:19.273Z] Removing intermediate container 3d641913271a [2021-05-09T10:54:19.273Z] ---> c0ae73efa076 [2021-05-09T10:54:19.273Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-09T10:54:19.273Z] ---> Running in 7b022cf2127f [2021-05-09T10:54:19.851Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-09T10:54:19.851Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-09T10:54:20.116Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-09T10:54:20.116Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-09T10:54:20.116Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-09T10:54:20.382Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-09T10:54:20.382Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-09T10:54:20.382Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-09T10:54:20.382Z] Executing busybox-1.31.1-r20.trigger [2021-05-09T10:54:20.382Z] OK: 8 MiB in 20 packages [2021-05-09T10:54:20.958Z] Removing intermediate container 7b022cf2127f [2021-05-09T10:54:20.958Z] ---> 495f23b2e138 [2021-05-09T10:54:20.958Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-05-09T10:54:21.534Z] ---> 72222033f134 [2021-05-09T10:54:21.534Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-05-09T10:54:21.798Z] ---> 1646bdb0cfe9 [2021-05-09T10:54:21.798Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-05-09T10:54:22.061Z] ---> daf61a52a3b1 [2021-05-09T10:54:22.061Z] Step 18/23 : EXPOSE 49982 [2021-05-09T10:54:22.061Z] ---> Running in 87ada9acfef2 [2021-05-09T10:54:22.322Z] Removing intermediate container 87ada9acfef2 [2021-05-09T10:54:22.322Z] ---> 20148889de96 [2021-05-09T10:54:22.322Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-05-09T10:54:22.322Z] ---> Running in 5b64726d3b8d [2021-05-09T10:54:22.587Z] Removing intermediate container 5b64726d3b8d [2021-05-09T10:54:22.587Z] ---> 5dcfb97a7c0c [2021-05-09T10:54:22.587Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-09T10:54:22.587Z] ---> Running in 03e2c2f8ae46 [2021-05-09T10:54:22.852Z] Removing intermediate container 03e2c2f8ae46 [2021-05-09T10:54:22.852Z] ---> e3854214bd89 [2021-05-09T10:54:22.852Z] Step 21/23 : LABEL arch=amd64 [2021-05-09T10:54:22.852Z] ---> Running in f67afc9f58b7 [2021-05-09T10:54:23.097Z] Commit message: "Merge pull request #230 from ernestojeda/rename-makefile-images" [2021-05-09T10:54:23.115Z] Removing intermediate container f67afc9f58b7 [2021-05-09T10:54:23.115Z] ---> 4fe00f76c3b9 [2021-05-09T10:54:23.115Z] Step 22/23 : LABEL git_sha=e697b4492d61b291e25afe90594ef703f17e91d3 [2021-05-09T10:54:23.115Z] ---> Running in 8f7689a1509f [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-05-09T10:54:23.380Z] Removing intermediate container 8f7689a1509f [2021-05-09T10:54:23.380Z] ---> e4f881574ab9 [2021-05-09T10:54:23.380Z] Step 23/23 : LABEL version=1.3.2-dev.9 [2021-05-09T10:54:23.380Z] ---> Running in 1c46f0aa4063 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T10:54:23.644Z] Removing intermediate container 1c46f0aa4063 [2021-05-09T10:54:23.644Z] ---> 83d1afc9aa3c [2021-05-09T10:54:23.644Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-09T10:54:23.644Z] Successfully built 83d1afc9aa3c [2021-05-09T10:54:23.644Z] Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T10:54:24.320Z] provisioning config files... [2021-05-09T10:54:24.353Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/40@tmp/config2656867075827233014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:54:24.522Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-09T10:54:24.690Z] ---> docker-login.sh [2021-05-09T10:54:24.690Z] nexus3.edgexfoundry.org:10001 [2021-05-09T10:54:24.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:24.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:24.954Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:24.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:24.954Z] [2021-05-09T10:54:24.954Z] Login Succeeded [2021-05-09T10:54:24.954Z] nexus3.edgexfoundry.org:10002 [2021-05-09T10:54:24.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:24.954Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-09T10:54:25.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:25.217Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:25.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:25.217Z] [2021-05-09T10:54:25.217Z] Login Succeeded [2021-05-09T10:54:25.217Z] nexus3.edgexfoundry.org:10003 [2021-05-09T10:54:25.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:25.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:25.217Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:25.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:25.217Z] [2021-05-09T10:54:25.217Z] Login Succeeded [2021-05-09T10:54:25.217Z] nexus3.edgexfoundry.org:10004 [2021-05-09T10:54:25.304Z] + sudo service docker restart [2021-05-09T10:54:25.304Z] + true [2021-05-09T10:54:25.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:25.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:25.481Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:25.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:25.481Z] [2021-05-09T10:54:25.481Z] Login Succeeded [2021-05-09T10:54:25.481Z] docker.io [2021-05-09T10:54:25.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:26.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:26.009Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:26.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:26.009Z] [2021-05-09T10:54:26.009Z] Login Succeeded [2021-05-09T10:54:26.009Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T10:54:26.021Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-09T10:54:26.092Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go with the following tags: [2021-05-09T10:54:26.092Z] e697b4492d61b291e25afe90594ef703f17e91d3 [2021-05-09T10:54:26.092Z] latest [2021-05-09T10:54:26.092Z] 1.3.2-dev.9 [2021-05-09T10:54:26.092Z] e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.9 [2021-05-09T10:54:26.092Z] master [2021-05-09T10:54:26.092Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:54:26.455Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:e697b4492d61b291e25afe90594ef703f17e91d3 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:54:26.763Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:e697b4492d61b291e25afe90594ef703f17e91d3 [2021-05-09T10:54:26.763Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-05-09T10:54:26.763Z] ea4e8e98bc88: Preparing [2021-05-09T10:54:26.763Z] 48b68192de09: Preparing [2021-05-09T10:54:26.763Z] da1a6403b825: Preparing [2021-05-09T10:54:26.763Z] bbadc206d301: Preparing [2021-05-09T10:54:26.763Z] 32f366d666a5: Preparing [2021-05-09T10:54:26.763Z] 32f366d666a5: Layer already exists [2021-05-09T10:54:26.763Z] 48b68192de09: Pushed [2021-05-09T10:54:26.763Z] ea4e8e98bc88: Pushed [2021-05-09T10:54:27.027Z] bbadc206d301: Pushed [2021-05-09T10:54:27.975Z] da1a6403b825: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T10:54:27.994Z] provisioning config files... [2021-05-09T10:54:28.047Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/40@tmp/config7371033524849876584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:54:28.248Z] e697b4492d61b291e25afe90594ef703f17e91d3: digest: sha256:d805da30577d1dd827730781a37af611ab92699d8eb005a8c8d81f8e017bbf05 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:54:28.449Z] ---> docker-login.sh [2021-05-09T10:54:28.449Z] nexus3.edgexfoundry.org:10001 [2021-05-09T10:54:28.567Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:54:28.877Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2021-05-09T10:54:28.877Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-05-09T10:54:28.877Z] ea4e8e98bc88: Preparing [2021-05-09T10:54:28.877Z] 48b68192de09: Preparing [2021-05-09T10:54:28.877Z] da1a6403b825: Preparing [2021-05-09T10:54:28.877Z] bbadc206d301: Preparing [2021-05-09T10:54:28.877Z] 32f366d666a5: Preparing [2021-05-09T10:54:28.877Z] ea4e8e98bc88: Layer already exists [2021-05-09T10:54:28.877Z] bbadc206d301: Layer already exists [2021-05-09T10:54:28.877Z] 32f366d666a5: Layer already exists [2021-05-09T10:54:28.877Z] da1a6403b825: Layer already exists [2021-05-09T10:54:28.877Z] 48b68192de09: Layer already exists [2021-05-09T10:54:28.877Z] latest: digest: sha256:d805da30577d1dd827730781a37af611ab92699d8eb005a8c8d81f8e017bbf05 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:54:29.186Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:54:29.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:29.494Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.9 [2021-05-09T10:54:29.494Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-05-09T10:54:29.494Z] ea4e8e98bc88: Preparing [2021-05-09T10:54:29.494Z] 48b68192de09: Preparing [2021-05-09T10:54:29.494Z] da1a6403b825: Preparing [2021-05-09T10:54:29.494Z] bbadc206d301: Preparing [2021-05-09T10:54:29.494Z] 32f366d666a5: Preparing [2021-05-09T10:54:29.494Z] 48b68192de09: Layer already exists [2021-05-09T10:54:29.494Z] 32f366d666a5: Layer already exists [2021-05-09T10:54:29.494Z] ea4e8e98bc88: Layer already exists [2021-05-09T10:54:29.494Z] bbadc206d301: Layer already exists [2021-05-09T10:54:29.494Z] da1a6403b825: Layer already exists [2021-05-09T10:54:29.494Z] 1.3.2-dev.9: digest: sha256:d805da30577d1dd827730781a37af611ab92699d8eb005a8c8d81f8e017bbf05 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:54:29.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:29.709Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:29.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:29.709Z] [2021-05-09T10:54:29.709Z] Login Succeeded [2021-05-09T10:54:29.709Z] nexus3.edgexfoundry.org:10002 [2021-05-09T10:54:29.813Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:54:30.120Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.9 [2021-05-09T10:54:30.120Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-05-09T10:54:30.120Z] ea4e8e98bc88: Preparing [2021-05-09T10:54:30.120Z] 48b68192de09: Preparing [2021-05-09T10:54:30.120Z] da1a6403b825: Preparing [2021-05-09T10:54:30.120Z] bbadc206d301: Preparing [2021-05-09T10:54:30.120Z] 32f366d666a5: Preparing [2021-05-09T10:54:30.120Z] ea4e8e98bc88: Layer already exists [2021-05-09T10:54:30.120Z] da1a6403b825: Layer already exists [2021-05-09T10:54:30.120Z] 32f366d666a5: Layer already exists [2021-05-09T10:54:30.120Z] bbadc206d301: Layer already exists [2021-05-09T10:54:30.120Z] 48b68192de09: Layer already exists [2021-05-09T10:54:30.120Z] e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.9: digest: sha256:d805da30577d1dd827730781a37af611ab92699d8eb005a8c8d81f8e017bbf05 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:54:30.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:30.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:30.309Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:30.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:30.309Z] [2021-05-09T10:54:30.309Z] Login Succeeded [2021-05-09T10:54:30.309Z] nexus3.edgexfoundry.org:10003 [2021-05-09T10:54:30.434Z] + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:54:30.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:30.739Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [2021-05-09T10:54:30.739Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] [2021-05-09T10:54:30.739Z] ea4e8e98bc88: Preparing [2021-05-09T10:54:30.739Z] 48b68192de09: Preparing [2021-05-09T10:54:30.739Z] da1a6403b825: Preparing [2021-05-09T10:54:30.739Z] bbadc206d301: Preparing [2021-05-09T10:54:30.739Z] 32f366d666a5: Preparing [2021-05-09T10:54:30.739Z] 32f366d666a5: Layer already exists [2021-05-09T10:54:30.739Z] ea4e8e98bc88: Layer already exists [2021-05-09T10:54:30.739Z] bbadc206d301: Layer already exists [2021-05-09T10:54:30.739Z] 48b68192de09: Layer already exists [2021-05-09T10:54:30.739Z] da1a6403b825: Layer already exists [2021-05-09T10:54:30.739Z] master: digest: sha256:d805da30577d1dd827730781a37af611ab92699d8eb005a8c8d81f8e017bbf05 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-09T10:54:30.805Z] ===================================================== [Pipeline] echo [2021-05-09T10:54:30.821Z] taggedImages: [2021-05-09T10:54:30.821Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:e697b4492d61b291e25afe90594ef703f17e91d3 [2021-05-09T10:54:30.821Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [2021-05-09T10:54:30.821Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.2-dev.9 [2021-05-09T10:54:30.821Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.9 [2021-05-09T10:54:30.821Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-05-09T10:54:30.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:30.864Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:30.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:30.864Z] [2021-05-09T10:54:30.864Z] Login Succeeded [2021-05-09T10:54:30.864Z] nexus3.edgexfoundry.org:10004 [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:54:31.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:31.333Z] ---> job-cost.sh [2021-05-09T10:54:31.333Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Y94A [2021-05-09T10:54:31.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:31.415Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:31.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:31.415Z] [2021-05-09T10:54:31.415Z] Login Succeeded [2021-05-09T10:54:31.415Z] docker.io [2021-05-09T10:54:32.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:54:32.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:54:32.286Z] Configure a credential helper to remove this warning. See [2021-05-09T10:54:32.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:54:32.286Z] [2021-05-09T10:54:32.286Z] Login Succeeded [2021-05-09T10:54:32.286Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T10:54:32.304Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-09T10:54:32.649Z] ========================================================= [2021-05-09T10:54:32.649Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-09T10:54:32.649Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:54:33.004Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-09T10:54:33.280Z] Sending build context to Docker daemon 547.3kB [2021-05-09T10:54:33.280Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T10:54:33.280Z] Step 2/8 : FROM ${BASE} [2021-05-09T10:54:33.556Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-09T10:54:33.556Z] 595b0fe564bb: Pulling fs layer [2021-05-09T10:54:33.556Z] 7186ed65a4f7: Pulling fs layer [2021-05-09T10:54:33.556Z] 316046926c0a: Pulling fs layer [2021-05-09T10:54:33.556Z] 4ebd0625c992: Pulling fs layer [2021-05-09T10:54:33.556Z] 207e8628e3a3: Pulling fs layer [2021-05-09T10:54:33.556Z] c791037a9be2: Pulling fs layer [2021-05-09T10:54:33.556Z] ffd874e62e21: Pulling fs layer [2021-05-09T10:54:33.556Z] 207e8628e3a3: Waiting [2021-05-09T10:54:33.556Z] c791037a9be2: Waiting [2021-05-09T10:54:33.556Z] ffd874e62e21: Waiting [2021-05-09T10:54:33.556Z] 4ebd0625c992: Waiting [2021-05-09T10:54:33.556Z] 316046926c0a: Verifying Checksum [2021-05-09T10:54:33.556Z] 316046926c0a: Download complete [2021-05-09T10:54:33.556Z] 7186ed65a4f7: Verifying Checksum [2021-05-09T10:54:33.556Z] 7186ed65a4f7: Download complete [2021-05-09T10:54:33.556Z] 207e8628e3a3: Verifying Checksum [2021-05-09T10:54:33.556Z] 207e8628e3a3: Download complete [2021-05-09T10:54:33.556Z] c791037a9be2: Download complete [2021-05-09T10:54:33.556Z] 595b0fe564bb: Verifying Checksum [2021-05-09T10:54:33.556Z] 595b0fe564bb: Download complete [2021-05-09T10:54:34.555Z] 595b0fe564bb: Pull complete [2021-05-09T10:54:34.845Z] 7186ed65a4f7: Pull complete [2021-05-09T10:54:35.495Z] 316046926c0a: Pull complete [2021-05-09T10:54:35.495Z] ffd874e62e21: Download complete [2021-05-09T10:54:37.477Z] 4ebd0625c992: Verifying Checksum [2021-05-09T10:54:37.477Z] 4ebd0625c992: Download complete [2021-05-09T10:54:47.611Z] 4ebd0625c992: Pull complete [2021-05-09T10:54:47.612Z] 207e8628e3a3: Pull complete [2021-05-09T10:54:47.612Z] c791037a9be2: Pull complete [2021-05-09T10:54:49.701Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-09T10:54:50.227Z] ffd874e62e21: Pull complete [2021-05-09T10:54:50.228Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-09T10:54:50.501Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-09T10:54:50.501Z] ---> cfc18b08335c [2021-05-09T10:54:50.501Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-09T10:54:53.889Z] ---> Running in a538fbc4e5e5 [2021-05-09T10:54:53.889Z] Removing intermediate container a538fbc4e5e5 [2021-05-09T10:54:53.889Z] ---> 9815201437bc [2021-05-09T10:54:53.889Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T10:54:53.889Z] ---> Running in 394dca0e9047 [2021-05-09T10:54:56.537Z] Removing intermediate container 394dca0e9047 [2021-05-09T10:54:56.537Z] ---> bcf6332ce3d8 [2021-05-09T10:54:56.537Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-09T10:54:56.537Z] ---> Running in da493b7e0a1f [2021-05-09T10:54:57.517Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-09T10:54:59.497Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-09T10:55:01.474Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-09T10:55:01.474Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-09T10:55:01.474Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-09T10:55:01.747Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-09T10:55:02.019Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-09T10:55:02.019Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-09T10:55:02.293Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-09T10:55:04.270Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-09T10:55:04.548Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-09T10:55:04.825Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-09T10:55:05.426Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-09T10:55:05.699Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-09T10:55:05.699Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-09T10:55:05.977Z] Executing busybox-1.32.1-r6.trigger [2021-05-09T10:55:05.977Z] OK: 145 MiB in 53 packages [2021-05-09T10:55:07.996Z] Removing intermediate container da493b7e0a1f [2021-05-09T10:55:07.996Z] ---> 1c263aa79f83 [2021-05-09T10:55:07.996Z] Step 6/8 : WORKDIR /device-mqtt-go [2021-05-09T10:55:07.996Z] ---> Running in e88c3316673b [2021-05-09T10:55:08.270Z] Removing intermediate container e88c3316673b [2021-05-09T10:55:08.270Z] ---> 765ba17d9b41 [2021-05-09T10:55:08.270Z] Step 7/8 : COPY . . [2021-05-09T10:55:09.256Z] ---> 31ef9f59137d [2021-05-09T10:55:09.256Z] Step 8/8 : RUN go mod download [2021-05-09T10:55:09.536Z] ---> Running in a95d89de149c [2021-05-09T10:55:16.379Z] lf-activate-venv(): INFO: Adding /tmp/venv-Y94A/bin to PATH [2021-05-09T10:55:16.379Z] INFO: No Stack... [2021-05-09T10:55:16.379Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-09T10:55:17.342Z] INFO: Archiving Costs [Pipeline] sh [2021-05-09T10:55:17.673Z] + cut -d, -f6 [2021-05-09T10:55:17.673Z] + cat /w/workspace/device-mqtt-go/40/archives/cost.csv [Pipeline] lock [2021-05-09T10:55:17.762Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-40-stack-cost] [2021-05-09T10:55:17.791Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-40-stack-cost] did not exist. Created. [2021-05-09T10:55:17.791Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-09T10:55:18.125Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-09T10:55:18.267Z] Stashed 1 file(s) [Pipeline] } [2021-05-09T10:55:18.284Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-40-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-09T10:55:36.350Z] Removing intermediate container a95d89de149c [2021-05-09T10:55:36.350Z] ---> 3c0e18d57ea2 [2021-05-09T10:55:36.350Z] Successfully built 3c0e18d57ea2 [2021-05-09T10:55:36.623Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:55:36.978Z] + docker inspect -f . ci-base-image-arm64 [2021-05-09T10:55:36.978Z] . [Pipeline] withDockerContainer [2021-05-09T10:55:37.281Z] prd-ubuntu18.04-docker-arm64-4c-16g-3806 does not seem to be running inside a container [2021-05-09T10:55:37.402Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/40 -v /w/workspace/device-mqtt-go/40:/w/workspace/device-mqtt-go/40:rw,z -v /w/workspace/device-mqtt-go/40@tmp:/w/workspace/device-mqtt-go/40@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 ******** ci-base-image-arm64 cat [2021-05-09T10:55:41.524Z] $ docker top a52a1336ec96e1f30df9b3a663002ddaaad1d308fec3c17eb80052217f0443ff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T10:55:42.491Z] + go version [2021-05-09T10:55:42.491Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-09T10:55:42.543Z] $ docker stop --time=1 a52a1336ec96e1f30df9b3a663002ddaaad1d308fec3c17eb80052217f0443ff [2021-05-09T10:55:44.543Z] $ docker rm -f a52a1336ec96e1f30df9b3a663002ddaaad1d308fec3c17eb80052217f0443ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:55:45.236Z] + docker inspect -f . ci-base-image-arm64 [2021-05-09T10:55:45.236Z] . [Pipeline] withDockerContainer [2021-05-09T10:55:45.476Z] prd-ubuntu18.04-docker-arm64-4c-16g-3806 does not seem to be running inside a container [2021-05-09T10:55:45.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/40 -v /w/workspace/device-mqtt-go/40:/w/workspace/device-mqtt-go/40:rw,z -v /w/workspace/device-mqtt-go/40@tmp:/w/workspace/device-mqtt-go/40@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 ******** ci-base-image-arm64 cat [2021-05-09T10:55:47.234Z] $ docker top 31fdee3c0d5af41cb10065d125c896254a7bcfad74fbebbeb0aee739353cf072 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T10:55:48.143Z] + go mod tidy [Pipeline] sh [2021-05-09T10:55:49.401Z] + make test [2021-05-09T10:55:49.401Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-09T10:55:50.384Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-05-09T10:56:46.998Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-05-09T10:56:51.325Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.051s coverage: 24.9% of statements [2021-05-09T10:56:51.325Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-05-09T10:56:51.611Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-09T10:57:24.051Z] gofmt -l . [2021-05-09T10:57:24.051Z] ["`gofmt -l .`" = ""] [2021-05-09T10:57:24.051Z] ./bin/test-attribution-txt.sh [2021-05-09T10:57:24.051Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-09T10:57:24.139Z] $ docker stop --time=1 31fdee3c0d5af41cb10065d125c896254a7bcfad74fbebbeb0aee739353cf072 [2021-05-09T10:57:26.266Z] $ docker rm -f 31fdee3c0d5af41cb10065d125c896254a7bcfad74fbebbeb0aee739353cf072 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T10:57:27.100Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-09T10:57:27.122Z] Warning: overwriting stash ‘coverage-report’ [2021-05-09T10:57:28.120Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T10:57:28.650Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-09T10:57:29.017Z] + ls -al . [2021-05-09T10:57:29.018Z] total 140 [2021-05-09T10:57:29.018Z] drwxrwxr-x 9 jenkins jenkins 4096 May 9 10:57 . [2021-05-09T10:57:29.018Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:54 .. [2021-05-09T10:57:29.018Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 10:54 .dockerignore [2021-05-09T10:57:29.018Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 10:54 .git [2021-05-09T10:57:29.018Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:54 .github [2021-05-09T10:57:29.018Z] -rw-rw-r-- 1 jenkins jenkins 336 May 9 10:54 .gitignore [2021-05-09T10:57:29.018Z] -rw-rw-r-- 1 jenkins jenkins 7100 May 9 10:54 Attribution.txt [2021-05-09T10:57:29.018Z] -rw-rw-r-- 1 jenkins jenkins 1861 May 9 10:54 Dockerfile [2021-05-09T10:57:29.018Z] -rw-rw-r-- 1 jenkins jenkins 994 May 9 10:54 Dockerfile.build [2021-05-09T10:57:29.018Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 10:54 Jenkinsfile [2021-05-09T10:57:29.018Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 10:54 LICENSE [2021-05-09T10:57:29.018Z] -rw-rw-r-- 1 jenkins jenkins 930 May 9 10:54 Makefile [2021-05-09T10:57:29.018Z] -rw-rw-r-- 1 jenkins jenkins 2217 May 9 10:54 README.md [2021-05-09T10:57:29.018Z] -rw-rw-r-- 1 jenkins jenkins 11 May 9 10:50 VERSION [2021-05-09T10:57:29.018Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:54 bin [2021-05-09T10:57:29.018Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:54 cmd [2021-05-09T10:57:29.018Z] -rw-r--r-- 1 jenkins jenkins 19386 May 9 10:56 coverage.out [2021-05-09T10:57:29.018Z] -rw-r--r-- 1 jenkins jenkins 409 May 9 10:57 go.mod [2021-05-09T10:57:29.018Z] -rw-r--r-- 1 jenkins jenkins 21534 May 9 10:55 go.sum [2021-05-09T10:57:29.018Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:54 internal [2021-05-09T10:57:29.018Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:54 mock [2021-05-09T10:57:29.018Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:54 snap [2021-05-09T10:57:29.018Z] -rw-rw-r-- 1 jenkins jenkins 227 May 9 10:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:57:29.440Z] + docker build -t docker-device-mqtt-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e697b4492d61b291e25afe90594ef703f17e91d3 --label arch=arm64 --label version=1.3.2-dev.9 . [2021-05-09T10:57:29.750Z] Sending build context to Docker daemon 567.3kB [2021-05-09T10:57:30.035Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-09T10:57:30.035Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-09T10:57:30.035Z] ---> 3c0e18d57ea2 [2021-05-09T10:57:30.035Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-09T10:57:30.318Z] ---> Running in 31abf91d1ad7 [2021-05-09T10:57:30.609Z] Removing intermediate container 31abf91d1ad7 [2021-05-09T10:57:30.609Z] ---> 584f439b416a [2021-05-09T10:57:30.609Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-05-09T10:57:30.883Z] ---> Running in 0df82af4c209 [2021-05-09T10:57:31.482Z] Removing intermediate container 0df82af4c209 [2021-05-09T10:57:31.482Z] ---> 5b65295f63c5 [2021-05-09T10:57:31.482Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-09T10:57:31.482Z] ---> Running in 512be11a5b0e [2021-05-09T10:57:33.461Z] Removing intermediate container 512be11a5b0e [2021-05-09T10:57:33.461Z] ---> e75d09516007 [2021-05-09T10:57:33.461Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-09T10:57:33.736Z] ---> Running in 0432217015fb [2021-05-09T10:57:35.173Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-09T10:57:41.864Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-09T10:57:44.474Z] OK: 145 MiB in 53 packages [2021-05-09T10:57:45.453Z] Removing intermediate container 0432217015fb [2021-05-09T10:57:45.453Z] ---> e83e66354430 [2021-05-09T10:57:45.453Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-05-09T10:57:45.728Z] ---> Running in fb339b62fa4f [2021-05-09T10:57:46.325Z] Removing intermediate container fb339b62fa4f [2021-05-09T10:57:46.325Z] ---> 4ecec361b9c2 [2021-05-09T10:57:46.325Z] Step 8/23 : COPY . . [2021-05-09T10:57:47.305Z] ---> 09fcc60eadbf [2021-05-09T10:57:47.305Z] Step 9/23 : RUN go mod download [2021-05-09T10:57:47.305Z] ---> Running in 803aac3c7913 [2021-05-09T10:57:49.927Z] Removing intermediate container 803aac3c7913 [2021-05-09T10:57:49.927Z] ---> 636a208a0e64 [2021-05-09T10:57:49.927Z] Step 10/23 : ARG MAKE='make build' [2021-05-09T10:57:49.927Z] ---> Running in c76d1148b17e [2021-05-09T10:57:50.201Z] Removing intermediate container c76d1148b17e [2021-05-09T10:57:50.201Z] ---> b0b5b29a3fdd [2021-05-09T10:57:50.201Z] Step 11/23 : RUN $MAKE [2021-05-09T10:57:50.482Z] ---> Running in fc64956672eb [2021-05-09T10:57:51.924Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.2-dev.9" -o cmd/device-mqtt ./cmd [2021-05-09T10:58:30.973Z] GCO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-09T10:58:39.223Z] Removing intermediate container fc64956672eb [2021-05-09T10:58:39.224Z] ---> 3801a8fe095b [2021-05-09T10:58:39.224Z] Step 12/23 : FROM alpine:3.12 [2021-05-09T10:58:39.224Z] 3.12: Pulling from library/alpine [2021-05-09T10:58:39.224Z] d2f70382dc9a: Pulling fs layer [2021-05-09T10:58:39.224Z] d2f70382dc9a: Verifying Checksum [2021-05-09T10:58:39.224Z] d2f70382dc9a: Download complete [2021-05-09T10:58:39.497Z] d2f70382dc9a: Pull complete [2021-05-09T10:58:39.497Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-09T10:58:39.497Z] Status: Downloaded newer image for alpine:3.12 [2021-05-09T10:58:39.497Z] ---> 9852663dfa18 [2021-05-09T10:58:39.497Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-05-09T10:58:39.769Z] ---> Running in 99bc7130dca2 [2021-05-09T10:58:40.042Z] Removing intermediate container 99bc7130dca2 [2021-05-09T10:58:40.042Z] ---> fb72d60a876c [2021-05-09T10:58:40.042Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-09T10:58:40.316Z] ---> Running in ae52fafd6e51 [2021-05-09T10:58:41.286Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-09T10:58:41.286Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-09T10:58:41.882Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-09T10:58:41.882Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-09T10:58:41.882Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-09T10:58:41.882Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-09T10:58:41.882Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-09T10:58:41.882Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-09T10:58:41.882Z] Executing busybox-1.31.1-r20.trigger [2021-05-09T10:58:41.882Z] OK: 8 MiB in 20 packages [2021-05-09T10:58:43.318Z] Removing intermediate container ae52fafd6e51 [2021-05-09T10:58:43.318Z] ---> 008dc8cb2880 [2021-05-09T10:58:43.318Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-05-09T10:58:44.761Z] ---> bdb34919b7c2 [2021-05-09T10:58:44.761Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-05-09T10:58:45.358Z] ---> 81823958f628 [2021-05-09T10:58:45.358Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-05-09T10:58:46.403Z] ---> a2404d9b49a2 [2021-05-09T10:58:46.403Z] Step 18/23 : EXPOSE 49982 [2021-05-09T10:58:46.403Z] ---> Running in dc23dd7df98c [2021-05-09T10:58:46.674Z] Removing intermediate container dc23dd7df98c [2021-05-09T10:58:46.674Z] ---> 18e30ea95ffc [2021-05-09T10:58:46.674Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-05-09T10:58:46.947Z] ---> Running in 0fe691914400 [2021-05-09T10:58:47.544Z] Removing intermediate container 0fe691914400 [2021-05-09T10:58:47.544Z] ---> 5cdf9be27f37 [2021-05-09T10:58:47.544Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-09T10:58:47.544Z] ---> Running in eae443942aab [2021-05-09T10:58:48.139Z] Removing intermediate container eae443942aab [2021-05-09T10:58:48.139Z] ---> 3ce86d4a586b [2021-05-09T10:58:48.140Z] Step 21/23 : LABEL arch=arm64 [2021-05-09T10:58:48.140Z] ---> Running in 23db593971df [2021-05-09T10:58:48.737Z] Removing intermediate container 23db593971df [2021-05-09T10:58:48.737Z] ---> 30a5e87781b7 [2021-05-09T10:58:48.737Z] Step 22/23 : LABEL git_sha=e697b4492d61b291e25afe90594ef703f17e91d3 [2021-05-09T10:58:48.737Z] ---> Running in a15b68406f3c [2021-05-09T10:58:49.329Z] Removing intermediate container a15b68406f3c [2021-05-09T10:58:49.329Z] ---> 0a937b1840d6 [2021-05-09T10:58:49.329Z] Step 23/23 : LABEL version=1.3.2-dev.9 [2021-05-09T10:58:49.329Z] ---> Running in 854a5d7cdc0c [2021-05-09T10:58:49.919Z] Removing intermediate container 854a5d7cdc0c [2021-05-09T10:58:49.920Z] ---> 917909952e41 [2021-05-09T10:58:49.920Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-09T10:58:49.920Z] Successfully built 917909952e41 [2021-05-09T10:58:49.920Z] Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T10:58:50.074Z] provisioning config files... [2021-05-09T10:58:50.116Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/40@tmp/config7680022256703966773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:58:50.471Z] ---> docker-login.sh [2021-05-09T10:58:50.471Z] nexus3.edgexfoundry.org:10001 [2021-05-09T10:58:50.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:58:50.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:58:50.746Z] Configure a credential helper to remove this warning. See [2021-05-09T10:58:50.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:58:50.746Z] [2021-05-09T10:58:50.746Z] Login Succeeded [2021-05-09T10:58:50.746Z] nexus3.edgexfoundry.org:10002 [2021-05-09T10:58:51.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:58:51.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:58:51.343Z] Configure a credential helper to remove this warning. See [2021-05-09T10:58:51.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:58:51.343Z] [2021-05-09T10:58:51.343Z] Login Succeeded [2021-05-09T10:58:51.343Z] nexus3.edgexfoundry.org:10003 [2021-05-09T10:58:51.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:58:51.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:58:51.941Z] Configure a credential helper to remove this warning. See [2021-05-09T10:58:51.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:58:51.941Z] [2021-05-09T10:58:51.941Z] Login Succeeded [2021-05-09T10:58:51.941Z] nexus3.edgexfoundry.org:10004 [2021-05-09T10:58:52.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:58:52.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:58:52.535Z] Configure a credential helper to remove this warning. See [2021-05-09T10:58:52.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:58:52.535Z] [2021-05-09T10:58:52.535Z] Login Succeeded [2021-05-09T10:58:52.535Z] docker.io [2021-05-09T10:58:53.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T10:58:53.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T10:58:53.402Z] Configure a credential helper to remove this warning. See [2021-05-09T10:58:53.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T10:58:53.402Z] [2021-05-09T10:58:53.402Z] Login Succeeded [2021-05-09T10:58:53.402Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T10:58:53.420Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-09T10:58:53.500Z] [edgeXDocker.push] Tagging docker image docker-device-mqtt-go-arm64 with the following tags: [2021-05-09T10:58:53.500Z] e697b4492d61b291e25afe90594ef703f17e91d3 [2021-05-09T10:58:53.500Z] latest [2021-05-09T10:58:53.500Z] 1.3.2-dev.9 [2021-05-09T10:58:53.500Z] e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.9 [2021-05-09T10:58:53.500Z] master [2021-05-09T10:58:53.500Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:53.891Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:e697b4492d61b291e25afe90594ef703f17e91d3 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:54.241Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:e697b4492d61b291e25afe90594ef703f17e91d3 [2021-05-09T10:58:54.242Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-05-09T10:58:54.242Z] 38ab1a1f4da1: Preparing [2021-05-09T10:58:54.242Z] 0976bc7f2780: Preparing [2021-05-09T10:58:54.242Z] 7d16ad2bcb1c: Preparing [2021-05-09T10:58:54.242Z] 3a160d7ba294: Preparing [2021-05-09T10:58:54.242Z] 3fbe34a1663b: Preparing [2021-05-09T10:58:54.242Z] 3fbe34a1663b: Layer already exists [2021-05-09T10:58:54.519Z] 0976bc7f2780: Pushed [2021-05-09T10:58:54.519Z] 38ab1a1f4da1: Pushed [2021-05-09T10:58:55.116Z] 3a160d7ba294: Pushed [2021-05-09T10:58:57.729Z] 7d16ad2bcb1c: Pushed [2021-05-09T10:58:57.729Z] e697b4492d61b291e25afe90594ef703f17e91d3: digest: sha256:3b9ef4c1b298e5d9536a7b3595abb387f9ecd581314dda978a3d329ef9689c46 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:58.071Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:58.430Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2021-05-09T10:58:58.430Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-05-09T10:58:58.430Z] 38ab1a1f4da1: Preparing [2021-05-09T10:58:58.430Z] 0976bc7f2780: Preparing [2021-05-09T10:58:58.430Z] 7d16ad2bcb1c: Preparing [2021-05-09T10:58:58.430Z] 3a160d7ba294: Preparing [2021-05-09T10:58:58.430Z] 3fbe34a1663b: Preparing [2021-05-09T10:58:58.430Z] 7d16ad2bcb1c: Layer already exists [2021-05-09T10:58:58.430Z] 0976bc7f2780: Layer already exists [2021-05-09T10:58:58.430Z] 3fbe34a1663b: Layer already exists [2021-05-09T10:58:58.430Z] 3a160d7ba294: Layer already exists [2021-05-09T10:58:58.430Z] 38ab1a1f4da1: Layer already exists [2021-05-09T10:58:58.703Z] latest: digest: sha256:3b9ef4c1b298e5d9536a7b3595abb387f9ecd581314dda978a3d329ef9689c46 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:59.048Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:58:59.390Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.9 [2021-05-09T10:58:59.390Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-05-09T10:58:59.390Z] 38ab1a1f4da1: Preparing [2021-05-09T10:58:59.390Z] 0976bc7f2780: Preparing [2021-05-09T10:58:59.390Z] 7d16ad2bcb1c: Preparing [2021-05-09T10:58:59.390Z] 3a160d7ba294: Preparing [2021-05-09T10:58:59.390Z] 3fbe34a1663b: Preparing [2021-05-09T10:58:59.662Z] 38ab1a1f4da1: Layer already exists [2021-05-09T10:58:59.662Z] 3a160d7ba294: Layer already exists [2021-05-09T10:58:59.662Z] 0976bc7f2780: Layer already exists [2021-05-09T10:58:59.662Z] 3fbe34a1663b: Layer already exists [2021-05-09T10:58:59.662Z] 7d16ad2bcb1c: Layer already exists [2021-05-09T10:58:59.662Z] 1.3.2-dev.9: digest: sha256:3b9ef4c1b298e5d9536a7b3595abb387f9ecd581314dda978a3d329ef9689c46 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:59:00.009Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:59:00.349Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.9 [2021-05-09T10:59:00.349Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-05-09T10:59:00.349Z] 38ab1a1f4da1: Preparing [2021-05-09T10:59:00.349Z] 0976bc7f2780: Preparing [2021-05-09T10:59:00.349Z] 7d16ad2bcb1c: Preparing [2021-05-09T10:59:00.349Z] 3a160d7ba294: Preparing [2021-05-09T10:59:00.349Z] 3fbe34a1663b: Preparing [2021-05-09T10:59:00.349Z] 7d16ad2bcb1c: Layer already exists [2021-05-09T10:59:00.349Z] 0976bc7f2780: Layer already exists [2021-05-09T10:59:00.349Z] 38ab1a1f4da1: Layer already exists [2021-05-09T10:59:00.349Z] 3fbe34a1663b: Layer already exists [2021-05-09T10:59:00.349Z] 3a160d7ba294: Layer already exists [2021-05-09T10:59:00.619Z] e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.9: digest: sha256:3b9ef4c1b298e5d9536a7b3595abb387f9ecd581314dda978a3d329ef9689c46 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:59:00.956Z] + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-05-09T10:59:01.294Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [2021-05-09T10:59:01.294Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] [2021-05-09T10:59:01.294Z] 38ab1a1f4da1: Preparing [2021-05-09T10:59:01.294Z] 0976bc7f2780: Preparing [2021-05-09T10:59:01.294Z] 7d16ad2bcb1c: Preparing [2021-05-09T10:59:01.294Z] 3a160d7ba294: Preparing [2021-05-09T10:59:01.294Z] 3fbe34a1663b: Preparing [2021-05-09T10:59:01.294Z] 0976bc7f2780: Layer already exists [2021-05-09T10:59:01.294Z] 3fbe34a1663b: Layer already exists [2021-05-09T10:59:01.294Z] 38ab1a1f4da1: Layer already exists [2021-05-09T10:59:01.294Z] 3a160d7ba294: Layer already exists [2021-05-09T10:59:01.294Z] 7d16ad2bcb1c: Layer already exists [2021-05-09T10:59:01.566Z] master: digest: sha256:3b9ef4c1b298e5d9536a7b3595abb387f9ecd581314dda978a3d329ef9689c46 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-05-09T10:59:01.649Z] ===================================================== [Pipeline] echo [2021-05-09T10:59:01.666Z] taggedImages: [2021-05-09T10:59:01.667Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:e697b4492d61b291e25afe90594ef703f17e91d3 [2021-05-09T10:59:01.667Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [2021-05-09T10:59:01.667Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.2-dev.9 [2021-05-09T10:59:01.667Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:e697b4492d61b291e25afe90594ef703f17e91d3-1.3.2-dev.9 [2021-05-09T10:59:01.667Z] - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-09T10:59:02.070Z] ---> job-cost.sh [2021-05-09T10:59:02.071Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NA82 [2021-05-09T10:59:49.053Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-09T11:01:25.844Z] lf-activate-venv(): INFO: Adding /tmp/venv-NA82/bin to PATH [2021-05-09T11:01:25.844Z] INFO: No Stack... [2021-05-09T11:01:25.844Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-09T11:01:25.844Z] INFO: Archiving Costs [Pipeline] sh [2021-05-09T11:01:26.184Z] + + cat /w/workspace/device-mqtt-go/40/archives/cost.csv [2021-05-09T11:01:26.184Z] cut -d, -f6 [Pipeline] lock [2021-05-09T11:01:26.296Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-master-40-stack-cost] [2021-05-09T11:01:26.304Z] Resource [jenkins-edgexfoundry-device-mqtt-go-master-40-stack-cost] did not exist. Created. [2021-05-09T11:01:26.304Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-master-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-09T11:01:26.674Z] /w/workspace/device-mqtt-go/40@tmp/durable-c527032b/script.sh: 1: /w/workspace/device-mqtt-go/40@tmp/durable-c527032b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-09T11:01:27.029Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-09T11:01:27.050Z] Warning: overwriting stash ‘stack-cost’ [2021-05-09T11:01:27.202Z] Stashed 1 file(s) [Pipeline] } [2021-05-09T11:01:27.211Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-master-40-stack-cost] [Pipeline] // lock [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] wrap [2021-05-09T11:01:27.629Z] provisioning config files... [2021-05-09T11:01:27.639Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3968076191857450743tmp [Pipeline] { [Pipeline] sh [2021-05-09T11:01:27.968Z] + set +x [2021-05-09T11:01:27.969Z] + curl -s https://codecov.io/bash [2021-05-09T11:01:27.969Z] + bash -s -- [2021-05-09T11:01:28.231Z] [2021-05-09T11:01:28.231Z] _____ _ [2021-05-09T11:01:28.231Z] / ____| | | [2021-05-09T11:01:28.231Z] | | ___ __| | ___ ___ _____ __ [2021-05-09T11:01:28.231Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-09T11:01:28.231Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-09T11:01:28.231Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-09T11:01:28.231Z] Bash-1.0.2 [2021-05-09T11:01:28.231Z] [2021-05-09T11:01:28.231Z] [2021-05-09T11:01:28.231Z] ==> git version 2.24.3 found [2021-05-09T11:01:28.231Z] ==> 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-05-09T11:01:28.231Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-09T11:01:28.231Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-09T11:01:28.231Z] ==> Jenkins CI detected. [2021-05-09T11:01:28.231Z] project root: . [2021-05-09T11:01:28.231Z] --> token set from env [2021-05-09T11:01:28.231Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-09T11:01:28.231Z] ==> Running gcov in . (disable via -X gcov) [2021-05-09T11:01:28.231Z] ==> Python coveragepy not found [2021-05-09T11:01:28.231Z] ==> Searching for coverage reports in: [2021-05-09T11:01:28.231Z] + . [2021-05-09T11:01:28.231Z] -> Found 1 reports [2021-05-09T11:01:28.231Z] ==> Detecting git/mercurial file structure [2021-05-09T11:01:28.231Z] ==> Reading reports [2021-05-09T11:01:28.231Z] + ./coverage.out bytes=19386 [2021-05-09T11:01:28.231Z] ==> Appending adjustments [2021-05-09T11:01:28.231Z] https://docs.codecov.io/docs/fixing-reports [2021-05-09T11:01:28.231Z] + Found adjustments [2021-05-09T11:01:28.231Z] ==> Gzipping contents [2021-05-09T11:01:28.231Z] 4.0K /tmp/codecov.OEpMqa.gz [2021-05-09T11:01:28.231Z] ==> Uploading reports [2021-05-09T11:01:28.231Z] url: https://codecov.io [2021-05-09T11:01:28.231Z] query: branch=master&commit=e697b4492d61b291e25afe90594ef703f17e91d3&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-09T11:01:28.231Z] -> Pinging Codecov [2021-05-09T11:01:28.231Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=e697b4492d61b291e25afe90594ef703f17e91d3&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-09T11:01:28.808Z] -> Uploading to [2021-05-09T11:01:28.808Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-09/7D719EC7BBE17E464838252E33014C33/e697b4492d61b291e25afe90594ef703f17e91d3/b284be5a-708e-43c7-8868-3db236155a86.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210509T110128Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=607f462d2f3e268993469f888e869fa92abf6673f07fd5f5e93cb4edf2b256fa [2021-05-09T11:01:28.808Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-09T11:01:28.808Z] Dload Upload Total Spent Left Speed [2021-05-09T11:01:29.384Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3396 0 0 100 3396 0 7062 --:--:-- --:--:-- --:--:-- 7075 [2021-05-09T11:01:29.384Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/e697b4492d61b291e25afe90594ef703f17e91d3 [Pipeline] } [2021-05-09T11:01:29.399Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-09T11:01:29.674Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-09T11:01:29.694Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:01:30.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-09T11:01:30.014Z] [2021-05-09T11:01:30.014Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:01:30.339Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-09T11:01:30.339Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-09T11:01:30.339Z] 188c0c94c7c5: Pulling fs layer [2021-05-09T11:01:30.339Z] 0ef7d3d256c8: Pulling fs layer [2021-05-09T11:01:30.339Z] de9db76c5a1d: Pulling fs layer [2021-05-09T11:01:30.339Z] 0eba1c9be4d2: Pulling fs layer [2021-05-09T11:01:30.339Z] 0d57e429df01: Pulling fs layer [2021-05-09T11:01:30.339Z] 4e4be7b47b0d: Pulling fs layer [2021-05-09T11:01:30.339Z] e1f770b5df2f: Pulling fs layer [2021-05-09T11:01:30.339Z] 85a0685a4137: Pulling fs layer [2021-05-09T11:01:30.339Z] 4e4be7b47b0d: Waiting [2021-05-09T11:01:30.339Z] e1f770b5df2f: Waiting [2021-05-09T11:01:30.339Z] 85a0685a4137: Waiting [2021-05-09T11:01:30.339Z] 0eba1c9be4d2: Waiting [2021-05-09T11:01:30.339Z] 0d57e429df01: Waiting [2021-05-09T11:01:30.339Z] de9db76c5a1d: Verifying Checksum [2021-05-09T11:01:30.339Z] de9db76c5a1d: Download complete [2021-05-09T11:01:30.339Z] 0ef7d3d256c8: Verifying Checksum [2021-05-09T11:01:30.339Z] 0ef7d3d256c8: Download complete [2021-05-09T11:01:30.339Z] 0d57e429df01: Verifying Checksum [2021-05-09T11:01:30.339Z] 0d57e429df01: Download complete [2021-05-09T11:01:30.339Z] 4e4be7b47b0d: Verifying Checksum [2021-05-09T11:01:30.339Z] 4e4be7b47b0d: Download complete [2021-05-09T11:01:30.339Z] 188c0c94c7c5: Verifying Checksum [2021-05-09T11:01:30.339Z] 188c0c94c7c5: Download complete [2021-05-09T11:01:30.924Z] 188c0c94c7c5: Pull complete [2021-05-09T11:01:30.924Z] 0ef7d3d256c8: Pull complete [2021-05-09T11:01:31.188Z] de9db76c5a1d: Pull complete [2021-05-09T11:01:31.451Z] e1f770b5df2f: Verifying Checksum [2021-05-09T11:01:31.451Z] e1f770b5df2f: Download complete [2021-05-09T11:01:34.039Z] 85a0685a4137: Verifying Checksum [2021-05-09T11:01:34.039Z] 85a0685a4137: Download complete [2021-05-09T11:01:34.039Z] 0eba1c9be4d2: Verifying Checksum [2021-05-09T11:01:34.039Z] 0eba1c9be4d2: Download complete [2021-05-09T11:01:40.676Z] 0eba1c9be4d2: Pull complete [2021-05-09T11:01:40.676Z] 0d57e429df01: Pull complete [2021-05-09T11:01:40.676Z] 4e4be7b47b0d: Pull complete [2021-05-09T11:01:43.236Z] e1f770b5df2f: Pull complete [2021-05-09T11:01:49.874Z] 85a0685a4137: Pull complete [2021-05-09T11:01:49.874Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-09T11:01:49.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-09T11:01:49.874Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-09T11:01:50.081Z] prd-centos7-docker-4c-2g-3800 does not seem to be running inside a container [2021-05-09T11:01:50.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-09T11:01:51.192Z] $ docker top 420373ea02210b25d53e96a46a1661aa46e883070635f16b34cca00a3c553688 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-09T11:01:51.322Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-09T11:01:51.621Z] + set -o pipefail [2021-05-09T11:01:51.621Z] + snyk monitor '--org=edgex-jenkins' [2021-05-09T11:02:03.899Z] [2021-05-09T11:02:03.899Z] Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... [2021-05-09T11:02:03.899Z] [2021-05-09T11:02:03.899Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/2b9f39b4-fc71-4731-9b0a-61089cbe6bc5 [2021-05-09T11:02:03.899Z] [2021-05-09T11:02:03.899Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-09T11:02:03.899Z] [2021-05-09T11:02:03.899Z] [Pipeline] } [2021-05-09T11:02:03.916Z] $ docker stop --time=1 420373ea02210b25d53e96a46a1661aa46e883070635f16b34cca00a3c553688 [2021-05-09T11:02:06.027Z] $ docker rm -f 420373ea02210b25d53e96a46a1661aa46e883070635f16b34cca00a3c553688 [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-05-09T11:02:07.294Z] + git log --format=format:%s -1 e697b4492d61b291e25afe90594ef703f17e91d3 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:02:07.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:02:07.616Z] . [Pipeline] withDockerContainer [2021-05-09T11:02:07.729Z] prd-centos7-docker-4c-2g-3800 does not seem to be running inside a container [2021-05-09T11:02:07.779Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-09T11:02:08.507Z] $ docker top e46e83df89c3fcc5c01a159131fe143c4dc6b75dc2dc5198c61aa30da9975729 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-09T11:02:08.661Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:02:08.661Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:02:08.856Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:02:08.861Z] $ docker exec e46e83df89c3fcc5c01a159131fe143c4dc6b75dc2dc5198c61aa30da9975729 ssh-agent [2021-05-09T11:02:09.027Z] SSH_AUTH_SOCK=/tmp/ssh-6InZg80dSSON/agent.12 [2021-05-09T11:02:09.027Z] SSH_AGENT_PID=17 [2021-05-09T11:02:09.040Z] Running ssh-add (command line suppressed) [2021-05-09T11:02:09.168Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7916491936506453373.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_7916491936506453373.key) [2021-05-09T11:02:09.250Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:02:09.563Z] + git semver tag [2021-05-09T11:02:09.563Z] # -> Open(): unable to determine branch for HEAD [2021-05-09T11:02:09.563Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-09T11:02:09.563Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-09T11:02:09.563Z] # $SEMVER_REMOTE_NAME = origin [2021-05-09T11:02:09.563Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-09T11:02:09.563Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-09T11:02:09.563Z] # $SEMVER_BRANCH = master [2021-05-09T11:02:09.563Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-05-09T11:02:09.563Z] # e697b4492d61b291e25afe90594ef703f17e91d3 HEAD [2021-05-09T11:02:09.563Z] # -> Force: false [2021-05-09T11:02:09.563Z] # e0247b0807890c1fb2eda963d7f73ab898e94ae4 refs/tags/v1.3.2-dev.9 [Pipeline] } [2021-05-09T11:02:09.584Z] $ docker exec --env ******** --env ******** e46e83df89c3fcc5c01a159131fe143c4dc6b75dc2dc5198c61aa30da9975729 ssh-agent -k [2021-05-09T11:02:09.725Z] unset SSH_AUTH_SOCK; [2021-05-09T11:02:09.725Z] unset SSH_AGENT_PID; [2021-05-09T11:02:09.725Z] echo Agent pid 17 killed; [2021-05-09T11:02:09.778Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T11:02:10.122Z] + git semver [Pipeline] } [2021-05-09T11:02:10.140Z] $ docker stop --time=1 e46e83df89c3fcc5c01a159131fe143c4dc6b75dc2dc5198c61aa30da9975729 [2021-05-09T11:02:11.475Z] $ docker rm -f e46e83df89c3fcc5c01a159131fe143c4dc6b75dc2dc5198c61aa30da9975729 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:02:11.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-09T11:02:11.979Z] [2021-05-09T11:02:11.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:02:12.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-09T11:02:12.302Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-09T11:02:12.302Z] ab5ef0e58194: Pulling fs layer [2021-05-09T11:02:12.302Z] 9712f1f96733: Pulling fs layer [2021-05-09T11:02:12.302Z] 63f879dbbcfc: Pulling fs layer [2021-05-09T11:02:12.302Z] 0d9ebad4ef96: Pulling fs layer [2021-05-09T11:02:12.302Z] e9a5061849ea: Pulling fs layer [2021-05-09T11:02:12.302Z] d747dcd14b5f: Pulling fs layer [2021-05-09T11:02:12.302Z] 2de7ff778b66: Pulling fs layer [2021-05-09T11:02:12.302Z] 0d9ebad4ef96: Waiting [2021-05-09T11:02:12.302Z] e9a5061849ea: Waiting [2021-05-09T11:02:12.302Z] d747dcd14b5f: Waiting [2021-05-09T11:02:12.302Z] 2de7ff778b66: Waiting [2021-05-09T11:02:12.302Z] 9712f1f96733: Verifying Checksum [2021-05-09T11:02:12.302Z] 9712f1f96733: Download complete [2021-05-09T11:02:13.710Z] 63f879dbbcfc: Verifying Checksum [2021-05-09T11:02:13.710Z] 63f879dbbcfc: Download complete [2021-05-09T11:02:14.286Z] e9a5061849ea: Verifying Checksum [2021-05-09T11:02:14.286Z] e9a5061849ea: Download complete [2021-05-09T11:02:14.286Z] d747dcd14b5f: Verifying Checksum [2021-05-09T11:02:14.286Z] d747dcd14b5f: Download complete [2021-05-09T11:02:14.286Z] 0d9ebad4ef96: Verifying Checksum [2021-05-09T11:02:14.286Z] 0d9ebad4ef96: Download complete [2021-05-09T11:02:14.869Z] 2de7ff778b66: Verifying Checksum [2021-05-09T11:02:14.869Z] 2de7ff778b66: Download complete [2021-05-09T11:02:15.826Z] ab5ef0e58194: Verifying Checksum [2021-05-09T11:02:15.827Z] ab5ef0e58194: Download complete [2021-05-09T11:02:20.070Z] ab5ef0e58194: Pull complete [2021-05-09T11:02:20.070Z] 9712f1f96733: Pull complete [2021-05-09T11:02:23.410Z] 63f879dbbcfc: Pull complete [2021-05-09T11:02:30.071Z] 0d9ebad4ef96: Pull complete [2021-05-09T11:02:31.019Z] e9a5061849ea: Pull complete [2021-05-09T11:02:31.289Z] d747dcd14b5f: Pull complete [2021-05-09T11:02:33.852Z] 2de7ff778b66: Pull complete [2021-05-09T11:02:33.852Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-09T11:02:33.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-09T11:02:33.852Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-09T11:02:34.052Z] prd-centos7-docker-4c-2g-3800 does not seem to be running inside a container [2021-05-09T11:02:34.121Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-09T11:02:37.806Z] $ docker top 2b2cd28fe48b66f3ed9fcae039c796c9d2fa4127b674f0cb87d550bd5ffb2da7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-09T11:02:37.962Z] provisioning config files... [2021-05-09T11:02:37.973Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3558141514830300139tmp [2021-05-09T11:02:37.991Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3347487814515848396tmp [2021-05-09T11:02:38.008Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config5644003859188967599tmp [Pipeline] { [Pipeline] echo [2021-05-09T11:02:38.033Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:02:38.345Z] ---> sigul-configuration.sh [2021-05-09T11:02:38.345Z] gpg: directory `/root/.gnupg' created [2021-05-09T11:02:38.345Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-09T11:02:38.345Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-09T11:02:38.345Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-09T11:02:38.345Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-09T11:02:38.345Z] gpg: CAST5 encrypted data [2021-05-09T11:02:38.607Z] gpg: encrypted with 1 passphrase [2021-05-09T11:02:38.607Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-09T11:02:38.907Z] + mkdir /home/jenkins [2021-05-09T11:02:38.907Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-09T11:02:39.212Z] + 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-05-09T11:02:39.224Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:02:39.525Z] ---> sigul-install.sh [2021-05-09T11:02:46.123Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-09T11:02:46.471Z] + git tag --list [2021-05-09T11:02:46.471Z] 0.7.1 [2021-05-09T11:02:46.471Z] v1.0.0 [2021-05-09T11:02:46.471Z] v1.1.0 [2021-05-09T11:02:46.471Z] v1.1.1 [2021-05-09T11:02:46.471Z] v1.2.2 [2021-05-09T11:02:46.471Z] v1.3.0 [2021-05-09T11:02:46.471Z] v1.3.1 [2021-05-09T11:02:46.471Z] v1.3.1-dev.1 [2021-05-09T11:02:46.471Z] v1.3.1-dev.2 [2021-05-09T11:02:46.471Z] v1.3.1-dev.3 [2021-05-09T11:02:46.471Z] v1.3.1-dev.4 [2021-05-09T11:02:46.471Z] v1.3.2-dev.1 [2021-05-09T11:02:46.471Z] v1.3.2-dev.2 [2021-05-09T11:02:46.471Z] v1.3.2-dev.3 [2021-05-09T11:02:46.471Z] v1.3.2-dev.4 [2021-05-09T11:02:46.471Z] v1.3.2-dev.5 [2021-05-09T11:02:46.471Z] v1.3.2-dev.6 [2021-05-09T11:02:46.471Z] v1.3.2-dev.7 [2021-05-09T11:02:46.471Z] v1.3.2-dev.8 [2021-05-09T11:02:46.471Z] v1.3.2-dev.9 [Pipeline] sh [2021-05-09T11:02:46.812Z] + lftools sign git-tag v1.3.2-dev.9 [2021-05-09T11:02:48.244Z] Signing Git tag with Sigul... [2021-05-09T11:02:48.244Z] Signing v1.3.2-dev.9 [Pipeline] echo [2021-05-09T11:02:49.202Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:02:49.500Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-09T11:02:49.511Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-09T11:02:49.547Z] $ docker stop --time=1 2b2cd28fe48b66f3ed9fcae039c796c9d2fa4127b674f0cb87d550bd5ffb2da7 [2021-05-09T11:02:50.983Z] $ docker rm -f 2b2cd28fe48b66f3ed9fcae039c796c9d2fa4127b674f0cb87d550bd5ffb2da7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:02:51.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:02:51.567Z] . [Pipeline] withDockerContainer [2021-05-09T11:02:51.672Z] prd-centos7-docker-4c-2g-3800 does not seem to be running inside a container [2021-05-09T11:02:51.724Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-09T11:02:52.516Z] $ docker top b92db3ee6cef817c8d71c59f4041cb277669930c9cce94d70ca27762574c2251 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-09T11:02:52.701Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:02:52.701Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:02:52.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:02:52.928Z] $ docker exec b92db3ee6cef817c8d71c59f4041cb277669930c9cce94d70ca27762574c2251 ssh-agent [2021-05-09T11:02:53.118Z] SSH_AUTH_SOCK=/tmp/ssh-GQsdToy6q4dE/agent.11 [2021-05-09T11:02:53.118Z] SSH_AGENT_PID=17 [2021-05-09T11:02:53.127Z] Running ssh-add (command line suppressed) [2021-05-09T11:02:53.275Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3345311707457271669.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_3345311707457271669.key) [2021-05-09T11:02:53.337Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:02:53.680Z] + git semver bump pre [2021-05-09T11:02:53.681Z] # -> Open(): unable to determine branch for HEAD [2021-05-09T11:02:53.681Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-09T11:02:53.681Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-09T11:02:53.681Z] # $SEMVER_REMOTE_NAME = origin [2021-05-09T11:02:53.681Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-09T11:02:53.681Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-09T11:02:53.681Z] # $SEMVER_BRANCH = master [2021-05-09T11:02:53.681Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [2021-05-09T11:02:53.681Z] 1.3.2-dev.10 [Pipeline] } [2021-05-09T11:02:53.695Z] $ docker exec --env ******** --env ******** b92db3ee6cef817c8d71c59f4041cb277669930c9cce94d70ca27762574c2251 ssh-agent -k [2021-05-09T11:02:53.823Z] unset SSH_AUTH_SOCK; [2021-05-09T11:02:53.823Z] unset SSH_AGENT_PID; [2021-05-09T11:02:53.823Z] echo Agent pid 17 killed; [2021-05-09T11:02:53.877Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T11:02:54.212Z] + git semver [Pipeline] } [2021-05-09T11:02:54.231Z] $ docker stop --time=1 b92db3ee6cef817c8d71c59f4041cb277669930c9cce94d70ca27762574c2251 [2021-05-09T11:02:55.635Z] $ docker rm -f b92db3ee6cef817c8d71c59f4041cb277669930c9cce94d70ca27762574c2251 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:02:56.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:02:56.102Z] . [Pipeline] withDockerContainer [2021-05-09T11:02:56.214Z] prd-centos7-docker-4c-2g-3800 does not seem to be running inside a container [2021-05-09T11:02:56.265Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-09T11:02:56.925Z] $ docker top d3fe169c3b1a19a3038ee9610fdeee6440d21240a0a9235268b3d431b363d851 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-09T11:02:57.084Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:02:57.085Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:02:57.277Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:02:57.281Z] $ docker exec d3fe169c3b1a19a3038ee9610fdeee6440d21240a0a9235268b3d431b363d851 ssh-agent [2021-05-09T11:02:57.456Z] SSH_AUTH_SOCK=/tmp/ssh-Wleln5xneOcX/agent.11 [2021-05-09T11:02:57.456Z] SSH_AGENT_PID=16 [2021-05-09T11:02:57.464Z] Running ssh-add (command line suppressed) [2021-05-09T11:02:57.595Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6554855771668585814.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_6554855771668585814.key) [2021-05-09T11:02:57.656Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:02:57.963Z] + git semver push [2021-05-09T11:02:57.963Z] # -> Open(): unable to determine branch for HEAD [2021-05-09T11:02:57.963Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git [2021-05-09T11:02:57.963Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master [2021-05-09T11:02:57.963Z] # $SEMVER_REMOTE_NAME = origin [2021-05-09T11:02:57.963Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-09T11:02:57.963Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-09T11:02:57.963Z] # $SEMVER_BRANCH = master [2021-05-09T11:02:57.963Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } [2021-05-09T11:03:02.196Z] $ docker exec --env ******** --env ******** d3fe169c3b1a19a3038ee9610fdeee6440d21240a0a9235268b3d431b363d851 ssh-agent -k [2021-05-09T11:03:02.341Z] unset SSH_AUTH_SOCK; [2021-05-09T11:03:02.342Z] unset SSH_AGENT_PID; [2021-05-09T11:03:02.342Z] echo Agent pid 16 killed; [2021-05-09T11:03:02.399Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T11:03:02.744Z] + git semver [Pipeline] } [2021-05-09T11:03:02.762Z] $ docker stop --time=1 d3fe169c3b1a19a3038ee9610fdeee6440d21240a0a9235268b3d431b363d851 [2021-05-09T11:03:04.158Z] $ docker rm -f d3fe169c3b1a19a3038ee9610fdeee6440d21240a0a9235268b3d431b363d851 [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:03:04.943Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:03:05.828Z] ---> package-listing.sh [2021-05-09T11:03:05.828Z] ++ facter osfamily [2021-05-09T11:03:05.828Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-09T11:03:05.828Z] + OS_FAMILY=redhat [2021-05-09T11:03:05.828Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_master [2021-05-09T11:03:05.828Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-09T11:03:05.828Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-09T11:03:05.828Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-09T11:03:05.828Z] + PACKAGES=/tmp/packages_start.txt [2021-05-09T11:03:05.828Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-05-09T11:03:05.828Z] + PACKAGES=/tmp/packages_end.txt [2021-05-09T11:03:05.828Z] + case "${OS_FAMILY}" in [2021-05-09T11:03:05.828Z] + rpm -qa [2021-05-09T11:03:05.828Z] + sort [2021-05-09T11:03:11.134Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-09T11:03:11.134Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-09T11:03:11.134Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-09T11:03:11.134Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' [2021-05-09T11:03:11.134Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [2021-05-09T11:03:11.134Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo [2021-05-09T11:03:11.149Z] 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/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-09T11:03:11.444Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:03:11.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:03:11.753Z] [2021-05-09T11:03:11.753Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:03:12.070Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:03:12.070Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-09T11:03:12.070Z] df20fa9351a1: Pulling fs layer [2021-05-09T11:03:12.070Z] 36b3adc4ff6f: Pulling fs layer [2021-05-09T11:03:12.070Z] 8ad3a11d3b57: Pulling fs layer [2021-05-09T11:03:12.070Z] 46f8f816bc3b: Pulling fs layer [2021-05-09T11:03:12.070Z] 93b61091891f: Pulling fs layer [2021-05-09T11:03:12.070Z] 93b9cdb0e59b: Pulling fs layer [2021-05-09T11:03:12.070Z] 5e14af77c1be: Pulling fs layer [2021-05-09T11:03:12.070Z] 01666e4c0597: Pulling fs layer [2021-05-09T11:03:12.070Z] aa168da1d23b: Pulling fs layer [2021-05-09T11:03:12.070Z] 93b61091891f: Waiting [2021-05-09T11:03:12.070Z] 93b9cdb0e59b: Waiting [2021-05-09T11:03:12.070Z] 46f8f816bc3b: Waiting [2021-05-09T11:03:12.070Z] 01666e4c0597: Waiting [2021-05-09T11:03:12.070Z] 5e14af77c1be: Waiting [2021-05-09T11:03:12.070Z] 36b3adc4ff6f: Verifying Checksum [2021-05-09T11:03:12.070Z] 36b3adc4ff6f: Download complete [2021-05-09T11:03:12.070Z] 46f8f816bc3b: Verifying Checksum [2021-05-09T11:03:12.070Z] 46f8f816bc3b: Download complete [2021-05-09T11:03:12.649Z] df20fa9351a1: Verifying Checksum [2021-05-09T11:03:12.649Z] 93b9cdb0e59b: Verifying Checksum [2021-05-09T11:03:12.649Z] 93b9cdb0e59b: Download complete [2021-05-09T11:03:12.649Z] 5e14af77c1be: Verifying Checksum [2021-05-09T11:03:12.649Z] 5e14af77c1be: Download complete [2021-05-09T11:03:12.649Z] 93b61091891f: Verifying Checksum [2021-05-09T11:03:12.649Z] 93b61091891f: Download complete [2021-05-09T11:03:12.649Z] 01666e4c0597: Verifying Checksum [2021-05-09T11:03:12.649Z] 01666e4c0597: Download complete [2021-05-09T11:03:12.649Z] 8ad3a11d3b57: Verifying Checksum [2021-05-09T11:03:12.649Z] 8ad3a11d3b57: Download complete [2021-05-09T11:03:12.912Z] df20fa9351a1: Pull complete [2021-05-09T11:03:13.181Z] 36b3adc4ff6f: Pull complete [2021-05-09T11:03:14.142Z] 8ad3a11d3b57: Pull complete [2021-05-09T11:03:14.142Z] 46f8f816bc3b: Pull complete [2021-05-09T11:03:14.405Z] 93b61091891f: Pull complete [2021-05-09T11:03:14.668Z] 93b9cdb0e59b: Pull complete [2021-05-09T11:03:14.932Z] 5e14af77c1be: Pull complete [2021-05-09T11:03:15.194Z] 01666e4c0597: Pull complete [2021-05-09T11:03:16.145Z] aa168da1d23b: Download complete [2021-05-09T11:03:24.325Z] aa168da1d23b: Pull complete [2021-05-09T11:03:24.325Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-09T11:03:24.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:03:24.325Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-09T11:03:24.553Z] prd-centos7-docker-4c-2g-3800 does not seem to be running inside a container [2021-05-09T11:03:24.607Z] $ 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/gexfoundry_device-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-09T11:03:27.234Z] $ docker top 012d4601ad9a06e212bb21da59ab360de9dd8106055616b39276ea01ccaf4ba6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:03:27.680Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-09T11:03:27.981Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-09T11:03:28.288Z] + ls /var/log/sa-host [2021-05-09T11:03:28.288Z] + sadf -c /var/log/sa-host/sa09 [2021-05-09T11:03:28.288Z] file_magic: OK [2021-05-09T11:03:28.288Z] HZ: Using current value: 100 [2021-05-09T11:03:28.288Z] file_header: OK [2021-05-09T11:03:28.288Z] 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-05-09T11:03:28.288Z] Statistics: [2021-05-09T11:03:28.288Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-09T11:03:28.288Z] File successfully converted to sysstat format version 12.2.1 [2021-05-09T11:03:28.288Z] + sadf -c /var/log/sa-host/sa23 [2021-05-09T11:03:28.288Z] file_magic: OK [2021-05-09T11:03:28.288Z] HZ: Using current value: 100 [2021-05-09T11:03:28.288Z] file_header: OK [2021-05-09T11:03:28.288Z] 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-05-09T11:03:28.288Z] Statistics: [2021-05-09T11:03:28.288Z] Hnuu...uuuununununu... [2021-05-09T11:03:28.288Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-09T11:03:28.488Z] provisioning config files... [2021-05-09T11:03:28.506Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2716608177212803128tmp [Pipeline] { [Pipeline] echo [2021-05-09T11:03:28.528Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:03:28.884Z] ---> create-netrc.sh [Pipeline] } [2021-05-09T11:03:28.896Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-09T11:03:28.935Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:03:29.259Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-09T11:03:29.277Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:03:29.694Z] ---> sudo-logs.sh [2021-05-09T11:03:29.694Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-09T11:03:29.725Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:03:30.028Z] ---> job-cost.sh [2021-05-09T11:03:30.028Z] lf-activate-venv: SKIPPING [2021-05-09T11:03:30.028Z] DEBUG: total: 0.20999999344348907 [2021-05-09T11:03:30.028Z] INFO: Retrieving Stack Cost... [2021-05-09T11:03:31.950Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-09T11:03:32.211Z] INFO: Archiving Costs [Pipeline] echo [2021-05-09T11:03:32.226Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:03:32.524Z] ---> logs-deploy.sh [2021-05-09T11:03:32.524Z] lf-activate-venv: SKIPPING [2021-05-09T11:03:32.524Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/40 [2021-05-09T11:03:32.524Z] INFO: archiving workspace using pattern(s): [2021-05-09T11:03:33.919Z] Archives upload complete. [2021-05-09T11:03:34.182Z] INFO: archiving logs to Nexus