Pull request #197 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from ba539b6d988370ec84177bc18b80fe6f942b59b2+fcf415a52e09a542e74d978699b87b5b4fab4063 (7066f058322d1e35ce926c27fa3ce3664007ed49) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-197/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-197/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-mqtt-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-17917 in /w/workspace/gexfoundry_device-mqtt-go_PR-197 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-197 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit ba539b6d988370ec84177bc18b80fe6f942b59b2 Merge succeeded, producing ba539b6d988370ec84177bc18b80fe6f942b59b2 Checking out Revision ba539b6d988370ec84177bc18b80fe6f942b59b2 (PR-197) > git config core.sparsecheckout # timeout=10 > git checkout -f ba539b6d988370ec84177bc18b80fe6f942b59b2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba539b6d988370ec84177bc18b80fe6f942b59b2 # timeout=10 Commit message: "feat: Enable use of secret via SecretProvider for MQTT broker credentials" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-31T21:44:15.332Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-31T21:44:15.759Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-31T21:44:16.009Z] ========================================================= [2020-12-31T21:44:16.009Z] EdgeX Global Pipelines Version Info [2020-12-31T21:44:16.009Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-31T21:44:17.529Z] ------------------- [2020-12-31T21:44:17.530Z] stable info: [2020-12-31T21:44:17.530Z] ------------------- [2020-12-31T21:44:17.530Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-31T21:44:17.530Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-31T21:44:17.530Z] Message: update stable to v1.0.173 [2020-12-31T21:44:18.480Z] ------------------- [2020-12-31T21:44:18.481Z] experimental info: [2020-12-31T21:44:18.481Z] ------------------- [2020-12-31T21:44:18.481Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-31T21:44:18.481Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-31T21:44:18.481Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-31T21:44:18.942Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2020-12-31T21:44:19.078Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2020-12-31T21:44:19.219Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-31T21:44:19.352Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-31T21:44:19.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-31T21:44:19.617Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-31T21:44:19.761Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-31T21:44:19.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-31T21:44:20.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-31T21:44:20.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-31T21:44:20.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-31T21:44:20.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo [2020-12-31T21:44:20.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-31T21:44:20.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-31T21:44:21.057Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-31T21:44:21.182Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-31T21:44:21.313Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-31T21:44:21.456Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-31T21:44:21.597Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-31T21:44:21.734Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-31T21:44:21.899Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-31T21:44:22.029Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-31T21:44:22.166Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-31T21:44:22.291Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-31T21:44:22.419Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-31T21:44:22.557Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-31T21:44:22.690Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-31T21:44:22.817Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-197 [Pipeline] echo [2020-12-31T21:44:22.948Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-197 [Pipeline] echo [2020-12-31T21:44:23.074Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-197 [Pipeline] echo [2020-12-31T21:44:23.210Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba539b6d988370ec84177bc18b80fe6f942b59b2 [Pipeline] echo [2020-12-31T21:44:23.349Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba539b6 [Pipeline] echo [2020-12-31T21:44:23.475Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-31T21:44:23.783Z] provisioning config files... [2020-12-31T21:44:23.819Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp/config2069306704216908597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-31T21:44:24.256Z] ---> docker-login.sh [2020-12-31T21:44:24.256Z] nexus3.edgexfoundry.org:10001 [2020-12-31T21:44:24.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T21:44:24.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T21:44:24.781Z] Configure a credential helper to remove this warning. See [2020-12-31T21:44:24.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T21:44:24.781Z] [2020-12-31T21:44:24.781Z] Login Succeeded [2020-12-31T21:44:24.781Z] nexus3.edgexfoundry.org:10002 [2020-12-31T21:44:24.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T21:44:25.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T21:44:25.044Z] Configure a credential helper to remove this warning. See [2020-12-31T21:44:25.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T21:44:25.044Z] [2020-12-31T21:44:25.044Z] Login Succeeded [2020-12-31T21:44:25.044Z] nexus3.edgexfoundry.org:10003 [2020-12-31T21:44:25.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T21:44:25.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T21:44:25.044Z] Configure a credential helper to remove this warning. See [2020-12-31T21:44:25.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T21:44:25.044Z] [2020-12-31T21:44:25.044Z] Login Succeeded [2020-12-31T21:44:25.044Z] nexus3.edgexfoundry.org:10004 [2020-12-31T21:44:25.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T21:44:25.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T21:44:25.306Z] Configure a credential helper to remove this warning. See [2020-12-31T21:44:25.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T21:44:25.306Z] [2020-12-31T21:44:25.306Z] Login Succeeded [2020-12-31T21:44:25.306Z] docker.io [2020-12-31T21:44:25.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T21:44:25.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T21:44:25.572Z] Configure a credential helper to remove this warning. See [2020-12-31T21:44:25.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T21:44:25.572Z] [2020-12-31T21:44:25.572Z] Login Succeeded [2020-12-31T21:44:25.572Z] ---> docker-login.sh ends [Pipeline] } [2020-12-31T21:44:25.616Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-31T21:44:26.748Z] + git log --format=format:%s -1 ba539b6d988370ec84177bc18b80fe6f942b59b2 [Pipeline] echo [2020-12-31T21:44:26.853Z] GIT_COMMIT: ba539b6d988370ec84177bc18b80fe6f942b59b2, Commit Message: feat: Enable use of secret via SecretProvider for MQTT broker credentials [Pipeline] echo [2020-12-31T21:44:26.925Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-31T21:44:28.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-31T21:44:28.036Z] [2020-12-31T21:44:28.036Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-31T21:44:28.499Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-31T21:44:28.499Z] latest: Pulling from edgex-devops/git-semver [2020-12-31T21:44:28.499Z] 31603596830f: Pulling fs layer [2020-12-31T21:44:28.499Z] 2a8b12db71e7: Pulling fs layer [2020-12-31T21:44:28.499Z] 6ca5941a6612: Pulling fs layer [2020-12-31T21:44:28.499Z] ecc8261a40a4: Pulling fs layer [2020-12-31T21:44:28.499Z] ecc8261a40a4: Waiting [2020-12-31T21:44:28.499Z] 2a8b12db71e7: Download complete [2020-12-31T21:44:28.762Z] 31603596830f: Verifying Checksum [2020-12-31T21:44:28.762Z] 31603596830f: Download complete [2020-12-31T21:44:28.762Z] ecc8261a40a4: Verifying Checksum [2020-12-31T21:44:28.762Z] ecc8261a40a4: Download complete [2020-12-31T21:44:28.762Z] 6ca5941a6612: Verifying Checksum [2020-12-31T21:44:28.762Z] 6ca5941a6612: Download complete [2020-12-31T21:44:29.026Z] 31603596830f: Pull complete [2020-12-31T21:44:29.290Z] 2a8b12db71e7: Pull complete [2020-12-31T21:44:29.865Z] 6ca5941a6612: Pull complete [2020-12-31T21:44:30.129Z] ecc8261a40a4: Pull complete [2020-12-31T21:44:30.129Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-31T21:44:30.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-31T21:44:30.393Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-31T21:44:30.540Z] prd-centos7-docker-4c-2g-17917 does not seem to be running inside a container [2020-12-31T21:44:30.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-197 -v /w/workspace/gexfoundry_device-mqtt-go_PR-197:/w/workspace/gexfoundry_device-mqtt-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-31T21:44:32.550Z] $ docker top 22f19d642659880a50e9b502cc93103ba7343103b6f8aa6af6da284986c67133 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-31T21:44:32.957Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-31T21:44:32.957Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-31T21:44:33.165Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-31T21:44:33.168Z] $ docker exec 22f19d642659880a50e9b502cc93103ba7343103b6f8aa6af6da284986c67133 ssh-agent [2020-12-31T21:44:33.325Z] SSH_AUTH_SOCK=/tmp/ssh-uNiNlRKeINjQ/agent.13 [2020-12-31T21:44:33.325Z] SSH_AGENT_PID=18 [2020-12-31T21:44:33.336Z] Running ssh-add (command line suppressed) [2020-12-31T21:44:33.459Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp/private_key_2771538637560048047.key (/w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp/private_key_2771538637560048047.key) [2020-12-31T21:44:33.510Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-31T21:44:33.903Z] + git tag --points-at HEAD [Pipeline] } [2020-12-31T21:44:33.935Z] $ docker exec --env ******** --env ******** 22f19d642659880a50e9b502cc93103ba7343103b6f8aa6af6da284986c67133 ssh-agent -k [2020-12-31T21:44:34.045Z] unset SSH_AUTH_SOCK; [2020-12-31T21:44:34.045Z] unset SSH_AGENT_PID; [2020-12-31T21:44:34.045Z] echo Agent pid 18 killed; [2020-12-31T21:44:34.092Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-31T21:44:34.316Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-31T21:44:34.316Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-31T21:44:34.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-31T21:44:34.484Z] $ docker exec 22f19d642659880a50e9b502cc93103ba7343103b6f8aa6af6da284986c67133 ssh-agent [2020-12-31T21:44:34.644Z] SSH_AUTH_SOCK=/tmp/ssh-K9qlD8vYcBUj/agent.47 [2020-12-31T21:44:34.644Z] SSH_AGENT_PID=53 [2020-12-31T21:44:34.650Z] Running ssh-add (command line suppressed) [2020-12-31T21:44:34.773Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp/private_key_8828861584708250985.key (/w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp/private_key_8828861584708250985.key) [2020-12-31T21:44:34.834Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-31T21:44:35.209Z] + git semver init [2020-12-31T21:44:35.209Z] # -> Open(): unable to determine branch for HEAD [2020-12-31T21:44:35.209Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-197/.git [2020-12-31T21:44:35.209Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-197 [2020-12-31T21:44:35.209Z] # $SEMVER_REMOTE_NAME = origin [2020-12-31T21:44:35.209Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-31T21:44:35.209Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-31T21:44:35.209Z] # $SEMVER_BRANCH = PR-197 [2020-12-31T21:44:35.209Z] # $SEMVER_TEMP = /tmp/semver-395007751 [2020-12-31T21:44:35.209Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2020-12-31T21:44:35.472Z] # '/tmp/semver-395007751' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-197/.semver' [2020-12-31T21:44:35.472Z] # -> Force: false [2020-12-31T21:44:35.472Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-197/.semver [Pipeline] } [2020-12-31T21:44:35.490Z] $ docker exec --env ******** --env ******** 22f19d642659880a50e9b502cc93103ba7343103b6f8aa6af6da284986c67133 ssh-agent -k [2020-12-31T21:44:35.604Z] unset SSH_AUTH_SOCK; [2020-12-31T21:44:35.604Z] unset SSH_AGENT_PID; [2020-12-31T21:44:35.604Z] echo Agent pid 53 killed; [2020-12-31T21:44:35.651Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-31T21:44:36.234Z] + git semver [Pipeline] } [2020-12-31T21:44:36.296Z] $ docker stop --time=1 22f19d642659880a50e9b502cc93103ba7343103b6f8aa6af6da284986c67133 [2020-12-31T21:44:37.746Z] $ docker rm -f 22f19d642659880a50e9b502cc93103ba7343103b6f8aa6af6da284986c67133 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-31T21:44:38.281Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-31T21:44:38.713Z] Stashed 1 file(s) [Pipeline] echo [2020-12-31T21:44:38.737Z] [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 [2020-12-31T21:44:54.588Z] Still waiting to schedule task [2020-12-31T21:44:54.588Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-31T21:44:54.615Z] Still waiting to schedule task [2020-12-31T21:44:54.615Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-31T21:46:54.818Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-17918 in /w/workspace/gexfoundry_device-mqtt-go_PR-197 [Pipeline] { [Pipeline] ws [2020-12-31T21:46:54.909Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-12-31T21:47:00.386Z] using credential edgex-jenkins-ssh [2020-12-31T21:47:00.449Z] Cloning the remote Git repository [2020-12-31T21:47:00.515Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-31T21:47:00.631Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-12-31T21:47:00.709Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-31T21:47:00.710Z] > git --version # timeout=10 [2020-12-31T21:47:00.731Z] > git --version # 'git version 2.17.1' [2020-12-31T21:47:00.733Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T21:47:00.800Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-31T21:47:02.388Z] Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit ba539b6d988370ec84177bc18b80fe6f942b59b2 [2020-12-31T21:47:01.636Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-31T21:47:01.656Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-31T21:47:01.691Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-31T21:47:01.733Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-31T21:47:01.734Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T21:47:01.746Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-31T21:47:02.409Z] > git config core.sparsecheckout # timeout=10 [2020-12-31T21:47:02.435Z] > git checkout -f ba539b6d988370ec84177bc18b80fe6f942b59b2 # timeout=10 [2020-12-31T21:47:02.630Z] Merge succeeded, producing ba539b6d988370ec84177bc18b80fe6f942b59b2 [2020-12-31T21:47:02.630Z] Checking out Revision ba539b6d988370ec84177bc18b80fe6f942b59b2 (PR-197) [2020-12-31T21:47:02.529Z] > git remote # timeout=10 [2020-12-31T21:47:02.550Z] > git config --get remote.origin.url # timeout=10 [2020-12-31T21:47:02.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T21:47:02.586Z] > git merge fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 [2020-12-31T21:47:02.611Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-31T21:47:02.637Z] > git config core.sparsecheckout # timeout=10 [2020-12-31T21:47:02.651Z] > git checkout -f ba539b6d988370ec84177bc18b80fe6f942b59b2 # timeout=10 [2020-12-31T21:47:07.147Z] Commit message: "feat: Enable use of secret via SecretProvider for MQTT broker credentials" [2020-12-31T21:47:07.209Z] > git --version # timeout=10 [2020-12-31T21:47:07.222Z] > git --version # 'git version 2.17.1' [2020-12-31T21:47:07.240Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-31T21:47:09.051Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-31T21:47:09.480Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-31T21:47:09.846Z] + + sudotrue [2020-12-31T21:47:09.846Z] service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-31T21:47:12.687Z] provisioning config files... [2020-12-31T21:47:12.767Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6473846254490253176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-31T21:47:13.219Z] ---> docker-login.sh [2020-12-31T21:47:13.219Z] nexus3.edgexfoundry.org:10001 [2020-12-31T21:47:14.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T21:47:14.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T21:47:14.487Z] Configure a credential helper to remove this warning. See [2020-12-31T21:47:14.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T21:47:14.487Z] [2020-12-31T21:47:14.487Z] Login Succeeded [2020-12-31T21:47:14.487Z] nexus3.edgexfoundry.org:10002 [2020-12-31T21:47:14.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T21:47:14.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T21:47:14.760Z] Configure a credential helper to remove this warning. See [2020-12-31T21:47:14.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T21:47:14.760Z] [2020-12-31T21:47:14.760Z] Login Succeeded [2020-12-31T21:47:14.760Z] nexus3.edgexfoundry.org:10003 [2020-12-31T21:47:15.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T21:47:15.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T21:47:15.361Z] Configure a credential helper to remove this warning. See [2020-12-31T21:47:15.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T21:47:15.361Z] [2020-12-31T21:47:15.361Z] Login Succeeded [2020-12-31T21:47:15.361Z] nexus3.edgexfoundry.org:10004 [2020-12-31T21:47:15.429Z] Running on prd-centos7-docker-4c-2g-17919 in /w/workspace/gexfoundry_device-mqtt-go_PR-197 [Pipeline] { [Pipeline] ws [2020-12-31T21:47:15.513Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2020-12-31T21:47:15.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T21:47:15.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T21:47:15.963Z] Configure a credential helper to remove this warning. See [2020-12-31T21:47:15.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T21:47:15.963Z] [2020-12-31T21:47:15.963Z] Login Succeeded [2020-12-31T21:47:15.963Z] docker.io [2020-12-31T21:47:16.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T21:47:16.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T21:47:16.524Z] Configure a credential helper to remove this warning. See [2020-12-31T21:47:16.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T21:47:16.524Z] [2020-12-31T21:47:16.524Z] Login Succeeded [2020-12-31T21:47:16.524Z] ---> docker-login.sh ends [Pipeline] } [2020-12-31T21:47:16.557Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-31T21:47:17.087Z] ========================================================= [2020-12-31T21:47:17.087Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-31T21:47:17.087Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-31T21:47:17.559Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-31T21:47:17.805Z] using credential edgex-jenkins-ssh [2020-12-31T21:47:17.850Z] Sending build context to Docker daemon 532.5kB [2020-12-31T21:47:17.850Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-31T21:47:17.850Z] Step 2/8 : FROM ${BASE} [2020-12-31T21:47:17.872Z] Cloning the remote Git repository [2020-12-31T21:47:18.123Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-31T21:47:18.123Z] 5f621e34cdf4: Pulling fs layer [2020-12-31T21:47:18.123Z] a4357932f1b6: Pulling fs layer [2020-12-31T21:47:18.123Z] 18c013af1878: Pulling fs layer [2020-12-31T21:47:18.123Z] 00ac8860ef70: Pulling fs layer [2020-12-31T21:47:18.123Z] 63d7cb157983: Pulling fs layer [2020-12-31T21:47:18.123Z] b116817d02f9: Pulling fs layer [2020-12-31T21:47:18.123Z] 745a02a5169b: Pulling fs layer [2020-12-31T21:47:18.123Z] 00ac8860ef70: Waiting [2020-12-31T21:47:18.123Z] 63d7cb157983: Waiting [2020-12-31T21:47:18.123Z] b116817d02f9: Waiting [2020-12-31T21:47:18.123Z] 745a02a5169b: Waiting [2020-12-31T21:47:18.123Z] 18c013af1878: Verifying Checksum [2020-12-31T21:47:18.123Z] 18c013af1878: Download complete [2020-12-31T21:47:18.123Z] a4357932f1b6: Download complete [2020-12-31T21:47:18.123Z] 63d7cb157983: Verifying Checksum [2020-12-31T21:47:18.123Z] 63d7cb157983: Download complete [2020-12-31T21:47:18.735Z] b116817d02f9: Verifying Checksum [2020-12-31T21:47:18.735Z] b116817d02f9: Download complete [2020-12-31T21:47:18.735Z] 5f621e34cdf4: Verifying Checksum [2020-12-31T21:47:18.735Z] 5f621e34cdf4: Download complete [2020-12-31T21:47:17.700Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-31T21:47:17.771Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2020-12-31T21:47:17.835Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-31T21:47:17.836Z] > git --version # timeout=10 [2020-12-31T21:47:17.844Z] > git --version # 'git version 2.24.3' [2020-12-31T21:47:17.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T21:47:17.870Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-31T21:47:18.510Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-31T21:47:18.517Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-31T21:47:18.528Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2020-12-31T21:47:18.543Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2020-12-31T21:47:18.543Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T21:47:18.551Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-31T21:47:19.102Z] Merging remotes/origin/master commit fcf415a52e09a542e74d978699b87b5b4fab4063 into PR head commit ba539b6d988370ec84177bc18b80fe6f942b59b2 [2020-12-31T21:47:19.180Z] Merge succeeded, producing ba539b6d988370ec84177bc18b80fe6f942b59b2 [2020-12-31T21:47:19.180Z] Checking out Revision ba539b6d988370ec84177bc18b80fe6f942b59b2 (PR-197) [2020-12-31T21:47:19.729Z] 5f621e34cdf4: Pull complete [2020-12-31T21:47:19.013Z] > git config core.sparsecheckout # timeout=10 [2020-12-31T21:47:19.020Z] > git checkout -f ba539b6d988370ec84177bc18b80fe6f942b59b2 # timeout=10 [2020-12-31T21:47:19.055Z] > git remote # timeout=10 [2020-12-31T21:47:19.061Z] > git config --get remote.origin.url # timeout=10 [2020-12-31T21:47:19.067Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-31T21:47:19.071Z] > git merge fcf415a52e09a542e74d978699b87b5b4fab4063 # timeout=10 [2020-12-31T21:47:19.081Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-31T21:47:19.092Z] > git config core.sparsecheckout # timeout=10 [2020-12-31T21:47:19.096Z] > git checkout -f ba539b6d988370ec84177bc18b80fe6f942b59b2 # timeout=10 [2020-12-31T21:47:20.011Z] a4357932f1b6: Pull complete [2020-12-31T21:47:20.288Z] 18c013af1878: Pull complete [2020-12-31T21:47:21.268Z] 745a02a5169b: Verifying Checksum [2020-12-31T21:47:21.268Z] 745a02a5169b: Download complete [2020-12-31T21:47:22.698Z] 00ac8860ef70: Download complete [2020-12-31T21:47:22.763Z] Commit message: "feat: Enable use of secret via SecretProvider for MQTT broker credentials" [2020-12-31T21:47:22.790Z] > git --version # timeout=10 [2020-12-31T21:47:22.796Z] > git --version # 'git version 2.24.3' [2020-12-31T21:47:22.806Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-31T21:47:24.257Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-31T21:47:24.625Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-31T21:47:24.951Z] + sudo service docker restart [2020-12-31T21:47:24.951Z] + true [2020-12-31T21:47:24.951Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-31T21:47:26.482Z] provisioning config files... [2020-12-31T21:47:26.519Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6791977218153459632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-31T21:47:26.984Z] ---> docker-login.sh [2020-12-31T21:47:26.984Z] nexus3.edgexfoundry.org:10001 [2020-12-31T21:47:27.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T21:47:27.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T21:47:27.250Z] Configure a credential helper to remove this warning. See [2020-12-31T21:47:27.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T21:47:27.250Z] [2020-12-31T21:47:27.250Z] Login Succeeded [2020-12-31T21:47:27.250Z] nexus3.edgexfoundry.org:10002 [2020-12-31T21:47:27.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T21:47:27.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T21:47:27.513Z] Configure a credential helper to remove this warning. See [2020-12-31T21:47:27.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T21:47:27.513Z] [2020-12-31T21:47:27.513Z] Login Succeeded [2020-12-31T21:47:27.513Z] nexus3.edgexfoundry.org:10003 [2020-12-31T21:47:27.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T21:47:27.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T21:47:27.779Z] Configure a credential helper to remove this warning. See [2020-12-31T21:47:27.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T21:47:27.779Z] [2020-12-31T21:47:27.779Z] Login Succeeded [2020-12-31T21:47:27.779Z] nexus3.edgexfoundry.org:10004 [2020-12-31T21:47:27.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T21:47:28.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T21:47:28.042Z] Configure a credential helper to remove this warning. See [2020-12-31T21:47:28.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T21:47:28.042Z] [2020-12-31T21:47:28.042Z] Login Succeeded [2020-12-31T21:47:28.042Z] docker.io [2020-12-31T21:47:28.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-31T21:47:28.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-31T21:47:28.305Z] Configure a credential helper to remove this warning. See [2020-12-31T21:47:28.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-31T21:47:28.305Z] [2020-12-31T21:47:28.305Z] Login Succeeded [2020-12-31T21:47:28.305Z] ---> docker-login.sh ends [Pipeline] } [2020-12-31T21:47:28.326Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-31T21:47:28.881Z] ========================================================= [2020-12-31T21:47:28.881Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-31T21:47:28.881Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-31T21:47:29.265Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-31T21:47:29.536Z] Sending build context to Docker daemon 533.5kB [2020-12-31T21:47:29.536Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-31T21:47:29.536Z] Step 2/8 : FROM ${BASE} [2020-12-31T21:47:29.536Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-31T21:47:29.536Z] 188c0c94c7c5: Pulling fs layer [2020-12-31T21:47:29.536Z] 0ef7d3d256c8: Pulling fs layer [2020-12-31T21:47:29.536Z] de9db76c5a1d: Pulling fs layer [2020-12-31T21:47:29.536Z] bca2f99d35d6: Pulling fs layer [2020-12-31T21:47:29.536Z] 93359f2a8cfa: Pulling fs layer [2020-12-31T21:47:29.536Z] 7c6f9722023f: Pulling fs layer [2020-12-31T21:47:29.536Z] a35cf1a2eb13: Pulling fs layer [2020-12-31T21:47:29.536Z] 7c6f9722023f: Waiting [2020-12-31T21:47:29.536Z] a35cf1a2eb13: Waiting [2020-12-31T21:47:29.536Z] 93359f2a8cfa: Waiting [2020-12-31T21:47:29.536Z] bca2f99d35d6: Waiting [2020-12-31T21:47:29.536Z] de9db76c5a1d: Verifying Checksum [2020-12-31T21:47:29.536Z] de9db76c5a1d: Download complete [2020-12-31T21:47:29.536Z] 0ef7d3d256c8: Download complete [2020-12-31T21:47:29.536Z] 93359f2a8cfa: Verifying Checksum [2020-12-31T21:47:29.536Z] 93359f2a8cfa: Download complete [2020-12-31T21:47:29.536Z] 188c0c94c7c5: Verifying Checksum [2020-12-31T21:47:29.536Z] 188c0c94c7c5: Download complete [2020-12-31T21:47:29.536Z] 7c6f9722023f: Verifying Checksum [2020-12-31T21:47:29.536Z] 7c6f9722023f: Download complete [2020-12-31T21:47:29.799Z] 188c0c94c7c5: Pull complete [2020-12-31T21:47:30.062Z] 0ef7d3d256c8: Pull complete [2020-12-31T21:47:30.062Z] de9db76c5a1d: Pull complete [2020-12-31T21:47:31.012Z] a35cf1a2eb13: Verifying Checksum [2020-12-31T21:47:31.012Z] a35cf1a2eb13: Download complete [2020-12-31T21:47:31.969Z] bca2f99d35d6: Download complete [2020-12-31T21:47:32.860Z] 00ac8860ef70: Pull complete [2020-12-31T21:47:32.861Z] 63d7cb157983: Pull complete [2020-12-31T21:47:32.861Z] b116817d02f9: Pull complete [2020-12-31T21:47:37.176Z] 745a02a5169b: Pull complete [2020-12-31T21:47:37.176Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-31T21:47:37.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-31T21:47:37.176Z] ---> b7e6874047d6 [2020-12-31T21:47:37.176Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-31T21:47:37.294Z] bca2f99d35d6: Pull complete [2020-12-31T21:47:37.294Z] 93359f2a8cfa: Pull complete [2020-12-31T21:47:37.558Z] 7c6f9722023f: Pull complete [2020-12-31T21:47:39.804Z] ---> Running in 2af240deeafe [2020-12-31T21:47:39.804Z] Removing intermediate container 2af240deeafe [2020-12-31T21:47:39.804Z] ---> 820518effbf5 [2020-12-31T21:47:39.804Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-31T21:47:40.078Z] ---> Running in 26b4e308b3b0 [2020-12-31T21:47:42.702Z] Removing intermediate container 26b4e308b3b0 [2020-12-31T21:47:42.702Z] ---> bc46b117a0b5 [2020-12-31T21:47:42.702Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-31T21:47:42.702Z] ---> Running in 516bc684ca79 [2020-12-31T21:47:42.888Z] a35cf1a2eb13: Pull complete [2020-12-31T21:47:42.888Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-31T21:47:42.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-31T21:47:42.888Z] ---> a62c8e92a672 [2020-12-31T21:47:42.888Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-31T21:47:42.888Z] ---> Running in 3eae97697dc6 [2020-12-31T21:47:42.888Z] Removing intermediate container 3eae97697dc6 [2020-12-31T21:47:42.888Z] ---> 238a603e5699 [2020-12-31T21:47:42.888Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-31T21:47:42.888Z] ---> Running in 36263f5cd910 [2020-12-31T21:47:43.845Z] Removing intermediate container 36263f5cd910 [2020-12-31T21:47:43.845Z] ---> 6046471e1a1a [2020-12-31T21:47:43.845Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-31T21:47:43.845Z] ---> Running in cca1bcb1c55b [2020-12-31T21:47:44.144Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-31T21:47:44.738Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-31T21:47:44.799Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-31T21:47:45.331Z] (1/14) Installing libmagic (5.38-r0) [2020-12-31T21:47:45.376Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-31T21:47:45.605Z] (2/14) Installing file (5.38-r0) [2020-12-31T21:47:45.879Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-31T21:47:45.879Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-31T21:47:45.950Z] (1/14) Installing libmagic (5.38-r0) [2020-12-31T21:47:46.213Z] (2/14) Installing file (5.38-r0) [2020-12-31T21:47:46.475Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-31T21:47:46.475Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-31T21:47:50.180Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-31T21:47:50.449Z] (6/14) Installing patch (2.7.6-r6) [2020-12-31T21:47:50.449Z] (7/14) Installing build-base (0.5-r2) [2020-12-31T21:47:50.449Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2020-12-31T21:47:50.719Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-31T21:47:50.719Z] (10/14) Installing openssh-client (8.3_p1-r1) [2020-12-31T21:47:50.989Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2020-12-31T21:47:51.263Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2020-12-31T21:47:51.263Z] (13/14) Installing openssh-server (8.3_p1-r1) [2020-12-31T21:47:51.857Z] (14/14) Installing openssh (8.3_p1-r1) [2020-12-31T21:47:51.857Z] Executing busybox-1.31.1-r19.trigger [2020-12-31T21:47:51.857Z] OK: 221 MiB in 53 packages [2020-12-31T21:47:54.638Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-31T21:47:54.638Z] (6/14) Installing patch (2.7.6-r6) [2020-12-31T21:47:54.638Z] (7/14) Installing build-base (0.5-r2) [2020-12-31T21:47:54.638Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2020-12-31T21:47:54.638Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-31T21:47:54.638Z] (10/14) Installing openssh-client (8.3_p1-r1) [2020-12-31T21:47:54.638Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2020-12-31T21:47:54.638Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2020-12-31T21:47:54.638Z] (13/14) Installing openssh-server (8.3_p1-r1) [2020-12-31T21:47:54.901Z] (14/14) Installing openssh (8.3_p1-r1) [2020-12-31T21:47:55.163Z] Executing busybox-1.31.1-r19.trigger [2020-12-31T21:47:55.163Z] OK: 237 MiB in 53 packages [2020-12-31T21:47:56.161Z] Removing intermediate container 516bc684ca79 [2020-12-31T21:47:56.161Z] ---> a994eb8317fe [2020-12-31T21:47:56.161Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-12-31T21:47:56.161Z] ---> Running in be3b95db7d49 [2020-12-31T21:47:56.434Z] Removing intermediate container be3b95db7d49 [2020-12-31T21:47:56.434Z] ---> b265b719d779 [2020-12-31T21:47:56.434Z] Step 7/8 : COPY . . [2020-12-31T21:47:57.412Z] ---> fe115ed945a9 [2020-12-31T21:47:57.413Z] Step 8/8 : RUN go mod download [2020-12-31T21:47:57.690Z] ---> Running in 64fcc35c6298 [2020-12-31T21:47:58.481Z] Removing intermediate container cca1bcb1c55b [2020-12-31T21:47:58.481Z] ---> 6e3a8f523b6a [2020-12-31T21:47:58.481Z] Step 6/8 : WORKDIR /device-mqtt-go [2020-12-31T21:47:58.481Z] ---> Running in 18131610803a [2020-12-31T21:47:58.745Z] Removing intermediate container 18131610803a [2020-12-31T21:47:58.746Z] ---> 7d586c0d9848 [2020-12-31T21:47:58.746Z] Step 7/8 : COPY . . [2020-12-31T21:47:59.671Z] go: github.com/edgexfoundry/device-sdk-go@v1.3.0: parsing /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory [2020-12-31T21:47:59.704Z] ---> 2fe081eb50ce [2020-12-31T21:47:59.704Z] Step 8/8 : RUN go mod download [2020-12-31T21:47:59.704Z] ---> Running in aefa9532bce8 [2020-12-31T21:48:00.273Z] The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [2020-12-31T21:48:01.103Z] go: github.com/edgexfoundry/device-sdk-go@v1.3.0: parsing /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-12-31T21:48:01.367Z] The command '/bin/sh -c go mod download' returned a non-zero code: 1 Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] } [Pipeline] // script [Pipeline] } Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // withEnv [Pipeline] } Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // stage [Pipeline] // node [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // stage [Pipeline] } [2020-12-31T21:48:03.377Z] Failed in branch arm64 Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-31T21:48:05.111Z] Failed in branch amd64 [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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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] libraryResource [Pipeline] sh [2020-12-31T21:48:09.980Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T21:48:10.328Z] ---> package-listing.sh [2020-12-31T21:48:10.328Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-31T21:48:10.328Z] ++ facter osfamily [2020-12-31T21:48:10.328Z] + OS_FAMILY=redhat [2020-12-31T21:48:10.328Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-197 [2020-12-31T21:48:10.328Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-31T21:48:10.328Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-31T21:48:10.328Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-31T21:48:10.328Z] + PACKAGES=/tmp/packages_start.txt [2020-12-31T21:48:10.328Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-197 ']' [2020-12-31T21:48:10.328Z] + PACKAGES=/tmp/packages_end.txt [2020-12-31T21:48:10.328Z] + case "${OS_FAMILY}" in [2020-12-31T21:48:10.328Z] + rpm -qa [2020-12-31T21:48:10.328Z] + sort [2020-12-31T21:48:15.649Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-31T21:48:15.649Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-31T21:48:15.649Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-31T21:48:15.649Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-197 ']' [2020-12-31T21:48:15.649Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-197/archives/ [2020-12-31T21:48:15.649Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-197/archives/ [Pipeline] echo [2020-12-31T21:48:15.690Z] 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-197/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-31T21:48:16.005Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-31T21:48:16.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-31T21:48:16.345Z] [2020-12-31T21:48:16.345Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-31T21:48:16.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-31T21:48:16.735Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-31T21:48:16.735Z] df20fa9351a1: Pulling fs layer [2020-12-31T21:48:16.735Z] 36b3adc4ff6f: Pulling fs layer [2020-12-31T21:48:16.735Z] 8ad3a11d3b57: Pulling fs layer [2020-12-31T21:48:16.735Z] 46f8f816bc3b: Pulling fs layer [2020-12-31T21:48:16.735Z] 93b61091891f: Pulling fs layer [2020-12-31T21:48:16.735Z] 93b9cdb0e59b: Pulling fs layer [2020-12-31T21:48:16.735Z] 5e14af77c1be: Pulling fs layer [2020-12-31T21:48:16.735Z] 01666e4c0597: Pulling fs layer [2020-12-31T21:48:16.735Z] aa168da1d23b: Pulling fs layer [2020-12-31T21:48:16.735Z] 93b9cdb0e59b: Waiting [2020-12-31T21:48:16.735Z] 5e14af77c1be: Waiting [2020-12-31T21:48:16.735Z] 01666e4c0597: Waiting [2020-12-31T21:48:16.735Z] aa168da1d23b: Waiting [2020-12-31T21:48:16.735Z] 46f8f816bc3b: Waiting [2020-12-31T21:48:16.735Z] 93b61091891f: Waiting [2020-12-31T21:48:16.999Z] 36b3adc4ff6f: Verifying Checksum [2020-12-31T21:48:16.999Z] 36b3adc4ff6f: Download complete [2020-12-31T21:48:16.999Z] 46f8f816bc3b: Verifying Checksum [2020-12-31T21:48:16.999Z] 46f8f816bc3b: Download complete [2020-12-31T21:48:16.999Z] df20fa9351a1: Verifying Checksum [2020-12-31T21:48:16.999Z] df20fa9351a1: Download complete [2020-12-31T21:48:16.999Z] 93b9cdb0e59b: Verifying Checksum [2020-12-31T21:48:16.999Z] 93b9cdb0e59b: Download complete [2020-12-31T21:48:16.999Z] 5e14af77c1be: Verifying Checksum [2020-12-31T21:48:16.999Z] 5e14af77c1be: Download complete [2020-12-31T21:48:16.999Z] 01666e4c0597: Verifying Checksum [2020-12-31T21:48:16.999Z] 01666e4c0597: Download complete [2020-12-31T21:48:17.262Z] 93b61091891f: Verifying Checksum [2020-12-31T21:48:17.262Z] 93b61091891f: Download complete [2020-12-31T21:48:17.262Z] 8ad3a11d3b57: Verifying Checksum [2020-12-31T21:48:17.262Z] 8ad3a11d3b57: Download complete [2020-12-31T21:48:17.262Z] df20fa9351a1: Pull complete [2020-12-31T21:48:17.532Z] 36b3adc4ff6f: Pull complete [2020-12-31T21:48:18.118Z] 8ad3a11d3b57: Pull complete [2020-12-31T21:48:18.385Z] 46f8f816bc3b: Pull complete [2020-12-31T21:48:19.336Z] 93b61091891f: Pull complete [2020-12-31T21:48:19.336Z] aa168da1d23b: Verifying Checksum [2020-12-31T21:48:19.336Z] aa168da1d23b: Download complete [2020-12-31T21:48:19.336Z] 93b9cdb0e59b: Pull complete [2020-12-31T21:48:19.603Z] 5e14af77c1be: Pull complete [2020-12-31T21:48:19.603Z] 01666e4c0597: Pull complete [2020-12-31T21:48:26.244Z] aa168da1d23b: Pull complete [2020-12-31T21:48:26.244Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-31T21:48:26.244Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-31T21:48:26.244Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-31T21:48:26.449Z] prd-centos7-docker-4c-2g-17917 does not seem to be running inside a container [2020-12-31T21:48:26.495Z] $ 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-197/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-197 -v /w/workspace/gexfoundry_device-mqtt-go_PR-197:/w/workspace/gexfoundry_device-mqtt-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-197@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-31T21:48:29.660Z] $ docker top 706e11a707daf502368083c89dbf82cda4cbde413afee8852d142e9a09ce9b5a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-31T21:48:30.330Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-31T21:48:30.655Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-31T21:48:30.974Z] + ls /var/log/sa-host [2020-12-31T21:48:30.974Z] + sadf -c /var/log/sa-host/sa23 [2020-12-31T21:48:30.974Z] file_magic: OK [2020-12-31T21:48:30.974Z] HZ: Using current value: 100 [2020-12-31T21:48:30.974Z] file_header: OK [2020-12-31T21:48:30.974Z] 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 [2020-12-31T21:48:30.974Z] Statistics: [2020-12-31T21:48:30.974Z] Hnuu...uuuununununu... [2020-12-31T21:48:30.974Z] File successfully converted to sysstat format version 12.2.1 [2020-12-31T21:48:30.974Z] + sadf -c /var/log/sa-host/sa31 [2020-12-31T21:48:30.974Z] file_magic: OK [2020-12-31T21:48:30.974Z] HZ: Using current value: 100 [2020-12-31T21:48:30.974Z] file_header: OK [2020-12-31T21:48:30.974Z] 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 [2020-12-31T21:48:30.974Z] Statistics: [2020-12-31T21:48:30.974Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-31T21:48:30.974Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-31T21:48:31.673Z] provisioning config files... [2020-12-31T21:48:31.689Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-197@tmp/config3749548180966414791tmp [Pipeline] { [Pipeline] echo [2020-12-31T21:48:31.832Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T21:48:32.177Z] ---> create-netrc.sh [Pipeline] } [2020-12-31T21:48:32.201Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-31T21:48:32.349Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T21:48:32.684Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-31T21:48:32.717Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T21:48:33.059Z] ---> sudo-logs.sh [2020-12-31T21:48:33.059Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-31T21:48:33.100Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T21:48:33.452Z] ---> job-cost.sh [2020-12-31T21:48:33.452Z] lf-activate-venv: SKIPPING [2020-12-31T21:48:33.452Z] INFO: No Stack... [2020-12-31T21:48:34.025Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-31T21:48:34.600Z] INFO: Archiving Costs [Pipeline] echo [2020-12-31T21:48:34.641Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-31T21:48:34.980Z] ---> logs-deploy.sh [2020-12-31T21:48:34.980Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-197/1 [2020-12-31T21:48:34.980Z] INFO: archiving workspace using pattern(s): [2020-12-31T21:48:36.901Z] Archives upload complete. [2020-12-31T21:48:36.901Z] INFO: archiving logs to Nexus