Pull request #303 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jenmwms for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 rather than 342045105871e229d92504ccf88c313acedc69e7 Obtained Jenkinsfile from 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4872706457449593285.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5016820282403696346.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-303/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-303/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5635920876986387030.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7505035470232798069.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-303/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-303/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7752149731808856811.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-427 in /w/workspace/gexfoundry_device-mqtt-go_PR-303 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-303 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/jenkins-gitclient-ssh6739105434600117353.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 into PR head commit 342045105871e229d92504ccf88c313acedc69e7 Merge succeeded, producing 342045105871e229d92504ccf88c313acedc69e7 Checking out Revision 342045105871e229d92504ccf88c313acedc69e7 (PR-303) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/jenkins-gitclient-ssh2294598397314053916.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/303/head:refs/remotes/origin/PR-303 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 342045105871e229d92504ccf88c313acedc69e7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/jenkins-gitclient-ssh2912967484301096362.key > git merge 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 342045105871e229d92504ccf88c313acedc69e7 # timeout=10 Commit message: "fix: add check if length is 0 before trying to use metaData for uuid" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-09-16T22:42:49.587Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-09-16T22:42:49.684Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-09-16T22:42:49.712Z] ========================================================= [2021-09-16T22:42:49.712Z] EdgeX Global Pipelines Version Info [2021-09-16T22:42:49.712Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d70fadd9ef77c87ffd056311d71fb7199f4cae40 # timeout=10 [2021-09-16T22:42:50.968Z] ------------------- [2021-09-16T22:42:50.968Z] stable info: [2021-09-16T22:42:50.968Z] ------------------- [2021-09-16T22:42:50.968Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-09-16T22:42:50.968Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-16T22:42:50.968Z] Message: update stable to v1.0.205 [2021-09-16T22:42:51.569Z] ------------------- [2021-09-16T22:42:51.569Z] experimental info: [2021-09-16T22:42:51.569Z] ------------------- [2021-09-16T22:42:51.569Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-09-16T22:42:51.569Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-16T22:42:51.569Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-09-16T22:42:51.721Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-09-16T22:42:51.747Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-09-16T22:42:51.781Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-09-16T22:42:51.806Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-09-16T22:42:51.832Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-09-16T22:42:51.859Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-09-16T22:42:51.886Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-09-16T22:42:51.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-09-16T22:42:51.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-09-16T22:42:51.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-09-16T22:42:51.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-09-16T22:42:52.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-09-16T22:42:52.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-09-16T22:42:52.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-09-16T22:42:52.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-09-16T22:42:52.118Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-09-16T22:42:52.144Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-09-16T22:42:52.169Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-09-16T22:42:52.195Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-09-16T22:42:52.220Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-09-16T22:42:52.245Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-09-16T22:42:52.270Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-09-16T22:42:52.295Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-09-16T22:42:52.320Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-09-16T22:42:52.345Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-09-16T22:42:52.369Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-09-16T22:42:52.394Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-09-16T22:42:52.419Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-303 [Pipeline] echo [2021-09-16T22:42:52.490Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-303 [Pipeline] echo [2021-09-16T22:42:52.515Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-303 [Pipeline] echo [2021-09-16T22:42:52.540Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 342045105871e229d92504ccf88c313acedc69e7 [Pipeline] echo [2021-09-16T22:42:52.565Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3420451 [Pipeline] echo [2021-09-16T22:42:52.590Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-16T22:42:52.667Z] provisioning config files... [2021-09-16T22:42:52.689Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/config5488215975974971958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-16T22:42:53.030Z] ---> docker-login.sh [2021-09-16T22:42:53.031Z] nexus3.edgexfoundry.org:10001 [2021-09-16T22:42:53.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T22:42:53.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T22:42:53.299Z] Configure a credential helper to remove this warning. See [2021-09-16T22:42:53.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T22:42:53.299Z] [2021-09-16T22:42:53.299Z] Login Succeeded [2021-09-16T22:42:53.299Z] nexus3.edgexfoundry.org:10002 [2021-09-16T22:42:53.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T22:42:53.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T22:42:53.569Z] Configure a credential helper to remove this warning. See [2021-09-16T22:42:53.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T22:42:53.569Z] [2021-09-16T22:42:53.569Z] Login Succeeded [2021-09-16T22:42:53.569Z] nexus3.edgexfoundry.org:10003 [2021-09-16T22:42:53.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T22:42:53.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T22:42:53.569Z] Configure a credential helper to remove this warning. See [2021-09-16T22:42:53.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T22:42:53.569Z] [2021-09-16T22:42:53.569Z] Login Succeeded [2021-09-16T22:42:53.569Z] nexus3.edgexfoundry.org:10004 [2021-09-16T22:42:53.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T22:42:53.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T22:42:53.838Z] Configure a credential helper to remove this warning. See [2021-09-16T22:42:53.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T22:42:53.838Z] [2021-09-16T22:42:53.838Z] Login Succeeded [2021-09-16T22:42:53.838Z] docker.io [2021-09-16T22:42:53.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T22:42:54.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T22:42:54.106Z] Configure a credential helper to remove this warning. See [2021-09-16T22:42:54.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T22:42:54.106Z] [2021-09-16T22:42:54.106Z] Login Succeeded [2021-09-16T22:42:54.106Z] ---> docker-login.sh ends [Pipeline] } [2021-09-16T22:42:54.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-09-16T22:42:54.654Z] + git log --format=format:%s -1 342045105871e229d92504ccf88c313acedc69e7 [Pipeline] echo [2021-09-16T22:42:54.712Z] GIT_COMMIT: 342045105871e229d92504ccf88c313acedc69e7, Commit Message: fix: add check if length is 0 before trying to use metaData for uuid [Pipeline] echo [2021-09-16T22:42:54.727Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-09-16T22:42:55.658Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-16T22:42:55.659Z] [2021-09-16T22:42:55.659Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-09-16T22:42:55.990Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-16T22:42:55.990Z] latest: Pulling from edgex-devops/git-semver [2021-09-16T22:42:55.990Z] 31603596830f: Pulling fs layer [2021-09-16T22:42:55.990Z] 04fac38145f0: Pulling fs layer [2021-09-16T22:42:55.990Z] 701f6daf10bf: Pulling fs layer [2021-09-16T22:42:55.990Z] 24f72da36158: Pulling fs layer [2021-09-16T22:42:55.990Z] 24f72da36158: Waiting [2021-09-16T22:42:55.990Z] 04fac38145f0: Verifying Checksum [2021-09-16T22:42:55.990Z] 04fac38145f0: Download complete [2021-09-16T22:42:56.257Z] 31603596830f: Verifying Checksum [2021-09-16T22:42:56.257Z] 31603596830f: Download complete [2021-09-16T22:42:56.534Z] 24f72da36158: Verifying Checksum [2021-09-16T22:42:56.534Z] 24f72da36158: Download complete [2021-09-16T22:42:56.534Z] 31603596830f: Pull complete [2021-09-16T22:42:56.534Z] 701f6daf10bf: Verifying Checksum [2021-09-16T22:42:56.534Z] 701f6daf10bf: Download complete [2021-09-16T22:42:56.534Z] 04fac38145f0: Pull complete [2021-09-16T22:42:57.136Z] 701f6daf10bf: Pull complete [2021-09-16T22:42:57.406Z] 24f72da36158: Pull complete [2021-09-16T22:42:57.406Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-09-16T22:42:57.406Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-16T22:42:57.406Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-09-16T22:42:57.516Z] prd-centos7-docker-4c-2g-427 does not seem to be running inside a container [2021-09-16T22:42:57.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-303 -v /w/workspace/gexfoundry_device-mqtt-go_PR-303:/w/workspace/gexfoundry_device-mqtt-go_PR-303:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-09-16T22:42:58.352Z] $ docker top 712a1c627a2a9de1080a36799f35a96c9fb3ff3edcc54e08ee6d259bed671cc0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-16T22:42:58.511Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-16T22:42:58.511Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-16T22:42:58.643Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-16T22:42:58.643Z] $ docker exec 712a1c627a2a9de1080a36799f35a96c9fb3ff3edcc54e08ee6d259bed671cc0 ssh-agent [2021-09-16T22:42:58.773Z] SSH_AUTH_SOCK=/tmp/ssh-G63ixgGVaxKQ/agent.14 [2021-09-16T22:42:58.773Z] SSH_AGENT_PID=21 [2021-09-16T22:42:58.789Z] Running ssh-add (command line suppressed) [2021-09-16T22:42:58.893Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/private_key_8568304934946673965.key (/w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/private_key_8568304934946673965.key) [2021-09-16T22:42:58.918Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-16T22:42:59.247Z] + git tag --points-at HEAD [Pipeline] } [2021-09-16T22:42:59.265Z] $ docker exec --env ******** --env ******** 712a1c627a2a9de1080a36799f35a96c9fb3ff3edcc54e08ee6d259bed671cc0 ssh-agent -k [2021-09-16T22:42:59.375Z] unset SSH_AUTH_SOCK; [2021-09-16T22:42:59.378Z] unset SSH_AGENT_PID; [2021-09-16T22:42:59.379Z] echo Agent pid 21 killed; [2021-09-16T22:42:59.395Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-09-16T22:42:59.440Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-16T22:42:59.440Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-16T22:42:59.577Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-16T22:42:59.577Z] $ docker exec 712a1c627a2a9de1080a36799f35a96c9fb3ff3edcc54e08ee6d259bed671cc0 ssh-agent [2021-09-16T22:42:59.727Z] SSH_AUTH_SOCK=/tmp/ssh-D0w0YSFYQakE/agent.55 [2021-09-16T22:42:59.727Z] SSH_AGENT_PID=61 [2021-09-16T22:42:59.736Z] Running ssh-add (command line suppressed) [2021-09-16T22:42:59.837Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/private_key_8730979554943553960.key (/w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/private_key_8730979554943553960.key) [2021-09-16T22:42:59.858Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-16T22:43:00.176Z] + git semver init [2021-09-16T22:43:00.176Z] # -> Open(): unable to determine branch for HEAD [2021-09-16T22:43:00.176Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-303/.git [2021-09-16T22:43:00.176Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-303 [2021-09-16T22:43:00.176Z] # $SEMVER_REMOTE_NAME = origin [2021-09-16T22:43:00.176Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-16T22:43:00.176Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-16T22:43:00.176Z] # $SEMVER_BRANCH = PR-303 [2021-09-16T22:43:00.176Z] # $SEMVER_TEMP = /tmp/semver-351565860 [2021-09-16T22:43:00.176Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-09-16T22:43:00.772Z] # '/tmp/semver-351565860' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-303/.semver' [2021-09-16T22:43:00.772Z] # -> Force: false [2021-09-16T22:43:00.772Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-303/.semver [Pipeline] } [2021-09-16T22:43:00.787Z] $ docker exec --env ******** --env ******** 712a1c627a2a9de1080a36799f35a96c9fb3ff3edcc54e08ee6d259bed671cc0 ssh-agent -k [2021-09-16T22:43:00.894Z] unset SSH_AUTH_SOCK; [2021-09-16T22:43:00.894Z] unset SSH_AGENT_PID; [2021-09-16T22:43:00.894Z] echo Agent pid 61 killed; [2021-09-16T22:43:00.917Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-16T22:43:01.294Z] + git semver [Pipeline] } [2021-09-16T22:43:01.315Z] $ docker stop --time=1 712a1c627a2a9de1080a36799f35a96c9fb3ff3edcc54e08ee6d259bed671cc0 [2021-09-16T22:43:02.550Z] $ docker rm -f 712a1c627a2a9de1080a36799f35a96c9fb3ff3edcc54e08ee6d259bed671cc0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-16T22:43:02.946Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-09-16T22:43:03.283Z] Stashed 1 file(s) [Pipeline] echo [2021-09-16T22:43:03.287Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-09-16T22:43:18.535Z] Still waiting to schedule task [2021-09-16T22:43:18.535Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-427’ [2021-09-16T22:43:18.538Z] Still waiting to schedule task [2021-09-16T22:43:18.538Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-09-16T22:45:41.306Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-428 in /w/workspace/gexfoundry_device-mqtt-go_PR-303 [Pipeline] { [Pipeline] ws [2021-09-16T22:45:41.334Z] Running in /w/workspace/device-mqtt-go/8 [Pipeline] { [Pipeline] checkout [2021-09-16T22:45:41.579Z] Selected Git installation does not exist. Using Default [2021-09-16T22:45:41.579Z] The recommended git tool is: NONE [2021-09-16T22:45:47.564Z] using credential edgex-jenkins-ssh [2021-09-16T22:45:47.602Z] Cloning the remote Git repository [2021-09-16T22:45:47.666Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-09-16T22:45:47.780Z] > git init /w/workspace/device-mqtt-go/8 # timeout=10 [2021-09-16T22:45:48.070Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-09-16T22:45:48.071Z] > git --version # timeout=10 [2021-09-16T22:45:48.092Z] > git --version # 'git version 2.17.1' [2021-09-16T22:45:48.093Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-16T22:45:48.187Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-16T22:45:49.298Z] Running on prd-centos7-docker-4c-2g-429 in /w/workspace/gexfoundry_device-mqtt-go_PR-303 [Pipeline] { [Pipeline] ws [2021-09-16T22:45:49.315Z] Running in /w/workspace/device-mqtt-go/8 [Pipeline] { [Pipeline] checkout [2021-09-16T22:45:49.447Z] Selected Git installation does not exist. Using Default [2021-09-16T22:45:49.448Z] The recommended git tool is: NONE [2021-09-16T22:45:49.868Z] Merging remotes/origin/main commit 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 into PR head commit 342045105871e229d92504ccf88c313acedc69e7 [2021-09-16T22:45:50.173Z] Merge succeeded, producing 342045105871e229d92504ccf88c313acedc69e7 [2021-09-16T22:45:50.174Z] Checking out Revision 342045105871e229d92504ccf88c313acedc69e7 (PR-303) [2021-09-16T22:45:49.110Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-09-16T22:45:49.126Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-16T22:45:49.164Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-09-16T22:45:49.211Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-09-16T22:45:49.212Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-16T22:45:49.227Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/303/head:refs/remotes/origin/PR-303 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-16T22:45:49.898Z] > git config core.sparsecheckout # timeout=10 [2021-09-16T22:45:49.923Z] > git checkout -f 342045105871e229d92504ccf88c313acedc69e7 # timeout=10 [2021-09-16T22:45:50.034Z] > git remote # timeout=10 [2021-09-16T22:45:50.063Z] > git config --get remote.origin.url # timeout=10 [2021-09-16T22:45:50.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-16T22:45:50.096Z] > git merge 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 # timeout=10 [2021-09-16T22:45:50.155Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-16T22:45:50.190Z] > git config core.sparsecheckout # timeout=10 [2021-09-16T22:45:50.200Z] > git checkout -f 342045105871e229d92504ccf88c313acedc69e7 # timeout=10 [2021-09-16T22:45:52.297Z] using credential edgex-jenkins-ssh [2021-09-16T22:45:52.311Z] Cloning the remote Git repository [2021-09-16T22:45:51.913Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-09-16T22:45:51.987Z] > git init /w/workspace/device-mqtt-go/8 # timeout=10 [2021-09-16T22:45:52.024Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-09-16T22:45:52.024Z] > git --version # timeout=10 [2021-09-16T22:45:52.034Z] > git --version # 'git version 2.24.4' [2021-09-16T22:45:52.035Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-16T22:45:52.067Z] [INFO] Currently running in a labeled security context [2021-09-16T22:45:52.067Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-16T22:45:52.067Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/8@tmp/jenkins-gitclient-ssh7558612641049920673.key [2021-09-16T22:45:52.096Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-16T22:45:53.879Z] Merging remotes/origin/main commit 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 into PR head commit 342045105871e229d92504ccf88c313acedc69e7 [2021-09-16T22:45:52.830Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-09-16T22:45:52.839Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-16T22:45:52.854Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-09-16T22:45:52.876Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-09-16T22:45:52.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-16T22:45:52.877Z] [INFO] Currently running in a labeled security context [2021-09-16T22:45:52.877Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-16T22:45:52.878Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/8@tmp/jenkins-gitclient-ssh1699941385147718877.key [2021-09-16T22:45:52.885Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/303/head:refs/remotes/origin/PR-303 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-16T22:45:53.592Z] > git config core.sparsecheckout # timeout=10 [2021-09-16T22:45:53.964Z] Merge succeeded, producing 342045105871e229d92504ccf88c313acedc69e7 [2021-09-16T22:45:53.965Z] Checking out Revision 342045105871e229d92504ccf88c313acedc69e7 (PR-303) [2021-09-16T22:45:54.464Z] Commit message: "fix: add check if length is 0 before trying to use metaData for uuid" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-16T22:45:54.821Z] provisioning config files... [2021-09-16T22:45:54.852Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/8@tmp/config4914916365765373576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-16T22:45:53.601Z] > git checkout -f 342045105871e229d92504ccf88c313acedc69e7 # timeout=10 [2021-09-16T22:45:53.637Z] > git remote # timeout=10 [2021-09-16T22:45:53.646Z] > git config --get remote.origin.url # timeout=10 [2021-09-16T22:45:53.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-16T22:45:53.650Z] [INFO] Currently running in a labeled security context [2021-09-16T22:45:53.650Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-16T22:45:53.651Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/8@tmp/jenkins-gitclient-ssh4760074127150804792.key [2021-09-16T22:45:53.655Z] > git merge 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 # timeout=10 [2021-09-16T22:45:53.668Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-16T22:45:53.679Z] > git config core.sparsecheckout # timeout=10 [2021-09-16T22:45:53.686Z] > git checkout -f 342045105871e229d92504ccf88c313acedc69e7 # timeout=10 [2021-09-16T22:45:55.407Z] ---> docker-login.sh [2021-09-16T22:45:55.407Z] nexus3.edgexfoundry.org:10001 [2021-09-16T22:45:56.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T22:45:57.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T22:45:57.130Z] Configure a credential helper to remove this warning. See [2021-09-16T22:45:57.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T22:45:57.130Z] [2021-09-16T22:45:57.130Z] Login Succeeded [2021-09-16T22:45:57.130Z] nexus3.edgexfoundry.org:10002 [2021-09-16T22:45:57.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T22:45:57.456Z] Commit message: "fix: add check if length is 0 before trying to use metaData for uuid" [2021-09-16T22:45:57.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T22:45:57.679Z] Configure a credential helper to remove this warning. See [2021-09-16T22:45:57.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T22:45:57.679Z] [2021-09-16T22:45:57.679Z] Login Succeeded [2021-09-16T22:45:57.679Z] nexus3.edgexfoundry.org:10003 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-16T22:45:57.818Z] provisioning config files... [2021-09-16T22:45:57.836Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/8@tmp/config798050294224805424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-16T22:45:57.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T22:45:58.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T22:45:58.231Z] Configure a credential helper to remove this warning. See [2021-09-16T22:45:58.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T22:45:58.231Z] [2021-09-16T22:45:58.231Z] Login Succeeded [2021-09-16T22:45:58.231Z] nexus3.edgexfoundry.org:10004 [2021-09-16T22:45:58.268Z] ---> docker-login.sh [2021-09-16T22:45:58.268Z] nexus3.edgexfoundry.org:10001 [2021-09-16T22:45:58.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T22:45:58.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T22:45:58.268Z] Configure a credential helper to remove this warning. See [2021-09-16T22:45:58.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T22:45:58.268Z] [2021-09-16T22:45:58.268Z] Login Succeeded [2021-09-16T22:45:58.268Z] nexus3.edgexfoundry.org:10002 [2021-09-16T22:45:58.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T22:45:58.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T22:45:58.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T22:45:58.534Z] Configure a credential helper to remove this warning. See [2021-09-16T22:45:58.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T22:45:58.534Z] [2021-09-16T22:45:58.534Z] Login Succeeded [2021-09-16T22:45:58.534Z] nexus3.edgexfoundry.org:10003 [2021-09-16T22:45:58.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T22:45:58.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T22:45:58.785Z] Configure a credential helper to remove this warning. See [2021-09-16T22:45:58.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T22:45:58.785Z] [2021-09-16T22:45:58.785Z] Login Succeeded [2021-09-16T22:45:58.785Z] docker.io [2021-09-16T22:45:58.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T22:45:58.802Z] Configure a credential helper to remove this warning. See [2021-09-16T22:45:58.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T22:45:58.802Z] [2021-09-16T22:45:58.802Z] Login Succeeded [2021-09-16T22:45:58.802Z] nexus3.edgexfoundry.org:10004 [2021-09-16T22:45:58.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T22:45:58.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T22:45:58.802Z] Configure a credential helper to remove this warning. See [2021-09-16T22:45:58.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T22:45:58.802Z] [2021-09-16T22:45:58.802Z] Login Succeeded [2021-09-16T22:45:58.802Z] docker.io [2021-09-16T22:45:58.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-09-16T22:45:59.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T22:45:59.387Z] Configure a credential helper to remove this warning. See [2021-09-16T22:45:59.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T22:45:59.387Z] [2021-09-16T22:45:59.387Z] Login Succeeded [2021-09-16T22:45:59.387Z] ---> docker-login.sh ends [2021-09-16T22:45:59.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [2021-09-16T22:45:59.440Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-09-16T22:45:59.646Z] ========================================================= [2021-09-16T22:45:59.646Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-09-16T22:45:59.646Z] ========================================================= [Pipeline] fileExists [2021-09-16T22:45:59.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-09-16T22:45:59.666Z] Configure a credential helper to remove this warning. See [2021-09-16T22:45:59.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-09-16T22:45:59.666Z] [2021-09-16T22:45:59.666Z] Login Succeeded [2021-09-16T22:45:59.666Z] ---> docker-login.sh ends [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [Pipeline] } [2021-09-16T22:45:59.902Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-09-16T22:46:00.017Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-09-16T22:46:00.017Z] Sending build context to Docker daemon 693.8kB [2021-09-16T22:46:00.017Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.12 [2021-09-16T22:46:00.017Z] Step 2/12 : FROM ${BASE} AS builder [2021-09-16T22:46:00.017Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-09-16T22:46:00.017Z] 540db60ca938: Pulling fs layer [2021-09-16T22:46:00.017Z] adcc1eea9eea: Pulling fs layer [2021-09-16T22:46:00.017Z] 4c4ab2625f07: Pulling fs layer [2021-09-16T22:46:00.017Z] db62176df00c: Pulling fs layer [2021-09-16T22:46:00.017Z] 3b30891b0d05: Pulling fs layer [2021-09-16T22:46:00.017Z] 06b49ca38bd5: Pulling fs layer [2021-09-16T22:46:00.017Z] c788192a36de: Pulling fs layer [2021-09-16T22:46:00.017Z] a77e37c0d609: Pulling fs layer [2021-09-16T22:46:00.017Z] c3185cebc471: Pulling fs layer [2021-09-16T22:46:00.017Z] 06b49ca38bd5: Waiting [2021-09-16T22:46:00.017Z] c788192a36de: Waiting [2021-09-16T22:46:00.017Z] a77e37c0d609: Waiting [2021-09-16T22:46:00.017Z] c3185cebc471: Waiting [2021-09-16T22:46:00.017Z] db62176df00c: Waiting [2021-09-16T22:46:00.017Z] 3b30891b0d05: Waiting [2021-09-16T22:46:00.289Z] 4c4ab2625f07: Verifying Checksum [2021-09-16T22:46:00.289Z] 4c4ab2625f07: Download complete [2021-09-16T22:46:00.289Z] adcc1eea9eea: Verifying Checksum [2021-09-16T22:46:00.289Z] adcc1eea9eea: Download complete [2021-09-16T22:46:00.289Z] 3b30891b0d05: Download complete [2021-09-16T22:46:00.289Z] 06b49ca38bd5: Verifying Checksum [2021-09-16T22:46:00.289Z] 06b49ca38bd5: Download complete [2021-09-16T22:46:00.289Z] 540db60ca938: Verifying Checksum [2021-09-16T22:46:00.289Z] 540db60ca938: Download complete [2021-09-16T22:46:00.289Z] c788192a36de: Verifying Checksum [2021-09-16T22:46:00.289Z] c788192a36de: Download complete [Pipeline] echo [2021-09-16T22:46:00.399Z] ========================================================= [2021-09-16T22:46:00.399Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-09-16T22:46:00.399Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-09-16T22:46:00.557Z] 540db60ca938: Pull complete [2021-09-16T22:46:00.557Z] adcc1eea9eea: Pull complete [2021-09-16T22:46:00.786Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-09-16T22:46:00.824Z] 4c4ab2625f07: Pull complete [2021-09-16T22:46:01.066Z] Sending build context to Docker daemon 692.7kB [2021-09-16T22:46:01.066Z] Step 1/12 : ARG BASE=golang:1.16-alpine3.12 [2021-09-16T22:46:01.066Z] Step 2/12 : FROM ${BASE} AS builder [2021-09-16T22:46:01.090Z] a77e37c0d609: Verifying Checksum [2021-09-16T22:46:01.090Z] a77e37c0d609: Download complete [2021-09-16T22:46:01.673Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-09-16T22:46:01.673Z] 595b0fe564bb: Pulling fs layer [2021-09-16T22:46:01.673Z] 24495759ef45: Pulling fs layer [2021-09-16T22:46:01.673Z] d148012ef14d: Pulling fs layer [2021-09-16T22:46:01.673Z] e90a11edd702: Pulling fs layer [2021-09-16T22:46:01.673Z] d77568369979: Pulling fs layer [2021-09-16T22:46:01.673Z] fc1c9f9a7f3b: Pulling fs layer [2021-09-16T22:46:01.673Z] 170f2ba95c9a: Pulling fs layer [2021-09-16T22:46:01.673Z] 97ac5df62f85: Pulling fs layer [2021-09-16T22:46:01.673Z] e90a11edd702: Waiting [2021-09-16T22:46:01.673Z] fc1c9f9a7f3b: Waiting [2021-09-16T22:46:01.673Z] 170f2ba95c9a: Waiting [2021-09-16T22:46:01.673Z] d77568369979: Waiting [2021-09-16T22:46:01.673Z] 97ac5df62f85: Waiting [2021-09-16T22:46:01.673Z] d148012ef14d: Verifying Checksum [2021-09-16T22:46:01.673Z] d148012ef14d: Download complete [2021-09-16T22:46:01.673Z] 24495759ef45: Verifying Checksum [2021-09-16T22:46:01.673Z] 24495759ef45: Download complete [2021-09-16T22:46:01.673Z] d77568369979: Verifying Checksum [2021-09-16T22:46:01.673Z] d77568369979: Download complete [2021-09-16T22:46:01.673Z] 595b0fe564bb: Verifying Checksum [2021-09-16T22:46:01.673Z] 595b0fe564bb: Download complete [2021-09-16T22:46:01.673Z] fc1c9f9a7f3b: Verifying Checksum [2021-09-16T22:46:01.673Z] fc1c9f9a7f3b: Download complete [2021-09-16T22:46:01.950Z] 170f2ba95c9a: Download complete [2021-09-16T22:46:02.554Z] 595b0fe564bb: Pull complete [2021-09-16T22:46:03.154Z] 24495759ef45: Pull complete [2021-09-16T22:46:03.430Z] d148012ef14d: Pull complete [2021-09-16T22:46:06.068Z] 97ac5df62f85: Verifying Checksum [2021-09-16T22:46:06.068Z] 97ac5df62f85: Download complete [2021-09-16T22:46:06.068Z] e90a11edd702: Verifying Checksum [2021-09-16T22:46:06.068Z] e90a11edd702: Download complete [2021-09-16T22:46:06.431Z] c3185cebc471: Verifying Checksum [2021-09-16T22:46:06.431Z] c3185cebc471: Download complete [2021-09-16T22:46:07.016Z] db62176df00c: Verifying Checksum [2021-09-16T22:46:07.016Z] db62176df00c: Download complete [2021-09-16T22:46:10.387Z] db62176df00c: Pull complete [2021-09-16T22:46:10.387Z] 3b30891b0d05: Pull complete [2021-09-16T22:46:10.387Z] 06b49ca38bd5: Pull complete [2021-09-16T22:46:10.387Z] c788192a36de: Pull complete [2021-09-16T22:46:10.654Z] a77e37c0d609: Pull complete [2021-09-16T22:46:12.614Z] c3185cebc471: Pull complete [2021-09-16T22:46:12.614Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-09-16T22:46:12.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-09-16T22:46:12.614Z] ---> 031687cdd783 [2021-09-16T22:46:12.614Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-09-16T22:46:14.574Z] ---> Running in 7c1586287c50 [2021-09-16T22:46:14.574Z] Removing intermediate container 7c1586287c50 [2021-09-16T22:46:14.574Z] ---> 863c9c863026 [2021-09-16T22:46:14.574Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2021-09-16T22:46:14.574Z] ---> Running in 0133485dcc9c [2021-09-16T22:46:14.574Z] Removing intermediate container 0133485dcc9c [2021-09-16T22:46:14.574Z] ---> 39b7f0378dab [2021-09-16T22:46:14.574Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-16T22:46:14.574Z] ---> Running in 234691fb3f43 [2021-09-16T22:46:14.841Z] Removing intermediate container 234691fb3f43 [2021-09-16T22:46:14.841Z] ---> 162b2171bb1a [2021-09-16T22:46:14.841Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-09-16T22:46:15.107Z] ---> Running in dd0d961172c7 [2021-09-16T22:46:15.107Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-09-16T22:46:16.067Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-09-16T22:46:16.654Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-09-16T22:46:16.654Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-09-16T22:46:16.654Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-09-16T22:46:16.923Z] Executing busybox-1.32.1-r6.trigger [2021-09-16T22:46:16.923Z] OK: 223 MiB in 55 packages [2021-09-16T22:46:17.190Z] Removing intermediate container dd0d961172c7 [2021-09-16T22:46:17.190Z] ---> 42670b82768a [2021-09-16T22:46:17.190Z] Step 7/12 : WORKDIR /device-mqtt-go [2021-09-16T22:46:17.190Z] ---> Running in d2facd4639f4 [2021-09-16T22:46:17.465Z] Removing intermediate container d2facd4639f4 [2021-09-16T22:46:17.465Z] ---> 7f39e67b7b45 [2021-09-16T22:46:17.465Z] Step 8/12 : COPY . . [2021-09-16T22:46:17.737Z] ---> 4aa187935419 [2021-09-16T22:46:17.737Z] Step 9/12 : RUN go mod tidy [2021-09-16T22:46:17.737Z] ---> Running in 681fa9ab28d7 [2021-09-16T22:46:18.480Z] e90a11edd702: Pull complete [2021-09-16T22:46:18.480Z] d77568369979: Pull complete [2021-09-16T22:46:18.480Z] fc1c9f9a7f3b: Pull complete [2021-09-16T22:46:18.480Z] 170f2ba95c9a: Pull complete [2021-09-16T22:46:19.681Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-09-16T22:46:19.681Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-16T22:46:19.681Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-16T22:46:19.681Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-16T22:46:19.681Z] go: downloading github.com/google/uuid v1.3.0 [2021-09-16T22:46:19.681Z] go: downloading github.com/spf13/cast v1.4.1 [2021-09-16T22:46:19.946Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-16T22:46:19.946Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-16T22:46:19.946Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-16T22:46:19.946Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-16T22:46:19.946Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-16T22:46:19.946Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-16T22:46:19.946Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-16T22:46:20.218Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-16T22:46:20.218Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-16T22:46:20.218Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-16T22:46:20.218Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-16T22:46:20.491Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-09-16T22:46:20.491Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-16T22:46:20.491Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-16T22:46:20.491Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-16T22:46:20.491Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-16T22:46:20.491Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-09-16T22:46:20.491Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-16T22:46:20.491Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-16T22:46:20.491Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-16T22:46:20.491Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-16T22:46:20.491Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-16T22:46:20.760Z] go: downloading golang.org/x/text v0.3.2 [2021-09-16T22:46:20.760Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-16T22:46:21.034Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-16T22:46:21.621Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-16T22:46:21.621Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-16T22:46:21.621Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-16T22:46:21.893Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-16T22:46:21.893Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-16T22:46:21.893Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-16T22:46:21.893Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-16T22:46:21.893Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-16T22:46:21.893Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-16T22:46:21.893Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-16T22:46:21.893Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-16T22:46:22.165Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-16T22:46:22.165Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-16T22:46:22.165Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-16T22:46:22.165Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-16T22:46:22.165Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-16T22:46:22.165Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-16T22:46:22.165Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-16T22:46:22.165Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-16T22:46:22.165Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-16T22:46:22.165Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-16T22:46:22.165Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-16T22:46:22.432Z] go: downloading github.com/kr/text v0.1.0 [2021-09-16T22:46:22.432Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-16T22:46:22.432Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-16T22:46:22.432Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-16T22:46:22.432Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-16T22:46:22.432Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-16T22:46:22.432Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-16T22:46:22.432Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-16T22:46:22.432Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-16T22:46:22.432Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-16T22:46:22.432Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-16T22:46:22.432Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-16T22:46:22.701Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-16T22:46:22.701Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-16T22:46:22.701Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-16T22:46:22.701Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-09-16T22:46:22.701Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-16T22:46:22.701Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-16T22:46:22.701Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-16T22:46:22.701Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-16T22:46:22.701Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-16T22:46:22.701Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-16T22:46:22.701Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-16T22:46:23.900Z] 97ac5df62f85: Pull complete [2021-09-16T22:46:23.900Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-09-16T22:46:23.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-16T22:46:23.900Z] ---> 04bc70af865f [2021-09-16T22:46:23.900Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-09-16T22:46:26.964Z] Removing intermediate container 681fa9ab28d7 [2021-09-16T22:46:26.964Z] ---> 2ee5401f2253 [2021-09-16T22:46:26.964Z] Step 10/12 : RUN go mod download [2021-09-16T22:46:26.964Z] ---> Running in 06d1bde1cb40 [2021-09-16T22:46:28.236Z] ---> Running in dab56bee7126 [2021-09-16T22:46:28.236Z] Removing intermediate container dab56bee7126 [2021-09-16T22:46:28.236Z] ---> ac4ae3553407 [2021-09-16T22:46:28.236Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2021-09-16T22:46:28.511Z] ---> Running in 3073f307d7bb [2021-09-16T22:46:29.107Z] Removing intermediate container 3073f307d7bb [2021-09-16T22:46:29.107Z] ---> 2fd9898eaae2 [2021-09-16T22:46:29.107Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-16T22:46:29.107Z] ---> Running in 5b22dc7ea7b1 [2021-09-16T22:46:31.234Z] Removing intermediate container 06d1bde1cb40 [2021-09-16T22:46:31.234Z] ---> b9324a073fd2 [2021-09-16T22:46:31.234Z] Step 11/12 : ARG MAKE='make build' [2021-09-16T22:46:31.234Z] ---> Running in fe9abc2bfe73 [2021-09-16T22:46:31.505Z] Removing intermediate container fe9abc2bfe73 [2021-09-16T22:46:31.505Z] ---> de89ee625777 [2021-09-16T22:46:31.505Z] Step 12/12 : RUN $MAKE [2021-09-16T22:46:31.505Z] ---> Running in ea25c5f13603 [2021-09-16T22:46:31.773Z] noop [2021-09-16T22:46:31.773Z] Removing intermediate container ea25c5f13603 [2021-09-16T22:46:31.773Z] ---> 16703940a6a7 [2021-09-16T22:46:31.773Z] Successfully built 16703940a6a7 [2021-09-16T22:46:31.773Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-09-16T22:46:32.105Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-16T22:46:32.105Z] . [Pipeline] withDockerContainer [2021-09-16T22:46:32.201Z] prd-centos7-docker-4c-2g-429 does not seem to be running inside a container [2021-09-16T22:46:32.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-09-16T22:46:32.497Z] Removing intermediate container 5b22dc7ea7b1 [2021-09-16T22:46:32.497Z] ---> 3c4fd211315b [2021-09-16T22:46:32.497Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-09-16T22:46:32.497Z] ---> Running in 9ccbdde58a24 [2021-09-16T22:46:32.617Z] $ docker top aff7c10926ea3f0e73c88f78bf0002400b2bcd026d28ac3a490d126654158b3e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-16T22:46:33.026Z] + go version [2021-09-16T22:46:33.026Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-09-16T22:46:33.039Z] $ docker stop --time=1 aff7c10926ea3f0e73c88f78bf0002400b2bcd026d28ac3a490d126654158b3e [2021-09-16T22:46:33.475Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-09-16T22:46:34.067Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-09-16T22:46:34.233Z] $ docker rm -f aff7c10926ea3f0e73c88f78bf0002400b2bcd026d28ac3a490d126654158b3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-16T22:46:34.833Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-16T22:46:34.833Z] . [Pipeline] withDockerContainer [2021-09-16T22:46:34.923Z] prd-centos7-docker-4c-2g-429 does not seem to be running inside a container [2021-09-16T22:46:34.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-09-16T22:46:35.046Z] (1/3) Installing openssh-keygen (8.4_p1-r3) [2021-09-16T22:46:35.046Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-09-16T22:46:35.046Z] (3/3) Installing openssh-client (8.4_p1-r3) [2021-09-16T22:46:35.323Z] Executing busybox-1.32.1-r6.trigger [2021-09-16T22:46:35.324Z] OK: 222 MiB in 55 packages [2021-09-16T22:46:35.376Z] $ docker top c28fc1fc5b8b6eaaf33c33abc2b376d4920e6b05a4adaa77f3fd78e465ae880c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-16T22:46:35.795Z] + go mod tidy [Pipeline] sh [2021-09-16T22:46:36.398Z] + make test [2021-09-16T22:46:36.398Z] go mod tidy [2021-09-16T22:46:36.398Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-09-16T22:46:36.768Z] Removing intermediate container 9ccbdde58a24 [2021-09-16T22:46:36.769Z] ---> 0bde48e3ac29 [2021-09-16T22:46:36.769Z] Step 7/12 : WORKDIR /device-mqtt-go [2021-09-16T22:46:36.999Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-09-16T22:46:37.047Z] ---> Running in d47525caf1ca [2021-09-16T22:46:37.326Z] Removing intermediate container d47525caf1ca [2021-09-16T22:46:37.326Z] ---> b49ff66b2f40 [2021-09-16T22:46:37.326Z] Step 8/12 : COPY . . [2021-09-16T22:46:38.762Z] ---> 1a26c81ef58e [2021-09-16T22:46:38.762Z] Step 9/12 : RUN go mod tidy [2021-09-16T22:46:38.762Z] ---> Running in 9360541754e1 [2021-09-16T22:46:42.155Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-16T22:46:42.156Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.0.0 [2021-09-16T22:46:42.156Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-16T22:46:42.156Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-16T22:46:42.156Z] go: downloading github.com/google/uuid v1.3.0 [2021-09-16T22:46:42.156Z] go: downloading github.com/spf13/cast v1.4.1 [2021-09-16T22:46:42.156Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-16T22:46:42.156Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-16T22:46:42.156Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-16T22:46:42.156Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-16T22:46:42.156Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-16T22:46:42.156Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-16T22:46:42.443Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-16T22:46:42.443Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-16T22:46:42.718Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-16T22:46:42.718Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-16T22:46:42.718Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-16T22:46:42.993Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-09-16T22:46:42.993Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-16T22:46:42.993Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-16T22:46:42.993Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-16T22:46:42.993Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-16T22:46:42.993Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-09-16T22:46:43.270Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-16T22:46:43.270Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-16T22:46:43.270Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-16T22:46:43.270Z] go: downloading golang.org/x/text v0.3.2 [2021-09-16T22:46:43.270Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-16T22:46:43.541Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-16T22:46:46.159Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-16T22:46:46.159Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-16T22:46:46.159Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-16T22:46:46.159Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-16T22:46:46.159Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-16T22:46:46.159Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-16T22:46:46.159Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-16T22:46:46.159Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-16T22:46:46.159Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-16T22:46:46.159Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-16T22:46:46.432Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-16T22:46:46.432Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-16T22:46:46.432Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-16T22:46:46.705Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-16T22:46:46.705Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-16T22:46:46.705Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-16T22:46:46.705Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-16T22:46:46.705Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-16T22:46:46.705Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-16T22:46:46.705Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-16T22:46:46.705Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-16T22:46:46.980Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-16T22:46:46.980Z] go: downloading github.com/kr/text v0.1.0 [2021-09-16T22:46:46.980Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-16T22:46:46.980Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-16T22:46:46.980Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-16T22:46:46.980Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-16T22:46:46.980Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-16T22:46:47.256Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-16T22:46:47.256Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-16T22:46:47.256Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-16T22:46:47.256Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-16T22:46:47.256Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-16T22:46:47.256Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-16T22:46:47.256Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-16T22:46:47.256Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-16T22:46:47.256Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-16T22:46:47.256Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-16T22:46:47.535Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-16T22:46:47.535Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-16T22:46:47.535Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-09-16T22:46:47.535Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-16T22:46:47.535Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-16T22:46:47.535Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-16T22:46:47.535Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-16T22:46:47.535Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-16T22:46:47.535Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-16T22:46:52.111Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-09-16T22:46:52.700Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.4% of statements [2021-09-16T22:46:52.700Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-09-16T22:46:52.700Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-16T22:46:59.389Z] gofmt -l . [2021-09-16T22:46:59.389Z] ["`gofmt -l .`" = ""] [2021-09-16T22:46:59.389Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-09-16T22:46:59.407Z] $ docker stop --time=1 c28fc1fc5b8b6eaaf33c33abc2b376d4920e6b05a4adaa77f3fd78e465ae880c [2021-09-16T22:47:00.875Z] $ docker rm -f c28fc1fc5b8b6eaaf33c33abc2b376d4920e6b05a4adaa77f3fd78e465ae880c [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-16T22:47:01.317Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-16T22:47:01.579Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-09-16T22:47:02.670Z] Removing intermediate container 9360541754e1 [2021-09-16T22:47:02.670Z] ---> 4a95fe649daa [2021-09-16T22:47:02.670Z] Step 10/12 : RUN go mod download [2021-09-16T22:47:02.670Z] ---> Running in ddfa29960e38 [Pipeline] sh [2021-09-16T22:47:03.823Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-09-16T22:47:04.136Z] + ls -al . [2021-09-16T22:47:04.136Z] total 120 [2021-09-16T22:47:04.136Z] drwxrwxr-x. 9 jenkins jenkins 4096 Sep 16 22:46 . [2021-09-16T22:47:04.136Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 16 22:45 .. [2021-09-16T22:47:04.136Z] -rw-rw-r--. 1 jenkins jenkins 6985 Sep 16 22:45 Attribution.txt [2021-09-16T22:47:04.136Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 16 22:45 bin [2021-09-16T22:47:04.136Z] -rw-rw-r--. 1 jenkins jenkins 7447 Sep 16 22:45 CHANGELOG.md [2021-09-16T22:47:04.136Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 16 22:45 cmd [2021-09-16T22:47:04.136Z] -rw-r--r--. 1 jenkins jenkins 17284 Sep 16 22:46 coverage.out [2021-09-16T22:47:04.136Z] -rw-rw-r--. 1 jenkins jenkins 1877 Sep 16 22:45 Dockerfile [2021-09-16T22:47:04.136Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 16 22:45 .dockerignore [2021-09-16T22:47:04.136Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 16 22:45 .git [2021-09-16T22:47:04.136Z] drwxrwxr-x. 2 jenkins jenkins 103 Sep 16 22:45 .github [2021-09-16T22:47:04.136Z] -rw-rw-r--. 1 jenkins jenkins 336 Sep 16 22:45 .gitignore [2021-09-16T22:47:04.136Z] -rw-rw-r--. 1 jenkins jenkins 367 Sep 16 22:45 go.mod [2021-09-16T22:47:04.136Z] -rw-r--r--. 1 jenkins jenkins 20655 Sep 16 22:46 go.sum [2021-09-16T22:47:04.136Z] -rw-rw-r--. 1 jenkins jenkins 677 Sep 16 22:45 GOVERNANCE.md [2021-09-16T22:47:04.136Z] drwxrwxr-x. 3 jenkins jenkins 20 Sep 16 22:45 internal [2021-09-16T22:47:04.136Z] -rw-rw-r--. 1 jenkins jenkins 677 Sep 16 22:45 Jenkinsfile [2021-09-16T22:47:04.136Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 16 22:45 LICENSE [2021-09-16T22:47:04.136Z] -rw-rw-r--. 1 jenkins jenkins 907 Sep 16 22:45 Makefile [2021-09-16T22:47:04.136Z] drwxrwxr-x. 2 jenkins jenkins 23 Sep 16 22:45 mock [2021-09-16T22:47:04.136Z] -rw-rw-r--. 1 jenkins jenkins 620 Sep 16 22:45 OWNERS.md [2021-09-16T22:47:04.136Z] -rw-rw-r--. 1 jenkins jenkins 2211 Sep 16 22:45 README.md [2021-09-16T22:47:04.136Z] drwxrwxr-x. 4 jenkins jenkins 71 Sep 16 22:45 snap [2021-09-16T22:47:04.136Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 16 22:43 VERSION [2021-09-16T22:47:04.136Z] -rw-rw-r--. 1 jenkins jenkins 227 Sep 16 22:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-09-16T22:47:04.456Z] + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=342045105871e229d92504ccf88c313acedc69e7 --label arch=amd64 --label version=0.0.0 . [2021-09-16T22:47:04.456Z] Sending build context to Docker daemon 711.7kB [2021-09-16T22:47:04.456Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-09-16T22:47:04.456Z] Step 2/24 : FROM ${BASE} AS builder [2021-09-16T22:47:04.456Z] ---> 16703940a6a7 [2021-09-16T22:47:04.456Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-09-16T22:47:04.456Z] ---> Running in 9554771b0c9f [2021-09-16T22:47:04.456Z] Removing intermediate container 9554771b0c9f [2021-09-16T22:47:04.456Z] ---> 11e449f44b0e [2021-09-16T22:47:04.456Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-09-16T22:47:04.726Z] ---> Running in c2e7880adf1f [2021-09-16T22:47:04.726Z] Removing intermediate container c2e7880adf1f [2021-09-16T22:47:04.726Z] ---> be7a468e1bf9 [2021-09-16T22:47:04.726Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-16T22:47:04.726Z] ---> Running in 8e240cb9bcd5 [2021-09-16T22:47:05.309Z] Removing intermediate container 8e240cb9bcd5 [2021-09-16T22:47:05.309Z] ---> 64cd06a8db5a [2021-09-16T22:47:05.309Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-09-16T22:47:05.309Z] ---> Running in 62658508bc0a [2021-09-16T22:47:05.583Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-09-16T22:47:06.990Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-09-16T22:47:07.265Z] OK: 223 MiB in 55 packages [2021-09-16T22:47:07.265Z] Removing intermediate container 62658508bc0a [2021-09-16T22:47:07.265Z] ---> fdb9cdcf2424 [2021-09-16T22:47:07.265Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-09-16T22:47:07.533Z] ---> Running in 948ab2fe1235 [2021-09-16T22:47:07.533Z] Removing intermediate container 948ab2fe1235 [2021-09-16T22:47:07.533Z] ---> ee03bbb5c600 [2021-09-16T22:47:07.533Z] Step 8/24 : COPY . . [2021-09-16T22:47:07.803Z] ---> 6eaefe74cee8 [2021-09-16T22:47:07.803Z] Step 9/24 : RUN go mod tidy [2021-09-16T22:47:07.803Z] ---> Running in 92c52a059dd0 [2021-09-16T22:47:08.392Z] Removing intermediate container 92c52a059dd0 [2021-09-16T22:47:08.392Z] ---> 5767b64794f6 [2021-09-16T22:47:08.392Z] Step 10/24 : RUN go mod download [2021-09-16T22:47:08.392Z] ---> Running in eeedc9d32062 [2021-09-16T22:47:08.973Z] Removing intermediate container eeedc9d32062 [2021-09-16T22:47:08.973Z] ---> dbe43496d624 [2021-09-16T22:47:08.973Z] Step 11/24 : ARG MAKE='make build' [2021-09-16T22:47:08.973Z] ---> Running in dc06602b966c [2021-09-16T22:47:08.973Z] Removing intermediate container dc06602b966c [2021-09-16T22:47:08.973Z] ---> e34fb1a59a70 [2021-09-16T22:47:08.973Z] Step 12/24 : RUN $MAKE [2021-09-16T22:47:08.973Z] ---> Running in c27635b780b3 [2021-09-16T22:47:09.249Z] go mod tidy [2021-09-16T22:47:09.527Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2021-09-16T22:47:10.949Z] Removing intermediate container ddfa29960e38 [2021-09-16T22:47:10.949Z] ---> 04545cf71340 [2021-09-16T22:47:10.949Z] Step 11/12 : ARG MAKE='make build' [2021-09-16T22:47:10.949Z] ---> Running in 57bb3f4d694a [2021-09-16T22:47:10.949Z] Removing intermediate container 57bb3f4d694a [2021-09-16T22:47:10.949Z] ---> b78bcc0fc907 [2021-09-16T22:47:10.949Z] Step 12/12 : RUN $MAKE [2021-09-16T22:47:10.949Z] ---> Running in 130726deaeb1 [2021-09-16T22:47:11.934Z] noop [2021-09-16T22:47:12.923Z] Removing intermediate container 130726deaeb1 [2021-09-16T22:47:12.923Z] ---> dbfa45c708fb [2021-09-16T22:47:12.923Z] Successfully built dbfa45c708fb [2021-09-16T22:47:12.923Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-09-16T22:47:13.276Z] + docker inspect -f . ci-base-image-arm64 [2021-09-16T22:47:13.276Z] . [Pipeline] withDockerContainer [2021-09-16T22:47:13.550Z] prd-ubuntu18.04-docker-arm64-4c-16g-428 does not seem to be running inside a container [2021-09-16T22:47:13.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-09-16T22:47:15.419Z] $ docker top f51a0ba6f55a0a014835ec84248b6a18d396dd36ae17aa20f221f045bc29281a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-16T22:47:16.406Z] + go version [2021-09-16T22:47:16.406Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-09-16T22:47:16.431Z] $ docker stop --time=1 f51a0ba6f55a0a014835ec84248b6a18d396dd36ae17aa20f221f045bc29281a [2021-09-16T22:47:18.378Z] $ docker rm -f f51a0ba6f55a0a014835ec84248b6a18d396dd36ae17aa20f221f045bc29281a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-16T22:47:19.226Z] + docker inspect -f . ci-base-image-arm64 [2021-09-16T22:47:19.226Z] . [Pipeline] withDockerContainer [2021-09-16T22:47:19.486Z] prd-ubuntu18.04-docker-arm64-4c-16g-428 does not seem to be running inside a container [2021-09-16T22:47:19.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-09-16T22:47:21.260Z] $ docker top df78bfab33e9c8ab00749d6fcc066fa4296f11579cdf745e3e2d1b092c1b8aaa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-16T22:47:21.959Z] Removing intermediate container c27635b780b3 [2021-09-16T22:47:21.959Z] ---> bbda2c5fcfbc [2021-09-16T22:47:21.959Z] Step 13/24 : FROM alpine:3.12 [2021-09-16T22:47:21.959Z] 3.12: Pulling from library/alpine [2021-09-16T22:47:21.959Z] e519532ddf75: Pulling fs layer [2021-09-16T22:47:21.959Z] e519532ddf75: Verifying Checksum [2021-09-16T22:47:21.959Z] e519532ddf75: Download complete [2021-09-16T22:47:21.959Z] e519532ddf75: Pull complete [2021-09-16T22:47:21.959Z] Digest: sha256:a296b4c6f6ee2b88f095b61e95c7ef4f51ba25598835b4978c9256d8c8ace48a [2021-09-16T22:47:21.959Z] Status: Downloaded newer image for alpine:3.12 [2021-09-16T22:47:21.959Z] ---> 48b8ec4ed9eb [2021-09-16T22:47:21.959Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-09-16T22:47:21.959Z] ---> Running in 3093819f0193 [2021-09-16T22:47:21.959Z] Removing intermediate container 3093819f0193 [2021-09-16T22:47:21.959Z] ---> cd0ba9df6307 [2021-09-16T22:47:21.959Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-09-16T22:47:21.959Z] ---> Running in 749874c7f3c4 [2021-09-16T22:47:21.959Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-09-16T22:47:21.959Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-09-16T22:47:22.233Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-09-16T22:47:22.233Z] (2/6) Installing libgcc (9.3.0-r2) [2021-09-16T22:47:22.233Z] (3/6) Installing libsodium (1.0.18-r0) [2021-09-16T22:47:22.233Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-09-16T22:47:22.233Z] (5/6) Installing libzmq (4.3.3-r0) [2021-09-16T22:47:22.233Z] (6/6) Installing zeromq (4.3.3-r0) [2021-09-16T22:47:22.233Z] Executing busybox-1.31.1-r20.trigger [2021-09-16T22:47:22.233Z] OK: 8 MiB in 20 packages [2021-09-16T22:47:22.258Z] + go mod tidy [2021-09-16T22:47:22.501Z] Removing intermediate container 749874c7f3c4 [2021-09-16T22:47:22.501Z] ---> b452659f7e0a [2021-09-16T22:47:22.501Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-09-16T22:47:22.771Z] ---> 0f91404e58ce [2021-09-16T22:47:22.771Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [Pipeline] sh [2021-09-16T22:47:23.042Z] ---> 8f7333a9942f [2021-09-16T22:47:23.042Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-09-16T22:47:23.042Z] ---> a27c2ec4c9a1 [2021-09-16T22:47:23.042Z] Step 19/24 : EXPOSE 59982 [2021-09-16T22:47:23.042Z] ---> Running in 76a33cd740a6 [2021-09-16T22:47:23.309Z] Removing intermediate container 76a33cd740a6 [2021-09-16T22:47:23.309Z] ---> 65a7ed72fe7e [2021-09-16T22:47:23.309Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-09-16T22:47:23.309Z] ---> Running in 40d459789b7f [2021-09-16T22:47:23.309Z] Removing intermediate container 40d459789b7f [2021-09-16T22:47:23.309Z] ---> 653163d4b8a2 [2021-09-16T22:47:23.309Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-09-16T22:47:23.309Z] ---> Running in d6247cb0397f [2021-09-16T22:47:23.309Z] Removing intermediate container d6247cb0397f [2021-09-16T22:47:23.309Z] ---> e0504e3d03c5 [2021-09-16T22:47:23.309Z] Step 22/24 : LABEL arch=amd64 [2021-09-16T22:47:23.530Z] + make test [2021-09-16T22:47:23.531Z] go mod tidy [2021-09-16T22:47:23.578Z] ---> Running in ec249a329cb3 [2021-09-16T22:47:23.578Z] Removing intermediate container ec249a329cb3 [2021-09-16T22:47:23.578Z] ---> 4f7f13f15703 [2021-09-16T22:47:23.578Z] Step 23/24 : LABEL git_sha=342045105871e229d92504ccf88c313acedc69e7 [2021-09-16T22:47:23.578Z] ---> Running in 6553d177e3ad [2021-09-16T22:47:23.578Z] Removing intermediate container 6553d177e3ad [2021-09-16T22:47:23.578Z] ---> a307e1055ee4 [2021-09-16T22:47:23.578Z] Step 24/24 : LABEL version=0.0.0 [2021-09-16T22:47:23.578Z] ---> Running in 9f0dd49c9615 [2021-09-16T22:47:23.806Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-09-16T22:47:23.846Z] Removing intermediate container 9f0dd49c9615 [2021-09-16T22:47:23.846Z] ---> 554b48647267 [2021-09-16T22:47:23.846Z] [Warning] One or more build-args [ARCH] were not consumed [2021-09-16T22:47:23.846Z] Successfully built 554b48647267 [2021-09-16T22:47:23.846Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [2021-09-16T22:47:25.307Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-09-16T22:47:39.165Z] Still waiting to schedule task [2021-09-16T22:47:39.165Z] All nodes of label ‘ubuntu18.04-docker-8c-8g’ are offline [2021-09-16T22:48:21.908Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-09-16T22:48:21.908Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.051s coverage: 22.4% of statements [2021-09-16T22:48:21.908Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-09-16T22:48:21.908Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-16T22:48:44.145Z] gofmt -l . [2021-09-16T22:48:44.145Z] ["`gofmt -l .`" = ""] [2021-09-16T22:48:44.145Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-09-16T22:48:44.169Z] $ docker stop --time=1 df78bfab33e9c8ab00749d6fcc066fa4296f11579cdf745e3e2d1b092c1b8aaa [2021-09-16T22:48:46.115Z] $ docker rm -f df78bfab33e9c8ab00749d6fcc066fa4296f11579cdf745e3e2d1b092c1b8aaa [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-16T22:48:46.935Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-16T22:48:46.954Z] Warning: overwriting stash ‘coverage-report’ [2021-09-16T22:48:47.491Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-09-16T22:48:48.054Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-09-16T22:48:48.390Z] + ls -al . [2021-09-16T22:48:48.390Z] total 152 [2021-09-16T22:48:48.390Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 16 22:48 . [2021-09-16T22:48:48.390Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 22:45 .. [2021-09-16T22:48:48.390Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 16 22:45 .dockerignore [2021-09-16T22:48:48.390Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 16 22:45 .git [2021-09-16T22:48:48.390Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 22:45 .github [2021-09-16T22:48:48.390Z] -rw-rw-r-- 1 jenkins jenkins 336 Sep 16 22:45 .gitignore [2021-09-16T22:48:48.390Z] -rw-rw-r-- 1 jenkins jenkins 6985 Sep 16 22:45 Attribution.txt [2021-09-16T22:48:48.390Z] -rw-rw-r-- 1 jenkins jenkins 7447 Sep 16 22:45 CHANGELOG.md [2021-09-16T22:48:48.390Z] -rw-rw-r-- 1 jenkins jenkins 1877 Sep 16 22:45 Dockerfile [2021-09-16T22:48:48.390Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 16 22:45 GOVERNANCE.md [2021-09-16T22:48:48.390Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 16 22:45 Jenkinsfile [2021-09-16T22:48:48.390Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 16 22:45 LICENSE [2021-09-16T22:48:48.390Z] -rw-rw-r-- 1 jenkins jenkins 907 Sep 16 22:45 Makefile [2021-09-16T22:48:48.390Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 16 22:45 OWNERS.md [2021-09-16T22:48:48.390Z] -rw-rw-r-- 1 jenkins jenkins 2211 Sep 16 22:45 README.md [2021-09-16T22:48:48.390Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 16 22:43 VERSION [2021-09-16T22:48:48.390Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 22:45 bin [2021-09-16T22:48:48.390Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 16 22:45 cmd [2021-09-16T22:48:48.390Z] -rw-r--r-- 1 jenkins jenkins 17284 Sep 16 22:48 coverage.out [2021-09-16T22:48:48.390Z] -rw-rw-r-- 1 jenkins jenkins 367 Sep 16 22:45 go.mod [2021-09-16T22:48:48.390Z] -rw-r--r-- 1 jenkins jenkins 20655 Sep 16 22:47 go.sum [2021-09-16T22:48:48.390Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 16 22:45 internal [2021-09-16T22:48:48.390Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 22:45 mock [2021-09-16T22:48:48.390Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 22:45 snap [2021-09-16T22:48:48.390Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 16 22:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-09-16T22:48:48.735Z] + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=342045105871e229d92504ccf88c313acedc69e7 --label arch=arm64 --label version=0.0.0 . [2021-09-16T22:48:49.009Z] Sending build context to Docker daemon 710.7kB [2021-09-16T22:48:49.284Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-09-16T22:48:49.284Z] Step 2/24 : FROM ${BASE} AS builder [2021-09-16T22:48:49.284Z] ---> dbfa45c708fb [2021-09-16T22:48:49.285Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-09-16T22:48:49.559Z] ---> Running in 60b07cebd4ef [2021-09-16T22:48:49.837Z] Removing intermediate container 60b07cebd4ef [2021-09-16T22:48:49.837Z] ---> f134aecf3a31 [2021-09-16T22:48:49.837Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2021-09-16T22:48:50.111Z] ---> Running in 5047b6db71bc [2021-09-16T22:48:50.709Z] Removing intermediate container 5047b6db71bc [2021-09-16T22:48:50.709Z] ---> 9996a92ad447 [2021-09-16T22:48:50.709Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-09-16T22:48:50.709Z] ---> Running in 5a722c9f8e18 [2021-09-16T22:48:52.670Z] Running on prd-ubuntu18.04-docker-8c-8g-431 in /w/workspace/gexfoundry_device-mqtt-go_PR-303 [Pipeline] { [Pipeline] ws [2021-09-16T22:48:52.688Z] Running in /w/workspace/device-mqtt-go/8 [Pipeline] { [Pipeline] checkout [2021-09-16T22:48:52.761Z] Removing intermediate container 5a722c9f8e18 [2021-09-16T22:48:52.761Z] ---> 594da020c485 [2021-09-16T22:48:52.761Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-09-16T22:48:52.799Z] Selected Git installation does not exist. Using Default [2021-09-16T22:48:52.799Z] The recommended git tool is: NONE [2021-09-16T22:48:53.034Z] ---> Running in 587c7170f906 [2021-09-16T22:48:54.016Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-09-16T22:48:55.002Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-09-16T22:48:55.309Z] using credential edgex-jenkins-ssh [2021-09-16T22:48:55.325Z] Cloning the remote Git repository [2021-09-16T22:48:55.998Z] OK: 222 MiB in 55 packages [2021-09-16T22:48:55.331Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-09-16T22:48:55.400Z] > git init /w/workspace/device-mqtt-go/8 # timeout=10 [2021-09-16T22:48:55.432Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-09-16T22:48:55.432Z] > git --version # timeout=10 [2021-09-16T22:48:55.438Z] > git --version # 'git version 2.17.1' [2021-09-16T22:48:55.439Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-16T22:48:55.467Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-16T22:48:56.112Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-09-16T22:48:56.119Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-16T22:48:56.131Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-09-16T22:48:56.144Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-09-16T22:48:56.144Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-16T22:48:56.147Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/303/head:refs/remotes/origin/PR-303 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-16T22:48:56.734Z] Merging remotes/origin/main commit 910567f982a12b50a29bcaec8eb25dde4e2e9fd5 into PR head commit 342045105871e229d92504ccf88c313acedc69e7 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-16T22:48:56.985Z] Removing intermediate container 587c7170f906 [2021-09-16T22:48:56.985Z] ---> 61d512f2e446 [2021-09-16T22:48:56.985Z] Step 7/24 : WORKDIR /device-mqtt-go [2021-09-16T22:48:57.263Z] ---> Running in 3ae3550f8a9c [2021-09-16T22:48:57.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-16T22:48:57.271Z] [2021-09-16T22:48:57.271Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-16T22:48:56.731Z] > git config core.sparsecheckout # timeout=10 [2021-09-16T22:48:56.740Z] > git checkout -f 342045105871e229d92504ccf88c313acedc69e7 # timeout=10 [2021-09-16T22:48:57.628Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-16T22:48:57.628Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-16T22:48:57.628Z] b4d181a07f80: Pulling fs layer [2021-09-16T22:48:57.628Z] a1111a8f2ec3: Pulling fs layer [2021-09-16T22:48:57.628Z] ed53099fbce6: Pulling fs layer [2021-09-16T22:48:57.628Z] dc539afda2c1: Pulling fs layer [2021-09-16T22:48:57.628Z] 77bc0d833cb6: Pulling fs layer [2021-09-16T22:48:57.628Z] 9065ff56babe: Pulling fs layer [2021-09-16T22:48:57.628Z] d287ab97295c: Pulling fs layer [2021-09-16T22:48:57.628Z] dc539afda2c1: Waiting [2021-09-16T22:48:57.628Z] 77bc0d833cb6: Waiting [2021-09-16T22:48:57.628Z] 9065ff56babe: Waiting [2021-09-16T22:48:57.628Z] d287ab97295c: Waiting [2021-09-16T22:48:57.860Z] Removing intermediate container 3ae3550f8a9c [2021-09-16T22:48:57.860Z] ---> 966dfebf15eb [2021-09-16T22:48:57.860Z] Step 8/24 : COPY . . [2021-09-16T22:48:57.894Z] a1111a8f2ec3: Verifying Checksum [2021-09-16T22:48:57.894Z] a1111a8f2ec3: Download complete [2021-09-16T22:48:57.894Z] dc539afda2c1: Verifying Checksum [2021-09-16T22:48:57.894Z] dc539afda2c1: Download complete [2021-09-16T22:48:58.162Z] 77bc0d833cb6: Verifying Checksum [2021-09-16T22:48:58.162Z] 77bc0d833cb6: Download complete [2021-09-16T22:48:58.162Z] 9065ff56babe: Verifying Checksum [2021-09-16T22:48:58.162Z] 9065ff56babe: Download complete [2021-09-16T22:48:58.430Z] ed53099fbce6: Verifying Checksum [2021-09-16T22:48:58.430Z] ed53099fbce6: Download complete [2021-09-16T22:48:58.840Z] ---> 54df639ec987 [2021-09-16T22:48:58.840Z] Step 9/24 : RUN go mod tidy [2021-09-16T22:48:59.117Z] ---> Running in 0777322b52e8 [2021-09-16T22:48:59.401Z] b4d181a07f80: Verifying Checksum [2021-09-16T22:48:59.401Z] b4d181a07f80: Download complete [2021-09-16T22:49:00.379Z] b4d181a07f80: Pull complete [2021-09-16T22:49:00.379Z] a1111a8f2ec3: Pull complete [2021-09-16T22:49:00.975Z] ed53099fbce6: Pull complete [2021-09-16T22:49:00.975Z] dc539afda2c1: Pull complete [2021-09-16T22:49:01.559Z] 77bc0d833cb6: Pull complete [2021-09-16T22:49:01.559Z] 9065ff56babe: Pull complete [2021-09-16T22:49:01.742Z] Removing intermediate container 0777322b52e8 [2021-09-16T22:49:01.742Z] ---> 505655be8e38 [2021-09-16T22:49:01.742Z] Step 10/24 : RUN go mod download [2021-09-16T22:49:01.742Z] ---> Running in 3d9911b186d1 [2021-09-16T22:49:02.981Z] d287ab97295c: Verifying Checksum [2021-09-16T22:49:02.981Z] d287ab97295c: Download complete [2021-09-16T22:49:04.362Z] Removing intermediate container 3d9911b186d1 [2021-09-16T22:49:04.362Z] ---> 72036d025b69 [2021-09-16T22:49:04.362Z] Step 11/24 : ARG MAKE='make build' [2021-09-16T22:49:04.362Z] ---> Running in 8a2a4bcd9407 [2021-09-16T22:49:04.650Z] Removing intermediate container 8a2a4bcd9407 [2021-09-16T22:49:04.651Z] ---> aea342995f39 [2021-09-16T22:49:04.651Z] Step 12/24 : RUN $MAKE [2021-09-16T22:49:04.651Z] ---> Running in c77641a5ae30 [2021-09-16T22:49:06.106Z] go mod tidy [2021-09-16T22:49:06.384Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2021-09-16T22:49:08.375Z] d287ab97295c: Pull complete [2021-09-16T22:49:08.375Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-16T22:49:08.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-16T22:49:08.375Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-16T22:49:08.478Z] prd-centos7-docker-4c-2g-429 does not seem to be running inside a container [2021-09-16T22:49:08.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-16T22:49:10.995Z] $ docker top 24e3792834e7b61187dbcd6be24783f169eda933c419392a31471a3d94e4a6e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-16T22:49:11.681Z] ---> job-cost.sh [2021-09-16T22:49:11.682Z] lf-activate-venv: SKIPPING [2021-09-16T22:49:11.682Z] INFO: No Stack... [2021-09-16T22:49:12.656Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-16T22:49:12.923Z] INFO: Archiving Costs [Pipeline] sh [2021-09-16T22:49:13.241Z] + cat /w/workspace/device-mqtt-go/8/archives/cost.csv [2021-09-16T22:49:13.241Z] + cut -d, -f6 [Pipeline] lock [2021-09-16T22:49:13.283Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-303-8-stack-cost] [2021-09-16T22:49:13.295Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-303-8-stack-cost] did not exist. Created. [2021-09-16T22:49:13.295Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-303-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-16T22:49:13.653Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-09-16T22:49:13.703Z] Stashed 1 file(s) [Pipeline] } [2021-09-16T22:49:13.719Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-303-8-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-16T22:49:13.751Z] $ docker stop --time=1 24e3792834e7b61187dbcd6be24783f169eda933c419392a31471a3d94e4a6e5 [2021-09-16T22:49:14.912Z] $ docker rm -f 24e3792834e7b61187dbcd6be24783f169eda933c419392a31471a3d94e4a6e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-09-16T22:49:15.265Z] Failed in branch amd64 [2021-09-16T22:49:45.422Z] Removing intermediate container c77641a5ae30 [2021-09-16T22:49:45.422Z] ---> 44c5dbb6f23f [2021-09-16T22:49:45.422Z] Step 13/24 : FROM alpine:3.12 [2021-09-16T22:49:45.422Z] 3.12: Pulling from library/alpine [2021-09-16T22:49:45.422Z] ccdebe76d529: Pulling fs layer [2021-09-16T22:49:45.422Z] ccdebe76d529: Verifying Checksum [2021-09-16T22:49:45.422Z] ccdebe76d529: Download complete [2021-09-16T22:49:45.422Z] ccdebe76d529: Pull complete [2021-09-16T22:49:45.422Z] Digest: sha256:a296b4c6f6ee2b88f095b61e95c7ef4f51ba25598835b4978c9256d8c8ace48a [2021-09-16T22:49:45.422Z] Status: Downloaded newer image for alpine:3.12 [2021-09-16T22:49:45.422Z] ---> afc2cc120ca2 [2021-09-16T22:49:45.422Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-09-16T22:49:45.422Z] ---> Running in 45cfe237322f [2021-09-16T22:49:45.422Z] Removing intermediate container 45cfe237322f [2021-09-16T22:49:45.422Z] ---> be1121aa6716 [2021-09-16T22:49:45.422Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-09-16T22:49:45.422Z] ---> Running in ff7dc2eaf501 [2021-09-16T22:49:45.422Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-09-16T22:49:45.422Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-09-16T22:49:46.025Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-09-16T22:49:46.025Z] (2/6) Installing libgcc (9.3.0-r2) [2021-09-16T22:49:46.025Z] (3/6) Installing libsodium (1.0.18-r0) [2021-09-16T22:49:46.025Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-09-16T22:49:46.025Z] (5/6) Installing libzmq (4.3.3-r0) [2021-09-16T22:49:46.025Z] (6/6) Installing zeromq (4.3.3-r0) [2021-09-16T22:49:46.025Z] Executing busybox-1.31.1-r20.trigger [2021-09-16T22:49:46.025Z] OK: 8 MiB in 20 packages [2021-09-16T22:49:47.467Z] Removing intermediate container ff7dc2eaf501 [2021-09-16T22:49:47.467Z] ---> 8b00b819bfaf [2021-09-16T22:49:47.467Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2021-09-16T22:49:48.448Z] ---> 051b4178cf6a [2021-09-16T22:49:48.448Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-09-16T22:49:49.048Z] ---> dd9708145b76 [2021-09-16T22:49:49.048Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-09-16T22:49:50.027Z] ---> 8777b09b8774 [2021-09-16T22:49:50.027Z] Step 19/24 : EXPOSE 59982 [2021-09-16T22:49:50.027Z] ---> Running in 07bf562ab9ba [2021-09-16T22:49:50.619Z] Removing intermediate container 07bf562ab9ba [2021-09-16T22:49:50.619Z] ---> 22a199365c37 [2021-09-16T22:49:50.619Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2021-09-16T22:49:50.619Z] ---> Running in 04e75df12d11 [2021-09-16T22:49:51.215Z] Removing intermediate container 04e75df12d11 [2021-09-16T22:49:51.215Z] ---> 36fb80474afc [2021-09-16T22:49:51.215Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-09-16T22:49:51.215Z] ---> Running in f7ee7feb5e51 [2021-09-16T22:49:51.823Z] Removing intermediate container f7ee7feb5e51 [2021-09-16T22:49:51.823Z] ---> ab5bfe402342 [2021-09-16T22:49:51.823Z] Step 22/24 : LABEL arch=arm64 [2021-09-16T22:49:51.823Z] ---> Running in 8eee7813769a [2021-09-16T22:49:52.418Z] Removing intermediate container 8eee7813769a [2021-09-16T22:49:52.418Z] ---> c8b81af0a6c2 [2021-09-16T22:49:52.418Z] Step 23/24 : LABEL git_sha=342045105871e229d92504ccf88c313acedc69e7 [2021-09-16T22:49:52.418Z] ---> Running in 83b5fdb0f15e [2021-09-16T22:49:53.011Z] Removing intermediate container 83b5fdb0f15e [2021-09-16T22:49:53.011Z] ---> 61eee364832f [2021-09-16T22:49:53.011Z] Step 24/24 : LABEL version=0.0.0 [2021-09-16T22:49:53.011Z] ---> Running in 016770b31fa6 [2021-09-16T22:49:53.607Z] Removing intermediate container 016770b31fa6 [2021-09-16T22:49:53.607Z] ---> 56150f290bd6 [2021-09-16T22:49:53.607Z] [Warning] One or more build-args [ARCH] were not consumed [2021-09-16T22:49:53.607Z] Successfully built 56150f290bd6 [2021-09-16T22:49:53.607Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-16T22:49:54.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-16T22:49:54.345Z] [2021-09-16T22:49:54.345Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-16T22:49:54.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-16T22:49:54.970Z] arm64: Pulling from edgex-lftools-log-publisher [2021-09-16T22:49:54.970Z] 448f6bf000e3: Pulling fs layer [2021-09-16T22:49:54.970Z] f757da607395: Pulling fs layer [2021-09-16T22:49:54.970Z] 05883995daec: Pulling fs layer [2021-09-16T22:49:54.970Z] 8603b9c90790: Pulling fs layer [2021-09-16T22:49:54.970Z] 1560dd03e051: Pulling fs layer [2021-09-16T22:49:54.970Z] 27f5ce0e4adf: Pulling fs layer [2021-09-16T22:49:54.970Z] c2d8d7efcc4b: Pulling fs layer [2021-09-16T22:49:54.970Z] 8603b9c90790: Waiting [2021-09-16T22:49:54.970Z] 27f5ce0e4adf: Waiting [2021-09-16T22:49:54.970Z] 1560dd03e051: Waiting [2021-09-16T22:49:54.970Z] c2d8d7efcc4b: Waiting [2021-09-16T22:49:54.970Z] f757da607395: Verifying Checksum [2021-09-16T22:49:54.970Z] f757da607395: Download complete [2021-09-16T22:49:55.245Z] 8603b9c90790: Verifying Checksum [2021-09-16T22:49:55.245Z] 8603b9c90790: Download complete [2021-09-16T22:49:55.245Z] 1560dd03e051: Verifying Checksum [2021-09-16T22:49:55.245Z] 1560dd03e051: Download complete [2021-09-16T22:49:55.245Z] 27f5ce0e4adf: Verifying Checksum [2021-09-16T22:49:55.245Z] 27f5ce0e4adf: Download complete [2021-09-16T22:49:55.839Z] 05883995daec: Verifying Checksum [2021-09-16T22:49:55.839Z] 05883995daec: Download complete [2021-09-16T22:49:56.112Z] 448f6bf000e3: Verifying Checksum [2021-09-16T22:49:56.112Z] 448f6bf000e3: Download complete [2021-09-16T22:49:58.740Z] c2d8d7efcc4b: Download complete [2021-09-16T22:49:59.338Z] 448f6bf000e3: Pull complete [2021-09-16T22:49:59.934Z] f757da607395: Pull complete [2021-09-16T22:50:01.375Z] 05883995daec: Pull complete [2021-09-16T22:50:01.972Z] 8603b9c90790: Pull complete [2021-09-16T22:50:02.950Z] 1560dd03e051: Pull complete [2021-09-16T22:50:03.224Z] 27f5ce0e4adf: Pull complete [2021-09-16T22:50:18.333Z] c2d8d7efcc4b: Pull complete [2021-09-16T22:50:18.333Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-09-16T22:50:18.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-16T22:50:18.333Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-09-16T22:50:18.595Z] prd-ubuntu18.04-docker-arm64-4c-16g-428 does not seem to be running inside a container [2021-09-16T22:50:18.678Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-09-16T22:50:23.362Z] $ docker top 64fd24bca3fc9d0a018878f1c52dec0f3ee1d8d00d7ad7ed8dc6c87f92bfdc4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-16T22:50:24.346Z] ---> job-cost.sh [2021-09-16T22:50:24.346Z] lf-activate-venv: SKIPPING [2021-09-16T22:50:24.346Z] INFO: No Stack... [2021-09-16T22:50:25.317Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-09-16T22:50:25.589Z] INFO: Archiving Costs [Pipeline] sh [2021-09-16T22:50:26.250Z] + + cutcat -d, /w/workspace/device-mqtt-go/8/archives/cost.csv -f6 [2021-09-16T22:50:26.250Z] [Pipeline] lock [2021-09-16T22:50:26.312Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-303-8-stack-cost] [2021-09-16T22:50:26.322Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-303-8-stack-cost] did not exist. Created. [2021-09-16T22:50:26.323Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-303-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-16T22:50:27.009Z] /w/workspace/device-mqtt-go/8@tmp/durable-8e4c0a32/script.sh: 1: /w/workspace/device-mqtt-go/8@tmp/durable-8e4c0a32/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-09-16T22:50:27.675Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-09-16T22:50:27.705Z] Warning: overwriting stash ‘stack-cost’ [2021-09-16T22:50:27.752Z] Stashed 1 file(s) [Pipeline] } [2021-09-16T22:50:27.761Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-303-8-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-16T22:50:27.786Z] $ docker stop --time=1 64fd24bca3fc9d0a018878f1c52dec0f3ee1d8d00d7ad7ed8dc6c87f92bfdc4d [2021-09-16T22:50:29.453Z] $ docker rm -f 64fd24bca3fc9d0a018878f1c52dec0f3ee1d8d00d7ad7ed8dc6c87f92bfdc4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-09-16T22:50:31.690Z] + '[' -d /w/workspace/gexfoundry_device-mqtt-go_PR-303/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-09-16T22:50:32.017Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-16T22:50:32.610Z] ---> package-listing.sh [2021-09-16T22:50:32.610Z] ++ facter osfamily [2021-09-16T22:50:32.610Z] ++ tr '[:upper:]' '[:lower:]' [2021-09-16T22:50:32.881Z] + OS_FAMILY=redhat [2021-09-16T22:50:32.881Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-303 [2021-09-16T22:50:32.881Z] + START_PACKAGES=/tmp/packages_start.txt [2021-09-16T22:50:32.881Z] + END_PACKAGES=/tmp/packages_end.txt [2021-09-16T22:50:32.881Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-09-16T22:50:32.881Z] + PACKAGES=/tmp/packages_start.txt [2021-09-16T22:50:32.881Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-303 ']' [2021-09-16T22:50:32.881Z] + PACKAGES=/tmp/packages_end.txt [2021-09-16T22:50:32.881Z] + case "${OS_FAMILY}" in [2021-09-16T22:50:32.881Z] + rpm -qa [2021-09-16T22:50:32.881Z] + sort [2021-09-16T22:50:33.490Z] + '[' -f /tmp/packages_start.txt ']' [2021-09-16T22:50:33.490Z] + '[' -f /tmp/packages_end.txt ']' [2021-09-16T22:50:33.490Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-09-16T22:50:33.490Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-303 ']' [2021-09-16T22:50:33.490Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-303/archives/ [2021-09-16T22:50:33.490Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-303/archives/ [Pipeline] echo [2021-09-16T22:50:33.508Z] 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_PR-303/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-09-16T22:50:34.044Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-09-16T22:50:34.629Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-16T22:50:34.629Z] [2021-09-16T22:50:34.629Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-16T22:50:34.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-16T22:50:34.965Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-16T22:50:34.965Z] b4d181a07f80: Pulling fs layer [2021-09-16T22:50:34.965Z] a1111a8f2ec3: Pulling fs layer [2021-09-16T22:50:34.965Z] ed53099fbce6: Pulling fs layer [2021-09-16T22:50:34.965Z] dc539afda2c1: Pulling fs layer [2021-09-16T22:50:34.965Z] 77bc0d833cb6: Pulling fs layer [2021-09-16T22:50:34.965Z] 9065ff56babe: Pulling fs layer [2021-09-16T22:50:34.965Z] d287ab97295c: Pulling fs layer [2021-09-16T22:50:34.965Z] dc539afda2c1: Waiting [2021-09-16T22:50:34.965Z] 77bc0d833cb6: Waiting [2021-09-16T22:50:34.965Z] 9065ff56babe: Waiting [2021-09-16T22:50:34.965Z] d287ab97295c: Waiting [2021-09-16T22:50:35.233Z] a1111a8f2ec3: Verifying Checksum [2021-09-16T22:50:35.233Z] a1111a8f2ec3: Download complete [2021-09-16T22:50:35.233Z] dc539afda2c1: Verifying Checksum [2021-09-16T22:50:35.233Z] dc539afda2c1: Download complete [2021-09-16T22:50:35.499Z] 77bc0d833cb6: Verifying Checksum [2021-09-16T22:50:35.499Z] 77bc0d833cb6: Download complete [2021-09-16T22:50:35.499Z] 9065ff56babe: Verifying Checksum [2021-09-16T22:50:35.499Z] 9065ff56babe: Download complete [2021-09-16T22:50:35.499Z] ed53099fbce6: Verifying Checksum [2021-09-16T22:50:35.499Z] ed53099fbce6: Download complete [2021-09-16T22:50:36.475Z] b4d181a07f80: Verifying Checksum [2021-09-16T22:50:36.475Z] b4d181a07f80: Download complete [2021-09-16T22:50:37.454Z] b4d181a07f80: Pull complete [2021-09-16T22:50:37.732Z] a1111a8f2ec3: Pull complete [2021-09-16T22:50:38.320Z] ed53099fbce6: Pull complete [2021-09-16T22:50:38.320Z] dc539afda2c1: Pull complete [2021-09-16T22:50:38.587Z] 77bc0d833cb6: Pull complete [2021-09-16T22:50:38.588Z] 9065ff56babe: Pull complete [2021-09-16T22:50:40.532Z] d287ab97295c: Verifying Checksum [2021-09-16T22:50:40.532Z] d287ab97295c: Download complete [2021-09-16T22:50:44.825Z] d287ab97295c: Pull complete [2021-09-16T22:50:44.825Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-16T22:50:44.825Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-16T22:50:44.825Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-16T22:50:44.918Z] prd-centos7-docker-4c-2g-427 does not seem to be running inside a container [2021-09-16T22:50:44.983Z] $ 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_PR-303/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_PR-303 -v /w/workspace/gexfoundry_device-mqtt-go_PR-303:/w/workspace/gexfoundry_device-mqtt-go_PR-303:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-16T22:50:47.308Z] $ docker top 3c27e4cab1ec7fea98bd57aa0e84438095dda3b6988f5f50b51d4787cfbca999 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-16T22:50:47.703Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-09-16T22:50:48.022Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-09-16T22:50:48.340Z] + ls /var/log/sa-host [2021-09-16T22:50:48.340Z] + sadf -c /var/log/sa-host/sa05 [2021-09-16T22:50:48.340Z] file_magic: OK [2021-09-16T22:50:48.340Z] HZ: Using current value: 100 [2021-09-16T22:50:48.340Z] file_header: OK [2021-09-16T22:50:48.340Z] 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-09-16T22:50:48.340Z] Statistics: [2021-09-16T22:50:48.340Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-16T22:50:48.340Z] File successfully converted to sysstat format version 12.0.3 [2021-09-16T22:50:48.340Z] + sadf -c /var/log/sa-host/sa16 [2021-09-16T22:50:48.340Z] file_magic: OK [2021-09-16T22:50:48.340Z] HZ: Using current value: 100 [2021-09-16T22:50:48.340Z] file_header: OK [2021-09-16T22:50:48.340Z] 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-09-16T22:50:48.340Z] Statistics: [2021-09-16T22:50:48.340Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-16T22:50:48.340Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-16T22:50:48.516Z] provisioning config files... [2021-09-16T22:50:48.539Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-303@tmp/config2866357705773140722tmp [Pipeline] { [Pipeline] echo [2021-09-16T22:50:48.564Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-16T22:50:48.880Z] ---> create-netrc.sh [Pipeline] } [2021-09-16T22:50:48.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-09-16T22:50:49.293Z] ---> python-tools-install.sh [Pipeline] echo [2021-09-16T22:50:49.309Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-16T22:50:49.638Z] ---> sudo-logs.sh [2021-09-16T22:50:49.638Z] Archiving 'sudo' log.. [2021-09-16T22:50:49.638Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-427.vexxhost.local: Name or service not known [2021-09-16T22:50:49.638Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-427.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-09-16T22:50:49.703Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-16T22:50:50.016Z] ---> job-cost.sh [2021-09-16T22:50:50.016Z] lf-activate-venv: SKIPPING [2021-09-16T22:50:50.016Z] DEBUG: total: 0.10999999940395355 [2021-09-16T22:50:50.016Z] INFO: Retrieving Stack Cost... [2021-09-16T22:50:51.425Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-16T22:50:51.425Z] INFO: Archiving Costs [Pipeline] echo [2021-09-16T22:50:51.443Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-16T22:50:51.762Z] ---> logs-deploy.sh [2021-09-16T22:50:51.763Z] lf-activate-venv: SKIPPING [2021-09-16T22:50:51.763Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-303/8 [2021-09-16T22:50:51.763Z] INFO: archiving workspace using pattern(s): [2021-09-16T22:50:52.348Z] Archives upload complete. [2021-09-16T22:50:52.617Z] INFO: archiving logs to Nexus