Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 553a225e623c154610a2c28b52e31f212a4e8705+9121cb4fd2f17f024cc2e84f36967dd0fb0597df (f3d004bf59711709bde5b62b957f4cc82ed4a55d) 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f fc09f7fe5f69055b0e322e50b0bb9debbc716db4 # timeout=10 Commit message: "Merge pull request #271 from ernestojeda/documentation-changes" > 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 ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-5502 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [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-619 # 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 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 553a225e623c154610a2c28b52e31f212a4e8705 > 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/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 553a225e623c154610a2c28b52e31f212a4e8705 # 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 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 Merge succeeded, producing 1cc11288101477415ee70f3e5ce99757a3087f0d Checking out Revision 1cc11288101477415ee70f3e5ce99757a3087f0d (PR-619) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1cc11288101477415ee70f3e5ce99757a3087f0d # timeout=10 Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" > git rev-list --no-walk 553a225e623c154610a2c28b52e31f212a4e8705 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-15T02:41:53.230Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-15T02:41:53.493Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-15T02:41:53.585Z] ========================================================= [2020-10-15T02:41:53.585Z] EdgeX Global Pipelines Version Info [2020-10-15T02:41:53.585Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:41:55.083Z] ------------------- [2020-10-15T02:41:55.083Z] stable info: [2020-10-15T02:41:55.083Z] ------------------- [2020-10-15T02:41:55.083Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-15T02:41:55.083Z] Commit SHA: fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [2020-10-15T02:41:55.083Z] Message: update stable to v1.0.142 [2020-10-15T02:41:56.027Z] ------------------- [2020-10-15T02:41:56.027Z] experimental info: [2020-10-15T02:41:56.027Z] ------------------- [2020-10-15T02:41:56.027Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-15T02:41:56.027Z] Commit SHA: 2f41ad55dd360c8679175c2f18fa26421540ceb6 [2020-10-15T02:41:56.027Z] Message: update experimental to v1.0.143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-15T02:41:56.379Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-15T02:41:56.465Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-15T02:41:56.557Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-15T02:41:56.655Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-15T02:41:56.773Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-15T02:41:56.869Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-15T02:41:56.956Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-15T02:41:57.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-15T02:41:57.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-15T02:41:57.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-15T02:41:57.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-15T02:41:57.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-15T02:41:57.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-15T02:41:57.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-15T02:41:58.012Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-15T02:41:58.130Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T02:41:58.249Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T02:41:58.410Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T02:41:58.537Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-15T02:41:58.648Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-15T02:41:58.734Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-15T02:41:58.820Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-15T02:41:58.945Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-15T02:41:59.042Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-15T02:41:59.138Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-15T02:41:59.263Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-619 [Pipeline] echo [2020-10-15T02:41:59.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-619 [Pipeline] echo [2020-10-15T02:41:59.451Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-619 [Pipeline] echo [2020-10-15T02:41:59.535Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1cc11288101477415ee70f3e5ce99757a3087f0d [Pipeline] echo [2020-10-15T02:41:59.695Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1cc1128 [Pipeline] echo [2020-10-15T02:41:59.781Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-15T02:42:00.396Z] + git log --format=format:%s -1 1cc11288101477415ee70f3e5ce99757a3087f0d [Pipeline] echo [2020-10-15T02:42:00.462Z] GIT_COMMIT: 1cc11288101477415ee70f3e5ce99757a3087f0d, Commit Message: Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD [Pipeline] echo [2020-10-15T02:42:00.508Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:42:01.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T02:42:01.795Z] [2020-10-15T02:42:01.795Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:42:02.164Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T02:42:02.164Z] latest: Pulling from edgex-devops/git-semver [2020-10-15T02:42:02.164Z] 31603596830f: Pulling fs layer [2020-10-15T02:42:02.164Z] 2a8b12db71e7: Pulling fs layer [2020-10-15T02:42:02.164Z] 6ca5941a6612: Pulling fs layer [2020-10-15T02:42:02.164Z] ecc8261a40a4: Pulling fs layer [2020-10-15T02:42:02.164Z] ecc8261a40a4: Waiting [2020-10-15T02:42:02.164Z] 2a8b12db71e7: Verifying Checksum [2020-10-15T02:42:02.164Z] 2a8b12db71e7: Download complete [2020-10-15T02:42:02.426Z] 31603596830f: Download complete [2020-10-15T02:42:02.426Z] ecc8261a40a4: Verifying Checksum [2020-10-15T02:42:02.426Z] ecc8261a40a4: Download complete [2020-10-15T02:42:02.690Z] 6ca5941a6612: Verifying Checksum [2020-10-15T02:42:02.690Z] 6ca5941a6612: Download complete [2020-10-15T02:42:02.690Z] 31603596830f: Pull complete [2020-10-15T02:42:02.952Z] 2a8b12db71e7: Pull complete [2020-10-15T02:42:03.526Z] 6ca5941a6612: Pull complete [2020-10-15T02:42:03.788Z] ecc8261a40a4: Pull complete [2020-10-15T02:42:03.788Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-15T02:42:03.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T02:42:03.789Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-15T02:42:03.891Z] prd-centos7-docker-4c-2g-5502 does not seem to be running inside a container [2020-10-15T02:42:03.936Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-619 -v /w/workspace/dgexfoundry_device-sdk-go_PR-619:/w/workspace/dgexfoundry_device-sdk-go_PR-619:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-15T02:42:05.990Z] $ docker top 44b970493e638f70d8e0b84120576fbe5dd7287860420f4e34b16b81c4f91756 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-15T02:42:06.402Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-15T02:42:06.402Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-15T02:42:06.604Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-15T02:42:06.610Z] $ docker exec 44b970493e638f70d8e0b84120576fbe5dd7287860420f4e34b16b81c4f91756 ssh-agent [2020-10-15T02:42:06.764Z] SSH_AUTH_SOCK=/tmp/ssh-AbPZDgbBEorm/agent.11 [2020-10-15T02:42:06.764Z] SSH_AGENT_PID=16 [2020-10-15T02:42:06.777Z] Running ssh-add (command line suppressed) [2020-10-15T02:42:06.896Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_3449403284128351283.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_3449403284128351283.key) [2020-10-15T02:42:06.947Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-15T02:42:07.329Z] + git tag --points-at HEAD [Pipeline] } [2020-10-15T02:42:07.353Z] $ docker exec --env ******** --env ******** 44b970493e638f70d8e0b84120576fbe5dd7287860420f4e34b16b81c4f91756 ssh-agent -k [2020-10-15T02:42:07.482Z] unset SSH_AUTH_SOCK; [2020-10-15T02:42:07.482Z] unset SSH_AGENT_PID; [2020-10-15T02:42:07.482Z] echo Agent pid 16 killed; [2020-10-15T02:42:07.526Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-15T02:42:07.681Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-15T02:42:07.681Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-15T02:42:07.851Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-15T02:42:07.856Z] $ docker exec 44b970493e638f70d8e0b84120576fbe5dd7287860420f4e34b16b81c4f91756 ssh-agent [2020-10-15T02:42:08.024Z] SSH_AUTH_SOCK=/tmp/ssh-h1bIRKXQemZK/agent.44 [2020-10-15T02:42:08.024Z] SSH_AGENT_PID=49 [2020-10-15T02:42:08.032Z] Running ssh-add (command line suppressed) [2020-10-15T02:42:08.178Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_8809373307948727094.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_8809373307948727094.key) [2020-10-15T02:42:08.234Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-15T02:42:08.580Z] + git semver init [2020-10-15T02:42:08.580Z] # -> Open(): unable to determine branch for HEAD [2020-10-15T02:42:08.580Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.git [2020-10-15T02:42:08.580Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-619 [2020-10-15T02:42:08.580Z] # $SEMVER_REMOTE_NAME = origin [2020-10-15T02:42:08.580Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-15T02:42:08.580Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-15T02:42:08.580Z] # $SEMVER_BRANCH = PR-619 [2020-10-15T02:42:08.580Z] # $SEMVER_TEMP = /tmp/semver-927726939 [2020-10-15T02:42:08.580Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-15T02:42:09.160Z] # '/tmp/semver-927726939' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver' [2020-10-15T02:42:09.160Z] # -> Force: false [2020-10-15T02:42:09.160Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver [Pipeline] } [2020-10-15T02:42:09.174Z] $ docker exec --env ******** --env ******** 44b970493e638f70d8e0b84120576fbe5dd7287860420f4e34b16b81c4f91756 ssh-agent -k [2020-10-15T02:42:09.295Z] unset SSH_AUTH_SOCK; [2020-10-15T02:42:09.296Z] unset SSH_AGENT_PID; [2020-10-15T02:42:09.296Z] echo Agent pid 49 killed; [2020-10-15T02:42:09.345Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-15T02:42:09.852Z] + git semver [Pipeline] } [2020-10-15T02:42:09.872Z] $ docker stop --time=1 44b970493e638f70d8e0b84120576fbe5dd7287860420f4e34b16b81c4f91756 [2020-10-15T02:42:11.268Z] $ docker rm -f 44b970493e638f70d8e0b84120576fbe5dd7287860420f4e34b16b81c4f91756 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-15T02:42:11.937Z] Stashed 1 file(s) [Pipeline] echo [2020-10-15T02:42:11.942Z] [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-15T02:42:27.518Z] Still waiting to schedule task [2020-10-15T02:42:27.519Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-15T02:42:27.519Z] Still waiting to schedule task [2020-10-15T02:42:27.519Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-15T02:43:37.510Z] Running on prd-centos7-docker-4c-2g-5508 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws [2020-10-15T02:43:37.587Z] Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout [2020-10-15T02:43:41.477Z] using credential edgex-jenkins-ssh [2020-10-15T02:43:41.524Z] Cloning the remote Git repository [2020-10-15T02:43:41.560Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:43:41.719Z] > git init /w/workspace/device-sdk-go/10 # timeout=10 [2020-10-15T02:43:41.774Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:43:41.774Z] > git --version # timeout=10 [2020-10-15T02:43:41.782Z] > git --version # 'git version 2.16.5' [2020-10-15T02:43:41.782Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:43:41.813Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T02:43:42.521Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T02:43:42.531Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T02:43:42.545Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T02:43:42.565Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:43:42.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:43:42.571Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-15T02:43:43.513Z] Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 553a225e623c154610a2c28b52e31f212a4e8705 [2020-10-15T02:43:43.695Z] Merge succeeded, producing 6bc72bb3171c1f5637a7bb24ddda772d0fbf5268 [2020-10-15T02:43:43.695Z] Checking out Revision 6bc72bb3171c1f5637a7bb24ddda772d0fbf5268 (PR-619) [2020-10-15T02:43:43.540Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T02:43:43.582Z] > git checkout -f 553a225e623c154610a2c28b52e31f212a4e8705 # timeout=10 [2020-10-15T02:43:43.636Z] > git remote # timeout=10 [2020-10-15T02:43:43.642Z] > git config --get remote.origin.url # timeout=10 [2020-10-15T02:43:43.653Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:43:43.658Z] > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 [2020-10-15T02:43:43.692Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-15T02:43:43.704Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T02:43:43.710Z] > git checkout -f 6bc72bb3171c1f5637a7bb24ddda772d0fbf5268 # timeout=10 [2020-10-15T02:43:47.330Z] Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" [2020-10-15T02:43:47.339Z] > git rev-list --no-walk 553a225e623c154610a2c28b52e31f212a4e8705 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-15T02:43:48.056Z] ========================================================= [2020-10-15T02:43:48.056Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-15T02:43:48.056Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:43:48.734Z] + 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-15T02:43:49.940Z] Sending build context to Docker daemon 2.43MB [2020-10-15T02:43:49.940Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-15T02:43:49.940Z] Step 2/8 : FROM ${BASE} [2020-10-15T02:43:49.940Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-15T02:43:49.940Z] df20fa9351a1: Pulling fs layer [2020-10-15T02:43:49.940Z] ed8968b2872e: Pulling fs layer [2020-10-15T02:43:49.940Z] a92cc7c5fd73: Pulling fs layer [2020-10-15T02:43:49.940Z] e871e8e8d7a9: Pulling fs layer [2020-10-15T02:43:49.940Z] e73272ec9a57: Pulling fs layer [2020-10-15T02:43:49.940Z] 1e910a182e73: Pulling fs layer [2020-10-15T02:43:49.940Z] 4e634b169226: Pulling fs layer [2020-10-15T02:43:49.940Z] e73272ec9a57: Waiting [2020-10-15T02:43:49.940Z] 1e910a182e73: Waiting [2020-10-15T02:43:49.940Z] 4e634b169226: Waiting [2020-10-15T02:43:49.940Z] e871e8e8d7a9: Waiting [2020-10-15T02:43:49.940Z] a92cc7c5fd73: Download complete [2020-10-15T02:43:49.940Z] ed8968b2872e: Download complete [2020-10-15T02:43:49.940Z] e73272ec9a57: Verifying Checksum [2020-10-15T02:43:49.940Z] e73272ec9a57: Download complete [2020-10-15T02:43:50.212Z] 1e910a182e73: Verifying Checksum [2020-10-15T02:43:50.212Z] 1e910a182e73: Download complete [2020-10-15T02:43:50.212Z] df20fa9351a1: Verifying Checksum [2020-10-15T02:43:50.212Z] df20fa9351a1: Download complete [2020-10-15T02:43:50.474Z] df20fa9351a1: Pull complete [2020-10-15T02:43:50.474Z] ed8968b2872e: Pull complete [2020-10-15T02:43:50.736Z] a92cc7c5fd73: Pull complete [2020-10-15T02:43:52.660Z] 4e634b169226: Verifying Checksum [2020-10-15T02:43:52.660Z] 4e634b169226: Download complete [2020-10-15T02:43:53.242Z] e871e8e8d7a9: Verifying Checksum [2020-10-15T02:43:53.243Z] e871e8e8d7a9: Download complete [2020-10-15T02:43:58.565Z] e871e8e8d7a9: Pull complete [2020-10-15T02:43:58.565Z] e73272ec9a57: Pull complete [2020-10-15T02:43:58.565Z] 1e910a182e73: Pull complete [2020-10-15T02:44:02.794Z] 4e634b169226: Pull complete [2020-10-15T02:44:02.794Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-15T02:44:02.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-15T02:44:02.794Z] ---> f7629b54cfaa [2020-10-15T02:44:02.794Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:44:03.059Z] ---> Running in 39bfc714ba32 [2020-10-15T02:44:03.325Z] Removing intermediate container 39bfc714ba32 [2020-10-15T02:44:03.325Z] ---> 5f6cb0435e8e [2020-10-15T02:44:03.325Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T02:44:03.325Z] ---> Running in 18a8cc1be16e [2020-10-15T02:44:04.719Z] Removing intermediate container 18a8cc1be16e [2020-10-15T02:44:04.719Z] ---> 30cab10794a4 [2020-10-15T02:44:04.719Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-15T02:44:04.982Z] ---> Running in 0685fd82fef0 [2020-10-15T02:44:05.559Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-15T02:44:06.509Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-15T02:44:07.910Z] OK: 166 MiB in 39 packages [2020-10-15T02:44:08.182Z] Removing intermediate container 0685fd82fef0 [2020-10-15T02:44:08.182Z] ---> 5856a07de6bf [2020-10-15T02:44:08.182Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-15T02:44:08.182Z] ---> Running in fa110dd62c0e [2020-10-15T02:44:08.182Z] Removing intermediate container fa110dd62c0e [2020-10-15T02:44:08.182Z] ---> dfbe888bffa5 [2020-10-15T02:44:08.182Z] Step 7/8 : COPY . . [2020-10-15T02:44:09.587Z] ---> 36b1d9d26913 [2020-10-15T02:44:09.587Z] Step 8/8 : RUN go mod download [2020-10-15T02:44:09.852Z] ---> Running in 0b42bd73148a [2020-10-15T02:44:18.085Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5507 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws [2020-10-15T02:44:18.147Z] Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout [2020-10-15T02:44:23.223Z] using credential edgex-jenkins-ssh [2020-10-15T02:44:23.342Z] Cloning the remote Git repository [2020-10-15T02:44:23.398Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:44:23.506Z] > git init /w/workspace/device-sdk-go/10 # timeout=10 [2020-10-15T02:44:23.605Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:44:23.606Z] > git --version # timeout=10 [2020-10-15T02:44:23.631Z] > git --version # 'git version 2.17.1' [2020-10-15T02:44:23.633Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:44:23.689Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T02:44:25.399Z] Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 553a225e623c154610a2c28b52e31f212a4e8705 [2020-10-15T02:44:25.704Z] Merge succeeded, producing 88f9f8d3523ad97e6e3d18c0256575f809291d09 [2020-10-15T02:44:25.705Z] Checking out Revision 88f9f8d3523ad97e6e3d18c0256575f809291d09 (PR-619) [2020-10-15T02:44:24.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T02:44:24.662Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T02:44:24.693Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T02:44:24.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:44:24.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:44:24.752Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-15T02:44:25.421Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T02:44:25.440Z] > git checkout -f 553a225e623c154610a2c28b52e31f212a4e8705 # timeout=10 [2020-10-15T02:44:25.553Z] > git remote # timeout=10 [2020-10-15T02:44:25.574Z] > git config --get remote.origin.url # timeout=10 [2020-10-15T02:44:25.587Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:44:25.597Z] > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 [2020-10-15T02:44:25.688Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-15T02:44:25.749Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T02:44:25.772Z] > git checkout -f 88f9f8d3523ad97e6e3d18c0256575f809291d09 # timeout=10 [2020-10-15T02:44:28.881Z] Removing intermediate container 0b42bd73148a [2020-10-15T02:44:28.881Z] ---> 696677c40108 [2020-10-15T02:44:28.881Z] Successfully built 696677c40108 [2020-10-15T02:44:28.881Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:44:29.237Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-15T02:44:29.237Z] . [Pipeline] withDockerContainer [2020-10-15T02:44:29.441Z] prd-centos7-docker-4c-2g-5508 does not seem to be running inside a container [2020-10-15T02:44:29.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-15T02:44:30.261Z] Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" [2020-10-15T02:44:30.292Z] $ docker top deca6c502aaccbbbc23c5d119b7b233040d50ba75f6be1120f098f84555b5f68 -eo pid,comm [2020-10-15T02:44:30.269Z] > git rev-list --no-walk 553a225e623c154610a2c28b52e31f212a4e8705 # timeout=10 [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2020-10-15T02:44:30.879Z] + go version [2020-10-15T02:44:30.880Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-15T02:44:30.908Z] $ docker stop --time=1 deca6c502aaccbbbc23c5d119b7b233040d50ba75f6be1120f098f84555b5f68 [2020-10-15T02:44:32.281Z] $ docker rm -f deca6c502aaccbbbc23c5d119b7b233040d50ba75f6be1120f098f84555b5f68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2020-10-15T02:44:32.909Z] ========================================================= [2020-10-15T02:44:32.909Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-15T02:44:32.909Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:44:33.094Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-15T02:44:33.094Z] . [Pipeline] withDockerContainer [2020-10-15T02:44:33.850Z] prd-centos7-docker-4c-2g-5508 does not seem to be running inside a container [2020-10-15T02:44:33.898Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-15T02:44:34.017Z] + 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-15T02:44:34.570Z] $ docker top 1e3b091c30f898f01a6bc5fb4c4889e690f5a3b599b1446ae70f0b60b635636f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T02:44:34.998Z] Sending build context to Docker daemon 2.43MB [2020-10-15T02:44:34.998Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-15T02:44:34.998Z] Step 2/8 : FROM ${BASE} [2020-10-15T02:44:35.274Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-15T02:44:35.274Z] b538f80385f9: Pulling fs layer [2020-10-15T02:44:35.274Z] 74f711af9a0d: Pulling fs layer [2020-10-15T02:44:35.274Z] 99f96fe45779: Pulling fs layer [2020-10-15T02:44:35.274Z] 8529a6b9a6be: Pulling fs layer [2020-10-15T02:44:35.274Z] 45590311c82a: Pulling fs layer [2020-10-15T02:44:35.274Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-15T02:44:35.274Z] 209524e5b208: Pulling fs layer [2020-10-15T02:44:35.274Z] 8529a6b9a6be: Waiting [2020-10-15T02:44:35.274Z] 45590311c82a: Waiting [2020-10-15T02:44:35.274Z] 69ca0ff8b7b3: Waiting [2020-10-15T02:44:35.274Z] 209524e5b208: Waiting [2020-10-15T02:44:35.274Z] 99f96fe45779: Verifying Checksum [2020-10-15T02:44:35.274Z] 74f711af9a0d: Verifying Checksum [2020-10-15T02:44:35.274Z] 74f711af9a0d: Download complete [2020-10-15T02:44:35.274Z] 45590311c82a: Verifying Checksum [2020-10-15T02:44:35.274Z] 45590311c82a: Download complete [2020-10-15T02:44:35.285Z] + make test [2020-10-15T02:44:35.285Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-15T02:44:35.548Z] 69ca0ff8b7b3: Download complete [2020-10-15T02:44:35.830Z] b538f80385f9: Verifying Checksum [2020-10-15T02:44:35.830Z] b538f80385f9: Download complete [2020-10-15T02:44:36.436Z] b538f80385f9: Pull complete [2020-10-15T02:44:37.048Z] 74f711af9a0d: Pull complete [2020-10-15T02:44:37.323Z] 99f96fe45779: Pull complete [2020-10-15T02:44:38.763Z] 209524e5b208: Verifying Checksum [2020-10-15T02:44:38.763Z] 209524e5b208: Download complete [2020-10-15T02:44:40.744Z] 8529a6b9a6be: Verifying Checksum [2020-10-15T02:44:40.744Z] 8529a6b9a6be: Download complete [2020-10-15T02:44:41.916Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-15T02:44:50.914Z] 8529a6b9a6be: Pull complete [2020-10-15T02:44:51.190Z] 45590311c82a: Pull complete [2020-10-15T02:44:51.470Z] 69ca0ff8b7b3: Pull complete [2020-10-15T02:44:54.270Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-15T02:44:54.270Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-15T02:44:54.270Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-15T02:44:54.859Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.055s coverage: 21.6% of statements [2020-10-15T02:44:54.863Z] 209524e5b208: Pull complete [2020-10-15T02:44:55.141Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-15T02:44:55.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-15T02:44:55.141Z] ---> 5bddaf1c2fca [2020-10-15T02:44:55.141Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:44:57.453Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.422s coverage: 97.1% of statements [2020-10-15T02:44:58.540Z] ---> Running in 0b661a01fdad [2020-10-15T02:44:58.541Z] Removing intermediate container 0b661a01fdad [2020-10-15T02:44:58.541Z] ---> 8cc6273172db [2020-10-15T02:44:58.541Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T02:44:58.541Z] ---> Running in 29f0609bd8bc [2020-10-15T02:45:01.186Z] Removing intermediate container 29f0609bd8bc [2020-10-15T02:45:01.186Z] ---> ea2e8a4c3417 [2020-10-15T02:45:01.186Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-15T02:45:01.186Z] ---> Running in 7dd54fd68ac4 [2020-10-15T02:45:02.669Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-15T02:45:04.109Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-15T02:45:06.077Z] OK: 142 MiB in 39 packages [2020-10-15T02:45:07.516Z] Removing intermediate container 7dd54fd68ac4 [2020-10-15T02:45:07.516Z] ---> 69a2f244530f [2020-10-15T02:45:07.516Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-15T02:45:07.516Z] ---> Running in c4b37617213f [2020-10-15T02:45:07.800Z] Removing intermediate container c4b37617213f [2020-10-15T02:45:07.800Z] ---> 9ee30a32d4a4 [2020-10-15T02:45:07.800Z] Step 7/8 : COPY . . [2020-10-15T02:45:09.232Z] ---> 0779004c7387 [2020-10-15T02:45:09.232Z] Step 8/8 : RUN go mod download [2020-10-15T02:45:09.507Z] ---> Running in d71ba0fd03b7 [2020-10-15T02:45:29.627Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.078s coverage: 9.4% of statements [2020-10-15T02:45:29.627Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.046s coverage: 21.9% of statements [2020-10-15T02:45:29.627Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-15T02:45:29.627Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.189s coverage: 40.8% of statements [2020-10-15T02:45:29.627Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-15T02:45:29.627Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.261s coverage: 68.9% of statements [2020-10-15T02:45:29.627Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-15T02:45:29.627Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-15T02:45:29.627Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-15T02:45:29.627Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-15T02:45:29.627Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements [2020-10-15T02:45:29.627Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-15T02:45:29.627Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-15T02:45:29.627Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-15T02:45:29.627Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.257s coverage: 68.9% of statements [2020-10-15T02:45:29.627Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-15T02:45:29.627Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-15T02:45:29.627Z] GO111MODULE=on go vet ./... [2020-10-15T02:45:31.698Z] Removing intermediate container d71ba0fd03b7 [2020-10-15T02:45:31.698Z] ---> 1054747a9fa1 [2020-10-15T02:45:31.698Z] Successfully built 1054747a9fa1 [2020-10-15T02:45:31.698Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:45:32.105Z] + docker inspect -f . ci-base-image-arm64 [2020-10-15T02:45:32.105Z] . [Pipeline] withDockerContainer [2020-10-15T02:45:32.410Z] prd-ubuntu18.04-docker-arm64-4c-16g-5507 does not seem to be running inside a container [2020-10-15T02:45:32.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-15T02:45:34.315Z] $ docker top 77ebd364156cd8f04506e0073f153c0bf74d0b154eac2b01e82e2e20c543c91c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T02:45:35.007Z] gofmt -l . [2020-10-15T02:45:35.007Z] [ "`gofmt -l .`" = "" ] [2020-10-15T02:45:35.007Z] ./bin/test-attribution-txt.sh [2020-10-15T02:45:35.585Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-15T02:45:35.737Z] + go version [2020-10-15T02:45:35.737Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-15T02:45:35.766Z] $ docker stop --time=1 77ebd364156cd8f04506e0073f153c0bf74d0b154eac2b01e82e2e20c543c91c [2020-10-15T02:45:35.955Z] Stashed 1 file(s) [2020-10-15T02:45:37.620Z] $ docker rm -f 77ebd364156cd8f04506e0073f153c0bf74d0b154eac2b01e82e2e20c543c91c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2020-10-15T02:45:37.919Z] $ docker stop --time=1 1e3b091c30f898f01a6bc5fb4c4889e690f5a3b599b1446ae70f0b60b635636f [2020-10-15T02:45:39.819Z] $ docker rm -f 1e3b091c30f898f01a6bc5fb4c4889e690f5a3b599b1446ae70f0b60b635636f [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:45:43.355Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-15T02:45:43.545Z] + docker inspect -f . ci-base-image-arm64 [2020-10-15T02:45:43.545Z] . [Pipeline] withDockerContainer [2020-10-15T02:45:43.667Z] + ls -al . [2020-10-15T02:45:43.667Z] total 188 [2020-10-15T02:45:43.668Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 15 02:45 . [2020-10-15T02:45:43.668Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 15 02:43 .. [2020-10-15T02:45:43.668Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 15 02:43 bin [2020-10-15T02:45:43.668Z] -rw-r--r--. 1 jenkins jenkins 110396 Oct 15 02:45 coverage.out [2020-10-15T02:45:43.668Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 15 02:43 Dockerfile.build [2020-10-15T02:45:43.668Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 15 02:43 .dockerignore [2020-10-15T02:45:43.668Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 15 02:43 example [2020-10-15T02:45:43.668Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 15 02:43 .git [2020-10-15T02:45:43.668Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 15 02:43 .github [2020-10-15T02:45:43.668Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 15 02:43 .gitignore [2020-10-15T02:45:43.668Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 15 02:45 go.mod [2020-10-15T02:45:43.668Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 15 02:45 go.sum [2020-10-15T02:45:43.668Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 15 02:43 internal [2020-10-15T02:45:43.668Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 15 02:43 Jenkinsfile [2020-10-15T02:45:43.668Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 15 02:43 LICENSE [2020-10-15T02:45:43.668Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 15 02:43 Makefile [2020-10-15T02:45:43.668Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 15 02:43 openapi [2020-10-15T02:45:43.668Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 15 02:43 pkg [2020-10-15T02:45:43.668Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 15 02:43 README.md [2020-10-15T02:45:43.668Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 15 02:43 RELEASE-NOTES.txt [2020-10-15T02:45:43.668Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 15 02:43 snap [2020-10-15T02:45:43.668Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 15 02:42 VERSION [2020-10-15T02:45:43.668Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 15 02:43 version.go [2020-10-15T02:45:43.776Z] prd-ubuntu18.04-docker-arm64-4c-16g-5507 does not seem to be running inside a container [2020-10-15T02:45:43.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-15T02:45:45.689Z] $ docker top 3edbc34ec045b6d8e4284cde2ea886aaf4c6f5f4b8124cf1822cc266560bc669 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:45:46.455Z] + 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=1cc11288101477415ee70f3e5ce99757a3087f0d --label arch=amd64 --label version=0.0.0 . [2020-10-15T02:45:46.717Z] Sending build context to Docker daemon 2.541MB [2020-10-15T02:45:46.717Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-15T02:45:46.717Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-15T02:45:46.717Z] ---> 696677c40108 [2020-10-15T02:45:46.717Z] Step 3/24 : ARG MAKE='make build' [2020-10-15T02:45:47.093Z] + make test [2020-10-15T02:45:47.093Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-15T02:45:47.299Z] ---> Running in 29781b57d7fd [2020-10-15T02:45:47.564Z] Removing intermediate container 29781b57d7fd [2020-10-15T02:45:47.564Z] ---> 2b2d60048695 [2020-10-15T02:45:47.564Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-15T02:45:47.564Z] ---> Running in 9ae2108d67d0 [2020-10-15T02:45:47.826Z] Removing intermediate container 9ae2108d67d0 [2020-10-15T02:45:47.826Z] ---> a931bc298ac1 [2020-10-15T02:45:47.826Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:45:47.826Z] ---> Running in d2cbdd8436b9 [2020-10-15T02:45:47.826Z] Removing intermediate container d2cbdd8436b9 [2020-10-15T02:45:47.826Z] ---> f5df0b9662c4 [2020-10-15T02:45:47.826Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T02:45:48.087Z] ---> Running in 980726c255e5 [2020-10-15T02:45:48.661Z] Removing intermediate container 980726c255e5 [2020-10-15T02:45:48.661Z] ---> 00c51f6ca277 [2020-10-15T02:45:48.661Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-15T02:45:48.923Z] ---> Running in 0cd08e3d0446 [2020-10-15T02:45:49.185Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-15T02:45:50.133Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-15T02:45:51.081Z] OK: 166 MiB in 39 packages [2020-10-15T02:45:51.347Z] Removing intermediate container 0cd08e3d0446 [2020-10-15T02:45:51.347Z] ---> 2fa84775e9d3 [2020-10-15T02:45:51.347Z] Step 8/24 : COPY . . [2020-10-15T02:45:52.750Z] ---> b962272aecb6 [2020-10-15T02:45:52.750Z] Step 9/24 : RUN ${MAKE} [2020-10-15T02:45:52.750Z] ---> Running in 67182bcecacf [2020-10-15T02:45:53.024Z] 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-15T02:46:01.288Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-15T02:46:02.238Z] Removing intermediate container 67182bcecacf [2020-10-15T02:46:02.238Z] ---> 8abda464319a [2020-10-15T02:46:02.238Z] Step 10/24 : FROM scratch [2020-10-15T02:46:02.238Z] ---> [2020-10-15T02:46:02.238Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:46:02.238Z] ---> Running in 64d3b322d4aa [2020-10-15T02:46:02.238Z] Removing intermediate container 64d3b322d4aa [2020-10-15T02:46:02.238Z] ---> 2f350ca8addf [2020-10-15T02:46:02.238Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-15T02:46:02.238Z] ---> Running in a84598e6be1e [2020-10-15T02:46:02.500Z] Removing intermediate container a84598e6be1e [2020-10-15T02:46:02.500Z] ---> cebe943bb20d [2020-10-15T02:46:02.500Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-15T02:46:02.500Z] ---> Running in 4980db22e770 [2020-10-15T02:46:02.766Z] Removing intermediate container 4980db22e770 [2020-10-15T02:46:02.766Z] ---> 8a266f8ae5cf [2020-10-15T02:46:02.766Z] Step 14/24 : WORKDIR / [2020-10-15T02:46:03.342Z] ---> Running in 8e01ea8dfe94 [2020-10-15T02:46:03.605Z] Removing intermediate container 8e01ea8dfe94 [2020-10-15T02:46:03.605Z] ---> b43efd8a3246 [2020-10-15T02:46:03.605Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-15T02:46:04.186Z] ---> cf2dd077b73c [2020-10-15T02:46:04.186Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-15T02:46:04.186Z] ---> 27ba2f1de8bb [2020-10-15T02:46:04.186Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-15T02:46:04.448Z] ---> a3263b776833 [2020-10-15T02:46:04.448Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-15T02:46:04.713Z] ---> bb9de25e26a2 [2020-10-15T02:46:04.713Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-15T02:46:04.982Z] ---> 9a1a22efe264 [2020-10-15T02:46:04.982Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-15T02:46:04.982Z] ---> Running in 85e0656e2970 [2020-10-15T02:46:05.243Z] Removing intermediate container 85e0656e2970 [2020-10-15T02:46:05.243Z] ---> 67305cbd7bde [2020-10-15T02:46:05.243Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-15T02:46:05.243Z] ---> Running in b2f5afbc9202 [2020-10-15T02:46:05.505Z] Removing intermediate container b2f5afbc9202 [2020-10-15T02:46:05.505Z] ---> 10764faa4311 [2020-10-15T02:46:05.505Z] Step 22/24 : LABEL arch=amd64 [2020-10-15T02:46:05.505Z] ---> Running in e77769363f35 [2020-10-15T02:46:05.767Z] Removing intermediate container e77769363f35 [2020-10-15T02:46:05.767Z] ---> 03877b4cc006 [2020-10-15T02:46:05.767Z] Step 23/24 : LABEL git_sha=1cc11288101477415ee70f3e5ce99757a3087f0d [2020-10-15T02:46:05.767Z] ---> Running in 6ce29514e10c [2020-10-15T02:46:05.767Z] Removing intermediate container 6ce29514e10c [2020-10-15T02:46:05.767Z] ---> ed5a4525141d [2020-10-15T02:46:05.767Z] Step 24/24 : LABEL version=0.0.0 [2020-10-15T02:46:06.030Z] ---> Running in d263be9fb216 [2020-10-15T02:46:06.030Z] Removing intermediate container d263be9fb216 [2020-10-15T02:46:06.030Z] ---> 6f5a01ee9a27 [2020-10-15T02:46:06.030Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-15T02:46:06.030Z] Successfully built 6f5a01ee9a27 [2020-10-15T02:46:06.030Z] 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-15T02:46:09.290Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-15T02:46:56.467Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-15T02:46:56.467Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-15T02:46:56.467Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-15T02:46:56.467Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.135s coverage: 21.6% of statements [2020-10-15T02:46:58.459Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.258s coverage: 97.1% of statements [2020-10-15T02:47:25.271Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.168s coverage: 9.4% of statements [2020-10-15T02:47:25.271Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.120s coverage: 21.9% of statements [2020-10-15T02:47:25.271Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-15T02:47:25.271Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.627s coverage: 40.8% of statements [2020-10-15T02:47:25.271Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-15T02:47:25.271Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.804s coverage: 68.9% of statements [2020-10-15T02:47:25.271Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-15T02:47:25.271Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-15T02:47:25.271Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-15T02:47:25.271Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-15T02:47:25.271Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.190s coverage: 52.6% of statements [2020-10-15T02:47:25.271Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-15T02:47:25.271Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-15T02:47:25.271Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-15T02:47:25.272Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.880s coverage: 68.9% of statements [2020-10-15T02:47:25.272Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-15T02:47:25.272Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-15T02:47:25.272Z] GO111MODULE=on go vet ./... [2020-10-15T02:47:57.724Z] gofmt -l . [2020-10-15T02:47:57.994Z] [ "`gofmt -l .`" = "" ] [2020-10-15T02:47:58.265Z] ./bin/test-attribution-txt.sh [2020-10-15T02:47:59.250Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-15T02:47:59.913Z] Warning: overwriting stash ‘coverage-report’ [2020-10-15T02:48:01.146Z] Stashed 1 file(s) [Pipeline] } [2020-10-15T02:48:01.159Z] $ docker stop --time=1 3edbc34ec045b6d8e4284cde2ea886aaf4c6f5f4b8124cf1822cc266560bc669 [2020-10-15T02:48:03.574Z] $ docker rm -f 3edbc34ec045b6d8e4284cde2ea886aaf4c6f5f4b8124cf1822cc266560bc669 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-15T02:48:05.138Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-15T02:48:05.505Z] + ls -al . [2020-10-15T02:48:05.505Z] total 224 [2020-10-15T02:48:05.505Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 02:47 . [2020-10-15T02:48:05.505Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:44 .. [2020-10-15T02:48:05.505Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 15 02:44 .dockerignore [2020-10-15T02:48:05.505Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 02:44 .git [2020-10-15T02:48:05.505Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 02:44 .github [2020-10-15T02:48:05.505Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 15 02:44 .gitignore [2020-10-15T02:48:05.505Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 15 02:44 Dockerfile.build [2020-10-15T02:48:05.505Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 15 02:44 Jenkinsfile [2020-10-15T02:48:05.505Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 15 02:44 LICENSE [2020-10-15T02:48:05.505Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 15 02:44 Makefile [2020-10-15T02:48:05.505Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 15 02:44 README.md [2020-10-15T02:48:05.505Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 15 02:44 RELEASE-NOTES.txt [2020-10-15T02:48:05.505Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 02:42 VERSION [2020-10-15T02:48:05.505Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 02:44 bin [2020-10-15T02:48:05.505Z] -rw-r--r-- 1 jenkins jenkins 110396 Oct 15 02:47 coverage.out [2020-10-15T02:48:05.505Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:44 example [2020-10-15T02:48:05.505Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 15 02:47 go.mod [2020-10-15T02:48:05.505Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 15 02:47 go.sum [2020-10-15T02:48:05.505Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 15 02:44 internal [2020-10-15T02:48:05.505Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:44 openapi [2020-10-15T02:48:05.505Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 15 02:44 pkg [2020-10-15T02:48:05.505Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:44 snap [2020-10-15T02:48:05.505Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 15 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:48:05.902Z] + 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=1cc11288101477415ee70f3e5ce99757a3087f0d --label arch=arm64 --label version=0.0.0 . [2020-10-15T02:48:06.498Z] Sending build context to Docker daemon 2.541MB [2020-10-15T02:48:06.498Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-15T02:48:06.498Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-15T02:48:06.498Z] ---> 1054747a9fa1 [2020-10-15T02:48:06.498Z] Step 3/24 : ARG MAKE='make build' [2020-10-15T02:48:07.100Z] ---> Running in 6488404e868a [2020-10-15T02:48:07.373Z] Removing intermediate container 6488404e868a [2020-10-15T02:48:07.373Z] ---> 0450ea4a8841 [2020-10-15T02:48:07.373Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-15T02:48:07.647Z] ---> Running in a78a85f15c21 [2020-10-15T02:48:07.923Z] Removing intermediate container a78a85f15c21 [2020-10-15T02:48:07.923Z] ---> 42562e232611 [2020-10-15T02:48:07.923Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:48:08.198Z] ---> Running in 16b75cc681d7 [2020-10-15T02:48:08.802Z] Removing intermediate container 16b75cc681d7 [2020-10-15T02:48:08.802Z] ---> 652f0694acab [2020-10-15T02:48:08.802Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T02:48:08.802Z] ---> Running in 92cd466807c9 [2020-10-15T02:48:11.425Z] Removing intermediate container 92cd466807c9 [2020-10-15T02:48:11.425Z] ---> 389378ccfaba [2020-10-15T02:48:11.425Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-15T02:48:11.699Z] ---> Running in 0b587f24aef9 [2020-10-15T02:48:13.139Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-15T02:48:14.122Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-15T02:48:15.564Z] OK: 142 MiB in 39 packages [2020-10-15T02:48:16.545Z] Removing intermediate container 0b587f24aef9 [2020-10-15T02:48:16.545Z] ---> 598f1f07e18c [2020-10-15T02:48:16.545Z] Step 8/24 : COPY . . [2020-10-15T02:48:18.525Z] ---> 3893e405b30e [2020-10-15T02:48:18.525Z] Step 9/24 : RUN ${MAKE} [2020-10-15T02:48:18.525Z] ---> Running in 98751d63c964 [2020-10-15T02:48:19.974Z] 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-15T02:48:52.355Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-15T02:48:52.355Z] Removing intermediate container 98751d63c964 [2020-10-15T02:48:52.355Z] ---> 392caf0dbdb6 [2020-10-15T02:48:52.355Z] Step 10/24 : FROM scratch [2020-10-15T02:48:52.355Z] ---> [2020-10-15T02:48:52.355Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:48:52.355Z] ---> Running in 1ab88e68191f [2020-10-15T02:48:52.355Z] Removing intermediate container 1ab88e68191f [2020-10-15T02:48:52.355Z] ---> 0121ca257f44 [2020-10-15T02:48:52.355Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-15T02:48:52.355Z] ---> Running in f40d7d59174b [2020-10-15T02:48:52.355Z] Removing intermediate container f40d7d59174b [2020-10-15T02:48:52.355Z] ---> e25d1866ee59 [2020-10-15T02:48:52.355Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-15T02:48:52.355Z] ---> Running in 762fa3a943fa [2020-10-15T02:48:52.355Z] Removing intermediate container 762fa3a943fa [2020-10-15T02:48:52.355Z] ---> 7f2419c40ec4 [2020-10-15T02:48:52.355Z] Step 14/24 : WORKDIR / [2020-10-15T02:48:52.355Z] ---> Running in 4122ead938ea [2020-10-15T02:48:52.355Z] Removing intermediate container 4122ead938ea [2020-10-15T02:48:52.355Z] ---> db0a1ef3db38 [2020-10-15T02:48:52.355Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-15T02:48:53.788Z] ---> 47e6dab46e3a [2020-10-15T02:48:53.788Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-15T02:48:54.385Z] ---> 26a1d79fe806 [2020-10-15T02:48:54.385Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-15T02:48:54.981Z] ---> 616e9c1b62a7 [2020-10-15T02:48:54.981Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-15T02:48:55.967Z] ---> 2ead64d24187 [2020-10-15T02:48:55.967Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-15T02:48:56.564Z] ---> c76af64dcac2 [2020-10-15T02:48:56.564Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-15T02:48:56.836Z] ---> Running in 28ea4b228244 [2020-10-15T02:48:57.430Z] Removing intermediate container 28ea4b228244 [2020-10-15T02:48:57.430Z] ---> f700fb88d0ae [2020-10-15T02:48:57.430Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-15T02:48:57.430Z] ---> Running in 416b04a7a112 [2020-10-15T02:48:58.024Z] Removing intermediate container 416b04a7a112 [2020-10-15T02:48:58.024Z] ---> 84e6f65d23ff [2020-10-15T02:48:58.024Z] Step 22/24 : LABEL arch=arm64 [2020-10-15T02:48:58.024Z] ---> Running in 403b98a9c41c [2020-10-15T02:48:58.622Z] Removing intermediate container 403b98a9c41c [2020-10-15T02:48:58.623Z] ---> 2c31620f84d3 [2020-10-15T02:48:58.623Z] Step 23/24 : LABEL git_sha=1cc11288101477415ee70f3e5ce99757a3087f0d [2020-10-15T02:48:58.623Z] ---> Running in 71d9f578ea05 [2020-10-15T02:48:59.215Z] Removing intermediate container 71d9f578ea05 [2020-10-15T02:48:59.215Z] ---> e0a3b3ecf218 [2020-10-15T02:48:59.215Z] Step 24/24 : LABEL version=0.0.0 [2020-10-15T02:48:59.215Z] ---> Running in 3484ab7a6bec [2020-10-15T02:48:59.811Z] Removing intermediate container 3484ab7a6bec [2020-10-15T02:48:59.811Z] ---> 88158191d046 [2020-10-15T02:48:59.811Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-15T02:48:59.811Z] Successfully built 88158191d046 [2020-10-15T02:48:59.811Z] 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-15T02:49:02.100Z] provisioning config files... [2020-10-15T02:49:02.151Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config7422708624696166635tmp [Pipeline] { [Pipeline] sh [2020-10-15T02:49:02.518Z] + set +x [2020-10-15T02:49:02.518Z] + curl -s https://codecov.io/bash [2020-10-15T02:49:02.518Z] + bash -s -- [2020-10-15T02:49:02.779Z] [2020-10-15T02:49:02.779Z] _____ _ [2020-10-15T02:49:02.779Z] / ____| | | [2020-10-15T02:49:02.779Z] | | ___ __| | ___ ___ _____ __ [2020-10-15T02:49:02.779Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-15T02:49:02.779Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-15T02:49:02.779Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-15T02:49:02.779Z] Bash-20201009-048fee3 [2020-10-15T02:49:02.779Z] [2020-10-15T02:49:02.779Z] [2020-10-15T02:49:02.779Z] ==> Jenkins CI detected. [2020-10-15T02:49:02.779Z] project root: . [2020-10-15T02:49:02.779Z] Fixing merge commit SHA [2020-10-15T02:49:02.779Z] --> token set from env [2020-10-15T02:49:02.779Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-15T02:49:02.779Z] ==> Running gcov in . (disable via -X gcov) [2020-10-15T02:49:02.779Z] find: ‘./.semver’: Permission denied [2020-10-15T02:49:02.779Z] ==> Python coveragepy not found [2020-10-15T02:49:02.779Z] ==> Searching for coverage reports in: [2020-10-15T02:49:02.780Z] + . [2020-10-15T02:49:02.780Z] -> Found 1 reports [2020-10-15T02:49:02.780Z] ==> Detecting git/mercurial file structure [2020-10-15T02:49:02.780Z] ==> Reading reports [2020-10-15T02:49:02.780Z] + ./coverage.out bytes=110396 [2020-10-15T02:49:02.780Z] ==> Appending adjustments [2020-10-15T02:49:02.780Z] https://docs.codecov.io/docs/fixing-reports [2020-10-15T02:49:03.041Z] find: ‘./.semver’: Permission denied [2020-10-15T02:49:03.302Z] find: ‘./.semver’: Permission denied [2020-10-15T02:49:03.302Z] find: ‘./.semver’: Permission denied [2020-10-15T02:49:03.302Z] [2020-10-15T02:49:03.302Z] + Found adjustments [2020-10-15T02:49:03.302Z] ==> Gzipping contents [2020-10-15T02:49:03.302Z] ==> Uploading reports [2020-10-15T02:49:03.302Z] url: https://codecov.io [2020-10-15T02:49:03.302Z] query: branch=PR-619&commit=9121cb4fd2f17f024cc2e84f36967dd0fb0597df&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= [2020-10-15T02:49:03.302Z] -> Pinging Codecov [2020-10-15T02:49:03.302Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-619&commit=9121cb4fd2f17f024cc2e84f36967dd0fb0597df&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= [2020-10-15T02:49:03.303Z] -> Uploading to [2020-10-15T02:49:03.303Z] [2020-10-15T02:49:03.303Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-15T02:49:03.303Z] Dload Upload Total Spent Left Speed [2020-10-15T02:49:03.303Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-15T02:49:03.303Z] X> Failed to upload [2020-10-15T02:49:03.303Z] ==> Uploading to Codecov [2020-10-15T02:49:03.303Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-15T02:49:03.303Z] Dload Upload Total Spent Left Speed [2020-10-15T02:49:03.873Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19038 100 110 100 18928 190 32853 --:--:-- --:--:-- --:--:-- 32861 [2020-10-15T02:49:03.873Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9121cb4fd2f17f024cc2e84f36967dd0fb0597df [Pipeline] } [2020-10-15T02:49:03.883Z] 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-15T02:49:06.590Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:49:07.151Z] ---> package-listing.sh [2020-10-15T02:49:07.151Z] ++ facter osfamily [2020-10-15T02:49:07.151Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-15T02:49:07.151Z] + OS_FAMILY=redhat [2020-10-15T02:49:07.151Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-619 [2020-10-15T02:49:07.151Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-15T02:49:07.151Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-15T02:49:07.151Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-15T02:49:07.151Z] + PACKAGES=/tmp/packages_start.txt [2020-10-15T02:49:07.151Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' [2020-10-15T02:49:07.151Z] + PACKAGES=/tmp/packages_end.txt [2020-10-15T02:49:07.151Z] + case "${OS_FAMILY}" in [2020-10-15T02:49:07.151Z] + rpm -qa [2020-10-15T02:49:07.151Z] + sort [2020-10-15T02:49:11.354Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-15T02:49:11.354Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-15T02:49:11.354Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-15T02:49:11.354Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' [2020-10-15T02:49:11.354Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [2020-10-15T02:49:11.354Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [Pipeline] echo [2020-10-15T02:49:11.366Z] 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-619/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-15T02:49:11.655Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:49:11.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T02:49:11.969Z] [2020-10-15T02:49:11.969Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:49:12.308Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T02:49:12.309Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-15T02:49:12.309Z] df20fa9351a1: Pulling fs layer [2020-10-15T02:49:12.309Z] 36b3adc4ff6f: Pulling fs layer [2020-10-15T02:49:12.309Z] 8ad3a11d3b57: Pulling fs layer [2020-10-15T02:49:12.309Z] 46f8f816bc3b: Pulling fs layer [2020-10-15T02:49:12.309Z] 93b61091891f: Pulling fs layer [2020-10-15T02:49:12.309Z] 93b9cdb0e59b: Pulling fs layer [2020-10-15T02:49:12.309Z] 5e14af77c1be: Pulling fs layer [2020-10-15T02:49:12.309Z] 01666e4c0597: Pulling fs layer [2020-10-15T02:49:12.309Z] aa168da1d23b: Pulling fs layer [2020-10-15T02:49:12.309Z] 93b9cdb0e59b: Waiting [2020-10-15T02:49:12.309Z] 5e14af77c1be: Waiting [2020-10-15T02:49:12.309Z] 01666e4c0597: Waiting [2020-10-15T02:49:12.309Z] aa168da1d23b: Waiting [2020-10-15T02:49:12.309Z] 46f8f816bc3b: Waiting [2020-10-15T02:49:12.309Z] 93b61091891f: Waiting [2020-10-15T02:49:12.309Z] 36b3adc4ff6f: Verifying Checksum [2020-10-15T02:49:12.309Z] 36b3adc4ff6f: Download complete [2020-10-15T02:49:12.309Z] 46f8f816bc3b: Verifying Checksum [2020-10-15T02:49:12.309Z] 46f8f816bc3b: Download complete [2020-10-15T02:49:12.570Z] df20fa9351a1: Verifying Checksum [2020-10-15T02:49:12.570Z] df20fa9351a1: Download complete [2020-10-15T02:49:12.570Z] 93b9cdb0e59b: Download complete [2020-10-15T02:49:12.570Z] 5e14af77c1be: Verifying Checksum [2020-10-15T02:49:12.570Z] 5e14af77c1be: Download complete [2020-10-15T02:49:12.570Z] 01666e4c0597: Verifying Checksum [2020-10-15T02:49:12.570Z] 01666e4c0597: Download complete [2020-10-15T02:49:12.570Z] 93b61091891f: Verifying Checksum [2020-10-15T02:49:12.570Z] 93b61091891f: Download complete [2020-10-15T02:49:12.570Z] df20fa9351a1: Pull complete [2020-10-15T02:49:12.833Z] 36b3adc4ff6f: Pull complete [2020-10-15T02:49:13.412Z] 8ad3a11d3b57: Verifying Checksum [2020-10-15T02:49:13.412Z] 8ad3a11d3b57: Download complete [2020-10-15T02:49:13.994Z] 8ad3a11d3b57: Pull complete [2020-10-15T02:49:13.994Z] 46f8f816bc3b: Pull complete [2020-10-15T02:49:14.568Z] 93b61091891f: Pull complete [2020-10-15T02:49:14.830Z] 93b9cdb0e59b: Pull complete [2020-10-15T02:49:14.830Z] 5e14af77c1be: Pull complete [2020-10-15T02:49:14.830Z] aa168da1d23b: Verifying Checksum [2020-10-15T02:49:14.830Z] aa168da1d23b: Download complete [2020-10-15T02:49:15.092Z] 01666e4c0597: Pull complete [2020-10-15T02:49:20.404Z] aa168da1d23b: Pull complete [2020-10-15T02:49:20.404Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-15T02:49:20.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T02:49:20.404Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-15T02:49:20.540Z] prd-centos7-docker-4c-2g-5502 does not seem to be running inside a container [2020-10-15T02:49:20.586Z] $ 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-619/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-619 -v /w/workspace/dgexfoundry_device-sdk-go_PR-619:/w/workspace/dgexfoundry_device-sdk-go_PR-619:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-15T02:49:26.852Z] $ docker top 67d43a3004fa3e7407f3943ef2c546151e3c471b437f5b94300f0d138763a277 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T02:49:27.460Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-15T02:49:27.842Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-15T02:49:28.148Z] + ls /var/log/sa-host [2020-10-15T02:49:28.148Z] + sadf -c /var/log/sa-host/sa05 [2020-10-15T02:49:28.148Z] file_magic: OK [2020-10-15T02:49:28.148Z] HZ: Using current value: 100 [2020-10-15T02:49:28.148Z] file_header: OK [2020-10-15T02:49:28.148Z] 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-15T02:49:28.148Z] Statistics: [2020-10-15T02:49:28.148Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-15T02:49:28.148Z] File successfully converted to sysstat format version 12.2.1 [2020-10-15T02:49:28.148Z] + sadf -c /var/log/sa-host/sa15 [2020-10-15T02:49:28.148Z] file_magic: OK [2020-10-15T02:49:28.148Z] HZ: Using current value: 100 [2020-10-15T02:49:28.148Z] file_header: OK [2020-10-15T02:49:28.148Z] 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-15T02:49:28.148Z] Statistics: [2020-10-15T02:49:28.148Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-15T02:49:28.148Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-15T02:49:28.771Z] provisioning config files... [2020-10-15T02:49:28.784Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config2451481858511171003tmp [Pipeline] { [Pipeline] echo [2020-10-15T02:49:28.856Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:49:29.147Z] ---> create-netrc.sh [Pipeline] } [2020-10-15T02:49:29.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-15T02:49:29.253Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:49:29.548Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-15T02:49:29.559Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:49:29.850Z] ---> sudo-logs.sh [2020-10-15T02:49:29.850Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-15T02:49:29.861Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:49:30.159Z] ---> job-cost.sh [2020-10-15T02:49:30.159Z] lf-activate-venv: SKIPPING [2020-10-15T02:49:30.159Z] INFO: No Stack... [2020-10-15T02:49:31.103Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-15T02:49:31.674Z] INFO: Archiving Costs [Pipeline] echo [2020-10-15T02:49:31.687Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:49:31.981Z] ---> logs-deploy.sh [2020-10-15T02:49:31.981Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-619/10 [2020-10-15T02:49:31.981Z] INFO: archiving workspace using pattern(s): [2020-10-15T02:49:33.368Z] Archives upload complete. [2020-10-15T02:49:33.368Z] INFO: archiving logs to Nexus