Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a0136f4ab48c04aea383df6fc9b835c730cf6549+abee7d5846637e135dd277469e99a0143c7ff265 (50b401b4b147e0910b1524efbef1baca6fa58d14) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5743 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-584 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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 --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 Merge succeeded, producing dd95adb44c79d885b11bb729300c8da6e1c54625 Checking out Revision dd95adb44c79d885b11bb729300c8da6e1c54625 (PR-584) > git config core.sparsecheckout # timeout=10 > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # 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 abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd95adb44c79d885b11bb729300c8da6e1c54625 # timeout=10 Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 45c1db7a078e7895d1937ff01ca68aa047ba2514 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-16T02:42:44.963Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-16T02:42:45.257Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-16T02:42:45.351Z] ========================================================= [2020-10-16T02:42:45.351Z] EdgeX Global Pipelines Version Info [2020-10-16T02:42:45.351Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:42:46.832Z] ------------------- [2020-10-16T02:42:46.832Z] stable info: [2020-10-16T02:42:46.832Z] ------------------- [2020-10-16T02:42:46.832Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T02:42:46.832Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T02:42:46.832Z] Message: update stable to v1.0.144 [2020-10-16T02:42:47.780Z] ------------------- [2020-10-16T02:42:47.780Z] experimental info: [2020-10-16T02:42:47.780Z] ------------------- [2020-10-16T02:42:47.780Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T02:42:47.780Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T02:42:47.780Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-16T02:42:48.095Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-16T02:42:48.177Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-16T02:42:48.276Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-16T02:42:48.360Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-16T02:42:48.441Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-16T02:42:48.524Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-16T02:42:48.615Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-16T02:42:48.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-16T02:42:48.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-16T02:42:48.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-16T02:42:48.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-16T02:42:49.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-16T02:42:49.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-16T02:42:49.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-16T02:42:49.491Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-16T02:42:49.579Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T02:42:49.660Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T02:42:49.746Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T02:42:49.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-16T02:42:49.915Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-16T02:42:50.012Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-16T02:42:50.187Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-16T02:42:50.350Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-16T02:42:50.432Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-16T02:42:50.602Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-16T02:42:50.702Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo [2020-10-16T02:42:50.815Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo [2020-10-16T02:42:50.911Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo [2020-10-16T02:42:51.021Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd95adb44c79d885b11bb729300c8da6e1c54625 [Pipeline] echo [2020-10-16T02:42:51.122Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd95adb [Pipeline] echo [2020-10-16T02:42:51.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T02:42:51.796Z] + git log --format=format:%s -1 dd95adb44c79d885b11bb729300c8da6e1c54625 [Pipeline] echo [2020-10-16T02:42:51.860Z] GIT_COMMIT: dd95adb44c79d885b11bb729300c8da6e1c54625, Commit Message: Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD [Pipeline] echo [2020-10-16T02:42:51.918Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:42:52.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T02:42:52.785Z] [2020-10-16T02:42:52.785Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:42:53.163Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T02:42:53.163Z] latest: Pulling from edgex-devops/git-semver [2020-10-16T02:42:53.163Z] 31603596830f: Pulling fs layer [2020-10-16T02:42:53.163Z] 2a8b12db71e7: Pulling fs layer [2020-10-16T02:42:53.163Z] 6ca5941a6612: Pulling fs layer [2020-10-16T02:42:53.163Z] ecc8261a40a4: Pulling fs layer [2020-10-16T02:42:53.163Z] ecc8261a40a4: Waiting [2020-10-16T02:42:53.163Z] 2a8b12db71e7: Verifying Checksum [2020-10-16T02:42:53.163Z] 2a8b12db71e7: Download complete [2020-10-16T02:42:53.433Z] 31603596830f: Verifying Checksum [2020-10-16T02:42:53.433Z] 31603596830f: Download complete [2020-10-16T02:42:53.433Z] ecc8261a40a4: Verifying Checksum [2020-10-16T02:42:53.433Z] ecc8261a40a4: Download complete [2020-10-16T02:42:53.433Z] 6ca5941a6612: Verifying Checksum [2020-10-16T02:42:53.433Z] 6ca5941a6612: Download complete [2020-10-16T02:42:53.697Z] 31603596830f: Pull complete [2020-10-16T02:42:53.697Z] 2a8b12db71e7: Pull complete [2020-10-16T02:42:54.673Z] 6ca5941a6612: Pull complete [2020-10-16T02:42:54.940Z] ecc8261a40a4: Pull complete [2020-10-16T02:42:54.940Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-16T02:42:54.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T02:42:54.940Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-16T02:42:55.046Z] prd-centos7-docker-4c-2g-5743 does not seem to be running inside a container [2020-10-16T02:42:55.108Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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:10004/edgex-devops/git-semver:latest cat [2020-10-16T02:42:57.219Z] $ docker top 984aceaedd8ceb27026132d3b45d64b4d60756d2063e6b0750cfbea5e40ba1b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-16T02:42:57.501Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T02:42:57.501Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T02:42:57.725Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T02:42:57.730Z] $ docker exec 984aceaedd8ceb27026132d3b45d64b4d60756d2063e6b0750cfbea5e40ba1b7 ssh-agent [2020-10-16T02:42:57.900Z] SSH_AUTH_SOCK=/tmp/ssh-tP27MTwIggHg/agent.11 [2020-10-16T02:42:57.900Z] SSH_AGENT_PID=17 [2020-10-16T02:42:57.913Z] Running ssh-add (command line suppressed) [2020-10-16T02:42:58.038Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_2695205155517444243.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_2695205155517444243.key) [2020-10-16T02:42:58.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T02:42:58.418Z] + git tag --points-at HEAD [Pipeline] } [2020-10-16T02:42:58.442Z] $ docker exec --env ******** --env ******** 984aceaedd8ceb27026132d3b45d64b4d60756d2063e6b0750cfbea5e40ba1b7 ssh-agent -k [2020-10-16T02:42:58.560Z] unset SSH_AUTH_SOCK; [2020-10-16T02:42:58.560Z] unset SSH_AGENT_PID; [2020-10-16T02:42:58.560Z] echo Agent pid 17 killed; [2020-10-16T02:42:58.602Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-16T02:42:58.740Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T02:42:58.740Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T02:42:58.914Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T02:42:58.919Z] $ docker exec 984aceaedd8ceb27026132d3b45d64b4d60756d2063e6b0750cfbea5e40ba1b7 ssh-agent [2020-10-16T02:42:59.074Z] SSH_AUTH_SOCK=/tmp/ssh-goYSCXM0qOOh/agent.46 [2020-10-16T02:42:59.074Z] SSH_AGENT_PID=51 [2020-10-16T02:42:59.080Z] Running ssh-add (command line suppressed) [2020-10-16T02:42:59.198Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_7871819498070036576.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_7871819498070036576.key) [2020-10-16T02:42:59.249Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T02:42:59.579Z] + git semver init [2020-10-16T02:42:59.579Z] # -> Open(): unable to determine branch for HEAD [2020-10-16T02:42:59.579Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git [2020-10-16T02:42:59.579Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-16T02:42:59.579Z] # $SEMVER_REMOTE_NAME = origin [2020-10-16T02:42:59.579Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-16T02:42:59.579Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-16T02:42:59.579Z] # $SEMVER_BRANCH = PR-584 [2020-10-16T02:42:59.579Z] # $SEMVER_TEMP = /tmp/semver-079651579 [2020-10-16T02:42:59.579Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-16T02:43:00.157Z] # '/tmp/semver-079651579' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' [2020-10-16T02:43:00.157Z] # -> Force: false [2020-10-16T02:43:00.157Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } [2020-10-16T02:43:00.171Z] $ docker exec --env ******** --env ******** 984aceaedd8ceb27026132d3b45d64b4d60756d2063e6b0750cfbea5e40ba1b7 ssh-agent -k [2020-10-16T02:43:00.291Z] unset SSH_AUTH_SOCK; [2020-10-16T02:43:00.291Z] unset SSH_AGENT_PID; [2020-10-16T02:43:00.292Z] echo Agent pid 51 killed; [2020-10-16T02:43:00.337Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-16T02:43:00.819Z] + git semver [Pipeline] } [2020-10-16T02:43:00.847Z] $ docker stop --time=1 984aceaedd8ceb27026132d3b45d64b4d60756d2063e6b0750cfbea5e40ba1b7 [2020-10-16T02:43:02.290Z] $ docker rm -f 984aceaedd8ceb27026132d3b45d64b4d60756d2063e6b0750cfbea5e40ba1b7 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-16T02:43:02.841Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-16T02:43:03.310Z] Stashed 1 file(s) [Pipeline] echo [2020-10-16T02:43:03.312Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-10-16T02:43:18.887Z] Still waiting to schedule task [2020-10-16T02:43:18.887Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5745’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-16T02:43:18.890Z] Still waiting to schedule task [2020-10-16T02:43:18.890Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-16T02:45:17.977Z] Running on prd-centos7-docker-4c-2g-5748 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-16T02:45:18.041Z] Running in /w/workspace/device-sdk-go/21 [Pipeline] { [Pipeline] checkout [2020-10-16T02:45:28.000Z] using credential edgex-jenkins-ssh [2020-10-16T02:45:28.087Z] Cloning the remote Git repository [2020-10-16T02:45:28.171Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:45:28.317Z] > git init /w/workspace/device-sdk-go/21 # timeout=10 [2020-10-16T02:45:28.511Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:45:28.511Z] > git --version # timeout=10 [2020-10-16T02:45:28.531Z] > git --version # 'git version 2.16.5' [2020-10-16T02:45:28.532Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:45:28.616Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T02:45:30.447Z] Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 [2020-10-16T02:45:29.721Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T02:45:29.791Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T02:45:29.882Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T02:45:29.951Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:45:29.952Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:45:29.980Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T02:45:30.472Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T02:45:30.521Z] > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 [2020-10-16T02:45:30.736Z] > git remote # timeout=10 [2020-10-16T02:45:30.923Z] Merge succeeded, producing 7b8e70047dcbd91dc2f017a0b18f10eaa0be78e2 [2020-10-16T02:45:30.923Z] Checking out Revision 7b8e70047dcbd91dc2f017a0b18f10eaa0be78e2 (PR-584) [2020-10-16T02:45:30.785Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T02:45:30.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:45:30.810Z] > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 [2020-10-16T02:45:30.882Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T02:45:30.941Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T02:45:30.958Z] > git checkout -f 7b8e70047dcbd91dc2f017a0b18f10eaa0be78e2 # timeout=10 [2020-10-16T02:45:37.134Z] Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" [2020-10-16T02:45:37.421Z] First time build. Skipping changelog. [2020-10-16T02:45:37.157Z] > git rev-list --no-walk 45c1db7a078e7895d1937ff01ca68aa047ba2514 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T02:45:38.824Z] ========================================================= [2020-10-16T02:45:38.824Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-16T02:45:38.824Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:45:41.943Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5751 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-16T02:45:42.270Z] Running in /w/workspace/device-sdk-go/21 [Pipeline] { [Pipeline] checkout [2020-10-16T02:45:42.541Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-10-16T02:45:43.337Z] Sending build context to Docker daemon 2.296MB [2020-10-16T02:45:43.337Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T02:45:43.337Z] Step 2/8 : FROM ${BASE} [2020-10-16T02:45:43.655Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-16T02:45:43.655Z] df20fa9351a1: Pulling fs layer [2020-10-16T02:45:43.655Z] ed8968b2872e: Pulling fs layer [2020-10-16T02:45:43.655Z] a92cc7c5fd73: Pulling fs layer [2020-10-16T02:45:43.655Z] e871e8e8d7a9: Pulling fs layer [2020-10-16T02:45:43.655Z] e73272ec9a57: Pulling fs layer [2020-10-16T02:45:43.655Z] 1e910a182e73: Pulling fs layer [2020-10-16T02:45:43.655Z] 4e634b169226: Pulling fs layer [2020-10-16T02:45:43.655Z] e871e8e8d7a9: Waiting [2020-10-16T02:45:43.655Z] e73272ec9a57: Waiting [2020-10-16T02:45:43.655Z] 1e910a182e73: Waiting [2020-10-16T02:45:43.655Z] 4e634b169226: Waiting [2020-10-16T02:45:43.655Z] a92cc7c5fd73: Verifying Checksum [2020-10-16T02:45:43.655Z] a92cc7c5fd73: Download complete [2020-10-16T02:45:43.655Z] ed8968b2872e: Verifying Checksum [2020-10-16T02:45:43.655Z] ed8968b2872e: Download complete [2020-10-16T02:45:43.655Z] e73272ec9a57: Download complete [2020-10-16T02:45:43.943Z] 1e910a182e73: Verifying Checksum [2020-10-16T02:45:43.943Z] 1e910a182e73: Download complete [2020-10-16T02:45:44.272Z] df20fa9351a1: Verifying Checksum [2020-10-16T02:45:44.272Z] df20fa9351a1: Download complete [2020-10-16T02:45:45.526Z] df20fa9351a1: Pull complete [2020-10-16T02:45:46.240Z] ed8968b2872e: Pull complete [2020-10-16T02:45:46.570Z] a92cc7c5fd73: Pull complete [2020-10-16T02:45:46.968Z] using credential edgex-jenkins-ssh [2020-10-16T02:45:47.026Z] Cloning the remote Git repository [2020-10-16T02:45:47.084Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:45:47.233Z] > git init /w/workspace/device-sdk-go/21 # timeout=10 [2020-10-16T02:45:47.430Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:45:47.431Z] > git --version # timeout=10 [2020-10-16T02:45:47.447Z] > git --version # 'git version 2.17.1' [2020-10-16T02:45:47.448Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:45:47.522Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T02:45:49.351Z] Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 [2020-10-16T02:45:49.649Z] Merge succeeded, producing 3fe09e7ba9f9d9a6d5b671ec5bcc69c38dc15f1a [2020-10-16T02:45:49.649Z] Checking out Revision 3fe09e7ba9f9d9a6d5b671ec5bcc69c38dc15f1a (PR-584) [2020-10-16T02:45:48.667Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T02:45:48.682Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T02:45:48.718Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T02:45:48.763Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:45:48.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:45:48.814Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T02:45:49.375Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T02:45:49.391Z] > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 [2020-10-16T02:45:49.505Z] > git remote # timeout=10 [2020-10-16T02:45:49.521Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T02:45:49.534Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:45:49.544Z] > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 [2020-10-16T02:45:49.636Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T02:45:49.659Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T02:45:49.687Z] > git checkout -f 3fe09e7ba9f9d9a6d5b671ec5bcc69c38dc15f1a # timeout=10 [2020-10-16T02:45:54.084Z] Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" [2020-10-16T02:45:54.109Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T02:45:55.085Z] ========================================================= [2020-10-16T02:45:55.085Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-16T02:45:55.085Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:45:54.095Z] > git rev-list --no-walk 45c1db7a078e7895d1937ff01ca68aa047ba2514 # timeout=10 [2020-10-16T02:45:56.108Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-10-16T02:45:56.109Z] 4e634b169226: Verifying Checksum [2020-10-16T02:45:56.109Z] 4e634b169226: Download complete [2020-10-16T02:45:57.103Z] Sending build context to Docker daemon 2.296MB [2020-10-16T02:45:57.104Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T02:45:57.104Z] Step 2/8 : FROM ${BASE} [2020-10-16T02:45:57.395Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-16T02:45:57.395Z] b538f80385f9: Pulling fs layer [2020-10-16T02:45:57.395Z] 74f711af9a0d: Pulling fs layer [2020-10-16T02:45:57.395Z] 99f96fe45779: Pulling fs layer [2020-10-16T02:45:57.395Z] 8529a6b9a6be: Pulling fs layer [2020-10-16T02:45:57.395Z] 45590311c82a: Pulling fs layer [2020-10-16T02:45:57.395Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-16T02:45:57.395Z] 209524e5b208: Pulling fs layer [2020-10-16T02:45:57.395Z] 8529a6b9a6be: Waiting [2020-10-16T02:45:57.395Z] 45590311c82a: Waiting [2020-10-16T02:45:57.395Z] 69ca0ff8b7b3: Waiting [2020-10-16T02:45:57.395Z] 209524e5b208: Waiting [2020-10-16T02:45:57.395Z] 99f96fe45779: Verifying Checksum [2020-10-16T02:45:57.395Z] 99f96fe45779: Download complete [2020-10-16T02:45:57.395Z] 74f711af9a0d: Verifying Checksum [2020-10-16T02:45:57.395Z] 74f711af9a0d: Download complete [2020-10-16T02:45:57.395Z] 45590311c82a: Verifying Checksum [2020-10-16T02:45:57.395Z] 45590311c82a: Download complete [2020-10-16T02:45:57.395Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-16T02:45:57.395Z] 69ca0ff8b7b3: Download complete [2020-10-16T02:45:57.395Z] b538f80385f9: Verifying Checksum [2020-10-16T02:45:57.395Z] b538f80385f9: Download complete [2020-10-16T02:45:58.000Z] b538f80385f9: Pull complete [2020-10-16T02:45:58.611Z] 74f711af9a0d: Pull complete [2020-10-16T02:45:59.215Z] 99f96fe45779: Pull complete [2020-10-16T02:46:01.865Z] 209524e5b208: Verifying Checksum [2020-10-16T02:46:01.865Z] 209524e5b208: Download complete [2020-10-16T02:46:04.500Z] 8529a6b9a6be: Download complete [2020-10-16T02:46:05.282Z] e871e8e8d7a9: Verifying Checksum [2020-10-16T02:46:05.283Z] e871e8e8d7a9: Download complete [2020-10-16T02:46:14.062Z] e871e8e8d7a9: Pull complete [2020-10-16T02:46:14.062Z] e73272ec9a57: Pull complete [2020-10-16T02:46:14.062Z] 1e910a182e73: Pull complete [2020-10-16T02:46:16.921Z] 8529a6b9a6be: Pull complete [2020-10-16T02:46:16.922Z] 45590311c82a: Pull complete [2020-10-16T02:46:16.922Z] 69ca0ff8b7b3: Pull complete [2020-10-16T02:46:19.582Z] 209524e5b208: Pull complete [2020-10-16T02:46:19.582Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-16T02:46:19.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-16T02:46:19.582Z] ---> 5bddaf1c2fca [2020-10-16T02:46:19.582Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:46:19.720Z] 4e634b169226: Pull complete [2020-10-16T02:46:19.721Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-16T02:46:19.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-16T02:46:19.721Z] ---> f7629b54cfaa [2020-10-16T02:46:19.721Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:46:20.339Z] ---> Running in 93d86eb0f723 [2020-10-16T02:46:20.627Z] Removing intermediate container 93d86eb0f723 [2020-10-16T02:46:20.627Z] ---> 0e51104abd11 [2020-10-16T02:46:20.627Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T02:46:20.627Z] ---> Running in d63843054dda [2020-10-16T02:46:22.202Z] ---> Running in 8fe17df06ff8 [2020-10-16T02:46:22.607Z] Removing intermediate container d63843054dda [2020-10-16T02:46:22.607Z] ---> fb1c40d5c000 [2020-10-16T02:46:22.607Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T02:46:22.607Z] ---> Running in 07ed62c30ad5 [2020-10-16T02:46:22.807Z] Removing intermediate container 8fe17df06ff8 [2020-10-16T02:46:22.807Z] ---> 15cd2f70a3ff [2020-10-16T02:46:22.807Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T02:46:22.807Z] ---> Running in 90be5741697c [2020-10-16T02:46:23.209Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T02:46:23.959Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T02:46:24.621Z] OK: 166 MiB in 39 packages [2020-10-16T02:46:25.461Z] Removing intermediate container 90be5741697c [2020-10-16T02:46:25.461Z] ---> 578699035281 [2020-10-16T02:46:25.461Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T02:46:25.461Z] ---> Running in 554b0220560e [2020-10-16T02:46:25.633Z] Removing intermediate container 07ed62c30ad5 [2020-10-16T02:46:25.633Z] ---> 742f6cc056b4 [2020-10-16T02:46:25.633Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T02:46:25.633Z] ---> Running in fe379e9422ef [2020-10-16T02:46:25.939Z] Removing intermediate container fe379e9422ef [2020-10-16T02:46:25.939Z] ---> a7bdf2e12e11 [2020-10-16T02:46:25.939Z] Step 7/8 : COPY . . [2020-10-16T02:46:26.900Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T02:46:27.497Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T02:46:27.504Z] ---> dfd75fa912f5 [2020-10-16T02:46:27.504Z] Step 8/8 : RUN go mod download [2020-10-16T02:46:27.811Z] ---> Running in e438a553f1de [2020-10-16T02:46:28.474Z] OK: 142 MiB in 39 packages [2020-10-16T02:46:29.452Z] Removing intermediate container 554b0220560e [2020-10-16T02:46:29.452Z] ---> c61214e22361 [2020-10-16T02:46:29.452Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T02:46:29.725Z] ---> Running in b08091bb71bd [2020-10-16T02:46:30.002Z] Removing intermediate container b08091bb71bd [2020-10-16T02:46:30.002Z] ---> 146bc513fc48 [2020-10-16T02:46:30.002Z] Step 7/8 : COPY . . [2020-10-16T02:46:31.447Z] ---> 56e45f52265d [2020-10-16T02:46:31.447Z] Step 8/8 : RUN go mod download [2020-10-16T02:46:31.723Z] ---> Running in 325e5858c9a5 [2020-10-16T02:46:53.910Z] Removing intermediate container 325e5858c9a5 [2020-10-16T02:46:53.910Z] ---> 3cfe4b3cb307 [2020-10-16T02:46:53.910Z] Successfully built 3cfe4b3cb307 [2020-10-16T02:46:53.910Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:46:54.327Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T02:46:54.327Z] . [Pipeline] withDockerContainer [2020-10-16T02:46:54.582Z] prd-ubuntu18.04-docker-arm64-4c-16g-5751 does not seem to be running inside a container [2020-10-16T02:46:54.689Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@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 ******** ci-base-image-arm64 cat [2020-10-16T02:46:55.082Z] Removing intermediate container e438a553f1de [2020-10-16T02:46:55.082Z] ---> c7a9b87f584b [2020-10-16T02:46:55.082Z] Successfully built c7a9b87f584b [2020-10-16T02:46:55.082Z] Successfully tagged ci-base-image-x86_64:latest [2020-10-16T02:46:56.557Z] $ docker top 2ce94a8d1ef0d2be8e565128d751b512afc8c4b78b38b6b62c271a5cc5aaf12c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:46:57.527Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T02:46:57.527Z] . [Pipeline] withDockerContainer [2020-10-16T02:46:57.714Z] prd-centos7-docker-4c-2g-5748 does not seem to be running inside a container [2020-10-16T02:46:57.976Z] + go version [2020-10-16T02:46:57.977Z] go version go1.15.2 linux/arm64 [2020-10-16T02:46:58.000Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@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 ******** ci-base-image-x86_64 cat [2020-10-16T02:46:59.484Z] $ docker top 39ef0d25148da9054faa378a7cf5457e14ef3e6b701ff6f9f2e4e5b8cef181a2 -eo pid,comm [Pipeline] { [Pipeline] } [2020-10-16T02:46:59.812Z] $ docker stop --time=1 2ce94a8d1ef0d2be8e565128d751b512afc8c4b78b38b6b62c271a5cc5aaf12c [2020-10-16T02:47:01.716Z] $ docker rm -f 2ce94a8d1ef0d2be8e565128d751b512afc8c4b78b38b6b62c271a5cc5aaf12c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-10-16T02:47:02.424Z] + go version [2020-10-16T02:47:02.424Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-16T02:47:02.489Z] $ docker stop --time=1 39ef0d25148da9054faa378a7cf5457e14ef3e6b701ff6f9f2e4e5b8cef181a2 [2020-10-16T02:47:04.133Z] $ docker rm -f 39ef0d25148da9054faa378a7cf5457e14ef3e6b701ff6f9f2e4e5b8cef181a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:47:05.254Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T02:47:05.255Z] . [Pipeline] withDockerContainer [2020-10-16T02:47:05.453Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T02:47:05.453Z] . [2020-10-16T02:47:05.562Z] prd-ubuntu18.04-docker-arm64-4c-16g-5751 does not seem to be running inside a container [2020-10-16T02:47:05.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@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 ******** ci-base-image-arm64 cat [2020-10-16T02:47:07.715Z] $ docker top 3c8443ad67b6a8a40991776f898b7a645f7261004df84eb1a67875acbd76caaa -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2020-10-16T02:47:08.364Z] prd-centos7-docker-4c-2g-5748 does not seem to be running inside a container [2020-10-16T02:47:08.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@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 ******** ci-base-image-x86_64 cat [2020-10-16T02:47:10.740Z] $ docker top b61598ef1e9790ff8f7d57effb3079712fe022806c9a1201672fd3cf5d21fd08 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2020-10-16T02:47:11.644Z] + make test [2020-10-16T02:47:11.644Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T02:47:12.097Z] + make test [2020-10-16T02:47:12.097Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T02:47:27.343Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T02:47:34.408Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T02:47:54.514Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T02:47:54.514Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T02:47:54.514Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T02:47:54.514Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.126s coverage: 21.6% of statements [2020-10-16T02:47:56.742Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.955s coverage: 97.1% of statements [2020-10-16T02:48:13.468Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T02:48:13.468Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T02:48:13.468Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T02:48:14.922Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.146s coverage: 21.6% of statements [2020-10-16T02:48:20.347Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.219s coverage: 97.1% of statements [2020-10-16T02:48:24.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.241s coverage: 9.4% of statements [2020-10-16T02:48:24.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.092s coverage: 21.9% of statements [2020-10-16T02:48:24.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T02:48:24.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.316s coverage: 40.8% of statements [2020-10-16T02:48:24.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T02:48:24.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.570s coverage: 68.9% of statements [2020-10-16T02:48:24.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T02:48:24.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T02:48:24.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T02:48:24.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T02:48:24.126Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.177s coverage: 52.6% of statements [2020-10-16T02:48:24.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T02:48:24.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T02:48:24.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T02:48:24.126Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.245s coverage: 68.9% of statements [2020-10-16T02:48:24.126Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T02:48:24.126Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T02:48:24.126Z] GO111MODULE=on go vet ./... [2020-10-16T02:48:39.511Z] gofmt -l . [2020-10-16T02:48:39.511Z] [ "`gofmt -l .`" = "" ] [2020-10-16T02:48:39.511Z] ./bin/test-attribution-txt.sh [2020-10-16T02:48:39.810Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T02:48:41.211Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T02:48:41.224Z] $ docker stop --time=1 b61598ef1e9790ff8f7d57effb3079712fe022806c9a1201672fd3cf5d21fd08 [2020-10-16T02:48:43.610Z] $ docker rm -f b61598ef1e9790ff8f7d57effb3079712fe022806c9a1201672fd3cf5d21fd08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-16T02:48:45.661Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T02:48:46.101Z] + ls -al . [2020-10-16T02:48:46.101Z] total 188 [2020-10-16T02:48:46.101Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 02:48 . [2020-10-16T02:48:46.101Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 16 02:45 .. [2020-10-16T02:48:46.101Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 02:45 bin [2020-10-16T02:48:46.101Z] -rw-r--r--. 1 jenkins jenkins 110396 Oct 16 02:48 coverage.out [2020-10-16T02:48:46.101Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 02:45 Dockerfile.build [2020-10-16T02:48:46.101Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 02:45 .dockerignore [2020-10-16T02:48:46.101Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 02:45 example [2020-10-16T02:48:46.101Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 02:45 .git [2020-10-16T02:48:46.101Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 02:45 .github [2020-10-16T02:48:46.101Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 02:45 .gitignore [2020-10-16T02:48:46.101Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 16 02:48 go.mod [2020-10-16T02:48:46.101Z] -rw-r--r--. 1 jenkins jenkins 13737 Oct 16 02:48 go.sum [2020-10-16T02:48:46.101Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 02:45 internal [2020-10-16T02:48:46.101Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 02:45 Jenkinsfile [2020-10-16T02:48:46.101Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 02:45 LICENSE [2020-10-16T02:48:46.101Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 02:45 Makefile [2020-10-16T02:48:46.101Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 02:45 openapi [2020-10-16T02:48:46.101Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 02:45 pkg [2020-10-16T02:48:46.101Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 02:45 README.md [2020-10-16T02:48:46.101Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 02:45 RELEASE-NOTES.txt [2020-10-16T02:48:46.101Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 02:45 snap [2020-10-16T02:48:46.101Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 02:43 VERSION [2020-10-16T02:48:46.101Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:48:46.600Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=dd95adb44c79d885b11bb729300c8da6e1c54625 --label arch=amd64 --label version=0.0.0 . [2020-10-16T02:48:46.890Z] Sending build context to Docker daemon 2.407MB [2020-10-16T02:48:46.890Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T02:48:46.890Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T02:48:46.890Z] ---> c7a9b87f584b [2020-10-16T02:48:46.890Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T02:48:47.146Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.132s coverage: 9.4% of statements [2020-10-16T02:48:47.146Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.179s coverage: 21.9% of statements [2020-10-16T02:48:47.146Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T02:48:47.146Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.564s coverage: 40.8% of statements [2020-10-16T02:48:47.146Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T02:48:47.146Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.802s coverage: 68.9% of statements [2020-10-16T02:48:47.146Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T02:48:47.146Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T02:48:47.146Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T02:48:47.146Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T02:48:47.146Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.195s coverage: 52.6% of statements [2020-10-16T02:48:47.146Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T02:48:47.146Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T02:48:47.146Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T02:48:47.146Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.749s coverage: 68.9% of statements [2020-10-16T02:48:47.146Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T02:48:47.146Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T02:48:47.146Z] GO111MODULE=on go vet ./... [2020-10-16T02:48:47.476Z] ---> Running in 190398b37b60 [2020-10-16T02:48:47.476Z] Removing intermediate container 190398b37b60 [2020-10-16T02:48:47.476Z] ---> 354924a68cab [2020-10-16T02:48:47.476Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T02:48:47.766Z] ---> Running in 3e3c3292567b [2020-10-16T02:48:48.057Z] Removing intermediate container 3e3c3292567b [2020-10-16T02:48:48.057Z] ---> 548b083d28a9 [2020-10-16T02:48:48.057Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:48:48.057Z] ---> Running in b75335f5697c [2020-10-16T02:48:48.666Z] Removing intermediate container b75335f5697c [2020-10-16T02:48:48.666Z] ---> a293c2202c03 [2020-10-16T02:48:48.667Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T02:48:48.667Z] ---> Running in 8607629d4150 [2020-10-16T02:48:50.758Z] Removing intermediate container 8607629d4150 [2020-10-16T02:48:50.758Z] ---> b9ec4452bd7b [2020-10-16T02:48:50.758Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T02:48:50.758Z] ---> Running in dae90a718562 [2020-10-16T02:48:52.380Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T02:48:53.030Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T02:48:54.099Z] OK: 166 MiB in 39 packages [2020-10-16T02:48:54.757Z] Removing intermediate container dae90a718562 [2020-10-16T02:48:54.757Z] ---> cd00cd16f205 [2020-10-16T02:48:54.757Z] Step 8/24 : COPY . . [2020-10-16T02:48:56.304Z] ---> 6943c10d504a [2020-10-16T02:48:56.304Z] Step 9/24 : RUN ${MAKE} [2020-10-16T02:48:56.304Z] ---> Running in a1fb0be972a8 [2020-10-16T02:48:57.354Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-16T02:49:16.911Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T02:49:19.549Z] gofmt -l . [2020-10-16T02:49:19.549Z] [ "`gofmt -l .`" = "" ] [2020-10-16T02:49:19.549Z] ./bin/test-attribution-txt.sh [2020-10-16T02:49:19.549Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T02:49:19.622Z] Warning: overwriting stash ‘coverage-report’ [2020-10-16T02:49:20.302Z] Removing intermediate container a1fb0be972a8 [2020-10-16T02:49:20.303Z] ---> 04c20a681fba [2020-10-16T02:49:20.303Z] Step 10/24 : FROM scratch [2020-10-16T02:49:20.303Z] ---> [2020-10-16T02:49:20.303Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:49:20.303Z] ---> Running in 754a87715788 [2020-10-16T02:49:20.303Z] Removing intermediate container 754a87715788 [2020-10-16T02:49:20.303Z] ---> 17e97c713e16 [2020-10-16T02:49:20.303Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T02:49:20.303Z] ---> Running in 7f3b84cfff40 [2020-10-16T02:49:20.303Z] Removing intermediate container 7f3b84cfff40 [2020-10-16T02:49:20.303Z] ---> 1d4db088b7fb [2020-10-16T02:49:20.303Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T02:49:20.523Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T02:49:20.531Z] $ docker stop --time=1 3c8443ad67b6a8a40991776f898b7a645f7261004df84eb1a67875acbd76caaa [2020-10-16T02:49:20.578Z] ---> Running in 33214b214bf7 [2020-10-16T02:49:21.176Z] Removing intermediate container 33214b214bf7 [2020-10-16T02:49:21.176Z] ---> f20cccfd9eba [2020-10-16T02:49:21.176Z] Step 14/24 : WORKDIR / [2020-10-16T02:49:21.481Z] ---> Running in 6fa953b08467 [2020-10-16T02:49:21.758Z] Removing intermediate container 6fa953b08467 [2020-10-16T02:49:21.758Z] ---> 494d8a985e17 [2020-10-16T02:49:21.758Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T02:49:22.777Z] ---> 95e54e1056fc [2020-10-16T02:49:22.777Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T02:49:22.774Z] $ docker rm -f 3c8443ad67b6a8a40991776f898b7a645f7261004df84eb1a67875acbd76caaa [2020-10-16T02:49:23.083Z] ---> 73d4cc19bf13 [2020-10-16T02:49:23.083Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-10-16T02:49:23.686Z] ---> 92b67e672821 [2020-10-16T02:49:23.686Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T02:49:23.967Z] ---> db2f3adc0ac2 [2020-10-16T02:49:23.967Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T02:49:24.275Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T02:49:24.583Z] ---> dd68a0e09cad [2020-10-16T02:49:24.583Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T02:49:24.583Z] ---> Running in d0d3bc692950 [2020-10-16T02:49:24.646Z] + ls -al . [2020-10-16T02:49:24.646Z] total 224 [2020-10-16T02:49:24.646Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 02:49 . [2020-10-16T02:49:24.646Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:45 .. [2020-10-16T02:49:24.646Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 02:45 .dockerignore [2020-10-16T02:49:24.646Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 02:45 .git [2020-10-16T02:49:24.646Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 02:45 .github [2020-10-16T02:49:24.646Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 02:45 .gitignore [2020-10-16T02:49:24.646Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 02:45 Dockerfile.build [2020-10-16T02:49:24.646Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 02:45 Jenkinsfile [2020-10-16T02:49:24.646Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 02:45 LICENSE [2020-10-16T02:49:24.646Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 02:45 Makefile [2020-10-16T02:49:24.646Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 02:45 README.md [2020-10-16T02:49:24.646Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 02:45 RELEASE-NOTES.txt [2020-10-16T02:49:24.646Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 02:43 VERSION [2020-10-16T02:49:24.646Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 02:45 bin [2020-10-16T02:49:24.646Z] -rw-r--r-- 1 jenkins jenkins 110396 Oct 16 02:48 coverage.out [2020-10-16T02:49:24.646Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:45 example [2020-10-16T02:49:24.646Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 16 02:49 go.mod [2020-10-16T02:49:24.647Z] -rw-r--r-- 1 jenkins jenkins 13737 Oct 16 02:49 go.sum [2020-10-16T02:49:24.647Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 02:45 internal [2020-10-16T02:49:24.647Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:45 openapi [2020-10-16T02:49:24.647Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 02:45 pkg [2020-10-16T02:49:24.647Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:45 snap [2020-10-16T02:49:24.647Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:49:24.899Z] Removing intermediate container d0d3bc692950 [2020-10-16T02:49:24.899Z] ---> 1f1fd81dce4c [2020-10-16T02:49:24.899Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T02:49:24.899Z] ---> Running in 28c008c72270 [2020-10-16T02:49:25.011Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=dd95adb44c79d885b11bb729300c8da6e1c54625 --label arch=arm64 --label version=0.0.0 . [2020-10-16T02:49:25.199Z] Removing intermediate container 28c008c72270 [2020-10-16T02:49:25.199Z] ---> e1a716593773 [2020-10-16T02:49:25.199Z] Step 22/24 : LABEL arch=amd64 [2020-10-16T02:49:25.199Z] ---> Running in 8fc96a776f11 [2020-10-16T02:49:25.474Z] Removing intermediate container 8fc96a776f11 [2020-10-16T02:49:25.474Z] ---> c1d972adadac [2020-10-16T02:49:25.474Z] Step 23/24 : LABEL git_sha=dd95adb44c79d885b11bb729300c8da6e1c54625 [2020-10-16T02:49:25.474Z] ---> Running in b80ed99760d0 [2020-10-16T02:49:25.619Z] Sending build context to Docker daemon 2.407MB [2020-10-16T02:49:25.619Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T02:49:25.619Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T02:49:25.619Z] ---> 3cfe4b3cb307 [2020-10-16T02:49:25.619Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T02:49:25.751Z] Removing intermediate container b80ed99760d0 [2020-10-16T02:49:25.751Z] ---> f670c77c8d8c [2020-10-16T02:49:25.751Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T02:49:25.891Z] ---> Running in 9669e083ee25 [2020-10-16T02:49:26.024Z] ---> Running in bc9965c17f9d [2020-10-16T02:49:26.024Z] Removing intermediate container bc9965c17f9d [2020-10-16T02:49:26.024Z] ---> dd6a24840b76 [2020-10-16T02:49:26.024Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T02:49:26.024Z] Successfully built dd6a24840b76 [2020-10-16T02:49:26.163Z] Removing intermediate container 9669e083ee25 [2020-10-16T02:49:26.163Z] ---> ec2054f5d376 [2020-10-16T02:49:26.163Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T02:49:26.299Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [2020-10-16T02:49:26.444Z] ---> Running in f40128259d11 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2020-10-16T02:49:26.727Z] Removing intermediate container f40128259d11 [2020-10-16T02:49:26.727Z] ---> a0e4fd9a72fc [2020-10-16T02:49:26.727Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [2020-10-16T02:49:27.002Z] ---> Running in bea35bc255cd [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [2020-10-16T02:49:27.277Z] Removing intermediate container bea35bc255cd [2020-10-16T02:49:27.277Z] ---> cae2027642b3 [2020-10-16T02:49:27.277Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-16T02:49:27.560Z] ---> Running in dc28655d7247 [2020-10-16T02:49:30.199Z] Removing intermediate container dc28655d7247 [2020-10-16T02:49:30.199Z] ---> 9e886c22a0e5 [2020-10-16T02:49:30.199Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T02:49:30.199Z] ---> Running in e28761d5b255 [2020-10-16T02:49:32.183Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T02:49:32.781Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T02:49:33.377Z] OK: 142 MiB in 39 packages [2020-10-16T02:49:34.824Z] Removing intermediate container e28761d5b255 [2020-10-16T02:49:34.824Z] ---> 7972ab91feeb [2020-10-16T02:49:34.824Z] Step 8/24 : COPY . . [2020-10-16T02:49:36.263Z] ---> d6369797e1db [2020-10-16T02:49:36.263Z] Step 9/24 : RUN ${MAKE} [2020-10-16T02:49:36.263Z] ---> Running in 08348d3a23cf [2020-10-16T02:49:37.705Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-16T02:50:04.559Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T02:50:06.535Z] Removing intermediate container 08348d3a23cf [2020-10-16T02:50:06.535Z] ---> 07e6f0625df8 [2020-10-16T02:50:06.535Z] Step 10/24 : FROM scratch [2020-10-16T02:50:06.535Z] ---> [2020-10-16T02:50:06.535Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:50:06.535Z] ---> Running in 470147f74881 [2020-10-16T02:50:07.131Z] Removing intermediate container 470147f74881 [2020-10-16T02:50:07.131Z] ---> aa51521f5f98 [2020-10-16T02:50:07.131Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T02:50:07.131Z] ---> Running in b8aac2096361 [2020-10-16T02:50:07.403Z] Removing intermediate container b8aac2096361 [2020-10-16T02:50:07.403Z] ---> 065f9821e836 [2020-10-16T02:50:07.403Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T02:50:07.677Z] ---> Running in 493589d7eeeb [2020-10-16T02:50:07.951Z] Removing intermediate container 493589d7eeeb [2020-10-16T02:50:07.951Z] ---> 54910ee79f67 [2020-10-16T02:50:07.951Z] Step 14/24 : WORKDIR / [2020-10-16T02:50:08.224Z] ---> Running in 8a26fadb3f31 [2020-10-16T02:50:08.500Z] Removing intermediate container 8a26fadb3f31 [2020-10-16T02:50:08.500Z] ---> c04b5a3d5691 [2020-10-16T02:50:08.500Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T02:50:09.934Z] ---> 7004b0428f4e [2020-10-16T02:50:09.934Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T02:50:10.528Z] ---> 3a18fc92b795 [2020-10-16T02:50:10.528Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T02:50:11.125Z] ---> 92c402f2397d [2020-10-16T02:50:11.125Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T02:50:12.102Z] ---> fc1de4531e0b [2020-10-16T02:50:12.102Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T02:50:12.704Z] ---> 13d17c9db0cd [2020-10-16T02:50:12.704Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T02:50:12.704Z] ---> Running in 6887f2f637a0 [2020-10-16T02:50:13.305Z] Removing intermediate container 6887f2f637a0 [2020-10-16T02:50:13.305Z] ---> 2330f0134785 [2020-10-16T02:50:13.305Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T02:50:13.305Z] ---> Running in 13ed97c19b6c [2020-10-16T02:50:13.901Z] Removing intermediate container 13ed97c19b6c [2020-10-16T02:50:13.901Z] ---> 8a9553e2b20b [2020-10-16T02:50:13.901Z] Step 22/24 : LABEL arch=arm64 [2020-10-16T02:50:13.901Z] ---> Running in b1abc69d5d4e [2020-10-16T02:50:14.496Z] Removing intermediate container b1abc69d5d4e [2020-10-16T02:50:14.496Z] ---> b92c45425639 [2020-10-16T02:50:14.496Z] Step 23/24 : LABEL git_sha=dd95adb44c79d885b11bb729300c8da6e1c54625 [2020-10-16T02:50:14.496Z] ---> Running in 8c4a1a283d9c [2020-10-16T02:50:15.090Z] Removing intermediate container 8c4a1a283d9c [2020-10-16T02:50:15.090Z] ---> b79548b16db3 [2020-10-16T02:50:15.090Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T02:50:15.090Z] ---> Running in 29934094558f [2020-10-16T02:50:15.685Z] Removing intermediate container 29934094558f [2020-10-16T02:50:15.685Z] ---> 7df2f50f44e1 [2020-10-16T02:50:15.685Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T02:50:15.685Z] Successfully built 7df2f50f44e1 [2020-10-16T02:50:15.685Z] Successfully tagged docker-device-sdk-simple-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] stage [Pipeline] { (Snap) Stage "Snap" 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) [Pipeline] unstash [Pipeline] wrap [2020-10-16T02:50:17.652Z] provisioning config files... [2020-10-16T02:50:17.666Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config4442879981541635456tmp [Pipeline] { [Pipeline] sh [2020-10-16T02:50:18.064Z] + set +x [2020-10-16T02:50:18.064Z] + curl -s https://codecov.io/bash [2020-10-16T02:50:18.064Z] + bash -s -- [2020-10-16T02:50:18.328Z] [2020-10-16T02:50:18.328Z] _____ _ [2020-10-16T02:50:18.328Z] / ____| | | [2020-10-16T02:50:18.328Z] | | ___ __| | ___ ___ _____ __ [2020-10-16T02:50:18.328Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-16T02:50:18.328Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-16T02:50:18.328Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-16T02:50:18.328Z] Bash-20201009-048fee3 [2020-10-16T02:50:18.328Z] [2020-10-16T02:50:18.328Z] [2020-10-16T02:50:18.328Z] ==> Jenkins CI detected. [2020-10-16T02:50:18.328Z] project root: . [2020-10-16T02:50:18.328Z] Fixing merge commit SHA [2020-10-16T02:50:18.328Z] --> token set from env [2020-10-16T02:50:18.328Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-16T02:50:18.328Z] ==> Running gcov in . (disable via -X gcov) [2020-10-16T02:50:18.328Z] ==> Python coveragepy not found [2020-10-16T02:50:18.328Z] ==> Searching for coverage reports in: [2020-10-16T02:50:18.328Z] + . [2020-10-16T02:50:18.328Z] -> Found 1 reports [2020-10-16T02:50:18.328Z] ==> Detecting git/mercurial file structure [2020-10-16T02:50:18.328Z] ==> Reading reports [2020-10-16T02:50:18.328Z] + ./coverage.out bytes=110396 [2020-10-16T02:50:18.328Z] ==> Appending adjustments [2020-10-16T02:50:18.328Z] https://docs.codecov.io/docs/fixing-reports [2020-10-16T02:50:18.910Z] + Found adjustments [2020-10-16T02:50:18.910Z] ==> Gzipping contents [2020-10-16T02:50:18.910Z] ==> Uploading reports [2020-10-16T02:50:18.910Z] url: https://codecov.io [2020-10-16T02:50:18.910Z] query: branch=PR-584&commit=abee7d5846637e135dd277469e99a0143c7ff265&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-16T02:50:18.910Z] -> Pinging Codecov [2020-10-16T02:50:18.910Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-584&commit=abee7d5846637e135dd277469e99a0143c7ff265&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-16T02:50:18.910Z] -> Uploading to [2020-10-16T02:50:18.910Z] [2020-10-16T02:50:18.910Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T02:50:18.910Z] Dload Upload Total Spent Left Speed [2020-10-16T02:50:18.910Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-16T02:50:18.910Z] X> Failed to upload [2020-10-16T02:50:18.910Z] ==> Uploading to Codecov [2020-10-16T02:50:18.910Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T02:50:18.910Z] Dload Upload Total Spent Left Speed [2020-10-16T02:50:19.857Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18992 100 110 100 18882 171 29512 --:--:-- --:--:-- --:--:-- 29549 [2020-10-16T02:50:19.857Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/abee7d5846637e135dd277469e99a0143c7ff265 [Pipeline] } [2020-10-16T02:50:19.865Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:50:22.654Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:50:23.220Z] ---> package-listing.sh [2020-10-16T02:50:23.220Z] ++ facter osfamily [2020-10-16T02:50:23.220Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-16T02:50:23.220Z] + OS_FAMILY=redhat [2020-10-16T02:50:23.220Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-16T02:50:23.220Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-16T02:50:23.220Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-16T02:50:23.220Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-16T02:50:23.220Z] + PACKAGES=/tmp/packages_start.txt [2020-10-16T02:50:23.220Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-16T02:50:23.220Z] + PACKAGES=/tmp/packages_end.txt [2020-10-16T02:50:23.220Z] + case "${OS_FAMILY}" in [2020-10-16T02:50:23.220Z] + rpm -qa [2020-10-16T02:50:23.220Z] + sort [2020-10-16T02:50:27.454Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-16T02:50:27.454Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-16T02:50:27.454Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-16T02:50:27.454Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-16T02:50:27.454Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [2020-10-16T02:50:27.454Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [Pipeline] echo [2020-10-16T02:50:27.470Z] 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/dgexfoundry_device-sdk-go_PR-584/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-16T02:50:27.772Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:50:28.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T02:50:28.082Z] [2020-10-16T02:50:28.082Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:50:28.446Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T02:50:28.446Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-16T02:50:28.446Z] df20fa9351a1: Pulling fs layer [2020-10-16T02:50:28.446Z] 36b3adc4ff6f: Pulling fs layer [2020-10-16T02:50:28.446Z] 8ad3a11d3b57: Pulling fs layer [2020-10-16T02:50:28.446Z] 46f8f816bc3b: Pulling fs layer [2020-10-16T02:50:28.446Z] 93b61091891f: Pulling fs layer [2020-10-16T02:50:28.446Z] 93b9cdb0e59b: Pulling fs layer [2020-10-16T02:50:28.446Z] 5e14af77c1be: Pulling fs layer [2020-10-16T02:50:28.446Z] 01666e4c0597: Pulling fs layer [2020-10-16T02:50:28.446Z] aa168da1d23b: Pulling fs layer [2020-10-16T02:50:28.446Z] 93b9cdb0e59b: Waiting [2020-10-16T02:50:28.446Z] 5e14af77c1be: Waiting [2020-10-16T02:50:28.446Z] 01666e4c0597: Waiting [2020-10-16T02:50:28.446Z] aa168da1d23b: Waiting [2020-10-16T02:50:28.446Z] 93b61091891f: Waiting [2020-10-16T02:50:28.446Z] 46f8f816bc3b: Waiting [2020-10-16T02:50:28.446Z] 36b3adc4ff6f: Download complete [2020-10-16T02:50:28.446Z] 46f8f816bc3b: Download complete [2020-10-16T02:50:28.708Z] df20fa9351a1: Verifying Checksum [2020-10-16T02:50:28.708Z] df20fa9351a1: Download complete [2020-10-16T02:50:28.708Z] 93b9cdb0e59b: Verifying Checksum [2020-10-16T02:50:28.708Z] 93b9cdb0e59b: Download complete [2020-10-16T02:50:28.708Z] 5e14af77c1be: Verifying Checksum [2020-10-16T02:50:28.708Z] 5e14af77c1be: Download complete [2020-10-16T02:50:28.708Z] 93b61091891f: Verifying Checksum [2020-10-16T02:50:28.708Z] 93b61091891f: Download complete [2020-10-16T02:50:28.708Z] 01666e4c0597: Download complete [2020-10-16T02:50:28.969Z] df20fa9351a1: Pull complete [2020-10-16T02:50:29.231Z] 36b3adc4ff6f: Pull complete [2020-10-16T02:50:29.499Z] 8ad3a11d3b57: Verifying Checksum [2020-10-16T02:50:29.499Z] 8ad3a11d3b57: Download complete [2020-10-16T02:50:30.092Z] 8ad3a11d3b57: Pull complete [2020-10-16T02:50:30.360Z] 46f8f816bc3b: Pull complete [2020-10-16T02:50:30.952Z] 93b61091891f: Pull complete [2020-10-16T02:50:31.215Z] 93b9cdb0e59b: Pull complete [2020-10-16T02:50:31.215Z] 5e14af77c1be: Pull complete [2020-10-16T02:50:31.484Z] aa168da1d23b: Verifying Checksum [2020-10-16T02:50:31.484Z] aa168da1d23b: Download complete [2020-10-16T02:50:31.484Z] 01666e4c0597: Pull complete [2020-10-16T02:50:38.103Z] aa168da1d23b: Pull complete [2020-10-16T02:50:38.103Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-16T02:50:38.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T02:50:38.103Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-16T02:50:38.273Z] prd-centos7-docker-4c-2g-5743 does not seem to be running inside a container [2020-10-16T02:50:38.323Z] $ 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/dgexfoundry_device-sdk-go_PR-584/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-16T02:50:45.166Z] $ docker top 4fcce52706e973e2023a88cf23d8ab31cb5b21d4d2a65ec49fdc6263b31a24a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T02:50:45.789Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-16T02:50:46.090Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-16T02:50:46.394Z] + ls /var/log/sa-host [2020-10-16T02:50:46.394Z] + sadf -c /var/log/sa-host/sa05 [2020-10-16T02:50:46.394Z] file_magic: OK [2020-10-16T02:50:46.394Z] HZ: Using current value: 100 [2020-10-16T02:50:46.394Z] file_header: OK [2020-10-16T02:50:46.394Z] 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-10-16T02:50:46.394Z] Statistics: [2020-10-16T02:50:46.394Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T02:50:46.394Z] File successfully converted to sysstat format version 12.2.1 [2020-10-16T02:50:46.394Z] + sadf -c /var/log/sa-host/sa16 [2020-10-16T02:50:46.394Z] file_magic: OK [2020-10-16T02:50:46.394Z] HZ: Using current value: 100 [2020-10-16T02:50:46.394Z] file_header: OK [2020-10-16T02:50:46.394Z] 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-10-16T02:50:46.394Z] Statistics: [2020-10-16T02:50:46.394Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T02:50:46.394Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-16T02:50:46.611Z] provisioning config files... [2020-10-16T02:50:46.630Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config7377729023048489109tmp [Pipeline] { [Pipeline] echo [2020-10-16T02:50:46.709Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:50:47.014Z] ---> create-netrc.sh [Pipeline] } [2020-10-16T02:50:47.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-16T02:50:47.120Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:50:47.418Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-16T02:50:47.430Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:50:47.743Z] ---> sudo-logs.sh [2020-10-16T02:50:47.743Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-16T02:50:47.754Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:50:48.052Z] ---> job-cost.sh [2020-10-16T02:50:48.052Z] lf-activate-venv: SKIPPING [2020-10-16T02:50:48.052Z] INFO: No Stack... [2020-10-16T02:50:49.444Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-16T02:50:49.708Z] INFO: Archiving Costs [Pipeline] echo [2020-10-16T02:50:49.721Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:50:50.021Z] ---> logs-deploy.sh [2020-10-16T02:50:50.021Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/21 [2020-10-16T02:50:50.021Z] INFO: archiving workspace using pattern(s): [2020-10-16T02:50:51.943Z] Archives upload complete. [2020-10-16T02:50:51.943Z] INFO: archiving logs to Nexus