Pull request #213 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 weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 45443412991add32ba944d961954dcaa2e827a52+15ac84f23aa11eeb9442daa2d5db1053a10c3bad (4701f23fb940679ecc2498da0c05198bde648ab5) 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-modbus-go/branches/PR-213/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-modbus-go/branches/PR-213/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-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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19449 in /w/workspace/xfoundry_device-modbus-go_PR-213 [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-213 # 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 Merging remotes/origin/master commit 15ac84f23aa11eeb9442daa2d5db1053a10c3bad into PR head commit 45443412991add32ba944d961954dcaa2e827a52 Merge succeeded, producing 45443412991add32ba944d961954dcaa2e827a52 Checking out Revision 45443412991add32ba944d961954dcaa2e827a52 (PR-213) > 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/213/head:refs/remotes/origin/PR-213 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45443412991add32ba944d961954dcaa2e827a52 # 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 15ac84f23aa11eeb9442daa2d5db1053a10c3bad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45443412991add32ba944d961954dcaa2e827a52 # timeout=10 Commit message: "refactor: Upgrade sdk version to 1.4.0" 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 [2021-01-11T07:19:15.990Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-11T07:19:16.370Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-11T07:19:16.595Z] ========================================================= [2021-01-11T07:19:16.595Z] EdgeX Global Pipelines Version Info [2021-01-11T07:19:16.595Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:19:18.519Z] ------------------- [2021-01-11T07:19:18.519Z] stable info: [2021-01-11T07:19:18.519Z] ------------------- [2021-01-11T07:19:18.519Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-11T07:19:18.519Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T07:19:18.519Z] Message: update stable to v1.0.173 [2021-01-11T07:19:19.097Z] ------------------- [2021-01-11T07:19:19.097Z] experimental info: [2021-01-11T07:19:19.097Z] ------------------- [2021-01-11T07:19:19.097Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-11T07:19:19.097Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-11T07:19:19.097Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-11T07:19:19.481Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-01-11T07:19:19.606Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-01-11T07:19:19.756Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-11T07:19:19.901Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-11T07:19:20.027Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-11T07:19:20.269Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-11T07:19:20.437Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-11T07:19:20.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-11T07:19:20.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-11T07:19:20.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-11T07:19:21.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-11T07:19:21.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2021-01-11T07:19:21.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-11T07:19:21.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-11T07:19:21.564Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T07:19:21.727Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-11T07:19:21.924Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T07:19:22.071Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-11T07:19:22.187Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-11T07:19:22.300Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-11T07:19:22.419Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-11T07:19:22.550Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-11T07:19:22.673Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-11T07:19:22.794Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-11T07:19:22.959Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-11T07:19:23.099Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-11T07:19:23.214Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-11T07:19:23.358Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-213 [Pipeline] echo [2021-01-11T07:19:23.480Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-213 [Pipeline] echo [2021-01-11T07:19:23.598Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-213 [Pipeline] echo [2021-01-11T07:19:23.723Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45443412991add32ba944d961954dcaa2e827a52 [Pipeline] echo [2021-01-11T07:19:23.846Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4544341 [Pipeline] echo [2021-01-11T07:19:23.966Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T07:19:24.292Z] provisioning config files... [2021-01-11T07:19:24.326Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-213@tmp/config1390308020555650963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:19:24.764Z] ---> docker-login.sh [2021-01-11T07:19:24.764Z] nexus3.edgexfoundry.org:10001 [2021-01-11T07:19:25.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:19:25.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:19:25.306Z] Configure a credential helper to remove this warning. See [2021-01-11T07:19:25.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:19:25.306Z] [2021-01-11T07:19:25.306Z] Login Succeeded [2021-01-11T07:19:25.306Z] nexus3.edgexfoundry.org:10002 [2021-01-11T07:19:25.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:19:25.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:19:25.573Z] Configure a credential helper to remove this warning. See [2021-01-11T07:19:25.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:19:25.573Z] [2021-01-11T07:19:25.573Z] Login Succeeded [2021-01-11T07:19:25.573Z] nexus3.edgexfoundry.org:10003 [2021-01-11T07:19:25.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:19:25.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:19:25.573Z] Configure a credential helper to remove this warning. See [2021-01-11T07:19:25.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:19:25.573Z] [2021-01-11T07:19:25.573Z] Login Succeeded [2021-01-11T07:19:25.573Z] nexus3.edgexfoundry.org:10004 [2021-01-11T07:19:25.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:19:25.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:19:25.839Z] Configure a credential helper to remove this warning. See [2021-01-11T07:19:25.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:19:25.839Z] [2021-01-11T07:19:25.839Z] Login Succeeded [2021-01-11T07:19:25.839Z] docker.io [2021-01-11T07:19:26.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:19:26.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:19:26.366Z] Configure a credential helper to remove this warning. See [2021-01-11T07:19:26.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:19:26.366Z] [2021-01-11T07:19:26.366Z] Login Succeeded [2021-01-11T07:19:26.366Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T07:19:26.402Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T07:19:27.503Z] + git log --format=format:%s -1 45443412991add32ba944d961954dcaa2e827a52 [Pipeline] echo [2021-01-11T07:19:27.590Z] GIT_COMMIT: 45443412991add32ba944d961954dcaa2e827a52, Commit Message: refactor: Upgrade sdk version to 1.4.0 [Pipeline] echo [2021-01-11T07:19:27.660Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:19:28.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T07:19:28.633Z] [2021-01-11T07:19:28.633Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:19:29.029Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T07:19:29.029Z] latest: Pulling from edgex-devops/git-semver [2021-01-11T07:19:29.029Z] 31603596830f: Pulling fs layer [2021-01-11T07:19:29.029Z] 2a8b12db71e7: Pulling fs layer [2021-01-11T07:19:29.029Z] 6ca5941a6612: Pulling fs layer [2021-01-11T07:19:29.029Z] ecc8261a40a4: Pulling fs layer [2021-01-11T07:19:29.029Z] ecc8261a40a4: Waiting [2021-01-11T07:19:29.029Z] 2a8b12db71e7: Verifying Checksum [2021-01-11T07:19:29.029Z] 2a8b12db71e7: Download complete [2021-01-11T07:19:29.029Z] 31603596830f: Download complete [2021-01-11T07:19:29.292Z] ecc8261a40a4: Verifying Checksum [2021-01-11T07:19:29.292Z] ecc8261a40a4: Download complete [2021-01-11T07:19:29.292Z] 6ca5941a6612: Verifying Checksum [2021-01-11T07:19:29.292Z] 6ca5941a6612: Download complete [2021-01-11T07:19:29.555Z] 31603596830f: Pull complete [2021-01-11T07:19:29.555Z] 2a8b12db71e7: Pull complete [2021-01-11T07:19:30.516Z] 6ca5941a6612: Pull complete [2021-01-11T07:19:30.783Z] ecc8261a40a4: Pull complete [2021-01-11T07:19:30.783Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-11T07:19:30.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-11T07:19:30.783Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-11T07:19:30.918Z] prd-centos7-docker-4c-2g-19449 does not seem to be running inside a container [2021-01-11T07:19:30.967Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-213 -v /w/workspace/xfoundry_device-modbus-go_PR-213:/w/workspace/xfoundry_device-modbus-go_PR-213:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-213@tmp:/w/workspace/xfoundry_device-modbus-go_PR-213@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 [2021-01-11T07:19:32.976Z] $ docker top 2d0ac860f969eaaa102251e9a8f40ae599a8b89487cc6e17875ff50de7b36e41 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-11T07:19:33.439Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T07:19:33.439Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T07:19:33.692Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T07:19:33.697Z] $ docker exec 2d0ac860f969eaaa102251e9a8f40ae599a8b89487cc6e17875ff50de7b36e41 ssh-agent [2021-01-11T07:19:33.876Z] SSH_AUTH_SOCK=/tmp/ssh-T4Bmwc88LdRP/agent.11 [2021-01-11T07:19:33.876Z] SSH_AGENT_PID=17 [2021-01-11T07:19:33.895Z] Running ssh-add (command line suppressed) [2021-01-11T07:19:34.025Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-213@tmp/private_key_1635906289964184011.key (/w/workspace/xfoundry_device-modbus-go_PR-213@tmp/private_key_1635906289964184011.key) [2021-01-11T07:19:34.083Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T07:19:34.470Z] + git tag --points-at HEAD [Pipeline] } [2021-01-11T07:19:34.504Z] $ docker exec --env ******** --env ******** 2d0ac860f969eaaa102251e9a8f40ae599a8b89487cc6e17875ff50de7b36e41 ssh-agent -k [2021-01-11T07:19:34.632Z] unset SSH_AUTH_SOCK; [2021-01-11T07:19:34.633Z] unset SSH_AGENT_PID; [2021-01-11T07:19:34.633Z] echo Agent pid 17 killed; [2021-01-11T07:19:34.687Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-11T07:19:34.888Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-11T07:19:34.888Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-11T07:19:35.070Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-11T07:19:35.075Z] $ docker exec 2d0ac860f969eaaa102251e9a8f40ae599a8b89487cc6e17875ff50de7b36e41 ssh-agent [2021-01-11T07:19:35.250Z] SSH_AUTH_SOCK=/tmp/ssh-Fvt945Yvhmbh/agent.46 [2021-01-11T07:19:35.250Z] SSH_AGENT_PID=52 [2021-01-11T07:19:35.257Z] Running ssh-add (command line suppressed) [2021-01-11T07:19:35.392Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-213@tmp/private_key_6043451336693901310.key (/w/workspace/xfoundry_device-modbus-go_PR-213@tmp/private_key_6043451336693901310.key) [2021-01-11T07:19:35.444Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-11T07:19:35.821Z] + git semver init [2021-01-11T07:19:35.821Z] # -> Open(): unable to determine branch for HEAD [2021-01-11T07:19:35.821Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-213/.git [2021-01-11T07:19:35.821Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-213 [2021-01-11T07:19:35.821Z] # $SEMVER_REMOTE_NAME = origin [2021-01-11T07:19:35.821Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-11T07:19:35.821Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-11T07:19:35.821Z] # $SEMVER_BRANCH = PR-213 [2021-01-11T07:19:35.821Z] # $SEMVER_TEMP = /tmp/semver-994637513 [2021-01-11T07:19:35.821Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-01-11T07:19:36.400Z] # '/tmp/semver-994637513' -> '/w/workspace/xfoundry_device-modbus-go_PR-213/.semver' [2021-01-11T07:19:36.400Z] # -> Force: false [2021-01-11T07:19:36.400Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-213/.semver [Pipeline] } [2021-01-11T07:19:36.431Z] $ docker exec --env ******** --env ******** 2d0ac860f969eaaa102251e9a8f40ae599a8b89487cc6e17875ff50de7b36e41 ssh-agent -k [2021-01-11T07:19:36.554Z] unset SSH_AUTH_SOCK; [2021-01-11T07:19:36.555Z] unset SSH_AGENT_PID; [2021-01-11T07:19:36.555Z] echo Agent pid 52 killed; [2021-01-11T07:19:36.606Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-11T07:19:37.159Z] + git semver [Pipeline] } [2021-01-11T07:19:37.193Z] $ docker stop --time=1 2d0ac860f969eaaa102251e9a8f40ae599a8b89487cc6e17875ff50de7b36e41 [2021-01-11T07:19:38.615Z] $ docker rm -f 2d0ac860f969eaaa102251e9a8f40ae599a8b89487cc6e17875ff50de7b36e41 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T07:19:39.186Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-11T07:19:39.665Z] Stashed 1 file(s) [Pipeline] echo [2021-01-11T07:19:39.688Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-01-11T07:19:55.611Z] Still waiting to schedule task [2021-01-11T07:19:55.611Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-11T07:19:55.641Z] Still waiting to schedule task [2021-01-11T07:19:55.641Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-11T07:21:43.796Z] Running on prd-centos7-docker-4c-2g-19450 in /w/workspace/xfoundry_device-modbus-go_PR-213 [Pipeline] { [Pipeline] ws [2021-01-11T07:21:43.893Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2021-01-11T07:21:46.262Z] using credential edgex-jenkins-ssh [2021-01-11T07:21:46.338Z] Cloning the remote Git repository [2021-01-11T07:21:45.914Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-01-11T07:21:45.986Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2021-01-11T07:21:46.050Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-11T07:21:46.051Z] > git --version # timeout=10 [2021-01-11T07:21:46.058Z] > git --version # 'git version 2.24.3' [2021-01-11T07:21:46.059Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T07:21:46.086Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T07:21:46.688Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-11T07:21:46.696Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T07:21:46.708Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-11T07:21:46.723Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-11T07:21:46.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T07:21:46.727Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T07:21:47.566Z] Merging remotes/origin/master commit 15ac84f23aa11eeb9442daa2d5db1053a10c3bad into PR head commit 45443412991add32ba944d961954dcaa2e827a52 [2021-01-11T07:21:47.659Z] Merge succeeded, producing 45443412991add32ba944d961954dcaa2e827a52 [2021-01-11T07:21:47.659Z] Checking out Revision 45443412991add32ba944d961954dcaa2e827a52 (PR-213) [2021-01-11T07:21:47.223Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T07:21:47.229Z] > git checkout -f 45443412991add32ba944d961954dcaa2e827a52 # timeout=10 [2021-01-11T07:21:47.276Z] > git remote # timeout=10 [2021-01-11T07:21:47.284Z] > git config --get remote.origin.url # timeout=10 [2021-01-11T07:21:47.290Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T07:21:47.296Z] > git merge 15ac84f23aa11eeb9442daa2d5db1053a10c3bad # timeout=10 [2021-01-11T07:21:47.309Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-11T07:21:47.328Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T07:21:47.338Z] > git checkout -f 45443412991add32ba944d961954dcaa2e827a52 # timeout=10 [2021-01-11T07:21:51.087Z] Commit message: "refactor: Upgrade sdk version to 1.4.0" [2021-01-11T07:21:51.062Z] > git --version # timeout=10 [2021-01-11T07:21:51.070Z] > git --version # 'git version 2.24.3' [2021-01-11T07:21:51.078Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T07:21:52.838Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-11T07:21:53.204Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T07:21:53.536Z] + sudo service docker restart [2021-01-11T07:21:53.536Z] + true [2021-01-11T07:21:53.536Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T07:21:54.647Z] provisioning config files... [2021-01-11T07:21:54.721Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5018411210274338645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:21:55.160Z] ---> docker-login.sh [2021-01-11T07:21:55.160Z] nexus3.edgexfoundry.org:10001 [2021-01-11T07:21:55.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:21:55.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:21:55.690Z] Configure a credential helper to remove this warning. See [2021-01-11T07:21:55.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:21:55.690Z] [2021-01-11T07:21:55.690Z] Login Succeeded [2021-01-11T07:21:55.690Z] nexus3.edgexfoundry.org:10002 [2021-01-11T07:21:55.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:21:55.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:21:55.690Z] Configure a credential helper to remove this warning. See [2021-01-11T07:21:55.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:21:55.690Z] [2021-01-11T07:21:55.690Z] Login Succeeded [2021-01-11T07:21:55.690Z] nexus3.edgexfoundry.org:10003 [2021-01-11T07:21:55.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:21:55.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:21:55.953Z] Configure a credential helper to remove this warning. See [2021-01-11T07:21:55.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:21:55.953Z] [2021-01-11T07:21:55.953Z] Login Succeeded [2021-01-11T07:21:55.953Z] nexus3.edgexfoundry.org:10004 [2021-01-11T07:21:55.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:21:56.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:21:56.220Z] Configure a credential helper to remove this warning. See [2021-01-11T07:21:56.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:21:56.220Z] [2021-01-11T07:21:56.220Z] Login Succeeded [2021-01-11T07:21:56.220Z] docker.io [2021-01-11T07:21:56.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:21:56.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:21:56.484Z] Configure a credential helper to remove this warning. See [2021-01-11T07:21:56.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:21:56.484Z] [2021-01-11T07:21:56.484Z] Login Succeeded [2021-01-11T07:21:56.484Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T07:21:56.510Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T07:21:57.090Z] ========================================================= [2021-01-11T07:21:57.090Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-11T07:21:57.090Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:21:57.486Z] + 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 . [2021-01-11T07:21:57.486Z] Sending build context to Docker daemon 551.9kB [2021-01-11T07:21:57.486Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T07:21:57.486Z] Step 2/8 : FROM ${BASE} [2021-01-11T07:21:57.752Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-11T07:21:57.752Z] 188c0c94c7c5: Pulling fs layer [2021-01-11T07:21:57.752Z] 0ef7d3d256c8: Pulling fs layer [2021-01-11T07:21:57.752Z] de9db76c5a1d: Pulling fs layer [2021-01-11T07:21:57.752Z] bca2f99d35d6: Pulling fs layer [2021-01-11T07:21:57.752Z] 93359f2a8cfa: Pulling fs layer [2021-01-11T07:21:57.752Z] 7c6f9722023f: Pulling fs layer [2021-01-11T07:21:57.752Z] a35cf1a2eb13: Pulling fs layer [2021-01-11T07:21:57.752Z] bca2f99d35d6: Waiting [2021-01-11T07:21:57.752Z] 93359f2a8cfa: Waiting [2021-01-11T07:21:57.752Z] 7c6f9722023f: Waiting [2021-01-11T07:21:57.752Z] a35cf1a2eb13: Waiting [2021-01-11T07:21:57.752Z] de9db76c5a1d: Download complete [2021-01-11T07:21:57.752Z] 0ef7d3d256c8: Download complete [2021-01-11T07:21:57.752Z] 93359f2a8cfa: Download complete [2021-01-11T07:21:57.752Z] 7c6f9722023f: Verifying Checksum [2021-01-11T07:21:57.752Z] 7c6f9722023f: Download complete [2021-01-11T07:21:57.752Z] 188c0c94c7c5: Verifying Checksum [2021-01-11T07:21:57.752Z] 188c0c94c7c5: Download complete [2021-01-11T07:21:58.025Z] 188c0c94c7c5: Pull complete [2021-01-11T07:21:58.287Z] 0ef7d3d256c8: Pull complete [2021-01-11T07:21:58.287Z] de9db76c5a1d: Pull complete [2021-01-11T07:22:00.218Z] a35cf1a2eb13: Verifying Checksum [2021-01-11T07:22:00.218Z] a35cf1a2eb13: Download complete [2021-01-11T07:22:00.796Z] bca2f99d35d6: Verifying Checksum [2021-01-11T07:22:00.796Z] bca2f99d35d6: Download complete [2021-01-11T07:22:06.116Z] bca2f99d35d6: Pull complete [2021-01-11T07:22:06.380Z] 93359f2a8cfa: Pull complete [2021-01-11T07:22:06.380Z] 7c6f9722023f: Pull complete [2021-01-11T07:22:10.637Z] a35cf1a2eb13: Pull complete [2021-01-11T07:22:10.637Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-11T07:22:10.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-11T07:22:10.637Z] ---> a62c8e92a672 [2021-01-11T07:22:10.637Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-11T07:22:10.637Z] ---> Running in ce2537f0193e [2021-01-11T07:22:10.900Z] Removing intermediate container ce2537f0193e [2021-01-11T07:22:10.900Z] ---> f4eba3c42759 [2021-01-11T07:22:10.900Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T07:22:10.900Z] ---> Running in 5b45e4087c60 [2021-01-11T07:22:11.852Z] Removing intermediate container 5b45e4087c60 [2021-01-11T07:22:11.852Z] ---> c8e60a185785 [2021-01-11T07:22:11.852Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-11T07:22:11.852Z] ---> Running in e96e24cdbd80 [2021-01-11T07:22:12.428Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-11T07:22:13.006Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-11T07:22:13.955Z] (1/14) Installing libmagic (5.38-r0) [2021-01-11T07:22:13.955Z] (2/14) Installing file (5.38-r0) [2021-01-11T07:22:13.955Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-11T07:22:13.955Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-11T07:22:32.133Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-11T07:22:32.133Z] (6/14) Installing patch (2.7.6-r6) [2021-01-11T07:22:32.133Z] (7/14) Installing build-base (0.5-r2) [2021-01-11T07:22:32.133Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-11T07:22:32.133Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-11T07:22:32.133Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-11T07:22:32.133Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-11T07:22:32.133Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-11T07:22:32.133Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-11T07:22:32.133Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-11T07:22:32.133Z] Executing busybox-1.31.1-r19.trigger [2021-01-11T07:22:32.133Z] OK: 237 MiB in 53 packages [2021-01-11T07:22:34.712Z] Removing intermediate container e96e24cdbd80 [2021-01-11T07:22:34.712Z] ---> ac2142bc156f [2021-01-11T07:22:34.712Z] Step 6/8 : WORKDIR /device-modbus-go [2021-01-11T07:22:34.976Z] ---> Running in 2692b378583a [2021-01-11T07:22:34.976Z] Removing intermediate container 2692b378583a [2021-01-11T07:22:34.976Z] ---> 22b13daa5df0 [2021-01-11T07:22:34.976Z] Step 7/8 : COPY . . [2021-01-11T07:22:35.932Z] ---> 6dd66ccdf6ad [2021-01-11T07:22:35.932Z] Step 8/8 : RUN go mod download [2021-01-11T07:22:35.932Z] ---> Running in cdb72e0ffdaf [2021-01-11T07:22:54.139Z] Removing intermediate container cdb72e0ffdaf [2021-01-11T07:22:54.139Z] ---> abf26b427b30 [2021-01-11T07:22:54.408Z] Successfully built abf26b427b30 [2021-01-11T07:22:54.408Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:22:54.802Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T07:22:54.802Z] . [Pipeline] withDockerContainer [2021-01-11T07:22:54.974Z] prd-centos7-docker-4c-2g-19450 does not seem to be running inside a container [2021-01-11T07:22:55.030Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 [2021-01-11T07:22:55.899Z] $ docker top c457c45f92db63966ca2c46f76a4941bc47210739c402e244828031df51e157a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T07:22:56.452Z] + go version [2021-01-11T07:22:56.452Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-11T07:22:56.482Z] $ docker stop --time=1 c457c45f92db63966ca2c46f76a4941bc47210739c402e244828031df51e157a [2021-01-11T07:22:57.819Z] $ docker rm -f c457c45f92db63966ca2c46f76a4941bc47210739c402e244828031df51e157a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:22:58.844Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-11T07:22:58.844Z] . [Pipeline] withDockerContainer [2021-01-11T07:22:58.983Z] prd-centos7-docker-4c-2g-19450 does not seem to be running inside a container [2021-01-11T07:22:59.030Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 [2021-01-11T07:22:59.607Z] $ docker top df07301a51b8d0f7e8d85b50de1ff5fa8ea7003136dbc254f1e2a2c44811c1c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T07:23:00.134Z] + make test [2021-01-11T07:23:00.134Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-11T07:23:01.542Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-01-11T07:23:13.933Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-01-11T07:23:13.933Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.266s coverage: 50.3% of statements [2021-01-11T07:23:13.933Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-11T07:23:14.899Z] gofmt -l . [2021-01-11T07:23:14.899Z] [ "`gofmt -l .`" = "" ] [2021-01-11T07:23:15.161Z] ./bin/test-attribution-txt.sh [2021-01-11T07:23:15.739Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-11T07:23:16.036Z] $ docker stop --time=1 df07301a51b8d0f7e8d85b50de1ff5fa8ea7003136dbc254f1e2a2c44811c1c1 [2021-01-11T07:23:18.427Z] $ docker rm -f df07301a51b8d0f7e8d85b50de1ff5fa8ea7003136dbc254f1e2a2c44811c1c1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T07:23:19.065Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-11T07:23:19.383Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-11T07:23:22.288Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-11T07:23:22.610Z] + ls -al . [2021-01-11T07:23:22.610Z] total 104 [2021-01-11T07:23:22.610Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 11 07:23 . [2021-01-11T07:23:22.610Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 11 07:21 .. [2021-01-11T07:23:22.610Z] -rw-rw-r--. 1 jenkins jenkins 5589 Jan 11 07:21 Attribution.txt [2021-01-11T07:23:22.610Z] drwxrwxr-x. 2 jenkins jenkins 87 Jan 11 07:21 bin [2021-01-11T07:23:22.610Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 11 07:21 cmd [2021-01-11T07:23:22.610Z] -rw-r--r--. 1 jenkins jenkins 22362 Jan 11 07:23 coverage.out [2021-01-11T07:23:22.610Z] -rw-rw-r--. 1 jenkins jenkins 1434 Jan 11 07:21 Dockerfile [2021-01-11T07:23:22.610Z] -rw-rw-r--. 1 jenkins jenkins 958 Jan 11 07:21 Dockerfile.build [2021-01-11T07:23:22.610Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 11 07:21 .dockerignore [2021-01-11T07:23:22.610Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 11 07:21 .git [2021-01-11T07:23:22.610Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 11 07:21 .github [2021-01-11T07:23:22.610Z] -rw-rw-r--. 1 jenkins jenkins 338 Jan 11 07:21 .gitignore [2021-01-11T07:23:22.610Z] -rw-r--r--. 1 jenkins jenkins 517 Jan 11 07:23 go.mod [2021-01-11T07:23:22.610Z] -rw-r--r--. 1 jenkins jenkins 14838 Jan 11 07:23 go.sum [2021-01-11T07:23:22.610Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 11 07:21 internal [2021-01-11T07:23:22.610Z] -rw-rw-r--. 1 jenkins jenkins 679 Jan 11 07:21 Jenkinsfile [2021-01-11T07:23:22.610Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 11 07:21 LICENSE [2021-01-11T07:23:22.610Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 11 07:21 Makefile [2021-01-11T07:23:22.610Z] -rw-rw-r--. 1 jenkins jenkins 591 Jan 11 07:21 README.md [2021-01-11T07:23:22.610Z] drwxrwxr-x. 2 jenkins jenkins 52 Jan 11 07:21 simulator [2021-01-11T07:23:22.610Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 11 07:21 snap [2021-01-11T07:23:22.610Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 11 07:19 VERSION [2021-01-11T07:23:22.610Z] -rw-rw-r--. 1 jenkins jenkins 229 Jan 11 07:21 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:23:22.951Z] + docker build -t docker-device-modbus-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=45443412991add32ba944d961954dcaa2e827a52 --label arch=amd64 --label version=0.0.0 . [2021-01-11T07:23:22.951Z] Sending build context to Docker daemon 583.2kB [2021-01-11T07:23:23.212Z] Step 1/20 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T07:23:23.212Z] Step 2/20 : FROM ${BASE} AS builder [2021-01-11T07:23:23.212Z] ---> abf26b427b30 [2021-01-11T07:23:23.212Z] Step 3/20 : ARG MAKE='make build' [2021-01-11T07:23:23.484Z] ---> Running in 11f0a0ad1739 [2021-01-11T07:23:23.484Z] Removing intermediate container 11f0a0ad1739 [2021-01-11T07:23:23.484Z] ---> c7bf28bd4f11 [2021-01-11T07:23:23.484Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T07:23:23.484Z] ---> Running in 585a0f8f185e [2021-01-11T07:23:24.440Z] Removing intermediate container 585a0f8f185e [2021-01-11T07:23:24.440Z] ---> 04498239dfa6 [2021-01-11T07:23:24.440Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2021-01-11T07:23:24.440Z] ---> Running in f8bb0872622f [2021-01-11T07:23:24.846Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19452 in /w/workspace/xfoundry_device-modbus-go_PR-213 [Pipeline] { [Pipeline] ws [2021-01-11T07:23:24.939Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2021-01-11T07:23:25.034Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-11T07:23:25.981Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-11T07:23:26.557Z] OK: 237 MiB in 53 packages [2021-01-11T07:23:27.132Z] Removing intermediate container f8bb0872622f [2021-01-11T07:23:27.132Z] ---> 7d36098995ef [2021-01-11T07:23:27.132Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2021-01-11T07:23:27.132Z] ---> Running in 8d5fbf57f735 [2021-01-11T07:23:27.394Z] Removing intermediate container 8d5fbf57f735 [2021-01-11T07:23:27.394Z] ---> 091bfada3eea [2021-01-11T07:23:27.394Z] Step 7/20 : COPY . . [2021-01-11T07:23:27.986Z] ---> a40fb3c7277a [2021-01-11T07:23:27.986Z] Step 8/20 : RUN ${MAKE} [2021-01-11T07:23:28.247Z] ---> Running in d995deaea356 [2021-01-11T07:23:28.508Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2021-01-11T07:23:30.449Z] using credential edgex-jenkins-ssh [2021-01-11T07:23:30.514Z] Cloning the remote Git repository [2021-01-11T07:23:30.576Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-01-11T07:23:30.688Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2021-01-11T07:23:30.785Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-11T07:23:30.786Z] > git --version # timeout=10 [2021-01-11T07:23:30.805Z] > git --version # 'git version 2.17.1' [2021-01-11T07:23:30.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T07:23:30.868Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T07:23:32.486Z] Merging remotes/origin/master commit 15ac84f23aa11eeb9442daa2d5db1053a10c3bad into PR head commit 45443412991add32ba944d961954dcaa2e827a52 [2021-01-11T07:23:31.753Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-11T07:23:31.796Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T07:23:31.821Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-11T07:23:31.872Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-11T07:23:31.873Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T07:23:31.886Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T07:23:32.514Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T07:23:32.845Z] Merge succeeded, producing 45443412991add32ba944d961954dcaa2e827a52 [2021-01-11T07:23:32.845Z] Checking out Revision 45443412991add32ba944d961954dcaa2e827a52 (PR-213) [2021-01-11T07:23:32.538Z] > git checkout -f 45443412991add32ba944d961954dcaa2e827a52 # timeout=10 [2021-01-11T07:23:32.624Z] > git remote # timeout=10 [2021-01-11T07:23:32.717Z] > git config --get remote.origin.url # timeout=10 [2021-01-11T07:23:32.747Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T07:23:32.769Z] > git merge 15ac84f23aa11eeb9442daa2d5db1053a10c3bad # timeout=10 [2021-01-11T07:23:32.805Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-11T07:23:32.860Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T07:23:32.920Z] > git checkout -f 45443412991add32ba944d961954dcaa2e827a52 # timeout=10 [2021-01-11T07:23:37.270Z] Commit message: "refactor: Upgrade sdk version to 1.4.0" [2021-01-11T07:23:37.329Z] > git --version # timeout=10 [2021-01-11T07:23:37.341Z] > git --version # 'git version 2.17.1' [2021-01-11T07:23:37.358Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T07:23:38.650Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-01-11T07:23:38.968Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-11T07:23:39.522Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-11T07:23:39.951Z] + sudo service docker restart [2021-01-11T07:23:39.952Z] + true [2021-01-11T07:23:40.614Z] Removing intermediate container d995deaea356 [2021-01-11T07:23:40.614Z] ---> fe062eab7786 [2021-01-11T07:23:40.614Z] Step 9/20 : FROM scratch [2021-01-11T07:23:40.614Z] ---> [2021-01-11T07:23:40.614Z] Step 10/20 : ENV APP_PORT=49991 [2021-01-11T07:23:40.614Z] ---> Running in 93db163e298e [2021-01-11T07:23:40.877Z] Removing intermediate container 93db163e298e [2021-01-11T07:23:40.877Z] ---> 4d2175ca568b [2021-01-11T07:23:40.877Z] Step 11/20 : EXPOSE $APP_PORT [2021-01-11T07:23:40.877Z] ---> Running in e3f21bebe27f [2021-01-11T07:23:41.140Z] Removing intermediate container e3f21bebe27f [2021-01-11T07:23:41.140Z] ---> edc7a2d1dbd5 [2021-01-11T07:23:41.140Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2021-01-11T07:23:41.716Z] ---> 77ecf49129ee [2021-01-11T07:23:41.716Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2021-01-11T07:23:41.716Z] ---> ecf3b740dae9 [2021-01-11T07:23:41.716Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2021-01-11T07:23:41.979Z] ---> 70986207fd15 [2021-01-11T07:23:41.980Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2021-01-11T07:23:41.980Z] ---> Running in 7974a2574506 [2021-01-11T07:23:42.245Z] Removing intermediate container 7974a2574506 [2021-01-11T07:23:42.245Z] ---> 5d9a8aca7001 [2021-01-11T07:23:42.245Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2021-01-11T07:23:42.245Z] ---> Running in 2dbb3fc962e6 [2021-01-11T07:23:42.513Z] Removing intermediate container 2dbb3fc962e6 [2021-01-11T07:23:42.513Z] ---> a14e58ddc01a [2021-01-11T07:23:42.513Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-11T07:23:42.513Z] ---> Running in fe7d716f49a6 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-11T07:23:42.739Z] provisioning config files... [2021-01-11T07:23:42.779Z] Removing intermediate container fe7d716f49a6 [2021-01-11T07:23:42.779Z] ---> 235caf0da47b [2021-01-11T07:23:42.779Z] Step 18/20 : LABEL arch=amd64 [2021-01-11T07:23:42.779Z] ---> Running in 26b8ab35e35f [2021-01-11T07:23:42.782Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6005492233099765829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:23:43.053Z] Removing intermediate container 26b8ab35e35f [2021-01-11T07:23:43.053Z] ---> a585a6bf7aa3 [2021-01-11T07:23:43.053Z] Step 19/20 : LABEL git_sha=45443412991add32ba944d961954dcaa2e827a52 [2021-01-11T07:23:43.053Z] ---> Running in 366bcd00ab2f [2021-01-11T07:23:43.274Z] ---> docker-login.sh [2021-01-11T07:23:43.274Z] nexus3.edgexfoundry.org:10001 [2021-01-11T07:23:43.316Z] Removing intermediate container 366bcd00ab2f [2021-01-11T07:23:43.316Z] ---> ad3a3b1179b5 [2021-01-11T07:23:43.316Z] Step 20/20 : LABEL version=0.0.0 [2021-01-11T07:23:43.316Z] ---> Running in bac7762da987 [2021-01-11T07:23:43.316Z] Removing intermediate container bac7762da987 [2021-01-11T07:23:43.316Z] ---> 0cd4e9a18260 [2021-01-11T07:23:43.316Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-11T07:23:43.316Z] Successfully built 0cd4e9a18260 [2021-01-11T07:23:43.316Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [2021-01-11T07:23:44.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:23:44.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:23:44.534Z] Configure a credential helper to remove this warning. See [2021-01-11T07:23:44.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:23:44.534Z] [2021-01-11T07:23:44.534Z] Login Succeeded [2021-01-11T07:23:44.534Z] nexus3.edgexfoundry.org:10002 [2021-01-11T07:23:44.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:23:45.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:23:45.088Z] Configure a credential helper to remove this warning. See [2021-01-11T07:23:45.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:23:45.088Z] [2021-01-11T07:23:45.088Z] Login Succeeded [2021-01-11T07:23:45.088Z] nexus3.edgexfoundry.org:10003 [2021-01-11T07:23:45.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:23:45.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:23:45.636Z] Configure a credential helper to remove this warning. See [2021-01-11T07:23:45.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:23:45.636Z] [2021-01-11T07:23:45.636Z] Login Succeeded [2021-01-11T07:23:45.636Z] nexus3.edgexfoundry.org:10004 [2021-01-11T07:23:45.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:23:46.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:23:46.184Z] Configure a credential helper to remove this warning. See [2021-01-11T07:23:46.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:23:46.184Z] [2021-01-11T07:23:46.184Z] Login Succeeded [2021-01-11T07:23:46.184Z] docker.io [2021-01-11T07:23:46.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-11T07:23:46.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-11T07:23:46.741Z] Configure a credential helper to remove this warning. See [2021-01-11T07:23:46.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-11T07:23:46.741Z] [2021-01-11T07:23:46.741Z] Login Succeeded [2021-01-11T07:23:46.741Z] ---> docker-login.sh ends [Pipeline] } [2021-01-11T07:23:46.786Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-11T07:23:47.323Z] ========================================================= [2021-01-11T07:23:47.323Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-11T07:23:47.323Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:23:47.737Z] + 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 . [2021-01-11T07:23:48.015Z] Sending build context to Docker daemon 550.9kB [2021-01-11T07:23:48.015Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T07:23:48.015Z] Step 2/8 : FROM ${BASE} [2021-01-11T07:23:48.288Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-11T07:23:48.288Z] 5f621e34cdf4: Pulling fs layer [2021-01-11T07:23:48.288Z] a4357932f1b6: Pulling fs layer [2021-01-11T07:23:48.288Z] 18c013af1878: Pulling fs layer [2021-01-11T07:23:48.288Z] 00ac8860ef70: Pulling fs layer [2021-01-11T07:23:48.288Z] 63d7cb157983: Pulling fs layer [2021-01-11T07:23:48.288Z] b116817d02f9: Pulling fs layer [2021-01-11T07:23:48.288Z] 745a02a5169b: Pulling fs layer [2021-01-11T07:23:48.288Z] 63d7cb157983: Waiting [2021-01-11T07:23:48.288Z] b116817d02f9: Waiting [2021-01-11T07:23:48.288Z] 745a02a5169b: Waiting [2021-01-11T07:23:48.288Z] 00ac8860ef70: Waiting [2021-01-11T07:23:48.288Z] 18c013af1878: Verifying Checksum [2021-01-11T07:23:48.288Z] 18c013af1878: Download complete [2021-01-11T07:23:48.288Z] a4357932f1b6: Download complete [2021-01-11T07:23:48.887Z] 63d7cb157983: Download complete [2021-01-11T07:23:48.887Z] b116817d02f9: Verifying Checksum [2021-01-11T07:23:48.887Z] b116817d02f9: Download complete [2021-01-11T07:23:48.888Z] 5f621e34cdf4: Verifying Checksum [2021-01-11T07:23:48.888Z] 5f621e34cdf4: Download complete [2021-01-11T07:23:49.504Z] 5f621e34cdf4: Pull complete [2021-01-11T07:23:50.106Z] a4357932f1b6: Pull complete [2021-01-11T07:23:50.388Z] 18c013af1878: Pull complete [2021-01-11T07:23:51.365Z] 745a02a5169b: Verifying Checksum [2021-01-11T07:23:51.365Z] 745a02a5169b: Download complete [2021-01-11T07:23:52.792Z] 00ac8860ef70: Verifying Checksum [2021-01-11T07:23:52.792Z] 00ac8860ef70: Download complete [2021-01-11T07:23:59.046Z] Still waiting to schedule task [2021-01-11T07:23:59.046Z] ‘prd-ubuntu18.04-docker-8c-8g-19448’ is offline [2021-01-11T07:24:02.945Z] 00ac8860ef70: Pull complete [2021-01-11T07:24:02.945Z] 63d7cb157983: Pull complete [2021-01-11T07:24:02.945Z] b116817d02f9: Pull complete [2021-01-11T07:24:06.340Z] 745a02a5169b: Pull complete [2021-01-11T07:24:06.340Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-11T07:24:06.340Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-11T07:24:06.340Z] ---> b7e6874047d6 [2021-01-11T07:24:06.340Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-11T07:24:09.738Z] ---> Running in b3b146072ef6 [2021-01-11T07:24:09.738Z] Removing intermediate container b3b146072ef6 [2021-01-11T07:24:09.738Z] ---> 7970df0f93f6 [2021-01-11T07:24:09.738Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T07:24:09.738Z] ---> Running in 2fe20f539e08 [2021-01-11T07:24:12.376Z] Removing intermediate container 2fe20f539e08 [2021-01-11T07:24:12.376Z] ---> 27e340cd1ff7 [2021-01-11T07:24:12.376Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-11T07:24:12.376Z] ---> Running in bc94e9f6f6ab [2021-01-11T07:24:13.359Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-11T07:24:13.953Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-11T07:24:14.929Z] (1/14) Installing libmagic (5.38-r0) [2021-01-11T07:24:14.929Z] (2/14) Installing file (5.38-r0) [2021-01-11T07:24:15.202Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-11T07:24:15.202Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-11T07:24:18.590Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-11T07:24:18.590Z] (6/14) Installing patch (2.7.6-r6) [2021-01-11T07:24:18.590Z] (7/14) Installing build-base (0.5-r2) [2021-01-11T07:24:18.862Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-11T07:24:18.862Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-11T07:24:18.862Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-11T07:24:19.453Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-11T07:24:19.453Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-11T07:24:19.453Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-11T07:24:19.728Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-11T07:24:19.728Z] Executing busybox-1.31.1-r19.trigger [2021-01-11T07:24:19.728Z] OK: 221 MiB in 53 packages [2021-01-11T07:24:24.037Z] Removing intermediate container bc94e9f6f6ab [2021-01-11T07:24:24.037Z] ---> 88dbc7faba60 [2021-01-11T07:24:24.037Z] Step 6/8 : WORKDIR /device-modbus-go [2021-01-11T07:24:24.037Z] ---> Running in 9d5f5092020e [2021-01-11T07:24:24.313Z] Removing intermediate container 9d5f5092020e [2021-01-11T07:24:24.313Z] ---> b71f2784aff4 [2021-01-11T07:24:24.313Z] Step 7/8 : COPY . . [2021-01-11T07:24:25.291Z] ---> a74be0f80e91 [2021-01-11T07:24:25.291Z] Step 8/8 : RUN go mod download [2021-01-11T07:24:25.563Z] ---> Running in 851bd5d644f8 [2021-01-11T07:24:44.976Z] Running on prd-ubuntu18.04-docker-8c-8g-19453 in /w/workspace/xfoundry_device-modbus-go_PR-213 [Pipeline] { [Pipeline] ws [2021-01-11T07:24:45.066Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2021-01-11T07:24:47.139Z] using credential edgex-jenkins-ssh [2021-01-11T07:24:47.189Z] Cloning the remote Git repository [2021-01-11T07:24:47.203Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-01-11T07:24:47.265Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2021-01-11T07:24:47.302Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-11T07:24:47.302Z] > git --version # timeout=10 [2021-01-11T07:24:47.308Z] > git --version # 'git version 2.17.1' [2021-01-11T07:24:47.309Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T07:24:47.335Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T07:24:47.760Z] Removing intermediate container 851bd5d644f8 [2021-01-11T07:24:47.760Z] ---> 0ea9b3ad2bae [2021-01-11T07:24:47.760Z] Successfully built 0ea9b3ad2bae [2021-01-11T07:24:47.760Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:24:48.127Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T07:24:48.127Z] . [Pipeline] withDockerContainer [2021-01-11T07:24:48.422Z] prd-ubuntu18.04-docker-arm64-4c-16g-19452 does not seem to be running inside a container [2021-01-11T07:24:48.492Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 [2021-01-11T07:24:48.552Z] Merging remotes/origin/master commit 15ac84f23aa11eeb9442daa2d5db1053a10c3bad into PR head commit 45443412991add32ba944d961954dcaa2e827a52 [2021-01-11T07:24:47.928Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-11T07:24:47.936Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-11T07:24:47.945Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-11T07:24:47.958Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-11T07:24:47.958Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-11T07:24:47.963Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-11T07:24:48.553Z] > git config core.sparsecheckout # timeout=10 [2021-01-11T07:24:48.559Z] > git checkout -f 45443412991add32ba944d961954dcaa2e827a52 # timeout=10 [2021-01-11T07:24:50.011Z] $ docker top 76724778b8232c54a4400471933177d7c7f44b7a28daaa527af28adb10a2e2ed -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] sh [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-01-11T07:24:51.293Z] + go version [2021-01-11T07:24:51.293Z] go version go1.15.5 linux/arm64 [Pipeline] // withEnv [Pipeline] } [Pipeline] } [2021-01-11T07:24:51.432Z] $ docker stop --time=1 76724778b8232c54a4400471933177d7c7f44b7a28daaa527af28adb10a2e2ed [2021-01-11T07:24:53.355Z] $ docker rm -f 76724778b8232c54a4400471933177d7c7f44b7a28daaa527af28adb10a2e2ed [Pipeline] // ws [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [2021-01-11T07:24:54.357Z] Failed in branch amd64 [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:24:55.048Z] + docker inspect -f . ci-base-image-arm64 [2021-01-11T07:24:55.048Z] . [Pipeline] withDockerContainer [2021-01-11T07:24:55.326Z] prd-ubuntu18.04-docker-arm64-4c-16g-19452 does not seem to be running inside a container [2021-01-11T07:24:55.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 [2021-01-11T07:24:56.898Z] $ docker top 4a038e5d37866f5ae513271b461bbae78e1cc4b4189a4c4cf54fd58ce348cf6c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T07:24:57.977Z] + make test [2021-01-11T07:24:57.977Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-11T07:24:58.975Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-01-11T07:25:31.401Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-01-11T07:25:31.401Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.355s coverage: 50.3% of statements [2021-01-11T07:25:31.401Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-11T07:25:38.126Z] gofmt -l . [2021-01-11T07:25:38.126Z] [ "`gofmt -l .`" = "" ] [2021-01-11T07:25:38.126Z] ./bin/test-attribution-txt.sh [2021-01-11T07:25:39.111Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-11T07:25:39.409Z] $ docker stop --time=1 4a038e5d37866f5ae513271b461bbae78e1cc4b4189a4c4cf54fd58ce348cf6c [2021-01-11T07:25:41.632Z] $ docker rm -f 4a038e5d37866f5ae513271b461bbae78e1cc4b4189a4c4cf54fd58ce348cf6c [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-11T07:25:42.556Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-11T07:25:42.595Z] Warning: overwriting stash ‘coverage-report’ [2021-01-11T07:25:43.370Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-11T07:25:44.268Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-11T07:25:44.670Z] + ls -al . [2021-01-11T07:25:44.670Z] total 136 [2021-01-11T07:25:44.670Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 07:25 . [2021-01-11T07:25:44.670Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 07:23 .. [2021-01-11T07:25:44.670Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 07:23 .dockerignore [2021-01-11T07:25:44.670Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 07:23 .git [2021-01-11T07:25:44.670Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 07:23 .github [2021-01-11T07:25:44.670Z] -rw-rw-r-- 1 jenkins jenkins 338 Jan 11 07:23 .gitignore [2021-01-11T07:25:44.670Z] -rw-rw-r-- 1 jenkins jenkins 5589 Jan 11 07:23 Attribution.txt [2021-01-11T07:25:44.670Z] -rw-rw-r-- 1 jenkins jenkins 1434 Jan 11 07:23 Dockerfile [2021-01-11T07:25:44.670Z] -rw-rw-r-- 1 jenkins jenkins 958 Jan 11 07:23 Dockerfile.build [2021-01-11T07:25:44.670Z] -rw-rw-r-- 1 jenkins jenkins 679 Jan 11 07:23 Jenkinsfile [2021-01-11T07:25:44.670Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 07:23 LICENSE [2021-01-11T07:25:44.670Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 07:23 Makefile [2021-01-11T07:25:44.670Z] -rw-rw-r-- 1 jenkins jenkins 591 Jan 11 07:23 README.md [2021-01-11T07:25:44.670Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 07:19 VERSION [2021-01-11T07:25:44.670Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 07:23 bin [2021-01-11T07:25:44.670Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 07:23 cmd [2021-01-11T07:25:44.670Z] -rw-r--r-- 1 jenkins jenkins 22362 Jan 11 07:25 coverage.out [2021-01-11T07:25:44.670Z] -rw-r--r-- 1 jenkins jenkins 517 Jan 11 07:25 go.mod [2021-01-11T07:25:44.670Z] -rw-r--r-- 1 jenkins jenkins 14838 Jan 11 07:25 go.sum [2021-01-11T07:25:44.670Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 07:23 internal [2021-01-11T07:25:44.670Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 07:23 simulator [2021-01-11T07:25:44.670Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 07:23 snap [2021-01-11T07:25:44.670Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 11 07:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:25:45.160Z] + docker build -t docker-device-modbus-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=45443412991add32ba944d961954dcaa2e827a52 --label arch=arm64 --label version=0.0.0 . [2021-01-11T07:25:45.444Z] Sending build context to Docker daemon 582.1kB [2021-01-11T07:25:45.723Z] Step 1/20 : ARG BASE=golang:1.15-alpine3.12 [2021-01-11T07:25:45.723Z] Step 2/20 : FROM ${BASE} AS builder [2021-01-11T07:25:45.723Z] ---> 0ea9b3ad2bae [2021-01-11T07:25:45.723Z] Step 3/20 : ARG MAKE='make build' [2021-01-11T07:25:45.999Z] ---> Running in 9ac8a59ab457 [2021-01-11T07:25:46.279Z] Removing intermediate container 9ac8a59ab457 [2021-01-11T07:25:46.279Z] ---> 5c651c371521 [2021-01-11T07:25:46.279Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-11T07:25:46.558Z] ---> Running in f620dd56220b [2021-01-11T07:25:48.536Z] Removing intermediate container f620dd56220b [2021-01-11T07:25:48.536Z] ---> 0d60c03d1f56 [2021-01-11T07:25:48.536Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2021-01-11T07:25:48.811Z] ---> Running in 38f18abbbbce [2021-01-11T07:25:49.790Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-11T07:25:50.767Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-11T07:25:51.361Z] OK: 221 MiB in 53 packages [2021-01-11T07:25:52.345Z] Removing intermediate container 38f18abbbbce [2021-01-11T07:25:52.345Z] ---> bfcf8bd14779 [2021-01-11T07:25:52.345Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2021-01-11T07:25:52.629Z] ---> Running in cfa7c630a195 [2021-01-11T07:25:53.227Z] Removing intermediate container cfa7c630a195 [2021-01-11T07:25:53.227Z] ---> e46c0a1fce97 [2021-01-11T07:25:53.227Z] Step 7/20 : COPY . . [2021-01-11T07:25:54.210Z] ---> aab308f49ef3 [2021-01-11T07:25:54.210Z] Step 8/20 : RUN ${MAKE} [2021-01-11T07:25:54.210Z] ---> Running in a1c0a369d1ab [2021-01-11T07:25:55.656Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2021-01-11T07:26:22.508Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-01-11T07:26:25.914Z] Removing intermediate container a1c0a369d1ab [2021-01-11T07:26:25.914Z] ---> cffa7932e2be [2021-01-11T07:26:25.914Z] Step 9/20 : FROM scratch [2021-01-11T07:26:25.914Z] ---> [2021-01-11T07:26:25.914Z] Step 10/20 : ENV APP_PORT=49991 [2021-01-11T07:26:25.914Z] ---> Running in 97e6a59b0c2d [2021-01-11T07:26:26.514Z] Removing intermediate container 97e6a59b0c2d [2021-01-11T07:26:26.514Z] ---> ca3c40c14b29 [2021-01-11T07:26:26.514Z] Step 11/20 : EXPOSE $APP_PORT [2021-01-11T07:26:26.514Z] ---> Running in 60d43fd6a8e7 [2021-01-11T07:26:26.787Z] Removing intermediate container 60d43fd6a8e7 [2021-01-11T07:26:26.787Z] ---> 05258977c1d2 [2021-01-11T07:26:26.787Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2021-01-11T07:26:28.218Z] ---> 9564bbe27ab5 [2021-01-11T07:26:28.218Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2021-01-11T07:26:28.811Z] ---> e2c514a61ecf [2021-01-11T07:26:28.811Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2021-01-11T07:26:29.404Z] ---> 7cc31ea1fee1 [2021-01-11T07:26:29.404Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2021-01-11T07:26:29.683Z] ---> Running in 2345d90e1052 [2021-01-11T07:26:29.956Z] Removing intermediate container 2345d90e1052 [2021-01-11T07:26:29.956Z] ---> ef1868157681 [2021-01-11T07:26:29.956Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2021-01-11T07:26:30.227Z] ---> Running in e9a86e2b4107 [2021-01-11T07:26:30.504Z] Removing intermediate container e9a86e2b4107 [2021-01-11T07:26:30.504Z] ---> 8a004e760706 [2021-01-11T07:26:30.504Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-11T07:26:30.786Z] ---> Running in 6cc4fdde96fa [2021-01-11T07:26:31.059Z] Removing intermediate container 6cc4fdde96fa [2021-01-11T07:26:31.059Z] ---> a28d8d58704c [2021-01-11T07:26:31.059Z] Step 18/20 : LABEL arch=arm64 [2021-01-11T07:26:31.330Z] ---> Running in 033e40b19adb [2021-01-11T07:26:31.602Z] Removing intermediate container 033e40b19adb [2021-01-11T07:26:31.602Z] ---> b64bd9c540a6 [2021-01-11T07:26:31.602Z] Step 19/20 : LABEL git_sha=45443412991add32ba944d961954dcaa2e827a52 [2021-01-11T07:26:31.876Z] ---> Running in 793809035c03 [2021-01-11T07:26:32.471Z] Removing intermediate container 793809035c03 [2021-01-11T07:26:32.471Z] ---> 26c9a755a9e5 [2021-01-11T07:26:32.471Z] Step 20/20 : LABEL version=0.0.0 [2021-01-11T07:26:32.471Z] ---> Running in 0cf14e0d6671 [2021-01-11T07:26:32.748Z] Removing intermediate container 0cf14e0d6671 [2021-01-11T07:26:32.748Z] ---> a5e0bb1fb51b [2021-01-11T07:26:32.748Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-11T07:26:32.748Z] Successfully built a5e0bb1fb51b [2021-01-11T07:26:33.021Z] Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (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 [2021-01-11T07:26:38.706Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:26:39.319Z] ---> package-listing.sh [2021-01-11T07:26:39.319Z] ++ facter osfamily [2021-01-11T07:26:39.319Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-11T07:26:39.319Z] + OS_FAMILY=redhat [2021-01-11T07:26:39.319Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-213 [2021-01-11T07:26:39.319Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-11T07:26:39.319Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-11T07:26:39.319Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-11T07:26:39.319Z] + PACKAGES=/tmp/packages_start.txt [2021-01-11T07:26:39.319Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-213 ']' [2021-01-11T07:26:39.319Z] + PACKAGES=/tmp/packages_end.txt [2021-01-11T07:26:39.319Z] + case "${OS_FAMILY}" in [2021-01-11T07:26:39.319Z] + rpm -qa [2021-01-11T07:26:39.319Z] + sort [2021-01-11T07:26:44.665Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-11T07:26:44.665Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-11T07:26:44.665Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-11T07:26:44.665Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-213 ']' [2021-01-11T07:26:44.665Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-213/archives/ [2021-01-11T07:26:44.665Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-213/archives/ [Pipeline] echo [2021-01-11T07:26:44.716Z] 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-213/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-11T07:26:45.040Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:26:45.391Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T07:26:45.655Z] [2021-01-11T07:26:45.655Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-11T07:26:46.053Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T07:26:46.054Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-11T07:26:46.054Z] df20fa9351a1: Pulling fs layer [2021-01-11T07:26:46.054Z] 36b3adc4ff6f: Pulling fs layer [2021-01-11T07:26:46.054Z] 8ad3a11d3b57: Pulling fs layer [2021-01-11T07:26:46.054Z] 46f8f816bc3b: Pulling fs layer [2021-01-11T07:26:46.054Z] 93b61091891f: Pulling fs layer [2021-01-11T07:26:46.054Z] 93b9cdb0e59b: Pulling fs layer [2021-01-11T07:26:46.054Z] 5e14af77c1be: Pulling fs layer [2021-01-11T07:26:46.054Z] 01666e4c0597: Pulling fs layer [2021-01-11T07:26:46.054Z] aa168da1d23b: Pulling fs layer [2021-01-11T07:26:46.054Z] 46f8f816bc3b: Waiting [2021-01-11T07:26:46.054Z] 93b61091891f: Waiting [2021-01-11T07:26:46.054Z] 93b9cdb0e59b: Waiting [2021-01-11T07:26:46.054Z] 5e14af77c1be: Waiting [2021-01-11T07:26:46.054Z] 01666e4c0597: Waiting [2021-01-11T07:26:46.054Z] aa168da1d23b: Waiting [2021-01-11T07:26:46.054Z] 36b3adc4ff6f: Verifying Checksum [2021-01-11T07:26:46.054Z] 36b3adc4ff6f: Download complete [2021-01-11T07:26:46.054Z] 46f8f816bc3b: Download complete [2021-01-11T07:26:46.054Z] df20fa9351a1: Verifying Checksum [2021-01-11T07:26:46.054Z] df20fa9351a1: Download complete [2021-01-11T07:26:46.316Z] 93b9cdb0e59b: Verifying Checksum [2021-01-11T07:26:46.316Z] 93b9cdb0e59b: Download complete [2021-01-11T07:26:46.316Z] 5e14af77c1be: Verifying Checksum [2021-01-11T07:26:46.316Z] 5e14af77c1be: Download complete [2021-01-11T07:26:46.316Z] 93b61091891f: Verifying Checksum [2021-01-11T07:26:46.316Z] 93b61091891f: Download complete [2021-01-11T07:26:46.316Z] 01666e4c0597: Verifying Checksum [2021-01-11T07:26:46.316Z] 01666e4c0597: Download complete [2021-01-11T07:26:46.316Z] 8ad3a11d3b57: Verifying Checksum [2021-01-11T07:26:46.316Z] 8ad3a11d3b57: Download complete [2021-01-11T07:26:46.587Z] df20fa9351a1: Pull complete [2021-01-11T07:26:46.854Z] 36b3adc4ff6f: Pull complete [2021-01-11T07:26:48.288Z] 8ad3a11d3b57: Pull complete [2021-01-11T07:26:48.288Z] 46f8f816bc3b: Pull complete [2021-01-11T07:26:48.288Z] aa168da1d23b: Verifying Checksum [2021-01-11T07:26:48.288Z] aa168da1d23b: Download complete [2021-01-11T07:26:48.553Z] 93b61091891f: Pull complete [2021-01-11T07:26:48.816Z] 93b9cdb0e59b: Pull complete [2021-01-11T07:26:48.816Z] 5e14af77c1be: Pull complete [2021-01-11T07:26:49.085Z] 01666e4c0597: Pull complete [2021-01-11T07:26:55.805Z] aa168da1d23b: Pull complete [2021-01-11T07:26:55.805Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-11T07:26:55.805Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-11T07:26:55.805Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-11T07:26:56.053Z] prd-centos7-docker-4c-2g-19449 does not seem to be running inside a container [2021-01-11T07:26:56.105Z] $ 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-213/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-213 -v /w/workspace/xfoundry_device-modbus-go_PR-213:/w/workspace/xfoundry_device-modbus-go_PR-213:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-213@tmp:/w/workspace/xfoundry_device-modbus-go_PR-213@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 [2021-01-11T07:27:01.486Z] $ docker top 9d49a880240b77a78faf69ae33a0c0dadf17da59f1da4e46685d453daa945b9b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-11T07:27:02.138Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-11T07:27:02.470Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-11T07:27:02.835Z] + ls /var/log/sa-host [2021-01-11T07:27:02.836Z] + sadf -c /var/log/sa-host/sa11 [2021-01-11T07:27:02.836Z] file_magic: OK [2021-01-11T07:27:02.836Z] HZ: Using current value: 100 [2021-01-11T07:27:02.836Z] file_header: OK [2021-01-11T07:27:02.836Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-11T07:27:02.836Z] Statistics: [2021-01-11T07:27:02.836Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-11T07:27:02.836Z] File successfully converted to sysstat format version 12.2.1 [2021-01-11T07:27:02.836Z] + sadf -c /var/log/sa-host/sa23 [2021-01-11T07:27:02.836Z] file_magic: OK [2021-01-11T07:27:02.836Z] HZ: Using current value: 100 [2021-01-11T07:27:02.836Z] file_header: OK [2021-01-11T07:27:02.836Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-11T07:27:02.836Z] Statistics: [2021-01-11T07:27:02.836Z] Hnuu...uuuununununu... [2021-01-11T07:27:02.836Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-11T07:27:03.510Z] provisioning config files... [2021-01-11T07:27:03.529Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-213@tmp/config1199490405955551370tmp [Pipeline] { [Pipeline] echo [2021-01-11T07:27:03.665Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:27:04.015Z] ---> create-netrc.sh [Pipeline] } [2021-01-11T07:27:04.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-11T07:27:04.180Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:27:04.525Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-11T07:27:04.555Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:27:04.893Z] ---> sudo-logs.sh [2021-01-11T07:27:04.893Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-11T07:27:04.920Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:27:05.256Z] ---> job-cost.sh [2021-01-11T07:27:05.256Z] lf-activate-venv: SKIPPING [2021-01-11T07:27:05.256Z] INFO: No Stack... [2021-01-11T07:27:06.217Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-11T07:27:06.488Z] INFO: Archiving Costs [Pipeline] echo [2021-01-11T07:27:06.527Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-11T07:27:06.873Z] ---> logs-deploy.sh [2021-01-11T07:27:06.873Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-213/1 [2021-01-11T07:27:06.873Z] INFO: archiving workspace using pattern(s): [2021-01-11T07:27:08.802Z] Archives upload complete. [2021-01-11T07:27:08.802Z] INFO: archiving logs to Nexus