Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6d170b70e1a04a00d380c7c5d579fc072917eff5+abee7d5846637e135dd277469e99a0143c7ff265 (2bd65c21e222b07647b433ff3828f71fefed752f) 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-5744 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [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-614 # 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 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit 6d170b70e1a04a00d380c7c5d579fc072917eff5 > 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/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # 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 Merge succeeded, producing 1e6cab53454d5719e39d413947056ef5f4856702 Checking out Revision 1e6cab53454d5719e39d413947056ef5f4856702 (PR-614) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e6cab53454d5719e39d413947056ef5f4856702 # timeout=10 Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 6f3196637d115c6207a57b03bd438428c049358e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-16T02:43:03.996Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-16T02:43:04.317Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-16T02:43:04.452Z] ========================================================= [2020-10-16T02:43:04.452Z] EdgeX Global Pipelines Version Info [2020-10-16T02:43:04.452Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:43:05.949Z] ------------------- [2020-10-16T02:43:05.949Z] stable info: [2020-10-16T02:43:05.949Z] ------------------- [2020-10-16T02:43:05.949Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T02:43:05.949Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T02:43:05.949Z] Message: update stable to v1.0.144 [2020-10-16T02:43:06.892Z] ------------------- [2020-10-16T02:43:06.892Z] experimental info: [2020-10-16T02:43:06.892Z] ------------------- [2020-10-16T02:43:06.892Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T02:43:06.892Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T02:43:06.892Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-16T02:43:07.241Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-16T02:43:07.340Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-16T02:43:07.442Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-16T02:43:07.529Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-16T02:43:07.628Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-16T02:43:07.718Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-16T02:43:07.824Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-16T02:43:07.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-16T02:43:08.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-16T02:43:08.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-16T02:43:08.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-16T02:43:08.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-16T02:43:08.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-16T02:43:08.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-16T02:43:08.591Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-16T02:43:08.684Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T02:43:08.774Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T02:43:08.869Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T02:43:08.977Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-16T02:43:09.067Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-16T02:43:09.155Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-16T02:43:09.254Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-16T02:43:09.345Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-16T02:43:09.433Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-16T02:43:09.606Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-16T02:43:09.693Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo [2020-10-16T02:43:09.774Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo [2020-10-16T02:43:09.967Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo [2020-10-16T02:43:10.047Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e6cab53454d5719e39d413947056ef5f4856702 [Pipeline] echo [2020-10-16T02:43:10.165Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e6cab5 [Pipeline] echo [2020-10-16T02:43:10.344Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T02:43:10.967Z] + git log --format=format:%s -1 1e6cab53454d5719e39d413947056ef5f4856702 [Pipeline] echo [2020-10-16T02:43:11.024Z] GIT_COMMIT: 1e6cab53454d5719e39d413947056ef5f4856702, Commit Message: Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD [Pipeline] echo [2020-10-16T02:43:11.071Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:43:11.676Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T02:43:11.939Z] [2020-10-16T02:43:11.939Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:43:12.284Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T02:43:12.284Z] latest: Pulling from edgex-devops/git-semver [2020-10-16T02:43:12.284Z] 31603596830f: Pulling fs layer [2020-10-16T02:43:12.284Z] 2a8b12db71e7: Pulling fs layer [2020-10-16T02:43:12.284Z] 6ca5941a6612: Pulling fs layer [2020-10-16T02:43:12.284Z] ecc8261a40a4: Pulling fs layer [2020-10-16T02:43:12.284Z] ecc8261a40a4: Waiting [2020-10-16T02:43:12.284Z] 2a8b12db71e7: Verifying Checksum [2020-10-16T02:43:12.284Z] 2a8b12db71e7: Download complete [2020-10-16T02:43:12.551Z] 31603596830f: Verifying Checksum [2020-10-16T02:43:12.551Z] 31603596830f: Download complete [2020-10-16T02:43:12.551Z] ecc8261a40a4: Verifying Checksum [2020-10-16T02:43:12.551Z] ecc8261a40a4: Download complete [2020-10-16T02:43:12.551Z] 6ca5941a6612: Verifying Checksum [2020-10-16T02:43:12.551Z] 6ca5941a6612: Download complete [2020-10-16T02:43:12.819Z] 31603596830f: Pull complete [2020-10-16T02:43:12.819Z] 2a8b12db71e7: Pull complete [2020-10-16T02:43:13.781Z] 6ca5941a6612: Pull complete [2020-10-16T02:43:13.781Z] ecc8261a40a4: Pull complete [2020-10-16T02:43:14.044Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-16T02:43:14.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T02:43:14.044Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-16T02:43:14.152Z] prd-centos7-docker-4c-2g-5744 does not seem to be running inside a container [2020-10-16T02:43:14.201Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@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:43:16.006Z] $ docker top 70899e967b7ce1da0dd3334aa53ae5066c584b8fa8167e7ebff17086e575a22a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-16T02:43:16.331Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T02:43:16.331Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T02:43:16.529Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T02:43:16.536Z] $ docker exec 70899e967b7ce1da0dd3334aa53ae5066c584b8fa8167e7ebff17086e575a22a ssh-agent [2020-10-16T02:43:16.681Z] SSH_AUTH_SOCK=/tmp/ssh-bKwecNYrGxn1/agent.11 [2020-10-16T02:43:16.681Z] SSH_AGENT_PID=16 [2020-10-16T02:43:16.692Z] Running ssh-add (command line suppressed) [2020-10-16T02:43:16.810Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_845130393817676755.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_845130393817676755.key) [2020-10-16T02:43:16.857Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T02:43:17.190Z] + git tag --points-at HEAD [Pipeline] } [2020-10-16T02:43:17.218Z] $ docker exec --env ******** --env ******** 70899e967b7ce1da0dd3334aa53ae5066c584b8fa8167e7ebff17086e575a22a ssh-agent -k [2020-10-16T02:43:17.325Z] unset SSH_AUTH_SOCK; [2020-10-16T02:43:17.326Z] unset SSH_AGENT_PID; [2020-10-16T02:43:17.326Z] echo Agent pid 16 killed; [2020-10-16T02:43:17.380Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-16T02:43:17.533Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T02:43:17.533Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T02:43:17.722Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T02:43:17.730Z] $ docker exec 70899e967b7ce1da0dd3334aa53ae5066c584b8fa8167e7ebff17086e575a22a ssh-agent [2020-10-16T02:43:17.883Z] SSH_AUTH_SOCK=/tmp/ssh-4mfmwTVpY4xN/agent.44 [2020-10-16T02:43:17.883Z] SSH_AGENT_PID=49 [2020-10-16T02:43:17.891Z] Running ssh-add (command line suppressed) [2020-10-16T02:43:18.012Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_5456249880881251165.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_5456249880881251165.key) [2020-10-16T02:43:18.058Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T02:43:18.393Z] + git semver init [2020-10-16T02:43:18.393Z] # -> Open(): unable to determine branch for HEAD [2020-10-16T02:43:18.393Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git [2020-10-16T02:43:18.393Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-16T02:43:18.393Z] # $SEMVER_REMOTE_NAME = origin [2020-10-16T02:43:18.393Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-16T02:43:18.393Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-16T02:43:18.393Z] # $SEMVER_BRANCH = PR-614 [2020-10-16T02:43:18.393Z] # $SEMVER_TEMP = /tmp/semver-929418052 [2020-10-16T02:43:18.393Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-16T02:43:18.969Z] # '/tmp/semver-929418052' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' [2020-10-16T02:43:18.969Z] # -> Force: false [2020-10-16T02:43:18.969Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } [2020-10-16T02:43:18.984Z] $ docker exec --env ******** --env ******** 70899e967b7ce1da0dd3334aa53ae5066c584b8fa8167e7ebff17086e575a22a ssh-agent -k [2020-10-16T02:43:19.102Z] unset SSH_AUTH_SOCK; [2020-10-16T02:43:19.103Z] unset SSH_AGENT_PID; [2020-10-16T02:43:19.103Z] echo Agent pid 49 killed; [2020-10-16T02:43:19.141Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-16T02:43:19.744Z] + git semver [Pipeline] } [2020-10-16T02:43:19.765Z] $ docker stop --time=1 70899e967b7ce1da0dd3334aa53ae5066c584b8fa8167e7ebff17086e575a22a [2020-10-16T02:43:21.117Z] $ docker rm -f 70899e967b7ce1da0dd3334aa53ae5066c584b8fa8167e7ebff17086e575a22a [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-16T02:43:21.611Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-16T02:43:22.144Z] Stashed 1 file(s) [Pipeline] echo [2020-10-16T02:43:22.146Z] [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:37.674Z] Still waiting to schedule task [2020-10-16T02:43:37.674Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-16T02:43:37.676Z] Still waiting to schedule task [2020-10-16T02:43:37.676Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-16T02:45:50.073Z] Running on prd-centos7-docker-4c-2g-5750 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-16T02:45:50.186Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-10-16T02:46:00.517Z] using credential edgex-jenkins-ssh [2020-10-16T02:46:00.588Z] Cloning the remote Git repository [2020-10-16T02:46:00.627Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:46:00.750Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-10-16T02:46:00.839Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:46:00.839Z] > git --version # timeout=10 [2020-10-16T02:46:00.855Z] > git --version # 'git version 2.16.5' [2020-10-16T02:46:00.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:46:01.185Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T02:46:03.520Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T02:46:04.141Z] Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit 6d170b70e1a04a00d380c7c5d579fc072917eff5 [2020-10-16T02:46:04.574Z] Merge succeeded, producing f30c2b2d65973037b920e0420a4a195f2b9f6d71 [2020-10-16T02:46:04.574Z] Checking out Revision f30c2b2d65973037b920e0420a4a195f2b9f6d71 (PR-614) [2020-10-16T02:46:03.554Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T02:46:03.591Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T02:46:03.645Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:46:03.646Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:46:03.665Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T02:46:04.154Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T02:46:04.214Z] > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 [2020-10-16T02:46:04.326Z] > git remote # timeout=10 [2020-10-16T02:46:04.347Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T02:46:04.360Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:46:04.370Z] > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 [2020-10-16T02:46:04.509Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T02:46:04.579Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T02:46:04.625Z] > git checkout -f f30c2b2d65973037b920e0420a4a195f2b9f6d71 # timeout=10 [2020-10-16T02:46:10.047Z] Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" [2020-10-16T02:46:10.213Z] First time build. Skipping changelog. [2020-10-16T02:46:10.063Z] > git rev-list --no-walk 6f3196637d115c6207a57b03bd438428c049358e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T02:46:11.099Z] ========================================================= [2020-10-16T02:46:11.099Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-16T02:46:11.099Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:46:13.157Z] + 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:46:14.275Z] Sending build context to Docker daemon 2.296MB [2020-10-16T02:46:14.275Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T02:46:14.275Z] Step 2/8 : FROM ${BASE} [2020-10-16T02:46:14.580Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-16T02:46:14.580Z] df20fa9351a1: Pulling fs layer [2020-10-16T02:46:14.580Z] ed8968b2872e: Pulling fs layer [2020-10-16T02:46:14.580Z] a92cc7c5fd73: Pulling fs layer [2020-10-16T02:46:14.580Z] e871e8e8d7a9: Pulling fs layer [2020-10-16T02:46:14.580Z] e73272ec9a57: Pulling fs layer [2020-10-16T02:46:14.580Z] 1e910a182e73: Pulling fs layer [2020-10-16T02:46:14.580Z] 4e634b169226: Pulling fs layer [2020-10-16T02:46:14.580Z] e73272ec9a57: Waiting [2020-10-16T02:46:14.580Z] 1e910a182e73: Waiting [2020-10-16T02:46:14.580Z] 4e634b169226: Waiting [2020-10-16T02:46:14.580Z] e871e8e8d7a9: Waiting [2020-10-16T02:46:14.580Z] a92cc7c5fd73: Verifying Checksum [2020-10-16T02:46:14.580Z] a92cc7c5fd73: Download complete [2020-10-16T02:46:14.580Z] ed8968b2872e: Verifying Checksum [2020-10-16T02:46:14.580Z] ed8968b2872e: Download complete [2020-10-16T02:46:14.580Z] e73272ec9a57: Verifying Checksum [2020-10-16T02:46:14.580Z] e73272ec9a57: Download complete [2020-10-16T02:46:15.051Z] 1e910a182e73: Verifying Checksum [2020-10-16T02:46:15.051Z] 1e910a182e73: Download complete [2020-10-16T02:46:15.389Z] df20fa9351a1: Verifying Checksum [2020-10-16T02:46:15.389Z] df20fa9351a1: Download complete [2020-10-16T02:46:16.805Z] df20fa9351a1: Pull complete [2020-10-16T02:46:17.257Z] ed8968b2872e: Pull complete [2020-10-16T02:46:17.257Z] a92cc7c5fd73: Pull complete [2020-10-16T02:46:24.783Z] 4e634b169226: Verifying Checksum [2020-10-16T02:46:24.783Z] 4e634b169226: Download complete [2020-10-16T02:46:27.645Z] e871e8e8d7a9: Verifying Checksum [2020-10-16T02:46:27.645Z] e871e8e8d7a9: Download complete [2020-10-16T02:46:39.759Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5753 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-16T02:46:39.877Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-10-16T02:46:43.308Z] e871e8e8d7a9: Pull complete [2020-10-16T02:46:43.308Z] e73272ec9a57: Pull complete [2020-10-16T02:46:43.607Z] 1e910a182e73: Pull complete [2020-10-16T02:46:45.594Z] using credential edgex-jenkins-ssh [2020-10-16T02:46:45.662Z] Cloning the remote Git repository [2020-10-16T02:46:45.745Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:46:45.858Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-10-16T02:46:45.951Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:46:45.952Z] > git --version # timeout=10 [2020-10-16T02:46:45.986Z] > git --version # 'git version 2.17.1' [2020-10-16T02:46:45.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:46:46.047Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T02:46:47.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T02:46:47.086Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T02:46:47.117Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T02:46:47.157Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T02:46:47.158Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:46:47.170Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T02:46:47.668Z] Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit 6d170b70e1a04a00d380c7c5d579fc072917eff5 [2020-10-16T02:46:47.992Z] Merge succeeded, producing aab3d08eeb90d7b6258459377c4cc48874f3b44b [2020-10-16T02:46:47.992Z] Checking out Revision aab3d08eeb90d7b6258459377c4cc48874f3b44b (PR-614) [2020-10-16T02:46:47.695Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T02:46:47.708Z] > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 [2020-10-16T02:46:47.828Z] > git remote # timeout=10 [2020-10-16T02:46:47.845Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T02:46:47.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T02:46:47.884Z] > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 [2020-10-16T02:46:47.983Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T02:46:48.007Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T02:46:48.027Z] > git checkout -f aab3d08eeb90d7b6258459377c4cc48874f3b44b # timeout=10 [2020-10-16T02:46:50.668Z] 4e634b169226: Pull complete [2020-10-16T02:46:50.668Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-16T02:46:50.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-16T02:46:50.668Z] ---> f7629b54cfaa [2020-10-16T02:46:50.668Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:46:50.668Z] ---> Running in 8091c016e9c4 [2020-10-16T02:46:51.297Z] Removing intermediate container 8091c016e9c4 [2020-10-16T02:46:51.297Z] ---> 79aaaa0d426b [2020-10-16T02:46:51.297Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T02:46:51.297Z] ---> Running in 451bad32c63c [2020-10-16T02:46:52.518Z] Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" [2020-10-16T02:46:52.548Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-16T02:46:52.534Z] > git rev-list --no-walk 6f3196637d115c6207a57b03bd438428c049358e # timeout=10 [Pipeline] echo [2020-10-16T02:46:53.447Z] ========================================================= [2020-10-16T02:46:53.447Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-16T02:46:53.447Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:46:54.053Z] Removing intermediate container 451bad32c63c [2020-10-16T02:46:54.054Z] ---> 14a940e6485e [2020-10-16T02:46:54.054Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T02:46:54.054Z] ---> Running in 1f4353e44e1c [2020-10-16T02:46:54.370Z] + 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:46:55.195Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T02:46:55.367Z] Sending build context to Docker daemon 2.296MB [2020-10-16T02:46:55.367Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T02:46:55.367Z] Step 2/8 : FROM ${BASE} [2020-10-16T02:46:55.648Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-16T02:46:55.648Z] b538f80385f9: Pulling fs layer [2020-10-16T02:46:55.648Z] 74f711af9a0d: Pulling fs layer [2020-10-16T02:46:55.648Z] 99f96fe45779: Pulling fs layer [2020-10-16T02:46:55.648Z] 8529a6b9a6be: Pulling fs layer [2020-10-16T02:46:55.648Z] 45590311c82a: Pulling fs layer [2020-10-16T02:46:55.648Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-16T02:46:55.648Z] 209524e5b208: Pulling fs layer [2020-10-16T02:46:55.648Z] 45590311c82a: Waiting [2020-10-16T02:46:55.648Z] 69ca0ff8b7b3: Waiting [2020-10-16T02:46:55.648Z] 209524e5b208: Waiting [2020-10-16T02:46:55.648Z] 8529a6b9a6be: Waiting [2020-10-16T02:46:55.648Z] 99f96fe45779: Verifying Checksum [2020-10-16T02:46:55.648Z] 99f96fe45779: Download complete [2020-10-16T02:46:55.648Z] 74f711af9a0d: Download complete [2020-10-16T02:46:55.834Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T02:46:55.927Z] 45590311c82a: Download complete [2020-10-16T02:46:55.927Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-16T02:46:55.927Z] 69ca0ff8b7b3: Download complete [2020-10-16T02:46:56.208Z] b538f80385f9: Download complete [2020-10-16T02:46:56.837Z] OK: 166 MiB in 39 packages [2020-10-16T02:46:57.220Z] b538f80385f9: Pull complete [2020-10-16T02:46:57.861Z] 74f711af9a0d: Pull complete [2020-10-16T02:46:58.309Z] Removing intermediate container 1f4353e44e1c [2020-10-16T02:46:58.309Z] ---> b4ea3883fab7 [2020-10-16T02:46:58.309Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T02:46:58.309Z] ---> Running in bdb6ceb88c98 [2020-10-16T02:46:58.487Z] 99f96fe45779: Pull complete [2020-10-16T02:46:58.778Z] 209524e5b208: Verifying Checksum [2020-10-16T02:46:58.779Z] 209524e5b208: Download complete [2020-10-16T02:46:58.958Z] Removing intermediate container bdb6ceb88c98 [2020-10-16T02:46:58.958Z] ---> c96d2a26e5c9 [2020-10-16T02:46:58.958Z] Step 7/8 : COPY . . [2020-10-16T02:47:00.609Z] ---> 567c5d3eabc1 [2020-10-16T02:47:00.609Z] Step 8/8 : RUN go mod download [2020-10-16T02:47:00.784Z] 8529a6b9a6be: Verifying Checksum [2020-10-16T02:47:00.784Z] 8529a6b9a6be: Download complete [2020-10-16T02:47:00.905Z] ---> Running in e610ac1caec2 [2020-10-16T02:47:11.110Z] 8529a6b9a6be: Pull complete [2020-10-16T02:47:11.110Z] 45590311c82a: Pull complete [2020-10-16T02:47:11.110Z] 69ca0ff8b7b3: Pull complete [2020-10-16T02:47:14.605Z] 209524e5b208: Pull complete [2020-10-16T02:47:14.605Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-16T02:47:14.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-16T02:47:14.605Z] ---> 5bddaf1c2fca [2020-10-16T02:47:14.605Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:47:17.321Z] ---> Running in 0f589cbddcb9 [2020-10-16T02:47:17.604Z] Removing intermediate container 0f589cbddcb9 [2020-10-16T02:47:17.604Z] ---> 82b6ebbfe291 [2020-10-16T02:47:17.604Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T02:47:17.897Z] ---> Running in 4a2eacd41414 [2020-10-16T02:47:20.556Z] Removing intermediate container 4a2eacd41414 [2020-10-16T02:47:20.556Z] ---> beb039b4acdf [2020-10-16T02:47:20.556Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T02:47:20.556Z] ---> Running in befedebfe7db [2020-10-16T02:47:22.556Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T02:47:23.151Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T02:47:24.136Z] OK: 142 MiB in 39 packages [2020-10-16T02:47:24.852Z] Removing intermediate container e610ac1caec2 [2020-10-16T02:47:24.852Z] ---> ca50e7e02ef6 [2020-10-16T02:47:24.852Z] Successfully built ca50e7e02ef6 [2020-10-16T02:47:24.852Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:47:25.121Z] Removing intermediate container befedebfe7db [2020-10-16T02:47:25.121Z] ---> 480ce9e83897 [2020-10-16T02:47:25.121Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T02:47:25.394Z] ---> Running in 0cfc9f30f71b [2020-10-16T02:47:25.441Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T02:47:25.674Z] Removing intermediate container 0cfc9f30f71b [2020-10-16T02:47:25.674Z] ---> 2eeac277e18f [2020-10-16T02:47:25.674Z] Step 7/8 : COPY . . [2020-10-16T02:47:25.753Z] . [Pipeline] withDockerContainer [2020-10-16T02:47:26.034Z] prd-centos7-docker-4c-2g-5750 does not seem to be running inside a container [2020-10-16T02:47:26.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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:27.138Z] ---> 99904f58aed0 [2020-10-16T02:47:27.138Z] Step 8/8 : RUN go mod download [2020-10-16T02:47:27.138Z] ---> Running in 065d99174581 [2020-10-16T02:47:27.628Z] $ docker top 247dad052be184953f747cbf12ea4b4ab63927943c3d8b6df7a616d2078d011d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T02:47:28.693Z] + go version [2020-10-16T02:47:28.693Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-16T02:47:28.835Z] $ docker stop --time=1 247dad052be184953f747cbf12ea4b4ab63927943c3d8b6df7a616d2078d011d [2020-10-16T02:47:30.421Z] $ docker rm -f 247dad052be184953f747cbf12ea4b4ab63927943c3d8b6df7a616d2078d011d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:47:32.205Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T02:47:32.255Z] . [Pipeline] withDockerContainer [2020-10-16T02:47:32.448Z] prd-centos7-docker-4c-2g-5750 does not seem to be running inside a container [2020-10-16T02:47:32.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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:34.002Z] $ docker top 8ef164d54dbadc9bd6e7fc764bbac15c6ccde08ad91648c5f8ce1ef39f321bde -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T02:47:35.088Z] + make test [2020-10-16T02:47:35.089Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T02:47:49.349Z] Removing intermediate container 065d99174581 [2020-10-16T02:47:49.349Z] ---> 23a7d27d91c0 [2020-10-16T02:47:49.349Z] Successfully built 23a7d27d91c0 [2020-10-16T02:47:49.349Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:47:49.835Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T02:47:49.835Z] . [Pipeline] withDockerContainer [2020-10-16T02:47:50.116Z] prd-ubuntu18.04-docker-arm64-4c-16g-5753 does not seem to be running inside a container [2020-10-16T02:47:50.214Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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:52.099Z] $ docker top 11c81fa30033d59521a96ab4ec5e1ae2b98afbee809accf0e78233a18068ed76 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T02:47:53.488Z] + go version [2020-10-16T02:47:53.488Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-16T02:47:53.514Z] $ docker stop --time=1 11c81fa30033d59521a96ab4ec5e1ae2b98afbee809accf0e78233a18068ed76 [2020-10-16T02:47:53.852Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T02:47:55.414Z] $ docker rm -f 11c81fa30033d59521a96ab4ec5e1ae2b98afbee809accf0e78233a18068ed76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:47:56.474Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T02:47:56.474Z] . [Pipeline] withDockerContainer [2020-10-16T02:47:56.742Z] prd-ubuntu18.04-docker-arm64-4c-16g-5753 does not seem to be running inside a container [2020-10-16T02:47:56.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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:58.642Z] $ docker top c7f10a8472bdfd6764787cee5c4ce738bd4191c7ad4920fdd2766fee17fcec38 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T02:48:00.083Z] + make test [2020-10-16T02:48:00.083Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T02:48:16.924Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T02:48:16.924Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T02:48:16.924Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T02:48:17.597Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.082s coverage: 21.6% of statements [2020-10-16T02:48:21.355Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.676s coverage: 97.1% of statements [2020-10-16T02:48:22.306Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T02:48:54.096Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.134s coverage: 9.4% of statements [2020-10-16T02:48:54.096Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.156s coverage: 21.9% of statements [2020-10-16T02:48:54.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T02:48:54.096Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.340s coverage: 40.8% of statements [2020-10-16T02:48:54.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T02:48:54.096Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.420s coverage: 68.9% of statements [2020-10-16T02:48:54.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T02:48:54.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T02:48:54.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T02:48:54.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T02:48:54.096Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.106s coverage: 52.6% of statements [2020-10-16T02:48:54.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T02:48:54.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T02:48:54.096Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T02:48:54.096Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.195s coverage: 68.9% of statements [2020-10-16T02:48:54.096Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T02:48:54.096Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T02:48:54.096Z] GO111MODULE=on go vet ./... [2020-10-16T02:49:01.347Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T02:49:01.347Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T02:49:01.347Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T02:49:01.347Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.136s coverage: 21.6% of statements [2020-10-16T02:49:03.337Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.135s coverage: 97.1% of statements [2020-10-16T02:49:13.123Z] gofmt -l . [2020-10-16T02:49:13.400Z] [ "`gofmt -l .`" = "" ] [2020-10-16T02:49:13.692Z] ./bin/test-attribution-txt.sh [2020-10-16T02:49:14.753Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T02:49:16.344Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T02:49:16.357Z] $ docker stop --time=1 8ef164d54dbadc9bd6e7fc764bbac15c6ccde08ad91648c5f8ce1ef39f321bde [2020-10-16T02:49:18.388Z] $ docker rm -f 8ef164d54dbadc9bd6e7fc764bbac15c6ccde08ad91648c5f8ce1ef39f321bde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-16T02:49:20.131Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T02:49:20.465Z] + ls -al . [2020-10-16T02:49:20.466Z] total 188 [2020-10-16T02:49:20.466Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 02:49 . [2020-10-16T02:49:20.466Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 16 02:46 .. [2020-10-16T02:49:20.466Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 02:46 bin [2020-10-16T02:49:20.466Z] -rw-r--r--. 1 jenkins jenkins 110396 Oct 16 02:48 coverage.out [2020-10-16T02:49:20.466Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 02:46 Dockerfile.build [2020-10-16T02:49:20.466Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 02:46 .dockerignore [2020-10-16T02:49:20.466Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 02:46 example [2020-10-16T02:49:20.466Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 02:46 .git [2020-10-16T02:49:20.466Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 02:46 .github [2020-10-16T02:49:20.466Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 02:46 .gitignore [2020-10-16T02:49:20.466Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 16 02:49 go.mod [2020-10-16T02:49:20.466Z] -rw-r--r--. 1 jenkins jenkins 13736 Oct 16 02:49 go.sum [2020-10-16T02:49:20.466Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 02:46 internal [2020-10-16T02:49:20.466Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 02:46 Jenkinsfile [2020-10-16T02:49:20.466Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 02:46 LICENSE [2020-10-16T02:49:20.466Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 02:46 Makefile [2020-10-16T02:49:20.466Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 02:46 openapi [2020-10-16T02:49:20.466Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 02:46 pkg [2020-10-16T02:49:20.466Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 02:46 README.md [2020-10-16T02:49:20.466Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 02:46 RELEASE-NOTES.txt [2020-10-16T02:49:20.466Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 02:46 snap [2020-10-16T02:49:20.466Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 02:43 VERSION [2020-10-16T02:49:20.466Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:49:20.823Z] + 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=1e6cab53454d5719e39d413947056ef5f4856702 --label arch=amd64 --label version=0.0.0 . [2020-10-16T02:49:21.430Z] Sending build context to Docker daemon 2.407MB [2020-10-16T02:49:21.430Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T02:49:21.430Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T02:49:21.430Z] ---> ca50e7e02ef6 [2020-10-16T02:49:21.430Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T02:49:21.709Z] ---> Running in ffeed8fefa66 [2020-10-16T02:49:22.008Z] Removing intermediate container ffeed8fefa66 [2020-10-16T02:49:22.008Z] ---> e2500ff136a4 [2020-10-16T02:49:22.008Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T02:49:22.329Z] ---> Running in 850c0859f1a0 [2020-10-16T02:49:22.616Z] Removing intermediate container 850c0859f1a0 [2020-10-16T02:49:22.616Z] ---> 45d1a2b01a72 [2020-10-16T02:49:22.616Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:49:22.616Z] ---> Running in ed5142086c88 [2020-10-16T02:49:22.888Z] Removing intermediate container ed5142086c88 [2020-10-16T02:49:22.888Z] ---> 82d459c5edcb [2020-10-16T02:49:22.888Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T02:49:23.240Z] ---> Running in bb1de47ef461 [2020-10-16T02:49:25.267Z] Removing intermediate container bb1de47ef461 [2020-10-16T02:49:25.267Z] ---> 35046c04c746 [2020-10-16T02:49:25.267Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T02:49:25.267Z] ---> Running in 90e08506f329 [2020-10-16T02:49:25.864Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T02:49:26.867Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T02:49:27.207Z] OK: 166 MiB in 39 packages [2020-10-16T02:49:27.820Z] Removing intermediate container 90e08506f329 [2020-10-16T02:49:27.820Z] ---> 92917a11040a [2020-10-16T02:49:27.820Z] Step 8/24 : COPY . . [2020-10-16T02:49:29.296Z] ---> 5d4fb7e0e50f [2020-10-16T02:49:29.296Z] Step 9/24 : RUN ${MAKE} [2020-10-16T02:49:29.296Z] ---> Running in eb472d71627e [2020-10-16T02:49:30.391Z] 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:35.707Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.131s coverage: 9.4% of statements [2020-10-16T02:49:35.707Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.111s coverage: 21.9% of statements [2020-10-16T02:49:35.707Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T02:49:35.707Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.581s coverage: 40.8% of statements [2020-10-16T02:49:35.707Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T02:49:35.707Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.789s coverage: 68.9% of statements [2020-10-16T02:49:35.707Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T02:49:35.707Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T02:49:35.707Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T02:49:35.707Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T02:49:35.707Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.191s coverage: 52.6% of statements [2020-10-16T02:49:35.707Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T02:49:35.707Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T02:49:35.707Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T02:49:35.707Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.623s coverage: 68.9% of statements [2020-10-16T02:49:35.707Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T02:49:35.707Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T02:49:35.707Z] GO111MODULE=on go vet ./... [2020-10-16T02:49:49.139Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T02:49:49.139Z] Removing intermediate container eb472d71627e [2020-10-16T02:49:49.139Z] ---> 07d1c933027b [2020-10-16T02:49:49.139Z] Step 10/24 : FROM scratch [2020-10-16T02:49:49.139Z] ---> [2020-10-16T02:49:49.140Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:49:49.140Z] ---> Running in f2b8ff128e97 [2020-10-16T02:49:49.408Z] Removing intermediate container f2b8ff128e97 [2020-10-16T02:49:49.408Z] ---> 49cec2b6ab0f [2020-10-16T02:49:49.408Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T02:49:49.408Z] ---> Running in 83356b508600 [2020-10-16T02:49:49.682Z] Removing intermediate container 83356b508600 [2020-10-16T02:49:49.682Z] ---> d61587f71a0d [2020-10-16T02:49:49.682Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T02:49:49.682Z] ---> Running in cce5b4c1a49f [2020-10-16T02:49:49.682Z] Removing intermediate container cce5b4c1a49f [2020-10-16T02:49:49.682Z] ---> b49a0cc77045 [2020-10-16T02:49:49.682Z] Step 14/24 : WORKDIR / [2020-10-16T02:49:49.969Z] ---> Running in e0ff1d2aec5f [2020-10-16T02:49:49.969Z] Removing intermediate container e0ff1d2aec5f [2020-10-16T02:49:49.969Z] ---> e55ed34adeed [2020-10-16T02:49:49.969Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T02:49:50.563Z] ---> 0cecaff1082d [2020-10-16T02:49:50.563Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T02:49:51.154Z] ---> bd4c31acfc6d [2020-10-16T02:49:51.154Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T02:49:51.452Z] ---> 98b6fb8acbad [2020-10-16T02:49:51.452Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T02:49:52.067Z] ---> e7b78129ffc2 [2020-10-16T02:49:52.067Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T02:49:52.677Z] ---> 60c998237586 [2020-10-16T02:49:52.677Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T02:49:52.677Z] ---> Running in a4fc2f308ebc [2020-10-16T02:49:52.677Z] Removing intermediate container a4fc2f308ebc [2020-10-16T02:49:52.677Z] ---> 985a790118ee [2020-10-16T02:49:52.677Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T02:49:52.948Z] ---> Running in ffcd59449fa2 [2020-10-16T02:49:52.948Z] Removing intermediate container ffcd59449fa2 [2020-10-16T02:49:52.948Z] ---> 2f8643465162 [2020-10-16T02:49:52.948Z] Step 22/24 : LABEL arch=amd64 [2020-10-16T02:49:53.218Z] ---> Running in 21cb487fcc10 [2020-10-16T02:49:53.485Z] Removing intermediate container 21cb487fcc10 [2020-10-16T02:49:53.485Z] ---> 24dc99950f3b [2020-10-16T02:49:53.485Z] Step 23/24 : LABEL git_sha=1e6cab53454d5719e39d413947056ef5f4856702 [2020-10-16T02:49:53.485Z] ---> Running in 9f413711b4e4 [2020-10-16T02:49:53.751Z] Removing intermediate container 9f413711b4e4 [2020-10-16T02:49:53.751Z] ---> 67c2ba8ea22c [2020-10-16T02:49:53.751Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T02:49:53.751Z] ---> Running in b7e9e1da388c [2020-10-16T02:49:54.020Z] Removing intermediate container b7e9e1da388c [2020-10-16T02:49:54.020Z] ---> c66e2311ced2 [2020-10-16T02:49:54.020Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T02:49:54.020Z] Successfully built c66e2311ced2 [2020-10-16T02:49:54.020Z] Successfully tagged docker-device-sdk-simple:latest [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] } [2020-10-16T02:50:02.548Z] gofmt -l . [2020-10-16T02:50:02.549Z] [ "`gofmt -l .`" = "" ] [2020-10-16T02:50:02.549Z] ./bin/test-attribution-txt.sh [2020-10-16T02:50:02.824Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T02:50:03.497Z] Warning: overwriting stash ‘coverage-report’ [2020-10-16T02:50:04.467Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T02:50:04.472Z] $ docker stop --time=1 c7f10a8472bdfd6764787cee5c4ce738bd4191c7ad4920fdd2766fee17fcec38 [2020-10-16T02:50:06.852Z] $ docker rm -f c7f10a8472bdfd6764787cee5c4ce738bd4191c7ad4920fdd2766fee17fcec38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T02:50:08.504Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T02:50:08.869Z] + ls -al . [2020-10-16T02:50:08.869Z] total 224 [2020-10-16T02:50:08.869Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 02:50 . [2020-10-16T02:50:08.869Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:46 .. [2020-10-16T02:50:08.869Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 02:46 .dockerignore [2020-10-16T02:50:08.869Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 02:46 .git [2020-10-16T02:50:08.869Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 02:46 .github [2020-10-16T02:50:08.869Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 02:46 .gitignore [2020-10-16T02:50:08.869Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 02:46 Dockerfile.build [2020-10-16T02:50:08.869Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 02:46 Jenkinsfile [2020-10-16T02:50:08.869Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 02:46 LICENSE [2020-10-16T02:50:08.869Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 02:46 Makefile [2020-10-16T02:50:08.869Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 02:46 README.md [2020-10-16T02:50:08.869Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 02:46 RELEASE-NOTES.txt [2020-10-16T02:50:08.869Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 02:43 VERSION [2020-10-16T02:50:08.869Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 02:46 bin [2020-10-16T02:50:08.869Z] -rw-r--r-- 1 jenkins jenkins 110396 Oct 16 02:49 coverage.out [2020-10-16T02:50:08.869Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:46 example [2020-10-16T02:50:08.869Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 16 02:50 go.mod [2020-10-16T02:50:08.869Z] -rw-r--r-- 1 jenkins jenkins 13736 Oct 16 02:50 go.sum [2020-10-16T02:50:08.869Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 02:46 internal [2020-10-16T02:50:08.869Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:46 openapi [2020-10-16T02:50:08.869Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 02:46 pkg [2020-10-16T02:50:08.869Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:46 snap [2020-10-16T02:50:08.869Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:50:09.284Z] + 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=1e6cab53454d5719e39d413947056ef5f4856702 --label arch=arm64 --label version=0.0.0 . [2020-10-16T02:50:09.905Z] Sending build context to Docker daemon 2.407MB [2020-10-16T02:50:09.905Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T02:50:09.905Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T02:50:09.905Z] ---> 23a7d27d91c0 [2020-10-16T02:50:09.905Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T02:50:10.180Z] ---> Running in 2331c69d1282 [2020-10-16T02:50:10.453Z] Removing intermediate container 2331c69d1282 [2020-10-16T02:50:10.453Z] ---> f850ee6583b6 [2020-10-16T02:50:10.453Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T02:50:10.728Z] ---> Running in f38ece2736d7 [2020-10-16T02:50:11.334Z] Removing intermediate container f38ece2736d7 [2020-10-16T02:50:11.335Z] ---> 8167b38bc444 [2020-10-16T02:50:11.335Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:50:11.335Z] ---> Running in fe40b2444b68 [2020-10-16T02:50:11.929Z] Removing intermediate container fe40b2444b68 [2020-10-16T02:50:11.929Z] ---> 70a51a16b249 [2020-10-16T02:50:11.929Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T02:50:11.929Z] ---> Running in d69eb0d35f76 [2020-10-16T02:50:14.559Z] Removing intermediate container d69eb0d35f76 [2020-10-16T02:50:14.559Z] ---> ffadfb3c9e2a [2020-10-16T02:50:14.559Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T02:50:14.846Z] ---> Running in 29c86867dfce [2020-10-16T02:50:16.284Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T02:50:16.880Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T02:50:17.860Z] OK: 142 MiB in 39 packages [2020-10-16T02:50:18.846Z] Removing intermediate container 29c86867dfce [2020-10-16T02:50:18.846Z] ---> 93c9acc17447 [2020-10-16T02:50:18.846Z] Step 8/24 : COPY . . [2020-10-16T02:50:20.279Z] ---> 2e30fd4b0208 [2020-10-16T02:50:20.279Z] Step 9/24 : RUN ${MAKE} [2020-10-16T02:50:20.554Z] ---> Running in f8e58fe277ba [2020-10-16T02:50:21.998Z] 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:48.808Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T02:50:48.808Z] Removing intermediate container f8e58fe277ba [2020-10-16T02:50:48.808Z] ---> 0bc989b88e82 [2020-10-16T02:50:48.808Z] Step 10/24 : FROM scratch [2020-10-16T02:50:48.808Z] ---> [2020-10-16T02:50:48.808Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T02:50:48.808Z] ---> Running in 6f01b73f45a4 [2020-10-16T02:50:49.081Z] Removing intermediate container 6f01b73f45a4 [2020-10-16T02:50:49.081Z] ---> e97106455519 [2020-10-16T02:50:49.081Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T02:50:49.081Z] ---> Running in 0b27a41c820b [2020-10-16T02:50:49.353Z] Removing intermediate container 0b27a41c820b [2020-10-16T02:50:49.353Z] ---> 0a2171c231ee [2020-10-16T02:50:49.353Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T02:50:49.626Z] ---> Running in 5101e4f67d04 [2020-10-16T02:50:49.902Z] Removing intermediate container 5101e4f67d04 [2020-10-16T02:50:49.902Z] ---> 527d5bae68f9 [2020-10-16T02:50:49.902Z] Step 14/24 : WORKDIR / [2020-10-16T02:50:50.177Z] ---> Running in 31ed58bb1763 [2020-10-16T02:50:50.449Z] Removing intermediate container 31ed58bb1763 [2020-10-16T02:50:50.449Z] ---> bf9700b14bc6 [2020-10-16T02:50:50.449Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T02:50:51.886Z] ---> 72b09e68d68b [2020-10-16T02:50:51.886Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T02:50:52.482Z] ---> b1bfffa068da [2020-10-16T02:50:52.483Z] 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:53.095Z] ---> 4bed4b08c597 [2020-10-16T02:50:53.095Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T02:50:53.742Z] ---> 3e1f580f126f [2020-10-16T02:50:53.742Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T02:50:54.726Z] ---> 2982e6b62ddd [2020-10-16T02:50:54.726Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T02:50:54.726Z] ---> Running in 2b1ca0d81b5f [2020-10-16T02:50:55.318Z] Removing intermediate container 2b1ca0d81b5f [2020-10-16T02:50:55.318Z] ---> fc3221fa5052 [2020-10-16T02:50:55.318Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T02:50:55.318Z] ---> Running in 01f612e3772f [2020-10-16T02:50:55.931Z] Removing intermediate container 01f612e3772f [2020-10-16T02:50:55.931Z] ---> ec70883ab882 [2020-10-16T02:50:55.931Z] Step 22/24 : LABEL arch=arm64 [2020-10-16T02:50:55.931Z] ---> Running in 264ade8b275a [2020-10-16T02:50:56.538Z] Removing intermediate container 264ade8b275a [2020-10-16T02:50:56.538Z] ---> f9afb9e2bee4 [2020-10-16T02:50:56.538Z] Step 23/24 : LABEL git_sha=1e6cab53454d5719e39d413947056ef5f4856702 [2020-10-16T02:50:56.538Z] ---> Running in 7db69197b108 [2020-10-16T02:50:57.134Z] Removing intermediate container 7db69197b108 [2020-10-16T02:50:57.134Z] ---> 722222e8181d [2020-10-16T02:50:57.134Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T02:50:57.134Z] ---> Running in c45fd05b25c7 [2020-10-16T02:50:57.727Z] Removing intermediate container c45fd05b25c7 [2020-10-16T02:50:57.727Z] ---> 4459b04be1a8 [2020-10-16T02:50:57.727Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T02:50:57.727Z] Successfully built 4459b04be1a8 [2020-10-16T02:50:57.727Z] 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:59.285Z] provisioning config files... [2020-10-16T02:50:59.297Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config2011673447422860684tmp [Pipeline] { [Pipeline] sh [2020-10-16T02:50:59.700Z] + set +x [2020-10-16T02:50:59.700Z] + curl -s https://codecov.io/bash [2020-10-16T02:50:59.700Z] + bash -s -- [2020-10-16T02:50:59.700Z] [2020-10-16T02:50:59.700Z] _____ _ [2020-10-16T02:50:59.700Z] / ____| | | [2020-10-16T02:50:59.700Z] | | ___ __| | ___ ___ _____ __ [2020-10-16T02:50:59.700Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-16T02:50:59.700Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-16T02:50:59.700Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-16T02:50:59.700Z] Bash-20201009-048fee3 [2020-10-16T02:50:59.700Z] [2020-10-16T02:50:59.700Z] [2020-10-16T02:50:59.700Z] ==> Jenkins CI detected. [2020-10-16T02:50:59.961Z] project root: . [2020-10-16T02:50:59.961Z] Fixing merge commit SHA [2020-10-16T02:50:59.961Z] --> token set from env [2020-10-16T02:50:59.961Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-16T02:50:59.961Z] ==> Running gcov in . (disable via -X gcov) [2020-10-16T02:50:59.961Z] ==> Python coveragepy not found [2020-10-16T02:50:59.961Z] ==> Searching for coverage reports in: [2020-10-16T02:50:59.961Z] + . [2020-10-16T02:50:59.961Z] -> Found 1 reports [2020-10-16T02:50:59.961Z] ==> Detecting git/mercurial file structure [2020-10-16T02:50:59.961Z] ==> Reading reports [2020-10-16T02:50:59.961Z] + ./coverage.out bytes=110396 [2020-10-16T02:50:59.961Z] ==> Appending adjustments [2020-10-16T02:50:59.961Z] https://docs.codecov.io/docs/fixing-reports [2020-10-16T02:51:00.222Z] + Found adjustments [2020-10-16T02:51:00.222Z] ==> Gzipping contents [2020-10-16T02:51:00.222Z] ==> Uploading reports [2020-10-16T02:51:00.222Z] url: https://codecov.io [2020-10-16T02:51:00.222Z] query: branch=PR-614&commit=abee7d5846637e135dd277469e99a0143c7ff265&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-16T02:51:00.222Z] -> Pinging Codecov [2020-10-16T02:51:00.222Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-614&commit=abee7d5846637e135dd277469e99a0143c7ff265&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-16T02:51:00.484Z] -> Uploading to [2020-10-16T02:51:00.484Z] [2020-10-16T02:51:00.484Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T02:51:00.484Z] Dload Upload Total Spent Left Speed [2020-10-16T02:51:00.484Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-16T02:51:00.484Z] X> Failed to upload [2020-10-16T02:51:00.484Z] ==> Uploading to Codecov [2020-10-16T02:51:00.484Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T02:51:00.484Z] Dload Upload Total Spent Left Speed [2020-10-16T02:51:01.057Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18987 100 110 100 18877 213 36602 --:--:-- --:--:-- --:--:-- 36654 [2020-10-16T02:51:01.057Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/abee7d5846637e135dd277469e99a0143c7ff265 [Pipeline] } [2020-10-16T02:51:01.066Z] 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:51:03.738Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:51:04.311Z] ---> package-listing.sh [2020-10-16T02:51:04.311Z] ++ facter osfamily [2020-10-16T02:51:04.311Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-16T02:51:04.311Z] + OS_FAMILY=redhat [2020-10-16T02:51:04.311Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-16T02:51:04.311Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-16T02:51:04.312Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-16T02:51:04.312Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-16T02:51:04.312Z] + PACKAGES=/tmp/packages_start.txt [2020-10-16T02:51:04.312Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-16T02:51:04.312Z] + PACKAGES=/tmp/packages_end.txt [2020-10-16T02:51:04.312Z] + case "${OS_FAMILY}" in [2020-10-16T02:51:04.312Z] + rpm -qa [2020-10-16T02:51:04.312Z] + sort [2020-10-16T02:51:08.529Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-16T02:51:08.529Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-16T02:51:08.529Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-16T02:51:08.529Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-16T02:51:08.529Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [2020-10-16T02:51:08.529Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [Pipeline] echo [2020-10-16T02:51:08.542Z] 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-614/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:51:08.832Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:51:09.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T02:51:09.141Z] [2020-10-16T02:51:09.141Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-16T02:51:09.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T02:51:09.516Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-16T02:51:09.516Z] df20fa9351a1: Pulling fs layer [2020-10-16T02:51:09.516Z] 36b3adc4ff6f: Pulling fs layer [2020-10-16T02:51:09.516Z] 8ad3a11d3b57: Pulling fs layer [2020-10-16T02:51:09.516Z] 46f8f816bc3b: Pulling fs layer [2020-10-16T02:51:09.516Z] 93b61091891f: Pulling fs layer [2020-10-16T02:51:09.516Z] 93b9cdb0e59b: Pulling fs layer [2020-10-16T02:51:09.516Z] 5e14af77c1be: Pulling fs layer [2020-10-16T02:51:09.516Z] 01666e4c0597: Pulling fs layer [2020-10-16T02:51:09.516Z] aa168da1d23b: Pulling fs layer [2020-10-16T02:51:09.516Z] 46f8f816bc3b: Waiting [2020-10-16T02:51:09.516Z] 93b61091891f: Waiting [2020-10-16T02:51:09.516Z] 93b9cdb0e59b: Waiting [2020-10-16T02:51:09.516Z] 01666e4c0597: Waiting [2020-10-16T02:51:09.516Z] aa168da1d23b: Waiting [2020-10-16T02:51:09.516Z] 5e14af77c1be: Waiting [2020-10-16T02:51:09.516Z] 46f8f816bc3b: Verifying Checksum [2020-10-16T02:51:09.516Z] 46f8f816bc3b: Download complete [2020-10-16T02:51:09.516Z] df20fa9351a1: Download complete [2020-10-16T02:51:09.777Z] 93b9cdb0e59b: Verifying Checksum [2020-10-16T02:51:09.778Z] 93b9cdb0e59b: Download complete [2020-10-16T02:51:09.778Z] 5e14af77c1be: Download complete [2020-10-16T02:51:09.778Z] 01666e4c0597: Verifying Checksum [2020-10-16T02:51:09.778Z] 93b61091891f: Verifying Checksum [2020-10-16T02:51:09.778Z] 93b61091891f: Download complete [2020-10-16T02:51:09.778Z] 01666e4c0597: Download complete [2020-10-16T02:51:10.039Z] df20fa9351a1: Pull complete [2020-10-16T02:51:10.039Z] 8ad3a11d3b57: Download complete [2020-10-16T02:51:10.307Z] 36b3adc4ff6f: Pull complete [2020-10-16T02:51:10.885Z] 8ad3a11d3b57: Pull complete [2020-10-16T02:51:10.885Z] 46f8f816bc3b: Pull complete [2020-10-16T02:51:11.830Z] 93b61091891f: Pull complete [2020-10-16T02:51:11.830Z] 93b9cdb0e59b: Pull complete [2020-10-16T02:51:11.830Z] aa168da1d23b: Verifying Checksum [2020-10-16T02:51:11.830Z] aa168da1d23b: Download complete [2020-10-16T02:51:11.830Z] 5e14af77c1be: Pull complete [2020-10-16T02:51:12.092Z] 01666e4c0597: Pull complete [2020-10-16T02:51:18.726Z] aa168da1d23b: Pull complete [2020-10-16T02:51:18.726Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-16T02:51:18.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T02:51:18.726Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-16T02:51:18.874Z] prd-centos7-docker-4c-2g-5744 does not seem to be running inside a container [2020-10-16T02:51:18.924Z] $ 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-614/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-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@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:51:22.660Z] $ docker top 26a18b5ce6a29af7e657f3c9d65496502d093672cc63c9fbaceec18dce6fe4d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T02:51:23.309Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-16T02:51:23.612Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-16T02:51:23.911Z] + ls /var/log/sa-host [2020-10-16T02:51:23.911Z] + sadf -c /var/log/sa-host/sa05 [2020-10-16T02:51:23.911Z] file_magic: OK [2020-10-16T02:51:23.911Z] HZ: Using current value: 100 [2020-10-16T02:51:23.911Z] file_header: OK [2020-10-16T02:51:23.911Z] 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:51:23.911Z] Statistics: [2020-10-16T02:51:23.911Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T02:51:23.911Z] File successfully converted to sysstat format version 12.2.1 [2020-10-16T02:51:23.911Z] + sadf -c /var/log/sa-host/sa16 [2020-10-16T02:51:23.911Z] file_magic: OK [2020-10-16T02:51:23.911Z] HZ: Using current value: 100 [2020-10-16T02:51:23.911Z] file_header: OK [2020-10-16T02:51:23.911Z] 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:51:23.911Z] Statistics: [2020-10-16T02:51:23.911Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T02:51:23.911Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-16T02:51:24.133Z] provisioning config files... [2020-10-16T02:51:24.153Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config3745196384783152783tmp [Pipeline] { [Pipeline] echo [2020-10-16T02:51:24.263Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:51:24.564Z] ---> create-netrc.sh [Pipeline] } [2020-10-16T02:51:24.574Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-16T02:51:24.705Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:51:25.003Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-16T02:51:25.015Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:51:25.314Z] ---> sudo-logs.sh [2020-10-16T02:51:25.314Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-16T02:51:25.325Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:51:25.621Z] ---> job-cost.sh [2020-10-16T02:51:25.621Z] lf-activate-venv: SKIPPING [2020-10-16T02:51:25.621Z] INFO: No Stack... [2020-10-16T02:51:26.565Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-16T02:51:27.137Z] INFO: Archiving Costs [Pipeline] echo [2020-10-16T02:51:27.151Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T02:51:27.446Z] ---> logs-deploy.sh [2020-10-16T02:51:27.446Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/6 [2020-10-16T02:51:27.446Z] INFO: archiving workspace using pattern(s): [2020-10-16T02:51:28.834Z] Archives upload complete. [2020-10-16T02:51:29.098Z] INFO: archiving logs to Nexus