Branch indexing 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 wlgardner for edgexfoundry/device-modbus-go Loading trusted files from base branch master at bdc2bf18299f50048bed412b56382a4832083ebb rather than 205d20470621f6877b30549a0d87a32e67fc54e2 Obtained Jenkinsfile from bdc2bf18299f50048bed412b56382a4832083ebb Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 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 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-modbus-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-modbus-go-settings PROJECT: device-modbus-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-modbus-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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15527 in /w/workspace/xfoundry_device-modbus-go_PR-171 [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-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-171 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-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-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-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-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit bdc2bf18299f50048bed412b56382a4832083ebb into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 Merge succeeded, producing ada7139d1cd737306f4051a5c6f37f9024dc23cf Checking out Revision ada7139d1cd737306f4051a5c6f37f9024dc23cf (PR-171) > git config core.sparsecheckout # timeout=10 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # 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 bdc2bf18299f50048bed412b56382a4832083ebb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ada7139d1cd737306f4051a5c6f37f9024dc23cf # timeout=10 Commit message: "Merge commit 'bdc2bf18299f50048bed412b56382a4832083ebb' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-11T00:55:51.568Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk a8beb5b878181834d23ad1f52f47b4f2762a82a9 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-11T00:55:51.845Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-11T00:55:51.961Z] ========================================================= [2020-12-11T00:55:51.961Z] EdgeX Global Pipelines Version Info [2020-12-11T00:55:51.961Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-11T00:55:53.450Z] ------------------- [2020-12-11T00:55:53.450Z] stable info: [2020-12-11T00:55:53.450Z] ------------------- [2020-12-11T00:55:53.450Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-11T00:55:53.450Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-11T00:55:53.450Z] Message: update stable to v1.0.172 [2020-12-11T00:55:54.399Z] ------------------- [2020-12-11T00:55:54.399Z] experimental info: [2020-12-11T00:55:54.399Z] ------------------- [2020-12-11T00:55:54.399Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-11T00:55:54.399Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-11T00:55:54.399Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-11T00:55:54.664Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-12-11T00:55:54.750Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2020-12-11T00:55:54.841Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-11T00:55:54.937Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-11T00:55:55.024Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-11T00:55:55.129Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-11T00:55:55.227Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-11T00:55:55.346Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-11T00:55:55.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-11T00:55:55.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-11T00:55:55.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-11T00:55:55.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2020-12-11T00:55:55.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-11T00:55:56.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-11T00:55:56.150Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-11T00:55:56.237Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-11T00:55:56.348Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T00:55:56.431Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-11T00:55:56.546Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-11T00:55:56.627Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-11T00:55:56.712Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-11T00:55:56.797Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-11T00:55:56.879Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-11T00:55:56.974Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-11T00:55:57.088Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-11T00:55:57.202Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-11T00:55:57.291Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo [2020-12-11T00:55:57.375Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo [2020-12-11T00:55:57.458Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo [2020-12-11T00:55:57.548Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ada7139d1cd737306f4051a5c6f37f9024dc23cf [Pipeline] echo [2020-12-11T00:55:57.633Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ada7139 [Pipeline] echo [2020-12-11T00:55:57.733Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-11T00:55:57.919Z] provisioning config files... [2020-12-11T00:55:57.954Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config3554593680936926884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-11T00:55:58.303Z] ---> docker-login.sh [2020-12-11T00:55:58.303Z] nexus3.edgexfoundry.org:10001 [2020-12-11T00:55:58.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:55:58.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:55:58.566Z] Configure a credential helper to remove this warning. See [2020-12-11T00:55:58.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:55:58.566Z] [2020-12-11T00:55:58.566Z] Login Succeeded [2020-12-11T00:55:58.566Z] nexus3.edgexfoundry.org:10002 [2020-12-11T00:55:58.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:55:58.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:55:58.829Z] Configure a credential helper to remove this warning. See [2020-12-11T00:55:58.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:55:58.829Z] [2020-12-11T00:55:58.829Z] Login Succeeded [2020-12-11T00:55:58.829Z] nexus3.edgexfoundry.org:10003 [2020-12-11T00:55:59.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:55:59.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:55:59.091Z] Configure a credential helper to remove this warning. See [2020-12-11T00:55:59.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:55:59.091Z] [2020-12-11T00:55:59.091Z] Login Succeeded [2020-12-11T00:55:59.091Z] nexus3.edgexfoundry.org:10004 [2020-12-11T00:55:59.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:55:59.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:55:59.353Z] Configure a credential helper to remove this warning. See [2020-12-11T00:55:59.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:55:59.353Z] [2020-12-11T00:55:59.353Z] Login Succeeded [2020-12-11T00:55:59.353Z] docker.io [2020-12-11T00:55:59.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:55:59.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:55:59.615Z] Configure a credential helper to remove this warning. See [2020-12-11T00:55:59.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:55:59.615Z] [2020-12-11T00:55:59.615Z] Login Succeeded [2020-12-11T00:55:59.615Z] ---> docker-login.sh ends [Pipeline] } [2020-12-11T00:55:59.625Z] 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-11T00:56:00.621Z] + git log --format=format:%s -1 ada7139d1cd737306f4051a5c6f37f9024dc23cf [Pipeline] echo [2020-12-11T00:56:00.684Z] GIT_COMMIT: ada7139d1cd737306f4051a5c6f37f9024dc23cf, Commit Message: Merge commit 'bdc2bf18299f50048bed412b56382a4832083ebb' into HEAD [Pipeline] echo [2020-12-11T00:56:00.726Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-11T00:56:01.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T00:56:01.522Z] [2020-12-11T00:56:01.522Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T00:56:01.877Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T00:56:01.877Z] latest: Pulling from edgex-devops/git-semver [2020-12-11T00:56:01.877Z] 31603596830f: Pulling fs layer [2020-12-11T00:56:01.877Z] 2a8b12db71e7: Pulling fs layer [2020-12-11T00:56:01.877Z] 6ca5941a6612: Pulling fs layer [2020-12-11T00:56:01.877Z] ecc8261a40a4: Pulling fs layer [2020-12-11T00:56:01.877Z] ecc8261a40a4: Waiting [2020-12-11T00:56:01.877Z] 2a8b12db71e7: Verifying Checksum [2020-12-11T00:56:01.877Z] 2a8b12db71e7: Download complete [2020-12-11T00:56:02.140Z] 31603596830f: Verifying Checksum [2020-12-11T00:56:02.140Z] 31603596830f: Download complete [2020-12-11T00:56:02.140Z] ecc8261a40a4: Verifying Checksum [2020-12-11T00:56:02.140Z] ecc8261a40a4: Download complete [2020-12-11T00:56:02.140Z] 6ca5941a6612: Verifying Checksum [2020-12-11T00:56:02.140Z] 6ca5941a6612: Download complete [2020-12-11T00:56:02.448Z] 31603596830f: Pull complete [2020-12-11T00:56:02.722Z] 2a8b12db71e7: Pull complete [2020-12-11T00:56:03.677Z] 6ca5941a6612: Pull complete [2020-12-11T00:56:03.677Z] ecc8261a40a4: Pull complete [2020-12-11T00:56:03.677Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-11T00:56:03.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-11T00:56:03.677Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-11T00:56:03.785Z] prd-centos7-docker-4c-2g-15527 does not seem to be running inside a container [2020-12-11T00:56:03.821Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-171 -v /w/workspace/xfoundry_device-modbus-go_PR-171:/w/workspace/xfoundry_device-modbus-go_PR-171:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-171@tmp:/w/workspace/xfoundry_device-modbus-go_PR-171@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-11T00:56:06.164Z] $ docker top cfd9c2447e8383fc5d4a32f1e4220970539292dd71d19a1259a1a2a99f04da2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-11T00:56:06.623Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T00:56:06.623Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T00:56:06.827Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T00:56:06.820Z] $ docker exec cfd9c2447e8383fc5d4a32f1e4220970539292dd71d19a1259a1a2a99f04da2d ssh-agent [2020-12-11T00:56:06.998Z] SSH_AUTH_SOCK=/tmp/ssh-iesTrKnSMjqJ/agent.11 [2020-12-11T00:56:06.998Z] SSH_AGENT_PID=16 [2020-12-11T00:56:07.011Z] Running ssh-add (command line suppressed) [2020-12-11T00:56:07.125Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_2320230719765582464.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_2320230719765582464.key) [2020-12-11T00:56:07.188Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T00:56:07.548Z] + git tag --points-at HEAD [Pipeline] } [2020-12-11T00:56:07.560Z] $ docker exec --env ******** --env ******** cfd9c2447e8383fc5d4a32f1e4220970539292dd71d19a1259a1a2a99f04da2d ssh-agent -k [2020-12-11T00:56:07.668Z] unset SSH_AUTH_SOCK; [2020-12-11T00:56:07.668Z] unset SSH_AGENT_PID; [2020-12-11T00:56:07.668Z] echo Agent pid 16 killed; [2020-12-11T00:56:07.730Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-11T00:56:07.889Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-11T00:56:07.889Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-11T00:56:08.056Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-11T00:56:08.049Z] $ docker exec cfd9c2447e8383fc5d4a32f1e4220970539292dd71d19a1259a1a2a99f04da2d ssh-agent [2020-12-11T00:56:08.220Z] SSH_AUTH_SOCK=/tmp/ssh-JHfOQ0AxcN15/agent.45 [2020-12-11T00:56:08.220Z] SSH_AGENT_PID=50 [2020-12-11T00:56:08.228Z] Running ssh-add (command line suppressed) [2020-12-11T00:56:08.332Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_8628845224303368648.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_8628845224303368648.key) [2020-12-11T00:56:08.397Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-11T00:56:08.735Z] + git semver init [2020-12-11T00:56:08.736Z] # -> Open(): unable to determine branch for HEAD [2020-12-11T00:56:08.736Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.git [2020-12-11T00:56:08.736Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-171 [2020-12-11T00:56:08.736Z] # $SEMVER_REMOTE_NAME = origin [2020-12-11T00:56:08.736Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-11T00:56:08.736Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-11T00:56:08.736Z] # $SEMVER_BRANCH = PR-171 [2020-12-11T00:56:08.736Z] # $SEMVER_TEMP = /tmp/semver-056359093 [2020-12-11T00:56:08.736Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-12-11T00:56:09.312Z] # '/tmp/semver-056359093' -> '/w/workspace/xfoundry_device-modbus-go_PR-171/.semver' [2020-12-11T00:56:09.312Z] # -> Force: false [2020-12-11T00:56:09.312Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.semver [Pipeline] } [2020-12-11T00:56:09.315Z] $ docker exec --env ******** --env ******** cfd9c2447e8383fc5d4a32f1e4220970539292dd71d19a1259a1a2a99f04da2d ssh-agent -k [2020-12-11T00:56:09.436Z] unset SSH_AUTH_SOCK; [2020-12-11T00:56:09.438Z] unset SSH_AGENT_PID; [2020-12-11T00:56:09.438Z] echo Agent pid 50 killed; [2020-12-11T00:56:09.499Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-11T00:56:09.979Z] + git semver [Pipeline] } [2020-12-11T00:56:09.987Z] $ docker stop --time=1 cfd9c2447e8383fc5d4a32f1e4220970539292dd71d19a1259a1a2a99f04da2d [2020-12-11T00:56:11.388Z] $ docker rm -f cfd9c2447e8383fc5d4a32f1e4220970539292dd71d19a1259a1a2a99f04da2d [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-11T00:56:11.896Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-11T00:56:12.253Z] Stashed 1 file(s) [Pipeline] echo [2020-12-11T00:56:12.256Z] [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-11T00:56:27.794Z] Still waiting to schedule task [2020-12-11T00:56:27.794Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-11T00:56:27.797Z] Still waiting to schedule task [2020-12-11T00:56:27.797Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-12-11T00:59:22.506Z] Running on prd-centos7-docker-4c-2g-15528 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws [2020-12-11T00:59:22.563Z] Running in /w/workspace/device-modbus-go/11 [Pipeline] { [Pipeline] checkout [2020-12-11T00:59:29.506Z] using credential edgex-jenkins-ssh [2020-12-11T00:59:29.562Z] Cloning the remote Git repository [2020-12-11T00:59:29.636Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-12-11T00:59:29.753Z] > git init /w/workspace/device-modbus-go/11 # timeout=10 [2020-12-11T00:59:29.878Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-11T00:59:29.879Z] > git --version # timeout=10 [2020-12-11T00:59:29.937Z] > git --version # 'git version 2.24.3' [2020-12-11T00:59:29.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T00:59:29.988Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T00:59:31.633Z] Merging remotes/origin/master commit bdc2bf18299f50048bed412b56382a4832083ebb into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 [2020-12-11T00:59:31.846Z] Merge succeeded, producing b47979973cd69805d6d045af32973f1151e6bf46 [2020-12-11T00:59:31.846Z] Checking out Revision b47979973cd69805d6d045af32973f1151e6bf46 (PR-171) [2020-12-11T00:59:30.945Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-11T00:59:30.958Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T00:59:30.985Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-11T00:59:31.028Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-11T00:59:31.028Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T00:59:31.036Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-11T00:59:31.640Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T00:59:31.666Z] > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 [2020-12-11T00:59:31.736Z] > git remote # timeout=10 [2020-12-11T00:59:31.764Z] > git config --get remote.origin.url # timeout=10 [2020-12-11T00:59:31.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T00:59:31.784Z] > git merge bdc2bf18299f50048bed412b56382a4832083ebb # timeout=10 [2020-12-11T00:59:31.814Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-11T00:59:31.842Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T00:59:31.848Z] > git checkout -f b47979973cd69805d6d045af32973f1151e6bf46 # timeout=10 [2020-12-11T00:59:35.901Z] Commit message: "Merge commit 'bdc2bf18299f50048bed412b56382a4832083ebb' into HEAD" [2020-12-11T00:59:35.934Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [2020-12-11T00:59:35.898Z] > git rev-list --no-walk a8beb5b878181834d23ad1f52f47b4f2762a82a9 # timeout=10 [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-11T00:59:37.322Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-11T00:59:37.815Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-11T00:59:38.198Z] + true [2020-12-11T00:59:38.198Z] + sudo service docker restart [2020-12-11T00:59:38.198Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-11T00:59:39.695Z] provisioning config files... [2020-12-11T00:59:39.736Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/11@tmp/config6686044193465949637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-11T00:59:40.144Z] ---> docker-login.sh [2020-12-11T00:59:40.144Z] nexus3.edgexfoundry.org:10001 [2020-12-11T00:59:40.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:59:41.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:59:41.018Z] Configure a credential helper to remove this warning. See [2020-12-11T00:59:41.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:59:41.018Z] [2020-12-11T00:59:41.018Z] Login Succeeded [2020-12-11T00:59:41.018Z] nexus3.edgexfoundry.org:10002 [2020-12-11T00:59:41.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:59:41.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:59:41.316Z] Configure a credential helper to remove this warning. See [2020-12-11T00:59:41.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:59:41.316Z] [2020-12-11T00:59:41.316Z] Login Succeeded [2020-12-11T00:59:41.316Z] nexus3.edgexfoundry.org:10003 [2020-12-11T00:59:41.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:59:41.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:59:41.607Z] Configure a credential helper to remove this warning. See [2020-12-11T00:59:41.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:59:41.607Z] [2020-12-11T00:59:41.607Z] Login Succeeded [2020-12-11T00:59:41.607Z] nexus3.edgexfoundry.org:10004 [2020-12-11T00:59:41.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:59:41.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:59:41.895Z] Configure a credential helper to remove this warning. See [2020-12-11T00:59:41.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:59:41.895Z] [2020-12-11T00:59:41.895Z] Login Succeeded [2020-12-11T00:59:41.895Z] docker.io [2020-12-11T00:59:42.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T00:59:42.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T00:59:42.760Z] Configure a credential helper to remove this warning. See [2020-12-11T00:59:42.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T00:59:42.760Z] [2020-12-11T00:59:42.760Z] Login Succeeded [2020-12-11T00:59:42.760Z] ---> docker-login.sh ends [Pipeline] } [2020-12-11T00:59:42.770Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-11T00:59:43.209Z] ========================================================= [2020-12-11T00:59:43.209Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-11T00:59:43.209Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-11T00:59:43.684Z] + 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-11T00:59:43.973Z] Sending build context to Docker daemon 609.8kB [2020-12-11T00:59:43.974Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-11T00:59:43.974Z] Step 2/8 : FROM ${BASE} [2020-12-11T00:59:44.249Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-11T00:59:44.249Z] 188c0c94c7c5: Pulling fs layer [2020-12-11T00:59:44.250Z] 0ef7d3d256c8: Pulling fs layer [2020-12-11T00:59:44.250Z] de9db76c5a1d: Pulling fs layer [2020-12-11T00:59:44.250Z] bca2f99d35d6: Pulling fs layer [2020-12-11T00:59:44.250Z] 93359f2a8cfa: Pulling fs layer [2020-12-11T00:59:44.250Z] 7c6f9722023f: Pulling fs layer [2020-12-11T00:59:44.250Z] a35cf1a2eb13: Pulling fs layer [2020-12-11T00:59:44.250Z] bca2f99d35d6: Waiting [2020-12-11T00:59:44.250Z] 93359f2a8cfa: Waiting [2020-12-11T00:59:44.250Z] a35cf1a2eb13: Waiting [2020-12-11T00:59:44.250Z] de9db76c5a1d: Verifying Checksum [2020-12-11T00:59:44.250Z] de9db76c5a1d: Download complete [2020-12-11T00:59:44.250Z] 0ef7d3d256c8: Verifying Checksum [2020-12-11T00:59:44.250Z] 0ef7d3d256c8: Download complete [2020-12-11T00:59:44.542Z] 93359f2a8cfa: Verifying Checksum [2020-12-11T00:59:44.542Z] 93359f2a8cfa: Download complete [2020-12-11T00:59:44.542Z] 7c6f9722023f: Verifying Checksum [2020-12-11T00:59:44.542Z] 7c6f9722023f: Download complete [2020-12-11T00:59:45.171Z] 188c0c94c7c5: Verifying Checksum [2020-12-11T00:59:45.171Z] 188c0c94c7c5: Download complete [2020-12-11T00:59:45.787Z] 188c0c94c7c5: Pull complete [2020-12-11T00:59:46.438Z] 0ef7d3d256c8: Pull complete [2020-12-11T00:59:46.734Z] de9db76c5a1d: Pull complete [2020-12-11T00:59:48.837Z] a35cf1a2eb13: Verifying Checksum [2020-12-11T00:59:48.837Z] a35cf1a2eb13: Download complete [2020-12-11T00:59:50.306Z] bca2f99d35d6: Verifying Checksum [2020-12-11T00:59:50.306Z] bca2f99d35d6: Download complete [2020-12-11T01:00:06.246Z] bca2f99d35d6: Pull complete [2020-12-11T01:00:06.246Z] 93359f2a8cfa: Pull complete [2020-12-11T01:00:06.246Z] 7c6f9722023f: Pull complete [2020-12-11T01:00:09.905Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15529 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws [2020-12-11T01:00:10.064Z] Running in /w/workspace/device-modbus-go/11 [Pipeline] { [Pipeline] checkout [2020-12-11T01:00:13.208Z] a35cf1a2eb13: Pull complete [2020-12-11T01:00:13.209Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-11T01:00:13.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-11T01:00:13.209Z] ---> a62c8e92a672 [2020-12-11T01:00:13.209Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-11T01:00:13.209Z] ---> Running in 5570c9a402b0 [2020-12-11T01:00:13.506Z] Removing intermediate container 5570c9a402b0 [2020-12-11T01:00:13.506Z] ---> 3901eac41e7f [2020-12-11T01:00:13.506Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-11T01:00:13.506Z] ---> Running in 3df7d59da91b [2020-12-11T01:00:14.934Z] Removing intermediate container 3df7d59da91b [2020-12-11T01:00:14.934Z] ---> c782a0a995fc [2020-12-11T01:00:14.934Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-11T01:00:15.115Z] using credential edgex-jenkins-ssh [2020-12-11T01:00:15.186Z] Cloning the remote Git repository [2020-12-11T01:00:15.207Z] ---> Running in 399b4cde66be [2020-12-11T01:00:16.187Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-11T01:00:15.241Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-12-11T01:00:15.349Z] > git init /w/workspace/device-modbus-go/11 # timeout=10 [2020-12-11T01:00:15.423Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-11T01:00:15.423Z] > git --version # timeout=10 [2020-12-11T01:00:15.443Z] > git --version # 'git version 2.17.1' [2020-12-11T01:00:15.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T01:00:15.529Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T01:00:16.345Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-11T01:00:16.365Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-11T01:00:16.798Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-11T01:00:17.032Z] Merging remotes/origin/master commit bdc2bf18299f50048bed412b56382a4832083ebb into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 [2020-12-11T01:00:17.286Z] Merge succeeded, producing f113b42d1084471eb66ba243fa2963ad967eeea5 [2020-12-11T01:00:17.287Z] Checking out Revision f113b42d1084471eb66ba243fa2963ad967eeea5 (PR-171) [2020-12-11T01:00:17.494Z] (1/14) Installing libmagic (5.38-r0) [2020-12-11T01:00:16.400Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-11T01:00:16.445Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-11T01:00:16.446Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T01:00:16.458Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-11T01:00:17.046Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T01:00:17.066Z] > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 [2020-12-11T01:00:17.151Z] > git remote # timeout=10 [2020-12-11T01:00:17.173Z] > git config --get remote.origin.url # timeout=10 [2020-12-11T01:00:17.191Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-11T01:00:17.201Z] > git merge bdc2bf18299f50048bed412b56382a4832083ebb # timeout=10 [2020-12-11T01:00:17.257Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-11T01:00:17.285Z] > git config core.sparsecheckout # timeout=10 [2020-12-11T01:00:17.297Z] > git checkout -f f113b42d1084471eb66ba243fa2963ad967eeea5 # timeout=10 [2020-12-11T01:00:17.780Z] (2/14) Installing file (5.38-r0) [2020-12-11T01:00:17.781Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-11T01:00:18.050Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-11T01:00:21.878Z] Commit message: "Merge commit 'bdc2bf18299f50048bed412b56382a4832083ebb' into HEAD" [2020-12-11T01:00:21.904Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [2020-12-11T01:00:22.345Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-11T01:00:22.346Z] (6/14) Installing patch (2.7.6-r6) [2020-12-11T01:00:22.346Z] (7/14) Installing build-base (0.5-r2) [2020-12-11T01:00:22.346Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-11T01:00:22.637Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-11T01:00:22.637Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-11T01:00:22.926Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-11T01:00:23.211Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-11T01:00:23.211Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-11T01:00:23.375Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2020-12-11T01:00:21.876Z] > git rev-list --no-walk a8beb5b878181834d23ad1f52f47b4f2762a82a9 # timeout=10 [Pipeline] sh [2020-12-11T01:00:23.786Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-11T01:00:24.125Z] + sudo service docker restart [2020-12-11T01:00:24.125Z] + true [2020-12-11T01:00:24.212Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-11T01:00:24.212Z] Executing busybox-1.31.1-r19.trigger [2020-12-11T01:00:24.212Z] OK: 237 MiB in 53 packages [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-11T01:00:26.230Z] provisioning config files... [2020-12-11T01:00:26.292Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/11@tmp/config5157466327954307397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-11T01:00:26.784Z] ---> docker-login.sh [2020-12-11T01:00:26.785Z] nexus3.edgexfoundry.org:10001 [2020-12-11T01:00:27.656Z] Removing intermediate container 399b4cde66be [2020-12-11T01:00:27.656Z] ---> 06416a2a4bba [2020-12-11T01:00:27.656Z] Step 6/8 : WORKDIR /device-modbus-go [2020-12-11T01:00:27.656Z] ---> Running in 75e645c67b83 [2020-12-11T01:00:27.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T01:00:28.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T01:00:28.050Z] Configure a credential helper to remove this warning. See [2020-12-11T01:00:28.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T01:00:28.050Z] [2020-12-11T01:00:28.050Z] Login Succeeded [2020-12-11T01:00:28.050Z] nexus3.edgexfoundry.org:10002 [2020-12-11T01:00:28.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T01:00:28.335Z] Removing intermediate container 75e645c67b83 [2020-12-11T01:00:28.335Z] ---> ad47ee9f4ee1 [2020-12-11T01:00:28.335Z] Step 7/8 : COPY . . [2020-12-11T01:00:28.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T01:00:28.603Z] Configure a credential helper to remove this warning. See [2020-12-11T01:00:28.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T01:00:28.603Z] [2020-12-11T01:00:28.603Z] Login Succeeded [2020-12-11T01:00:28.603Z] nexus3.edgexfoundry.org:10003 [2020-12-11T01:00:29.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T01:00:29.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T01:00:29.202Z] Configure a credential helper to remove this warning. See [2020-12-11T01:00:29.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T01:00:29.202Z] [2020-12-11T01:00:29.202Z] Login Succeeded [2020-12-11T01:00:29.202Z] nexus3.edgexfoundry.org:10004 [2020-12-11T01:00:29.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T01:00:29.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T01:00:29.752Z] Configure a credential helper to remove this warning. See [2020-12-11T01:00:29.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T01:00:29.752Z] [2020-12-11T01:00:29.752Z] Login Succeeded [2020-12-11T01:00:29.752Z] docker.io [2020-12-11T01:00:29.822Z] ---> 523eec833a1a [2020-12-11T01:00:29.822Z] Step 8/8 : RUN go mod download [2020-12-11T01:00:30.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-11T01:00:30.428Z] ---> Running in da1042535478 [2020-12-11T01:00:30.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-11T01:00:30.625Z] Configure a credential helper to remove this warning. See [2020-12-11T01:00:30.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-11T01:00:30.625Z] [2020-12-11T01:00:30.625Z] Login Succeeded [2020-12-11T01:00:30.625Z] ---> docker-login.sh ends [Pipeline] } [2020-12-11T01:00:30.644Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-11T01:00:31.113Z] ========================================================= [2020-12-11T01:00:31.113Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-11T01:00:31.113Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:00:31.503Z] + 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-11T01:00:31.782Z] Sending build context to Docker daemon 608.8kB [2020-12-11T01:00:32.060Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-11T01:00:32.060Z] Step 2/8 : FROM ${BASE} [2020-12-11T01:00:32.060Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-11T01:00:32.060Z] 5f621e34cdf4: Pulling fs layer [2020-12-11T01:00:32.060Z] a4357932f1b6: Pulling fs layer [2020-12-11T01:00:32.060Z] 18c013af1878: Pulling fs layer [2020-12-11T01:00:32.060Z] 00ac8860ef70: Pulling fs layer [2020-12-11T01:00:32.060Z] 63d7cb157983: Pulling fs layer [2020-12-11T01:00:32.060Z] b116817d02f9: Pulling fs layer [2020-12-11T01:00:32.060Z] 745a02a5169b: Pulling fs layer [2020-12-11T01:00:32.060Z] 00ac8860ef70: Waiting [2020-12-11T01:00:32.060Z] 63d7cb157983: Waiting [2020-12-11T01:00:32.060Z] b116817d02f9: Waiting [2020-12-11T01:00:32.060Z] 745a02a5169b: Waiting [2020-12-11T01:00:32.060Z] 18c013af1878: Verifying Checksum [2020-12-11T01:00:32.060Z] 18c013af1878: Download complete [2020-12-11T01:00:32.060Z] a4357932f1b6: Download complete [2020-12-11T01:00:32.060Z] 63d7cb157983: Download complete [2020-12-11T01:00:32.060Z] 5f621e34cdf4: Verifying Checksum [2020-12-11T01:00:32.060Z] 5f621e34cdf4: Download complete [2020-12-11T01:00:32.344Z] b116817d02f9: Verifying Checksum [2020-12-11T01:00:32.344Z] b116817d02f9: Download complete [2020-12-11T01:00:32.953Z] 5f621e34cdf4: Pull complete [2020-12-11T01:00:33.582Z] a4357932f1b6: Pull complete [2020-12-11T01:00:34.186Z] 18c013af1878: Pull complete [2020-12-11T01:00:34.466Z] 745a02a5169b: Verifying Checksum [2020-12-11T01:00:34.466Z] 745a02a5169b: Download complete [2020-12-11T01:00:35.919Z] 00ac8860ef70: Verifying Checksum [2020-12-11T01:00:35.919Z] 00ac8860ef70: Download complete [2020-12-11T01:00:46.115Z] 00ac8860ef70: Pull complete [2020-12-11T01:00:46.115Z] 63d7cb157983: Pull complete [2020-12-11T01:00:46.385Z] b116817d02f9: Pull complete [2020-12-11T01:00:50.686Z] 745a02a5169b: Pull complete [2020-12-11T01:00:50.686Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-11T01:00:50.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-11T01:00:50.686Z] ---> b7e6874047d6 [2020-12-11T01:00:50.686Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-11T01:00:52.687Z] ---> Running in 8caeef85d711 [2020-12-11T01:00:53.287Z] Removing intermediate container 8caeef85d711 [2020-12-11T01:00:53.287Z] ---> a56ab10032b8 [2020-12-11T01:00:53.287Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-11T01:00:53.287Z] ---> Running in 5dc4d3a0957d [2020-12-11T01:00:55.950Z] Removing intermediate container 5dc4d3a0957d [2020-12-11T01:00:55.950Z] ---> 15864544d214 [2020-12-11T01:00:55.950Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-11T01:00:55.950Z] ---> Running in f0e406f46263 [2020-12-11T01:00:56.549Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-11T01:00:57.527Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-11T01:00:57.687Z] Removing intermediate container da1042535478 [2020-12-11T01:00:57.687Z] ---> c71f7c915eb1 [2020-12-11T01:00:57.687Z] Successfully built c71f7c915eb1 [2020-12-11T01:00:57.687Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:00:58.069Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-11T01:00:58.124Z] (1/14) Installing libmagic (5.38-r0) [2020-12-11T01:00:58.407Z] (2/14) Installing file (5.38-r0) [2020-12-11T01:00:58.407Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-11T01:00:58.407Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-11T01:00:58.715Z] . [Pipeline] withDockerContainer [2020-12-11T01:00:59.363Z] prd-centos7-docker-4c-2g-15528 does not seem to be running inside a container [2020-12-11T01:00:59.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@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 ******** ci-base-image-x86_64 cat [2020-12-11T01:01:02.363Z] $ docker top ecc3af89f1f8d55a04ae45eb24b118a1613a38dfbd69d93abd28a450ec7bf265 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T01:01:03.626Z] + go version [2020-12-11T01:01:03.626Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-11T01:01:03.663Z] $ docker stop --time=1 ecc3af89f1f8d55a04ae45eb24b118a1613a38dfbd69d93abd28a450ec7bf265 [2020-12-11T01:01:05.105Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-11T01:01:05.105Z] (6/14) Installing patch (2.7.6-r6) [2020-12-11T01:01:05.105Z] (7/14) Installing build-base (0.5-r2) [2020-12-11T01:01:05.105Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-11T01:01:05.105Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-11T01:01:05.105Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-11T01:01:05.105Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-11T01:01:05.105Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-11T01:01:05.291Z] $ docker rm -f ecc3af89f1f8d55a04ae45eb24b118a1613a38dfbd69d93abd28a450ec7bf265 [2020-12-11T01:01:05.376Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-11T01:01:05.376Z] (14/14) Installing openssh (8.3_p1-r0) [Pipeline] // withDockerContainer [Pipeline] } [2020-12-11T01:01:05.667Z] Executing busybox-1.31.1-r19.trigger [2020-12-11T01:01:05.667Z] OK: 221 MiB in 53 packages [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:01:06.385Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-11T01:01:06.385Z] . [Pipeline] withDockerContainer [2020-12-11T01:01:06.720Z] prd-centos7-docker-4c-2g-15528 does not seem to be running inside a container [2020-12-11T01:01:06.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@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 ******** ci-base-image-x86_64 cat [2020-12-11T01:01:08.172Z] $ docker top 07eee378aa3ea6b98c20fba0c89ba9bb8da64acea2fd2bb1dd6ddf4c0e8fc21e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T01:01:09.444Z] + make test [2020-12-11T01:01:09.444Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-11T01:01:10.037Z] Removing intermediate container f0e406f46263 [2020-12-11T01:01:10.037Z] ---> 7a3ee7c40458 [2020-12-11T01:01:10.037Z] Step 6/8 : WORKDIR /device-modbus-go [2020-12-11T01:01:10.037Z] ---> Running in 912a22661601 [2020-12-11T01:01:10.037Z] Removing intermediate container 912a22661601 [2020-12-11T01:01:10.037Z] ---> d9ed509e3ec2 [2020-12-11T01:01:10.037Z] Step 7/8 : COPY . . [2020-12-11T01:01:11.030Z] ---> e805b8d68e1a [2020-12-11T01:01:11.030Z] Step 8/8 : RUN go mod download [2020-12-11T01:01:11.303Z] ---> Running in 02d22f468ab5 [2020-12-11T01:01:14.097Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-12-11T01:01:33.494Z] Removing intermediate container 02d22f468ab5 [2020-12-11T01:01:33.494Z] ---> 6d9f5a66dc7a [2020-12-11T01:01:33.494Z] Successfully built 6d9f5a66dc7a [2020-12-11T01:01:33.494Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:01:33.843Z] + docker inspect -f . ci-base-image-arm64 [2020-12-11T01:01:33.843Z] . [Pipeline] withDockerContainer [2020-12-11T01:01:34.115Z] prd-ubuntu18.04-docker-arm64-4c-16g-15529 does not seem to be running inside a container [2020-12-11T01:01:34.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@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 ******** ci-base-image-arm64 cat [2020-12-11T01:01:35.642Z] $ docker top 0d23aedb08b3dcbb580cf6c58c62f3e48a1caa2df742162d10a018746f0e7c70 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T01:01:36.684Z] + go version [2020-12-11T01:01:36.684Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-11T01:01:36.697Z] $ docker stop --time=1 0d23aedb08b3dcbb580cf6c58c62f3e48a1caa2df742162d10a018746f0e7c70 [2020-12-11T01:01:38.595Z] $ docker rm -f 0d23aedb08b3dcbb580cf6c58c62f3e48a1caa2df742162d10a018746f0e7c70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:01:39.749Z] + docker inspect -f . ci-base-image-arm64 [2020-12-11T01:01:39.749Z] . [Pipeline] withDockerContainer [2020-12-11T01:01:40.012Z] prd-ubuntu18.04-docker-arm64-4c-16g-15529 does not seem to be running inside a container [2020-12-11T01:01:40.083Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@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 ******** ci-base-image-arm64 cat [2020-12-11T01:01:41.571Z] $ docker top c84508365bd2563a534f07709dc303535b94cd12e5ef01fb491c2a724d43e384 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T01:01:42.249Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-12-11T01:01:42.600Z] + make test [2020-12-11T01:01:42.601Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-11T01:01:42.860Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.651s coverage: 50.2% of statements [2020-12-11T01:01:43.155Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-11T01:01:43.581Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-12-11T01:01:50.101Z] gofmt -l . [2020-12-11T01:01:50.101Z] internal/driver/config.go [2020-12-11T01:01:50.101Z] internal/driver/config_test.go [2020-12-11T01:01:50.101Z] internal/driver/protocolpropertykey.go [2020-12-11T01:01:50.101Z] [ "`gofmt -l .`" = "" ] [2020-12-11T01:01:50.101Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2020-12-11T01:01:50.122Z] $ docker stop --time=1 07eee378aa3ea6b98c20fba0c89ba9bb8da64acea2fd2bb1dd6ddf4c0e8fc21e [2020-12-11T01:01:52.890Z] $ docker rm -f 07eee378aa3ea6b98c20fba0c89ba9bb8da64acea2fd2bb1dd6ddf4c0e8fc21e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 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-11T01:01:56.622Z] Failed in branch amd64 [2020-12-11T01:02:15.962Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-12-11T01:02:15.962Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.349s coverage: 50.2% of statements [2020-12-11T01:02:16.235Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-11T01:02:22.958Z] gofmt -l . [2020-12-11T01:02:22.958Z] internal/driver/config.go [2020-12-11T01:02:22.958Z] internal/driver/config_test.go [2020-12-11T01:02:22.958Z] internal/driver/protocolpropertykey.go [2020-12-11T01:02:22.958Z] [ "`gofmt -l .`" = "" ] [2020-12-11T01:02:22.958Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2020-12-11T01:02:22.975Z] $ docker stop --time=1 c84508365bd2563a534f07709dc303535b94cd12e5ef01fb491c2a724d43e384 [2020-12-11T01:02:25.145Z] $ docker rm -f c84508365bd2563a534f07709dc303535b94cd12e5ef01fb491c2a724d43e384 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-11T01:02:26.937Z] Failed in branch arm64 [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-11T01:02:29.810Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T01:02:30.384Z] ---> package-listing.sh [2020-12-11T01:02:30.384Z] ++ facter osfamily [2020-12-11T01:02:30.384Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-11T01:02:30.384Z] + OS_FAMILY=redhat [2020-12-11T01:02:30.385Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-171 [2020-12-11T01:02:30.385Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-11T01:02:30.385Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-11T01:02:30.385Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-11T01:02:30.385Z] + PACKAGES=/tmp/packages_start.txt [2020-12-11T01:02:30.385Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' [2020-12-11T01:02:30.385Z] + PACKAGES=/tmp/packages_end.txt [2020-12-11T01:02:30.385Z] + case "${OS_FAMILY}" in [2020-12-11T01:02:30.385Z] + rpm -qa [2020-12-11T01:02:30.385Z] + sort [2020-12-11T01:02:35.710Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-11T01:02:35.710Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-11T01:02:35.710Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-11T01:02:35.710Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' [2020-12-11T01:02:35.710Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ [2020-12-11T01:02:35.710Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ [Pipeline] echo [2020-12-11T01:02:35.730Z] 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/xfoundry_device-modbus-go_PR-171/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-11T01:02:36.024Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:02:36.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T01:02:36.333Z] [2020-12-11T01:02:36.333Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-11T01:02:36.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T01:02:36.694Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-11T01:02:36.694Z] df20fa9351a1: Pulling fs layer [2020-12-11T01:02:36.694Z] 36b3adc4ff6f: Pulling fs layer [2020-12-11T01:02:36.694Z] 8ad3a11d3b57: Pulling fs layer [2020-12-11T01:02:36.694Z] 46f8f816bc3b: Pulling fs layer [2020-12-11T01:02:36.694Z] 93b61091891f: Pulling fs layer [2020-12-11T01:02:36.694Z] 93b9cdb0e59b: Pulling fs layer [2020-12-11T01:02:36.694Z] 5e14af77c1be: Pulling fs layer [2020-12-11T01:02:36.694Z] 01666e4c0597: Pulling fs layer [2020-12-11T01:02:36.694Z] aa168da1d23b: Pulling fs layer [2020-12-11T01:02:36.694Z] 46f8f816bc3b: Waiting [2020-12-11T01:02:36.694Z] 93b61091891f: Waiting [2020-12-11T01:02:36.694Z] 5e14af77c1be: Waiting [2020-12-11T01:02:36.694Z] 93b9cdb0e59b: Waiting [2020-12-11T01:02:36.694Z] 01666e4c0597: Waiting [2020-12-11T01:02:36.694Z] aa168da1d23b: Waiting [2020-12-11T01:02:36.694Z] 36b3adc4ff6f: Verifying Checksum [2020-12-11T01:02:36.694Z] 36b3adc4ff6f: Download complete [2020-12-11T01:02:36.694Z] 46f8f816bc3b: Verifying Checksum [2020-12-11T01:02:36.694Z] 46f8f816bc3b: Download complete [2020-12-11T01:02:36.694Z] df20fa9351a1: Verifying Checksum [2020-12-11T01:02:36.694Z] df20fa9351a1: Download complete [2020-12-11T01:02:36.960Z] 93b9cdb0e59b: Verifying Checksum [2020-12-11T01:02:36.960Z] 93b9cdb0e59b: Download complete [2020-12-11T01:02:36.960Z] 5e14af77c1be: Download complete [2020-12-11T01:02:36.960Z] 93b61091891f: Verifying Checksum [2020-12-11T01:02:36.960Z] 93b61091891f: Download complete [2020-12-11T01:02:36.960Z] 01666e4c0597: Download complete [2020-12-11T01:02:37.229Z] df20fa9351a1: Pull complete [2020-12-11T01:02:37.229Z] 8ad3a11d3b57: Verifying Checksum [2020-12-11T01:02:37.229Z] 8ad3a11d3b57: Download complete [2020-12-11T01:02:37.497Z] 36b3adc4ff6f: Pull complete [2020-12-11T01:02:38.082Z] 8ad3a11d3b57: Pull complete [2020-12-11T01:02:38.351Z] 46f8f816bc3b: Pull complete [2020-12-11T01:02:38.936Z] 93b61091891f: Pull complete [2020-12-11T01:02:38.936Z] 93b9cdb0e59b: Pull complete [2020-12-11T01:02:39.200Z] aa168da1d23b: Verifying Checksum [2020-12-11T01:02:39.201Z] aa168da1d23b: Download complete [2020-12-11T01:02:39.463Z] 5e14af77c1be: Pull complete [2020-12-11T01:02:39.727Z] 01666e4c0597: Pull complete [2020-12-11T01:02:46.370Z] aa168da1d23b: Pull complete [2020-12-11T01:02:46.370Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-11T01:02:46.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-11T01:02:46.370Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-11T01:02:46.517Z] prd-centos7-docker-4c-2g-15527 does not seem to be running inside a container [2020-12-11T01:02:46.555Z] $ 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/xfoundry_device-modbus-go_PR-171/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-171 -v /w/workspace/xfoundry_device-modbus-go_PR-171:/w/workspace/xfoundry_device-modbus-go_PR-171:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-171@tmp:/w/workspace/xfoundry_device-modbus-go_PR-171@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-11T01:02:55.707Z] $ docker top 1d1fa6726b2727d33bf10be59d3726dff3d1dab73a1646a11215c53a1ae437db -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-11T01:02:56.294Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-11T01:02:56.603Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-11T01:02:56.901Z] + ls /var/log/sa-host [2020-12-11T01:02:56.901Z] + sadf -c /var/log/sa-host/sa11 [2020-12-11T01:02:56.901Z] file_magic: OK [2020-12-11T01:02:56.901Z] HZ: Using current value: 100 [2020-12-11T01:02:56.901Z] file_header: OK [2020-12-11T01:02:56.901Z] 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-11T01:02:56.901Z] Statistics: [2020-12-11T01:02:56.901Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-11T01:02:56.901Z] File successfully converted to sysstat format version 12.2.1 [2020-12-11T01:02:56.901Z] + sadf -c /var/log/sa-host/sa23 [2020-12-11T01:02:56.901Z] file_magic: OK [2020-12-11T01:02:56.901Z] HZ: Using current value: 100 [2020-12-11T01:02:56.901Z] file_header: OK [2020-12-11T01:02:56.901Z] 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-11T01:02:56.901Z] Statistics: [2020-12-11T01:02:56.901Z] Hnuu...uuuununununu... [2020-12-11T01:02:56.901Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-11T01:02:57.098Z] provisioning config files... [2020-12-11T01:02:57.115Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config1732902486573095964tmp [Pipeline] { [Pipeline] echo [2020-12-11T01:02:57.192Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T01:02:57.491Z] ---> create-netrc.sh [Pipeline] } [2020-12-11T01:02:57.500Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-11T01:02:57.603Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T01:02:57.900Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-11T01:02:57.911Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T01:02:58.203Z] ---> sudo-logs.sh [2020-12-11T01:02:58.203Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-11T01:02:58.213Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T01:02:58.506Z] ---> job-cost.sh [2020-12-11T01:02:58.506Z] lf-activate-venv: SKIPPING [2020-12-11T01:02:58.506Z] INFO: No Stack... [2020-12-11T01:02:59.450Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-11T01:03:00.023Z] INFO: Archiving Costs [Pipeline] echo [2020-12-11T01:03:00.035Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-11T01:03:00.327Z] ---> logs-deploy.sh [2020-12-11T01:03:00.327Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-171/11 [2020-12-11T01:03:00.327Z] INFO: archiving workspace using pattern(s): [2020-12-11T01:03:02.253Z] Archives upload complete. [2020-12-11T01:03:02.253Z] INFO: archiving logs to Nexus