Pull request #171 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 wlgardner for edgexfoundry/device-modbus-go Loading trusted files from base branch master at 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 rather than 9ef0680c5d86ba487d3e006f4561e017769502e7 Obtained Jenkinsfile from 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 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 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 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 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 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-171/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 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 # timeout=10 Commit message: "Merge pull request #236 from ernestojeda/update-log-publish-steps" > 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. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, goVersion:1.13, 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.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1287 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-171 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/171/head:refs/remotes/origin/PR-171 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 into PR head commit 9ef0680c5d86ba487d3e006f4561e017769502e7 Merge succeeded, producing bcc30812b05e1d6bda7ad89eb87dd16b42070813 Checking out Revision bcc30812b05e1d6bda7ad89eb87dd16b42070813 (PR-171) > git config core.sparsecheckout # timeout=10 > git checkout -f 9ef0680c5d86ba487d3e006f4561e017769502e7 # 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 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bcc30812b05e1d6bda7ad89eb87dd16b42070813 # timeout=10 Commit message: "Merge commit '1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-03T16:36:45.053Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-03T16:36:45.373Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-03T16:36:45.577Z] ========================================================= [2020-09-03T16:36:45.577Z] EdgeX Global Pipelines Version Info [2020-09-03T16:36:45.577Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-03T16:36:48.536Z] ------------------- [2020-09-03T16:36:48.536Z] stable info: [2020-09-03T16:36:48.536Z] ------------------- [2020-09-03T16:36:48.536Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-03T16:36:48.536Z] Commit SHA: 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 [2020-09-03T16:36:48.536Z] Message: update stable to v1.0.117 [2020-09-03T16:36:49.539Z] ------------------- [2020-09-03T16:36:49.539Z] experimental info: [2020-09-03T16:36:49.539Z] ------------------- [2020-09-03T16:36:49.539Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-03T16:36:49.539Z] Commit SHA: 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 [2020-09-03T16:36:49.539Z] Message: update experimental to v1.0.117 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-03T16:36:49.998Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-09-03T16:36:50.123Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2020-09-03T16:36:50.323Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-03T16:36:50.529Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-03T16:36:50.727Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-03T16:36:50.884Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-03T16:36:50.989Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-03T16:36:51.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-03T16:36:51.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-03T16:36:51.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-03T16:36:51.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-03T16:36:51.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2020-09-03T16:36:51.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-03T16:36:51.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-03T16:36:51.899Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-03T16:36:52.001Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-03T16:36:52.105Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-03T16:36:52.210Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-03T16:36:52.336Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-03T16:36:52.440Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-09-03T16:36:52.623Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-03T16:36:53.226Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-03T16:36:53.343Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo [2020-09-03T16:36:53.452Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo [2020-09-03T16:36:53.581Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo [2020-09-03T16:36:53.689Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bcc30812b05e1d6bda7ad89eb87dd16b42070813 [Pipeline] echo [2020-09-03T16:36:53.802Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bcc3081 [Pipeline] echo [2020-09-03T16:36:53.917Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-03T16:36:54.653Z] + git log --format=format:%s -1 bcc30812b05e1d6bda7ad89eb87dd16b42070813 [Pipeline] echo [2020-09-03T16:36:54.749Z] GIT_COMMIT: bcc30812b05e1d6bda7ad89eb87dd16b42070813, Commit Message: Merge commit '1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1' into HEAD [Pipeline] echo [2020-09-03T16:36:54.817Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-03T16:36:55.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-03T16:36:56.307Z] [2020-09-03T16:36:56.307Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-03T16:36:56.694Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-03T16:36:56.975Z] latest: Pulling from edgex-devops/git-semver [2020-09-03T16:36:56.975Z] 31603596830f: Pulling fs layer [2020-09-03T16:36:56.975Z] 2a8b12db71e7: Pulling fs layer [2020-09-03T16:36:56.975Z] 6ca5941a6612: Pulling fs layer [2020-09-03T16:36:56.975Z] ecc8261a40a4: Pulling fs layer [2020-09-03T16:36:56.975Z] ecc8261a40a4: Waiting [2020-09-03T16:36:56.975Z] 2a8b12db71e7: Verifying Checksum [2020-09-03T16:36:56.975Z] 2a8b12db71e7: Download complete [2020-09-03T16:36:56.975Z] 31603596830f: Verifying Checksum [2020-09-03T16:36:56.975Z] 31603596830f: Download complete [2020-09-03T16:36:56.975Z] ecc8261a40a4: Verifying Checksum [2020-09-03T16:36:56.975Z] ecc8261a40a4: Download complete [2020-09-03T16:36:57.265Z] 6ca5941a6612: Verifying Checksum [2020-09-03T16:36:57.265Z] 6ca5941a6612: Download complete [2020-09-03T16:36:57.533Z] 31603596830f: Pull complete [2020-09-03T16:36:57.799Z] 2a8b12db71e7: Pull complete [2020-09-03T16:36:59.297Z] 6ca5941a6612: Pull complete [2020-09-03T16:36:59.561Z] ecc8261a40a4: Pull complete [2020-09-03T16:36:59.561Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-03T16:36:59.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-03T16:36:59.561Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-03T16:36:59.715Z] prd-centos7-docker-4c-2g-1287 does not seem to be running inside a container [2020-09-03T16:36:59.801Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-171 -v /w/workspace/xfoundry_device-modbus-go_PR-171:/w/workspace/xfoundry_device-modbus-go_PR-171:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-171@tmp:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-03T16:37:02.333Z] $ docker top 925162ef2229dd7fcc32b208f610af455a5199ce82714460013fda7d3ca48bec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-03T16:37:02.838Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-03T16:37:02.838Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-03T16:37:03.219Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-03T16:37:03.223Z] $ docker exec 925162ef2229dd7fcc32b208f610af455a5199ce82714460013fda7d3ca48bec ssh-agent [2020-09-03T16:37:03.400Z] SSH_AUTH_SOCK=/tmp/ssh-Ka9I2ECRBMvg/agent.12 [2020-09-03T16:37:03.400Z] SSH_AGENT_PID=17 [2020-09-03T16:37:03.421Z] Running ssh-add (command line suppressed) [2020-09-03T16:37:03.564Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_2545001122218073318.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_2545001122218073318.key) [2020-09-03T16:37:03.650Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-03T16:37:04.037Z] + git describe --exact-match --tags HEAD [2020-09-03T16:37:04.037Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-03T16:37:04.094Z] $ docker exec --env ******** --env ******** 925162ef2229dd7fcc32b208f610af455a5199ce82714460013fda7d3ca48bec ssh-agent -k [2020-09-03T16:37:04.244Z] unset SSH_AUTH_SOCK; [2020-09-03T16:37:04.244Z] unset SSH_AGENT_PID; [2020-09-03T16:37:04.244Z] echo Agent pid 17 killed; [2020-09-03T16:37:04.295Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-03T16:37:04.441Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-03T16:37:04.441Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-03T16:37:04.571Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-03T16:37:04.571Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-03T16:37:04.793Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-03T16:37:04.797Z] $ docker exec 925162ef2229dd7fcc32b208f610af455a5199ce82714460013fda7d3ca48bec ssh-agent [2020-09-03T16:37:05.012Z] SSH_AUTH_SOCK=/tmp/ssh-B6eU288qMw55/agent.47 [2020-09-03T16:37:05.012Z] SSH_AGENT_PID=53 [2020-09-03T16:37:05.020Z] Running ssh-add (command line suppressed) [2020-09-03T16:37:05.209Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_3683284533862654339.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_3683284533862654339.key) [2020-09-03T16:37:05.268Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-03T16:37:05.649Z] + git semver init [2020-09-03T16:37:05.649Z] # -> Open(): unable to determine branch for HEAD [2020-09-03T16:37:05.649Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.git [2020-09-03T16:37:05.649Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-171 [2020-09-03T16:37:05.649Z] # $SEMVER_REMOTE_NAME = origin [2020-09-03T16:37:05.649Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-03T16:37:05.649Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-03T16:37:05.649Z] # $SEMVER_BRANCH = PR-171 [2020-09-03T16:37:05.649Z] # $SEMVER_TEMP = /tmp/semver-609905118 [2020-09-03T16:37:05.649Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-09-03T16:37:06.234Z] # '/tmp/semver-609905118' -> '/w/workspace/xfoundry_device-modbus-go_PR-171/.semver' [2020-09-03T16:37:06.234Z] # -> Force: false [2020-09-03T16:37:06.234Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.semver [Pipeline] } [2020-09-03T16:37:06.274Z] $ docker exec --env ******** --env ******** 925162ef2229dd7fcc32b208f610af455a5199ce82714460013fda7d3ca48bec ssh-agent -k [2020-09-03T16:37:06.512Z] unset SSH_AUTH_SOCK; [2020-09-03T16:37:06.513Z] unset SSH_AGENT_PID; [2020-09-03T16:37:06.513Z] echo Agent pid 53 killed; [2020-09-03T16:37:06.567Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-03T16:37:07.228Z] + git semver [Pipeline] } [2020-09-03T16:37:07.336Z] $ docker stop --time=1 925162ef2229dd7fcc32b208f610af455a5199ce82714460013fda7d3ca48bec [2020-09-03T16:37:08.775Z] $ docker rm -f 925162ef2229dd7fcc32b208f610af455a5199ce82714460013fda7d3ca48bec [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-03T16:37:09.767Z] Stashed 28 file(s) [Pipeline] echo [2020-09-03T16:37:09.791Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-03T16:37:09.905Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-03T16:37:25.875Z] Still waiting to schedule task [2020-09-03T16:37:25.875Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-03T16:37:25.903Z] Still waiting to schedule task [2020-09-03T16:37:25.903Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-03T16:39:27.139Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1288 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws [2020-09-03T16:39:27.221Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-09-03T16:39:31.997Z] using credential edgex-jenkins-ssh [2020-09-03T16:39:32.046Z] Cloning the remote Git repository [2020-09-03T16:39:32.046Z] Cloning with configured refspecs honoured and without tags [2020-09-03T16:39:32.099Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-03T16:39:32.212Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-09-03T16:39:32.290Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-03T16:39:32.291Z] > git --version # timeout=10 [2020-09-03T16:39:32.307Z] > git --version # 'git version 2.17.1' [2020-09-03T16:39:32.309Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-03T16:39:33.053Z] Fetching without tags [2020-09-03T16:39:33.546Z] Merging remotes/origin/master commit 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 into PR head commit 9ef0680c5d86ba487d3e006f4561e017769502e7 [2020-09-03T16:39:32.387Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-03T16:39:32.988Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-03T16:39:33.011Z] > git config --add remote.origin.fetch +refs/pull/171/head:refs/remotes/origin/PR-171 # timeout=10 [2020-09-03T16:39:33.024Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-03T16:39:33.045Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-03T16:39:33.069Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-03T16:39:33.070Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-03T16:39:33.084Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-03T16:39:33.801Z] Merge succeeded, producing ba21295c0041c447dd83b685cb8e244a6cee31f1 [2020-09-03T16:39:33.801Z] Checking out Revision ba21295c0041c447dd83b685cb8e244a6cee31f1 (PR-171) [2020-09-03T16:39:33.570Z] > git config core.sparsecheckout # timeout=10 [2020-09-03T16:39:33.583Z] > git checkout -f 9ef0680c5d86ba487d3e006f4561e017769502e7 # timeout=10 [2020-09-03T16:39:33.658Z] > git remote # timeout=10 [2020-09-03T16:39:33.673Z] > git config --get remote.origin.url # timeout=10 [2020-09-03T16:39:33.684Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-03T16:39:33.695Z] > git merge 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 # timeout=10 [2020-09-03T16:39:33.744Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-03T16:39:33.813Z] > git config core.sparsecheckout # timeout=10 [2020-09-03T16:39:33.855Z] > git checkout -f ba21295c0041c447dd83b685cb8e244a6cee31f1 # timeout=10 [2020-09-03T16:39:38.009Z] Commit message: "Merge commit '1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1' into HEAD" [2020-09-03T16:39:38.009Z] First time build. Skipping changelog. [2020-09-03T16:39:38.069Z] > git --version # timeout=10 [2020-09-03T16:39:38.079Z] > git --version # 'git version 2.17.1' [2020-09-03T16:39:38.095Z] fatal: bad object 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-03T16:39:39.201Z] ========================================================= [2020-09-03T16:39:39.201Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-03T16:39:39.201Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-03T16:39:40.323Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-09-03T16:39:41.314Z] Sending build context to Docker daemon 686.6kB [2020-09-03T16:39:41.315Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-03T16:39:41.315Z] Step 2/8 : FROM ${BASE} [2020-09-03T16:39:41.594Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-03T16:39:41.594Z] b538f80385f9: Pulling fs layer [2020-09-03T16:39:41.594Z] 74f711af9a0d: Pulling fs layer [2020-09-03T16:39:41.594Z] 99f96fe45779: Pulling fs layer [2020-09-03T16:39:41.594Z] fd7a069fd194: Pulling fs layer [2020-09-03T16:39:41.594Z] 66aa3694b03b: Pulling fs layer [2020-09-03T16:39:41.594Z] 170f70906a0f: Pulling fs layer [2020-09-03T16:39:41.594Z] ad7c5574e4b9: Pulling fs layer [2020-09-03T16:39:41.594Z] e772456be8f7: Pulling fs layer [2020-09-03T16:39:41.594Z] c890913d741a: Pulling fs layer [2020-09-03T16:39:41.594Z] 2480fcc9aa5a: Pulling fs layer [2020-09-03T16:39:41.594Z] 09adf4765672: Pulling fs layer [2020-09-03T16:39:41.594Z] fd7a069fd194: Waiting [2020-09-03T16:39:41.594Z] 66aa3694b03b: Waiting [2020-09-03T16:39:41.594Z] 170f70906a0f: Waiting [2020-09-03T16:39:41.594Z] ad7c5574e4b9: Waiting [2020-09-03T16:39:41.594Z] e772456be8f7: Waiting [2020-09-03T16:39:41.594Z] c890913d741a: Waiting [2020-09-03T16:39:41.594Z] 2480fcc9aa5a: Waiting [2020-09-03T16:39:41.594Z] 09adf4765672: Waiting [2020-09-03T16:39:41.594Z] 99f96fe45779: Verifying Checksum [2020-09-03T16:39:41.594Z] 99f96fe45779: Download complete [2020-09-03T16:39:41.594Z] 74f711af9a0d: Verifying Checksum [2020-09-03T16:39:41.594Z] 74f711af9a0d: Download complete [2020-09-03T16:39:41.594Z] 66aa3694b03b: Download complete [2020-09-03T16:39:41.594Z] 170f70906a0f: Verifying Checksum [2020-09-03T16:39:41.594Z] 170f70906a0f: Download complete [2020-09-03T16:39:41.594Z] b538f80385f9: Verifying Checksum [2020-09-03T16:39:41.594Z] b538f80385f9: Download complete [2020-09-03T16:39:42.216Z] Running on prd-centos7-docker-4c-2g-1290 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws [2020-09-03T16:39:42.295Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-09-03T16:39:42.576Z] b538f80385f9: Pull complete [2020-09-03T16:39:43.200Z] 74f711af9a0d: Pull complete [2020-09-03T16:39:43.800Z] 99f96fe45779: Pull complete [2020-09-03T16:39:44.779Z] ad7c5574e4b9: Verifying Checksum [2020-09-03T16:39:44.779Z] ad7c5574e4b9: Download complete [2020-09-03T16:39:44.779Z] c890913d741a: Download complete [2020-09-03T16:39:44.860Z] using credential edgex-jenkins-ssh [2020-09-03T16:39:44.910Z] Cloning the remote Git repository [2020-09-03T16:39:44.910Z] Cloning with configured refspecs honoured and without tags [2020-09-03T16:39:44.898Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-03T16:39:44.967Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-09-03T16:39:45.346Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-03T16:39:45.347Z] > git --version # timeout=10 [2020-09-03T16:39:45.357Z] > git --version # 'git version 2.16.5' [2020-09-03T16:39:45.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-03T16:39:45.604Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-03T16:39:46.156Z] Fetching without tags [2020-09-03T16:39:46.562Z] Merging remotes/origin/master commit 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 into PR head commit 9ef0680c5d86ba487d3e006f4561e017769502e7 [2020-09-03T16:39:46.659Z] Merge succeeded, producing ae112289482072f8232937eb4f33a37ad2bef290 [2020-09-03T16:39:46.660Z] Checking out Revision ae112289482072f8232937eb4f33a37ad2bef290 (PR-171) [2020-09-03T16:39:46.780Z] 2480fcc9aa5a: Verifying Checksum [2020-09-03T16:39:46.780Z] 2480fcc9aa5a: Download complete [2020-09-03T16:39:46.780Z] 09adf4765672: Verifying Checksum [2020-09-03T16:39:46.780Z] 09adf4765672: Download complete [2020-09-03T16:39:46.780Z] e772456be8f7: Download complete [2020-09-03T16:39:46.107Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-03T16:39:46.117Z] > git config --add remote.origin.fetch +refs/pull/171/head:refs/remotes/origin/PR-171 # timeout=10 [2020-09-03T16:39:46.126Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-03T16:39:46.150Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-03T16:39:46.162Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-03T16:39:46.162Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-03T16:39:46.167Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-03T16:39:46.578Z] > git config core.sparsecheckout # timeout=10 [2020-09-03T16:39:46.585Z] > git checkout -f 9ef0680c5d86ba487d3e006f4561e017769502e7 # timeout=10 [2020-09-03T16:39:46.618Z] > git remote # timeout=10 [2020-09-03T16:39:46.625Z] > git config --get remote.origin.url # timeout=10 [2020-09-03T16:39:46.631Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-03T16:39:46.634Z] > git merge 1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1 # timeout=10 [2020-09-03T16:39:46.653Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-03T16:39:46.664Z] > git config core.sparsecheckout # timeout=10 [2020-09-03T16:39:46.675Z] > git checkout -f ae112289482072f8232937eb4f33a37ad2bef290 # timeout=10 [2020-09-03T16:39:47.377Z] fd7a069fd194: Verifying Checksum [2020-09-03T16:39:47.378Z] fd7a069fd194: Download complete [2020-09-03T16:39:50.219Z] Commit message: "Merge commit '1bcfeefe91d93b9693c7bc273dc4ca37c3d910c1' into HEAD" [2020-09-03T16:39:50.219Z] First time build. Skipping changelog. [2020-09-03T16:39:50.247Z] > git --version # timeout=10 [2020-09-03T16:39:50.252Z] > git --version # 'git version 2.16.5' [2020-09-03T16:39:50.257Z] fatal: bad object 5fb5bc9604e69ab642a67b6a3e8474dd770c8dc8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-03T16:39:51.188Z] ========================================================= [2020-09-03T16:39:51.189Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-03T16:39:51.189Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-03T16:39:51.843Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-09-03T16:39:52.790Z] Sending build context to Docker daemon 686.6kB [2020-09-03T16:39:52.790Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-03T16:39:52.790Z] Step 2/8 : FROM ${BASE} [2020-09-03T16:39:52.790Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-03T16:39:52.790Z] df20fa9351a1: Pulling fs layer [2020-09-03T16:39:52.790Z] ed8968b2872e: Pulling fs layer [2020-09-03T16:39:52.790Z] a92cc7c5fd73: Pulling fs layer [2020-09-03T16:39:52.790Z] 2dd03ba5bac4: Pulling fs layer [2020-09-03T16:39:52.790Z] 1e091d79d1de: Pulling fs layer [2020-09-03T16:39:52.790Z] 481702a1767f: Pulling fs layer [2020-09-03T16:39:52.790Z] f64a6f60c768: Pulling fs layer [2020-09-03T16:39:52.790Z] e78d2573fc39: Pulling fs layer [2020-09-03T16:39:52.790Z] e876d2f968b6: Pulling fs layer [2020-09-03T16:39:52.790Z] ce8a83651883: Pulling fs layer [2020-09-03T16:39:52.790Z] 07967f4d0e4b: Pulling fs layer [2020-09-03T16:39:52.790Z] 2dd03ba5bac4: Waiting [2020-09-03T16:39:52.790Z] 1e091d79d1de: Waiting [2020-09-03T16:39:52.790Z] 481702a1767f: Waiting [2020-09-03T16:39:52.790Z] f64a6f60c768: Waiting [2020-09-03T16:39:52.790Z] e78d2573fc39: Waiting [2020-09-03T16:39:52.790Z] e876d2f968b6: Waiting [2020-09-03T16:39:52.790Z] ce8a83651883: Waiting [2020-09-03T16:39:52.790Z] 07967f4d0e4b: Waiting [2020-09-03T16:39:52.790Z] a92cc7c5fd73: Verifying Checksum [2020-09-03T16:39:52.790Z] a92cc7c5fd73: Download complete [2020-09-03T16:39:52.790Z] ed8968b2872e: Verifying Checksum [2020-09-03T16:39:52.790Z] ed8968b2872e: Download complete [2020-09-03T16:39:52.790Z] 1e091d79d1de: Verifying Checksum [2020-09-03T16:39:52.790Z] 1e091d79d1de: Download complete [2020-09-03T16:39:52.790Z] 481702a1767f: Verifying Checksum [2020-09-03T16:39:52.790Z] 481702a1767f: Download complete [2020-09-03T16:39:52.790Z] df20fa9351a1: Verifying Checksum [2020-09-03T16:39:52.790Z] df20fa9351a1: Download complete [2020-09-03T16:39:53.761Z] f64a6f60c768: Verifying Checksum [2020-09-03T16:39:53.761Z] f64a6f60c768: Download complete [2020-09-03T16:39:54.336Z] 2dd03ba5bac4: Verifying Checksum [2020-09-03T16:39:54.336Z] 2dd03ba5bac4: Download complete [2020-09-03T16:39:54.597Z] e78d2573fc39: Verifying Checksum [2020-09-03T16:39:54.597Z] e78d2573fc39: Download complete [2020-09-03T16:39:55.998Z] e876d2f968b6: Download complete [2020-09-03T16:39:55.998Z] 07967f4d0e4b: Verifying Checksum [2020-09-03T16:39:55.998Z] df20fa9351a1: Pull complete [2020-09-03T16:39:56.261Z] ed8968b2872e: Pull complete [2020-09-03T16:39:56.261Z] ce8a83651883: Download complete [2020-09-03T16:39:56.261Z] a92cc7c5fd73: Pull complete [2020-09-03T16:39:59.793Z] fd7a069fd194: Pull complete [2020-09-03T16:39:59.793Z] 66aa3694b03b: Pull complete [2020-09-03T16:39:59.793Z] 170f70906a0f: Pull complete [2020-09-03T16:40:02.875Z] 2dd03ba5bac4: Pull complete [2020-09-03T16:40:02.875Z] 1e091d79d1de: Pull complete [2020-09-03T16:40:02.875Z] 481702a1767f: Pull complete [2020-09-03T16:40:03.179Z] ad7c5574e4b9: Pull complete [2020-09-03T16:40:07.093Z] f64a6f60c768: Pull complete [2020-09-03T16:40:07.502Z] e772456be8f7: Pull complete [2020-09-03T16:40:07.502Z] c890913d741a: Pull complete [2020-09-03T16:40:09.662Z] e78d2573fc39: Pull complete [2020-09-03T16:40:09.662Z] e876d2f968b6: Pull complete [2020-09-03T16:40:10.141Z] 2480fcc9aa5a: Pull complete [2020-09-03T16:40:10.141Z] 09adf4765672: Pull complete [2020-09-03T16:40:10.141Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-03T16:40:10.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-03T16:40:10.141Z] ---> 2248a725d1cf [2020-09-03T16:40:10.141Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-03T16:40:10.620Z] ce8a83651883: Pull complete [2020-09-03T16:40:10.882Z] 07967f4d0e4b: Pull complete [2020-09-03T16:40:10.882Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-03T16:40:10.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-03T16:40:10.882Z] ---> 5d7c900382c6 [2020-09-03T16:40:10.882Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-03T16:40:12.270Z] ---> Running in ac08519fa63e [2020-09-03T16:40:12.530Z] Removing intermediate container ac08519fa63e [2020-09-03T16:40:12.530Z] ---> 714b8524aa1a [2020-09-03T16:40:12.530Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-03T16:40:12.530Z] ---> Running in 00b5df547a9f [2020-09-03T16:40:13.500Z] Removing intermediate container 00b5df547a9f [2020-09-03T16:40:13.500Z] ---> 65c611687659 [2020-09-03T16:40:13.500Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-03T16:40:13.500Z] ---> Running in a5eda38dcbf2 [2020-09-03T16:40:14.076Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-03T16:40:14.459Z] ---> Running in 297d984de213 [2020-09-03T16:40:15.020Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-03T16:40:15.054Z] Removing intermediate container 297d984de213 [2020-09-03T16:40:15.054Z] ---> 1ebd3e8b689f [2020-09-03T16:40:15.054Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-03T16:40:15.054Z] ---> Running in ca2957db18af [2020-09-03T16:40:15.590Z] (1/14) Installing libmagic (5.38-r0) [2020-09-03T16:40:15.853Z] (2/14) Installing file (5.38-r0) [2020-09-03T16:40:15.853Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-03T16:40:16.113Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-03T16:40:17.677Z] Removing intermediate container ca2957db18af [2020-09-03T16:40:17.677Z] ---> fdf3eba25a63 [2020-09-03T16:40:17.677Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-03T16:40:17.956Z] ---> Running in 42fec5c6612d [2020-09-03T16:40:19.400Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-03T16:40:19.413Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-03T16:40:19.413Z] (6/14) Installing patch (2.7.6-r6) [2020-09-03T16:40:19.413Z] (7/14) Installing build-base (0.5-r2) [2020-09-03T16:40:19.673Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-03T16:40:19.673Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-03T16:40:19.934Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-03T16:40:20.198Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-03T16:40:20.198Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-03T16:40:20.198Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-03T16:40:20.373Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-03T16:40:20.459Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-03T16:40:20.459Z] Executing busybox-1.31.1-r16.trigger [2020-09-03T16:40:20.459Z] OK: 237 MiB in 53 packages [2020-09-03T16:40:20.967Z] (1/14) Installing libmagic (5.38-r0) [2020-09-03T16:40:21.237Z] (2/14) Installing file (5.38-r0) [2020-09-03T16:40:21.508Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-03T16:40:21.508Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-03T16:40:24.675Z] Removing intermediate container a5eda38dcbf2 [2020-09-03T16:40:24.675Z] ---> 991e9e6af743 [2020-09-03T16:40:24.675Z] Step 6/8 : WORKDIR /device-modbus-go [2020-09-03T16:40:24.675Z] ---> Running in 2928ddcd12a2 [2020-09-03T16:40:24.675Z] Removing intermediate container 2928ddcd12a2 [2020-09-03T16:40:24.675Z] ---> 7e0132333d48 [2020-09-03T16:40:24.675Z] Step 7/8 : COPY . . [2020-09-03T16:40:25.248Z] ---> 0ae3af5c64db [2020-09-03T16:40:25.248Z] Step 8/8 : RUN go mod download [2020-09-03T16:40:25.248Z] ---> Running in 7b90d2db68c8 [2020-09-03T16:40:25.792Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-03T16:40:25.792Z] (6/14) Installing patch (2.7.6-r6) [2020-09-03T16:40:25.792Z] (7/14) Installing build-base (0.5-r2) [2020-09-03T16:40:25.792Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-03T16:40:25.792Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-03T16:40:25.792Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-03T16:40:26.067Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-03T16:40:26.067Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-03T16:40:26.067Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-03T16:40:26.671Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-03T16:40:26.671Z] Executing busybox-1.31.1-r16.trigger [2020-09-03T16:40:26.671Z] OK: 221 MiB in 53 packages [2020-09-03T16:40:27.176Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-03T16:40:27.176Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-03T16:40:27.176Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-03T16:40:27.176Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-03T16:40:27.176Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-03T16:40:27.176Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-03T16:40:27.176Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-03T16:40:27.176Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-03T16:40:27.176Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-03T16:40:27.176Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-03T16:40:27.437Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-03T16:40:27.437Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-03T16:40:27.437Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-03T16:40:27.437Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-03T16:40:27.437Z] go: finding github.com/fatih/color v1.7.0 [2020-09-03T16:40:27.437Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-03T16:40:27.437Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-03T16:40:27.437Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-03T16:40:27.437Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-03T16:40:27.437Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-09-03T16:40:27.437Z] go: finding github.com/goburrow/serial v0.1.0 [2020-09-03T16:40:27.437Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-03T16:40:27.698Z] go: finding github.com/google/uuid v1.1.1 [2020-09-03T16:40:27.698Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-03T16:40:27.698Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-03T16:40:27.698Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-03T16:40:27.698Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-03T16:40:27.698Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-03T16:40:27.698Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-03T16:40:27.698Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-03T16:40:27.698Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-03T16:40:27.698Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-03T16:40:27.698Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-09-03T16:40:27.960Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-03T16:40:27.960Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-03T16:40:27.960Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-03T16:40:27.960Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-09-03T16:40:27.960Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-03T16:40:27.960Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-03T16:40:27.960Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-03T16:40:27.960Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-03T16:40:27.960Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-03T16:40:27.960Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-03T16:40:27.960Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-03T16:40:28.220Z] go: finding github.com/miekg/dns v1.1.4 [2020-09-03T16:40:28.221Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-03T16:40:28.221Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-03T16:40:28.221Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-03T16:40:28.221Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-09-03T16:40:28.221Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-03T16:40:28.221Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-09-03T16:40:28.221Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-03T16:40:28.221Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-03T16:40:28.221Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-03T16:40:28.221Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-03T16:40:28.221Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-03T16:40:28.483Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-03T16:40:28.483Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-03T16:40:28.483Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-03T16:40:28.483Z] go: finding github.com/posener/complete v1.1.1 [2020-09-03T16:40:28.483Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-09-03T16:40:28.483Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-03T16:40:28.483Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-03T16:40:28.483Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-03T16:40:28.483Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-03T16:40:28.483Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-03T16:40:28.483Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-03T16:40:28.744Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-09-03T16:40:28.744Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-03T16:40:28.744Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-03T16:40:28.744Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-03T16:40:28.744Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-03T16:40:30.955Z] Removing intermediate container 42fec5c6612d [2020-09-03T16:40:30.955Z] ---> 3f921f345024 [2020-09-03T16:40:30.955Z] Step 6/8 : WORKDIR /device-modbus-go [2020-09-03T16:40:30.955Z] ---> Running in 82b49034f4fd [2020-09-03T16:40:31.226Z] Removing intermediate container 82b49034f4fd [2020-09-03T16:40:31.226Z] ---> ef353609bb0e [2020-09-03T16:40:31.226Z] Step 7/8 : COPY . . [2020-09-03T16:40:32.206Z] ---> 27ebbfd823e0 [2020-09-03T16:40:32.206Z] Step 8/8 : RUN go mod download [2020-09-03T16:40:32.206Z] ---> Running in 6e20b9db2c1c [2020-09-03T16:40:35.578Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-03T16:40:35.578Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-03T16:40:35.578Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-03T16:40:35.578Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-03T16:40:35.578Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-03T16:40:35.578Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-03T16:40:35.578Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-03T16:40:35.578Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-03T16:40:35.578Z] go: finding github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-03T16:40:35.578Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-03T16:40:35.578Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-03T16:40:35.578Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-03T16:40:35.578Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-03T16:40:35.578Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-03T16:40:35.578Z] go: finding github.com/fatih/color v1.7.0 [2020-09-03T16:40:35.578Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-03T16:40:35.578Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-03T16:40:35.578Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-03T16:40:35.578Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-03T16:40:35.578Z] go: finding github.com/goburrow/modbus v0.1.0 [2020-09-03T16:40:35.578Z] go: finding github.com/goburrow/serial v0.1.0 [2020-09-03T16:40:35.578Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-03T16:40:35.578Z] go: finding github.com/google/uuid v1.1.1 [2020-09-03T16:40:35.578Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-03T16:40:35.578Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-03T16:40:35.578Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-03T16:40:35.578Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-03T16:40:35.578Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-03T16:40:35.578Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-03T16:40:35.578Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-03T16:40:35.578Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-03T16:40:35.578Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-03T16:40:35.578Z] go: finding github.com/hashicorp/go-sockaddr v1.0.1 [2020-09-03T16:40:35.852Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-03T16:40:35.852Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-03T16:40:35.852Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-03T16:40:35.852Z] go: finding github.com/hashicorp/golang-lru v0.5.1 [2020-09-03T16:40:35.852Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-03T16:40:35.852Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-03T16:40:35.852Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-03T16:40:35.852Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-03T16:40:35.852Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-03T16:40:35.852Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-03T16:40:35.852Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-03T16:40:36.124Z] go: finding github.com/miekg/dns v1.1.4 [2020-09-03T16:40:36.124Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-03T16:40:36.124Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-03T16:40:36.124Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-03T16:40:36.124Z] go: finding github.com/mitchellh/go-homedir v1.1.0 [2020-09-03T16:40:36.124Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-03T16:40:36.124Z] go: finding github.com/mitchellh/go-wordwrap v1.0.0 [2020-09-03T16:40:36.124Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-03T16:40:36.124Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-03T16:40:36.124Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-03T16:40:36.124Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-03T16:40:36.124Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-03T16:40:36.394Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-03T16:40:36.394Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-03T16:40:36.394Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-03T16:40:36.394Z] go: finding github.com/posener/complete v1.1.1 [2020-09-03T16:40:36.394Z] go: finding github.com/ryanuber/columnize v2.1.0+incompatible [2020-09-03T16:40:36.394Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-03T16:40:36.394Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-03T16:40:36.394Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-03T16:40:36.394Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-03T16:40:36.394Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-03T16:40:36.394Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-03T16:40:36.394Z] go: finding golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7 [2020-09-03T16:40:36.670Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-03T16:40:36.670Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-03T16:40:36.670Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-03T16:40:36.670Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-03T16:40:36.903Z] Removing intermediate container 7b90d2db68c8 [2020-09-03T16:40:36.903Z] ---> ff01fc058c95 [2020-09-03T16:40:36.903Z] Successfully built ff01fc058c95 [2020-09-03T16:40:36.903Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-03T16:40:38.048Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-03T16:40:38.048Z] . [Pipeline] withDockerContainer [2020-09-03T16:40:38.175Z] prd-centos7-docker-4c-2g-1290 does not seem to be running inside a container [2020-09-03T16:40:38.226Z] $ 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 ******** ci-base-image-x86_64 cat [2020-09-03T16:40:39.443Z] $ docker top 49c31228ed0ba57143f4929613845631557d17459022f2a63cef97ce206e82d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-03T16:40:39.969Z] + go version [2020-09-03T16:40:39.969Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-03T16:40:40.299Z] + make test [2020-09-03T16:40:40.299Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-03T16:40:41.256Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-09-03T16:40:46.619Z] # github.com/edgexfoundry/device-modbus-go/internal/driver [2020-09-03T16:40:46.619Z] internal/driver/driver.go:79:1: syntax error: non-declaration statement outside function body [2020-09-03T16:40:46.619Z] internal/driver/driver.go:90:1: syntax error: non-declaration statement outside function body [2020-09-03T16:40:46.818Z] Removing intermediate container 6e20b9db2c1c [2020-09-03T16:40:46.818Z] ---> 97baae77796e [2020-09-03T16:40:46.818Z] Successfully built 97baae77796e [2020-09-03T16:40:46.818Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-03T16:40:47.714Z] + docker inspect -f . ci-base-image-arm64 [2020-09-03T16:40:47.714Z] . [Pipeline] withDockerContainer [2020-09-03T16:40:48.015Z] prd-ubuntu18.04-docker-arm64-4c-16g-1288 does not seem to be running inside a container [2020-09-03T16:40:48.102Z] $ 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 ******** ci-base-image-arm64 cat [2020-09-03T16:40:49.220Z] # cover github.com/edgexfoundry/device-modbus-go/internal/driver [2020-09-03T16:40:49.220Z] 2020/09/03 16:40:48 cover: /w/workspace/device-modbus-go/1/internal/driver/driver.go: /w/workspace/device-modbus-go/1/internal/driver/driver.go:79:1: expected declaration, found '<<' (and 5 more errors) [2020-09-03T16:40:49.481Z] FAIL github.com/edgexfoundry/device-modbus-go/internal/driver [build failed] [2020-09-03T16:40:49.742Z] make: *** [Makefile:24: test] Error 2 [2020-09-03T16:40:49.985Z] $ docker top 88e88ace63d0b925e94fc98e210893b72228efe3e37095d36c9ef6ebc46515b1 -eo pid,comm [Pipeline] { [Pipeline] } [2020-09-03T16:40:50.587Z] $ docker stop --time=1 49c31228ed0ba57143f4929613845631557d17459022f2a63cef97ce206e82d6 [2020-09-03T16:40:52.795Z] $ docker rm -f 49c31228ed0ba57143f4929613845631557d17459022f2a63cef97ce206e82d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [2020-09-03T16:40:54.118Z] + go version [2020-09-03T16:40:54.118Z] go version go1.13.13 linux/arm64 [Pipeline] // stage [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-03T16:40:55.146Z] Failed in branch amd64 [2020-09-03T16:40:55.330Z] + make test [2020-09-03T16:40:55.330Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-03T16:40:56.312Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-09-03T16:41:18.525Z] # github.com/edgexfoundry/device-modbus-go/internal/driver [2020-09-03T16:41:18.525Z] internal/driver/driver.go:79:1: syntax error: non-declaration statement outside function body [2020-09-03T16:41:18.525Z] internal/driver/driver.go:90:1: syntax error: non-declaration statement outside function body [2020-09-03T16:41:21.935Z] # cover github.com/edgexfoundry/device-modbus-go/internal/driver [2020-09-03T16:41:21.935Z] 2020/09/03 16:41:21 cover: /w/workspace/device-modbus-go/1/internal/driver/driver.go: /w/workspace/device-modbus-go/1/internal/driver/driver.go:79:1: expected declaration, found '<<' (and 5 more errors) [2020-09-03T16:41:22.206Z] FAIL github.com/edgexfoundry/device-modbus-go/internal/driver [build failed] [2020-09-03T16:41:22.477Z] make: *** [Makefile:24: test] Error 2 [Pipeline] } [2020-09-03T16:41:22.530Z] $ docker stop --time=1 88e88ace63d0b925e94fc98e210893b72228efe3e37095d36c9ef6ebc46515b1 [2020-09-03T16:41:24.638Z] $ docker rm -f 88e88ace63d0b925e94fc98e210893b72228efe3e37095d36c9ef6ebc46515b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-03T16:41:27.107Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-03T16:41:31.319Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-03T16:41:32.344Z] ---> package-listing.sh [2020-09-03T16:41:32.344Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-03T16:41:32.344Z] ++ facter osfamily [2020-09-03T16:41:32.618Z] + OS_FAMILY=redhat [2020-09-03T16:41:32.618Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-171 [2020-09-03T16:41:32.618Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-03T16:41:32.618Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-03T16:41:32.618Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-03T16:41:32.618Z] + PACKAGES=/tmp/packages_start.txt [2020-09-03T16:41:32.618Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' [2020-09-03T16:41:32.618Z] + PACKAGES=/tmp/packages_end.txt [2020-09-03T16:41:32.618Z] + case "${OS_FAMILY}" in [2020-09-03T16:41:32.618Z] + rpm -qa [2020-09-03T16:41:32.618Z] + sort [2020-09-03T16:41:38.170Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-03T16:41:38.170Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-03T16:41:38.170Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-03T16:41:38.170Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' [2020-09-03T16:41:38.170Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ [2020-09-03T16:41:38.170Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-03T16:41:38.724Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-03T16:41:39.001Z] [2020-09-03T16:41:39.001Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-03T16:41:39.487Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-03T16:41:39.487Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-03T16:41:39.487Z] df20fa9351a1: Pulling fs layer [2020-09-03T16:41:39.487Z] 36b3adc4ff6f: Pulling fs layer [2020-09-03T16:41:39.487Z] 8ad3a11d3b57: Pulling fs layer [2020-09-03T16:41:39.487Z] 46f8f816bc3b: Pulling fs layer [2020-09-03T16:41:39.487Z] 0dadc02b9964: Pulling fs layer [2020-09-03T16:41:39.487Z] ce6a7cf60c04: Pulling fs layer [2020-09-03T16:41:39.487Z] 7a184a31f384: Pulling fs layer [2020-09-03T16:41:39.487Z] 0879bd2ef858: Pulling fs layer [2020-09-03T16:41:39.487Z] 0dadc02b9964: Waiting [2020-09-03T16:41:39.487Z] ce6a7cf60c04: Waiting [2020-09-03T16:41:39.487Z] 7a184a31f384: Waiting [2020-09-03T16:41:39.487Z] 0879bd2ef858: Waiting [2020-09-03T16:41:39.487Z] 46f8f816bc3b: Waiting [2020-09-03T16:41:39.823Z] 36b3adc4ff6f: Verifying Checksum [2020-09-03T16:41:39.823Z] 36b3adc4ff6f: Download complete [2020-09-03T16:41:39.823Z] 46f8f816bc3b: Verifying Checksum [2020-09-03T16:41:39.823Z] 46f8f816bc3b: Download complete [2020-09-03T16:41:39.823Z] df20fa9351a1: Verifying Checksum [2020-09-03T16:41:39.823Z] df20fa9351a1: Download complete [2020-09-03T16:41:39.823Z] ce6a7cf60c04: Verifying Checksum [2020-09-03T16:41:39.823Z] ce6a7cf60c04: Download complete [2020-09-03T16:41:40.150Z] 0dadc02b9964: Verifying Checksum [2020-09-03T16:41:40.150Z] 0dadc02b9964: Download complete [2020-09-03T16:41:40.150Z] 7a184a31f384: Verifying Checksum [2020-09-03T16:41:40.150Z] 7a184a31f384: Download complete [2020-09-03T16:41:40.150Z] 8ad3a11d3b57: Verifying Checksum [2020-09-03T16:41:40.150Z] 8ad3a11d3b57: Download complete [2020-09-03T16:41:40.800Z] df20fa9351a1: Pull complete [2020-09-03T16:41:40.800Z] 0879bd2ef858: Verifying Checksum [2020-09-03T16:41:40.800Z] 0879bd2ef858: Download complete [2020-09-03T16:41:41.074Z] 36b3adc4ff6f: Pull complete [2020-09-03T16:41:42.100Z] 8ad3a11d3b57: Pull complete [2020-09-03T16:41:42.374Z] 46f8f816bc3b: Pull complete [2020-09-03T16:41:42.963Z] 0dadc02b9964: Pull complete [2020-09-03T16:41:42.963Z] ce6a7cf60c04: Pull complete [2020-09-03T16:41:42.963Z] 7a184a31f384: Pull complete [2020-09-03T16:41:47.305Z] 0879bd2ef858: Pull complete [2020-09-03T16:41:47.305Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-03T16:41:47.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-03T16:41:47.305Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-03T16:41:47.649Z] prd-centos7-docker-4c-2g-1287 does not seem to be running inside a container [2020-09-03T16:41:47.728Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/xfoundry_device-modbus-go_PR-171 -v /w/workspace/xfoundry_device-modbus-go_PR-171:/w/workspace/xfoundry_device-modbus-go_PR-171:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-171@tmp:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-03T16:41:53.638Z] $ docker top 7a3a3e15baccfbef38a1c496f65ad777d9522cb66d2bf6ea0d60325b93e042c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-03T16:41:54.248Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-03T16:41:54.955Z] + ls /var/log/sa-host [2020-09-03T16:41:54.955Z] + sadf -c /var/log/sa-host/sa03 [2020-09-03T16:41:54.955Z] file_magic: OK [2020-09-03T16:41:54.955Z] HZ: Using current value: 100 [2020-09-03T16:41:54.955Z] file_header: OK [2020-09-03T16:41:54.955Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-03T16:41:54.955Z] Statistics: [2020-09-03T16:41:54.955Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-03T16:41:54.955Z] File successfully converted to sysstat format version 12.2.1 [2020-09-03T16:41:54.955Z] + sadf -c /var/log/sa-host/sa05 [2020-09-03T16:41:54.955Z] file_magic: OK [2020-09-03T16:41:54.955Z] HZ: Using current value: 100 [2020-09-03T16:41:54.955Z] file_header: OK [2020-09-03T16:41:54.955Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-03T16:41:54.955Z] Statistics: [2020-09-03T16:41:54.955Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-03T16:41:54.955Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-03T16:41:55.063Z] provisioning config files... [2020-09-03T16:41:55.086Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config5329405687655614715tmp [Pipeline] { [Pipeline] echo [2020-09-03T16:41:55.206Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-03T16:41:55.613Z] ---> create-netrc.sh [Pipeline] echo [2020-09-03T16:41:55.640Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-03T16:41:56.085Z] ---> logs-deploy.sh [2020-09-03T16:41:56.085Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-171/1 [2020-09-03T16:41:56.085Z] INFO: archiving workspace using pattern(s): [2020-09-03T16:41:58.028Z] Archives upload complete. [2020-09-03T16:41:58.028Z] INFO: archiving logs to Nexus