Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a0136f4ab48c04aea383df6fc9b835c730cf6549+9121cb4fd2f17f024cc2e84f36967dd0fb0597df (31229cd1acc46828c8d330e03f7d0c3b6ab9a0cf) 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-5503 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-584 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 Merge succeeded, producing 45c1db7a078e7895d1937ff01ca68aa047ba2514 Checking out Revision 45c1db7a078e7895d1937ff01ca68aa047ba2514 (PR-584) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45c1db7a078e7895d1937ff01ca68aa047ba2514 # timeout=10 Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 66203a5aa5c24f74eace5e0c2828331f913f5a45 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-15T02:42:30.416Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-15T02:42:30.711Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-15T02:42:30.817Z] ========================================================= [2020-10-15T02:42:30.817Z] EdgeX Global Pipelines Version Info [2020-10-15T02:42:30.817Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:42:32.257Z] ------------------- [2020-10-15T02:42:32.258Z] stable info: [2020-10-15T02:42:32.258Z] ------------------- [2020-10-15T02:42:32.258Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-15T02:42:32.258Z] Commit SHA: fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [2020-10-15T02:42:32.258Z] Message: update stable to v1.0.142 [2020-10-15T02:42:33.204Z] ------------------- [2020-10-15T02:42:33.204Z] experimental info: [2020-10-15T02:42:33.204Z] ------------------- [2020-10-15T02:42:33.204Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-15T02:42:33.204Z] Commit SHA: 2f41ad55dd360c8679175c2f18fa26421540ceb6 [2020-10-15T02:42:33.204Z] Message: update experimental to v1.0.143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-15T02:42:33.586Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-15T02:42:33.672Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-15T02:42:33.755Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-15T02:42:33.852Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-15T02:42:33.989Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-15T02:42:34.083Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-15T02:42:34.190Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-15T02:42:34.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-15T02:42:34.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-15T02:42:34.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-15T02:42:34.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-15T02:42:34.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-15T02:42:34.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-15T02:42:35.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-15T02:42:35.092Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-15T02:42:35.176Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T02:42:35.265Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T02:42:35.358Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T02:42:35.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-15T02:42:35.534Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-15T02:42:35.621Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-15T02:42:35.702Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-15T02:42:35.813Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-15T02:42:35.907Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-15T02:42:35.994Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-15T02:42:36.085Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo [2020-10-15T02:42:36.169Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo [2020-10-15T02:42:36.256Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo [2020-10-15T02:42:36.356Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45c1db7a078e7895d1937ff01ca68aa047ba2514 [Pipeline] echo [2020-10-15T02:42:36.438Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45c1db7 [Pipeline] echo [2020-10-15T02:42:36.519Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-15T02:42:37.110Z] + git log --format=format:%s -1 45c1db7a078e7895d1937ff01ca68aa047ba2514 [Pipeline] echo [2020-10-15T02:42:37.175Z] GIT_COMMIT: 45c1db7a078e7895d1937ff01ca68aa047ba2514, Commit Message: Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD [Pipeline] echo [2020-10-15T02:42:37.224Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:42:37.903Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T02:42:38.166Z] [2020-10-15T02:42:38.166Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:42:38.538Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T02:42:38.538Z] latest: Pulling from edgex-devops/git-semver [2020-10-15T02:42:38.538Z] 31603596830f: Pulling fs layer [2020-10-15T02:42:38.538Z] 2a8b12db71e7: Pulling fs layer [2020-10-15T02:42:38.538Z] 6ca5941a6612: Pulling fs layer [2020-10-15T02:42:38.538Z] ecc8261a40a4: Pulling fs layer [2020-10-15T02:42:38.538Z] ecc8261a40a4: Waiting [2020-10-15T02:42:38.538Z] 2a8b12db71e7: Download complete [2020-10-15T02:42:38.805Z] 31603596830f: Download complete [2020-10-15T02:42:39.068Z] ecc8261a40a4: Verifying Checksum [2020-10-15T02:42:39.068Z] ecc8261a40a4: Download complete [2020-10-15T02:42:39.068Z] 31603596830f: Pull complete [2020-10-15T02:42:39.068Z] 6ca5941a6612: Verifying Checksum [2020-10-15T02:42:39.068Z] 6ca5941a6612: Download complete [2020-10-15T02:42:39.068Z] 2a8b12db71e7: Pull complete [2020-10-15T02:42:40.029Z] 6ca5941a6612: Pull complete [2020-10-15T02:42:40.029Z] ecc8261a40a4: Pull complete [2020-10-15T02:42:40.029Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-15T02:42:40.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T02:42:40.029Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-15T02:42:40.177Z] prd-centos7-docker-4c-2g-5503 does not seem to be running inside a container [2020-10-15T02:42:40.230Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-15T02:42:42.435Z] $ docker top 899e9899496e1439e9073e1c2ab82ab1a921856bd554f9cef813e4cd0f779715 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-15T02:42:42.742Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-15T02:42:42.742Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-15T02:42:42.956Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-15T02:42:42.967Z] $ docker exec 899e9899496e1439e9073e1c2ab82ab1a921856bd554f9cef813e4cd0f779715 ssh-agent [2020-10-15T02:42:43.141Z] SSH_AUTH_SOCK=/tmp/ssh-yto1Lf8dbGk7/agent.11 [2020-10-15T02:42:43.141Z] SSH_AGENT_PID=16 [2020-10-15T02:42:43.156Z] Running ssh-add (command line suppressed) [2020-10-15T02:42:43.285Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1461711974342261776.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1461711974342261776.key) [2020-10-15T02:42:43.334Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-15T02:42:43.681Z] + git tag --points-at HEAD [Pipeline] } [2020-10-15T02:42:43.708Z] $ docker exec --env ******** --env ******** 899e9899496e1439e9073e1c2ab82ab1a921856bd554f9cef813e4cd0f779715 ssh-agent -k [2020-10-15T02:42:43.831Z] unset SSH_AUTH_SOCK; [2020-10-15T02:42:43.831Z] unset SSH_AGENT_PID; [2020-10-15T02:42:43.832Z] echo Agent pid 16 killed; [2020-10-15T02:42:43.874Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-15T02:42:44.100Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-15T02:42:44.100Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-15T02:42:44.272Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-15T02:42:44.282Z] $ docker exec 899e9899496e1439e9073e1c2ab82ab1a921856bd554f9cef813e4cd0f779715 ssh-agent [2020-10-15T02:42:44.445Z] SSH_AUTH_SOCK=/tmp/ssh-MgtHIbVArYL7/agent.45 [2020-10-15T02:42:44.445Z] SSH_AGENT_PID=50 [2020-10-15T02:42:44.454Z] Running ssh-add (command line suppressed) [2020-10-15T02:42:44.591Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_7962676801560101484.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_7962676801560101484.key) [2020-10-15T02:42:44.643Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-15T02:42:45.040Z] + git semver init [2020-10-15T02:42:45.040Z] # -> Open(): unable to determine branch for HEAD [2020-10-15T02:42:45.040Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git [2020-10-15T02:42:45.040Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-15T02:42:45.040Z] # $SEMVER_REMOTE_NAME = origin [2020-10-15T02:42:45.040Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-15T02:42:45.040Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-15T02:42:45.040Z] # $SEMVER_BRANCH = PR-584 [2020-10-15T02:42:45.040Z] # $SEMVER_TEMP = /tmp/semver-766638353 [2020-10-15T02:42:45.040Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-15T02:42:45.617Z] # '/tmp/semver-766638353' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' [2020-10-15T02:42:45.617Z] # -> Force: false [2020-10-15T02:42:45.617Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } [2020-10-15T02:42:45.639Z] $ docker exec --env ******** --env ******** 899e9899496e1439e9073e1c2ab82ab1a921856bd554f9cef813e4cd0f779715 ssh-agent -k [2020-10-15T02:42:45.759Z] unset SSH_AUTH_SOCK; [2020-10-15T02:42:45.759Z] unset SSH_AGENT_PID; [2020-10-15T02:42:45.759Z] echo Agent pid 50 killed; [2020-10-15T02:42:45.802Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-15T02:42:46.257Z] + git semver [Pipeline] } [2020-10-15T02:42:46.283Z] $ docker stop --time=1 899e9899496e1439e9073e1c2ab82ab1a921856bd554f9cef813e4cd0f779715 [2020-10-15T02:42:47.821Z] $ docker rm -f 899e9899496e1439e9073e1c2ab82ab1a921856bd554f9cef813e4cd0f779715 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-15T02:42:48.486Z] Stashed 1 file(s) [Pipeline] echo [2020-10-15T02:42:48.491Z] [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:43:04.043Z] Still waiting to schedule task [2020-10-15T02:43:04.043Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-15T02:43:04.045Z] Still waiting to schedule task [2020-10-15T02:43:04.046Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-15T02:44:13.123Z] Running on prd-centos7-docker-4c-2g-5509 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-15T02:44:13.185Z] Running in /w/workspace/device-sdk-go/20 [Pipeline] { [Pipeline] checkout [2020-10-15T02:44:22.051Z] using credential edgex-jenkins-ssh [2020-10-15T02:44:22.115Z] Cloning the remote Git repository [2020-10-15T02:44:22.151Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:44:22.236Z] > git init /w/workspace/device-sdk-go/20 # timeout=10 [2020-10-15T02:44:22.341Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:44:22.342Z] > git --version # timeout=10 [2020-10-15T02:44:22.357Z] > git --version # 'git version 2.16.5' [2020-10-15T02:44:22.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:44:22.394Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T02:44:23.354Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T02:44:23.397Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T02:44:23.456Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T02:44:23.473Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:44:23.473Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:44:23.503Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-15T02:44:23.960Z] Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 [2020-10-15T02:44:24.434Z] Merge succeeded, producing b2f38a32bb833a11804866504c86e8ffc9321e25 [2020-10-15T02:44:24.434Z] Checking out Revision b2f38a32bb833a11804866504c86e8ffc9321e25 (PR-584) [2020-10-15T02:44:23.978Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T02:44:24.024Z] > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 [2020-10-15T02:44:24.196Z] > git remote # timeout=10 [2020-10-15T02:44:24.284Z] > git config --get remote.origin.url # timeout=10 [2020-10-15T02:44:24.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:44:24.317Z] > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 [2020-10-15T02:44:24.397Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-15T02:44:24.441Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T02:44:24.450Z] > git checkout -f b2f38a32bb833a11804866504c86e8ffc9321e25 # timeout=10 [2020-10-15T02:44:28.945Z] Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" [2020-10-15T02:44:28.985Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [2020-10-15T02:44:28.951Z] > git rev-list --no-walk 66203a5aa5c24f74eace5e0c2828331f913f5a45 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-15T02:44:29.970Z] ========================================================= [2020-10-15T02:44:29.970Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-15T02:44:29.970Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:44:31.429Z] + 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:44:32.074Z] Sending build context to Docker daemon 2.251MB [2020-10-15T02:44:32.074Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-15T02:44:32.074Z] Step 2/8 : FROM ${BASE} [2020-10-15T02:44:32.074Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-15T02:44:32.074Z] df20fa9351a1: Pulling fs layer [2020-10-15T02:44:32.074Z] ed8968b2872e: Pulling fs layer [2020-10-15T02:44:32.074Z] a92cc7c5fd73: Pulling fs layer [2020-10-15T02:44:32.074Z] e871e8e8d7a9: Pulling fs layer [2020-10-15T02:44:32.074Z] e73272ec9a57: Pulling fs layer [2020-10-15T02:44:32.074Z] 1e910a182e73: Pulling fs layer [2020-10-15T02:44:32.074Z] 4e634b169226: Pulling fs layer [2020-10-15T02:44:32.074Z] e73272ec9a57: Waiting [2020-10-15T02:44:32.074Z] 1e910a182e73: Waiting [2020-10-15T02:44:32.074Z] 4e634b169226: Waiting [2020-10-15T02:44:32.074Z] e871e8e8d7a9: Waiting [2020-10-15T02:44:32.361Z] a92cc7c5fd73: Verifying Checksum [2020-10-15T02:44:32.361Z] a92cc7c5fd73: Download complete [2020-10-15T02:44:32.666Z] ed8968b2872e: Verifying Checksum [2020-10-15T02:44:32.666Z] ed8968b2872e: Download complete [2020-10-15T02:44:32.977Z] e73272ec9a57: Download complete [2020-10-15T02:44:32.977Z] 1e910a182e73: Verifying Checksum [2020-10-15T02:44:32.977Z] 1e910a182e73: Download complete [2020-10-15T02:44:33.905Z] df20fa9351a1: Verifying Checksum [2020-10-15T02:44:33.905Z] df20fa9351a1: Download complete [2020-10-15T02:44:34.200Z] df20fa9351a1: Pull complete [2020-10-15T02:44:34.554Z] ed8968b2872e: Pull complete [2020-10-15T02:44:34.835Z] a92cc7c5fd73: Pull complete [2020-10-15T02:44:41.704Z] 4e634b169226: Verifying Checksum [2020-10-15T02:44:41.704Z] 4e634b169226: Download complete [2020-10-15T02:44:43.820Z] e871e8e8d7a9: Verifying Checksum [2020-10-15T02:44:43.820Z] e871e8e8d7a9: Download complete [2020-10-15T02:44:54.294Z] e871e8e8d7a9: Pull complete [2020-10-15T02:44:54.294Z] e73272ec9a57: Pull complete [2020-10-15T02:44:54.294Z] 1e910a182e73: Pull complete [2020-10-15T02:45:00.261Z] 4e634b169226: Pull complete [2020-10-15T02:45:00.261Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-15T02:45:00.261Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-15T02:45:00.261Z] ---> f7629b54cfaa [2020-10-15T02:45:00.261Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:45:00.261Z] ---> Running in a6298e2398a6 [2020-10-15T02:45:00.538Z] Removing intermediate container a6298e2398a6 [2020-10-15T02:45:00.538Z] ---> 1ba2e38ac295 [2020-10-15T02:45:00.538Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T02:45:00.538Z] ---> Running in 45e9fe89423d [2020-10-15T02:45:02.669Z] Removing intermediate container 45e9fe89423d [2020-10-15T02:45:02.669Z] ---> 3e350f486e70 [2020-10-15T02:45:02.669Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-15T02:45:02.669Z] ---> Running in 1a0241c0c3d8 [2020-10-15T02:45:03.742Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-15T02:45:04.840Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-15T02:45:05.534Z] OK: 166 MiB in 39 packages [2020-10-15T02:45:06.563Z] Removing intermediate container 1a0241c0c3d8 [2020-10-15T02:45:06.563Z] ---> 4d6b6a33974b [2020-10-15T02:45:06.563Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-15T02:45:06.563Z] ---> Running in 9469ba7dbe83 [2020-10-15T02:45:06.842Z] Removing intermediate container 9469ba7dbe83 [2020-10-15T02:45:06.843Z] ---> 79c6d01d8e23 [2020-10-15T02:45:06.843Z] Step 7/8 : COPY . . [2020-10-15T02:45:08.914Z] ---> 51637487c06c [2020-10-15T02:45:08.914Z] Step 8/8 : RUN go mod download [2020-10-15T02:45:08.914Z] ---> Running in 39f2d7d0a4c4 [2020-10-15T02:45:31.312Z] Removing intermediate container 39f2d7d0a4c4 [2020-10-15T02:45:31.312Z] ---> bbcaa614cacc [2020-10-15T02:45:31.312Z] Successfully built bbcaa614cacc [2020-10-15T02:45:31.312Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:45:31.858Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-15T02:45:31.858Z] . [Pipeline] withDockerContainer [2020-10-15T02:45:32.389Z] prd-centos7-docker-4c-2g-5509 does not seem to be running inside a container [2020-10-15T02:45:33.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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-15T02:45:34.737Z] $ docker top 999f04644f2806ace6b5beb8898e52f8d6282a7f6bc7a81be549697be44cb4b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T02:45:35.919Z] + go version [2020-10-15T02:45:35.919Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-15T02:45:35.948Z] $ docker stop --time=1 999f04644f2806ace6b5beb8898e52f8d6282a7f6bc7a81be549697be44cb4b2 [2020-10-15T02:45:37.479Z] $ docker rm -f 999f04644f2806ace6b5beb8898e52f8d6282a7f6bc7a81be549697be44cb4b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:45:38.645Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-15T02:45:39.106Z] . [Pipeline] withDockerContainer [2020-10-15T02:45:39.592Z] prd-centos7-docker-4c-2g-5509 does not seem to be running inside a container [2020-10-15T02:45:40.794Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5512 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-15T02:45:40.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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-15T02:45:42.532Z] $ docker top ccaff8673c3227824317f21dcd7c03c030d108cdaa8237c575eb8dc49d1108b7 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws [2020-10-15T02:45:42.988Z] Running in /w/workspace/device-sdk-go/20 [Pipeline] { [Pipeline] checkout [2020-10-15T02:45:43.583Z] + make test [2020-10-15T02:45:43.583Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-15T02:45:47.221Z] using credential edgex-jenkins-ssh [2020-10-15T02:45:47.292Z] Cloning the remote Git repository [2020-10-15T02:45:47.350Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:45:47.461Z] > git init /w/workspace/device-sdk-go/20 # timeout=10 [2020-10-15T02:45:47.538Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:45:47.539Z] > git --version # timeout=10 [2020-10-15T02:45:47.553Z] > git --version # 'git version 2.17.1' [2020-10-15T02:45:47.555Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:45:47.634Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T02:45:48.667Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T02:45:48.683Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T02:45:48.713Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T02:45:48.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:45:48.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:45:48.763Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-15T02:45:49.256Z] Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 [2020-10-15T02:45:49.568Z] Merge succeeded, producing 2d8714ac370d001bef618f15bce6cbfd350af9dc [2020-10-15T02:45:49.569Z] Checking out Revision 2d8714ac370d001bef618f15bce6cbfd350af9dc (PR-584) [2020-10-15T02:45:49.279Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T02:45:49.293Z] > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 [2020-10-15T02:45:49.411Z] > git remote # timeout=10 [2020-10-15T02:45:49.427Z] > git config --get remote.origin.url # timeout=10 [2020-10-15T02:45:49.439Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:45:49.457Z] > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 [2020-10-15T02:45:49.547Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-15T02:45:49.579Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T02:45:49.594Z] > git checkout -f 2d8714ac370d001bef618f15bce6cbfd350af9dc # timeout=10 [2020-10-15T02:45:54.088Z] Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" [2020-10-15T02:45:54.113Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-15T02:45:54.099Z] > git rev-list --no-walk 66203a5aa5c24f74eace5e0c2828331f913f5a45 # timeout=10 [Pipeline] echo [2020-10-15T02:45:54.935Z] ========================================================= [2020-10-15T02:45:54.935Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-15T02:45:54.935Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:45:55.904Z] + 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:45:56.887Z] Sending build context to Docker daemon 2.252MB [2020-10-15T02:45:56.887Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-15T02:45:56.887Z] Step 2/8 : FROM ${BASE} [2020-10-15T02:45:57.161Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-15T02:45:57.161Z] b538f80385f9: Pulling fs layer [2020-10-15T02:45:57.161Z] 74f711af9a0d: Pulling fs layer [2020-10-15T02:45:57.161Z] 99f96fe45779: Pulling fs layer [2020-10-15T02:45:57.161Z] 8529a6b9a6be: Pulling fs layer [2020-10-15T02:45:57.161Z] 45590311c82a: Pulling fs layer [2020-10-15T02:45:57.161Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-15T02:45:57.161Z] 209524e5b208: Pulling fs layer [2020-10-15T02:45:57.161Z] 209524e5b208: Waiting [2020-10-15T02:45:57.161Z] 45590311c82a: Waiting [2020-10-15T02:45:57.161Z] 69ca0ff8b7b3: Waiting [2020-10-15T02:45:57.161Z] 8529a6b9a6be: Waiting [2020-10-15T02:45:57.161Z] 99f96fe45779: Verifying Checksum [2020-10-15T02:45:57.161Z] 99f96fe45779: Download complete [2020-10-15T02:45:57.161Z] 74f711af9a0d: Verifying Checksum [2020-10-15T02:45:57.161Z] 74f711af9a0d: Download complete [2020-10-15T02:45:57.161Z] 45590311c82a: Verifying Checksum [2020-10-15T02:45:57.161Z] 45590311c82a: Download complete [2020-10-15T02:45:57.161Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-15T02:45:57.161Z] 69ca0ff8b7b3: Download complete [2020-10-15T02:45:57.161Z] b538f80385f9: Download complete [2020-10-15T02:45:57.763Z] b538f80385f9: Pull complete [2020-10-15T02:45:58.368Z] 74f711af9a0d: Pull complete [2020-10-15T02:45:58.645Z] 99f96fe45779: Pull complete [2020-10-15T02:45:59.514Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-15T02:46:00.078Z] 209524e5b208: Verifying Checksum [2020-10-15T02:46:00.078Z] 209524e5b208: Download complete [2020-10-15T02:46:01.512Z] 8529a6b9a6be: Verifying Checksum [2020-10-15T02:46:01.512Z] 8529a6b9a6be: Download complete [2020-10-15T02:46:13.956Z] 8529a6b9a6be: Pull complete [2020-10-15T02:46:13.956Z] 45590311c82a: Pull complete [2020-10-15T02:46:13.956Z] 69ca0ff8b7b3: Pull complete [2020-10-15T02:46:16.611Z] 209524e5b208: Pull complete [2020-10-15T02:46:16.612Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-15T02:46:16.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-15T02:46:16.612Z] ---> 5bddaf1c2fca [2020-10-15T02:46:16.612Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:46:20.057Z] ---> Running in 7f0b55de4bf0 [2020-10-15T02:46:20.057Z] Removing intermediate container 7f0b55de4bf0 [2020-10-15T02:46:20.057Z] ---> 2ea76776cf5e [2020-10-15T02:46:20.057Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T02:46:20.338Z] ---> Running in 0086630bc750 [2020-10-15T02:46:22.982Z] Removing intermediate container 0086630bc750 [2020-10-15T02:46:22.982Z] ---> 7562366edb68 [2020-10-15T02:46:22.982Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-15T02:46:22.982Z] ---> Running in 1875dca4e9e6 [2020-10-15T02:46:24.457Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-15T02:46:25.453Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-15T02:46:26.477Z] OK: 142 MiB in 39 packages [2020-10-15T02:46:26.877Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-15T02:46:26.877Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-15T02:46:26.877Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-15T02:46:26.877Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.075s coverage: 21.6% of statements [2020-10-15T02:46:27.496Z] Removing intermediate container 1875dca4e9e6 [2020-10-15T02:46:27.496Z] ---> af9b9238a46a [2020-10-15T02:46:27.497Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-15T02:46:27.620Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.916s coverage: 97.1% of statements [2020-10-15T02:46:27.793Z] ---> Running in c40fe8a67440 [2020-10-15T02:46:28.097Z] Removing intermediate container c40fe8a67440 [2020-10-15T02:46:28.097Z] ---> 943ac2b1b1bb [2020-10-15T02:46:28.097Z] Step 7/8 : COPY . . [2020-10-15T02:46:29.584Z] ---> bdc2402a5463 [2020-10-15T02:46:29.584Z] Step 8/8 : RUN go mod download [2020-10-15T02:46:29.584Z] ---> Running in 58cdb2c56666 [2020-10-15T02:46:52.104Z] Removing intermediate container 58cdb2c56666 [2020-10-15T02:46:52.104Z] ---> b78a240ccc2d [2020-10-15T02:46:52.104Z] Successfully built b78a240ccc2d [2020-10-15T02:46:52.104Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:46:52.512Z] + docker inspect -f . ci-base-image-arm64 [2020-10-15T02:46:52.512Z] . [Pipeline] withDockerContainer [2020-10-15T02:46:52.757Z] prd-ubuntu18.04-docker-arm64-4c-16g-5512 does not seem to be running inside a container [2020-10-15T02:46:52.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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 ******** ci-base-image-arm64 cat [2020-10-15T02:46:54.725Z] $ docker top 2eb8fd93964239aa614009572ec9cbdfc889b69c5efcd22a7be92ed51e4d1709 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T02:46:56.113Z] + go version [2020-10-15T02:46:56.113Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-15T02:46:56.137Z] $ docker stop --time=1 2eb8fd93964239aa614009572ec9cbdfc889b69c5efcd22a7be92ed51e4d1709 [2020-10-15T02:46:58.131Z] $ docker rm -f 2eb8fd93964239aa614009572ec9cbdfc889b69c5efcd22a7be92ed51e4d1709 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:46:59.183Z] + docker inspect -f . ci-base-image-arm64 [2020-10-15T02:46:59.184Z] . [Pipeline] withDockerContainer [2020-10-15T02:46:59.450Z] prd-ubuntu18.04-docker-arm64-4c-16g-5512 does not seem to be running inside a container [2020-10-15T02:46:59.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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 ******** ci-base-image-arm64 cat [2020-10-15T02:47:00.386Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.063s coverage: 9.4% of statements [2020-10-15T02:47:00.386Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.127s coverage: 21.9% of statements [2020-10-15T02:47:00.386Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-15T02:47:00.386Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.286s coverage: 40.0% of statements [2020-10-15T02:47:00.386Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-15T02:47:00.386Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.478s coverage: 68.9% of statements [2020-10-15T02:47:00.386Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-15T02:47:00.386Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-15T02:47:00.386Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-15T02:47:00.386Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-15T02:47:00.386Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.132s coverage: 52.6% of statements [2020-10-15T02:47:00.386Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-15T02:47:00.386Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-15T02:47:00.386Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.588s coverage: 68.9% of statements [2020-10-15T02:47:00.386Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-15T02:47:00.386Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-15T02:47:00.386Z] GO111MODULE=on go vet ./... [2020-10-15T02:47:01.358Z] $ docker top 1f49e0269cd9e1c26fc26e84262b761e9739dd879d195fb582c02889b9638d9a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T02:47:02.799Z] + make test [2020-10-15T02:47:02.799Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-15T02:47:13.189Z] gofmt -l . [2020-10-15T02:47:13.190Z] [ "`gofmt -l .`" = "" ] [2020-10-15T02:47:13.465Z] ./bin/test-attribution-txt.sh [2020-10-15T02:47:15.051Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-15T02:47:16.576Z] Stashed 1 file(s) [Pipeline] } [2020-10-15T02:47:16.601Z] $ docker stop --time=1 ccaff8673c3227824317f21dcd7c03c030d108cdaa8237c575eb8dc49d1108b7 [2020-10-15T02:47:18.970Z] $ docker rm -f ccaff8673c3227824317f21dcd7c03c030d108cdaa8237c575eb8dc49d1108b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-15T02:47:21.032Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-15T02:47:21.350Z] + ls -al . [2020-10-15T02:47:21.351Z] total 188 [2020-10-15T02:47:21.351Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 15 02:47 . [2020-10-15T02:47:21.351Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 15 02:44 .. [2020-10-15T02:47:21.351Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 15 02:44 bin [2020-10-15T02:47:21.351Z] -rw-r--r--. 1 jenkins jenkins 110392 Oct 15 02:46 coverage.out [2020-10-15T02:47:21.351Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 15 02:44 Dockerfile.build [2020-10-15T02:47:21.351Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 15 02:44 .dockerignore [2020-10-15T02:47:21.351Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 15 02:44 example [2020-10-15T02:47:21.351Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 15 02:44 .git [2020-10-15T02:47:21.351Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 15 02:44 .github [2020-10-15T02:47:21.351Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 15 02:44 .gitignore [2020-10-15T02:47:21.351Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 15 02:47 go.mod [2020-10-15T02:47:21.351Z] -rw-r--r--. 1 jenkins jenkins 13737 Oct 15 02:47 go.sum [2020-10-15T02:47:21.351Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 15 02:44 internal [2020-10-15T02:47:21.351Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 15 02:44 Jenkinsfile [2020-10-15T02:47:21.351Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 15 02:44 LICENSE [2020-10-15T02:47:21.351Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 15 02:44 Makefile [2020-10-15T02:47:21.351Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 15 02:44 openapi [2020-10-15T02:47:21.351Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 15 02:44 pkg [2020-10-15T02:47:21.351Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 15 02:44 README.md [2020-10-15T02:47:21.351Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 15 02:44 RELEASE-NOTES.txt [2020-10-15T02:47:21.351Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 15 02:44 snap [2020-10-15T02:47:21.351Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 15 02:42 VERSION [2020-10-15T02:47:21.351Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 15 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:47:21.681Z] + 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=45c1db7a078e7895d1937ff01ca68aa047ba2514 --label arch=amd64 --label version=0.0.0 . [2020-10-15T02:47:21.975Z] Sending build context to Docker daemon 2.362MB [2020-10-15T02:47:22.241Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-15T02:47:22.241Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-15T02:47:22.241Z] ---> bbcaa614cacc [2020-10-15T02:47:22.241Z] Step 3/24 : ARG MAKE='make build' [2020-10-15T02:47:22.507Z] ---> Running in fda80d260e23 [2020-10-15T02:47:22.779Z] Removing intermediate container fda80d260e23 [2020-10-15T02:47:22.779Z] ---> b86eca8ee860 [2020-10-15T02:47:22.779Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-15T02:47:22.779Z] ---> Running in d1a7a5aadaf7 [2020-10-15T02:47:23.045Z] Removing intermediate container d1a7a5aadaf7 [2020-10-15T02:47:23.045Z] ---> 112ea0db0d5e [2020-10-15T02:47:23.045Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:47:23.045Z] ---> Running in b4749e0ffdd7 [2020-10-15T02:47:23.313Z] Removing intermediate container b4749e0ffdd7 [2020-10-15T02:47:23.313Z] ---> 671dcc63265d [2020-10-15T02:47:23.313Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T02:47:23.313Z] ---> Running in 149a0b22430c [2020-10-15T02:47:24.746Z] Removing intermediate container 149a0b22430c [2020-10-15T02:47:24.746Z] ---> 0972fb218eb8 [2020-10-15T02:47:24.746Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-15T02:47:24.746Z] ---> Running in 49608cc6ff3e [2020-10-15T02:47:25.017Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-15T02:47:25.350Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-15T02:47:26.317Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-15T02:47:27.315Z] OK: 166 MiB in 39 packages [2020-10-15T02:47:27.934Z] Removing intermediate container 49608cc6ff3e [2020-10-15T02:47:27.934Z] ---> e45a2d2aa75c [2020-10-15T02:47:27.934Z] Step 8/24 : COPY . . [2020-10-15T02:47:28.910Z] ---> 4478c360ab2f [2020-10-15T02:47:28.910Z] Step 9/24 : RUN ${MAKE} [2020-10-15T02:47:28.910Z] ---> Running in 8af3628ad397 [2020-10-15T02:47:29.917Z] 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:47:45.338Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-15T02:47:46.311Z] Removing intermediate container 8af3628ad397 [2020-10-15T02:47:46.311Z] ---> 730d8a5bd785 [2020-10-15T02:47:46.311Z] Step 10/24 : FROM scratch [2020-10-15T02:47:46.311Z] ---> [2020-10-15T02:47:46.311Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:47:46.311Z] ---> Running in 59723781d00b [2020-10-15T02:47:46.582Z] Removing intermediate container 59723781d00b [2020-10-15T02:47:46.582Z] ---> 2cd14b7ab5f0 [2020-10-15T02:47:46.582Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-15T02:47:46.879Z] ---> Running in 606f6fbbfb79 [2020-10-15T02:47:46.880Z] Removing intermediate container 606f6fbbfb79 [2020-10-15T02:47:46.880Z] ---> c3c9b72300a9 [2020-10-15T02:47:46.880Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-15T02:47:46.880Z] ---> Running in 3474bb241207 [2020-10-15T02:47:47.162Z] Removing intermediate container 3474bb241207 [2020-10-15T02:47:47.162Z] ---> f876b3e42759 [2020-10-15T02:47:47.162Z] Step 14/24 : WORKDIR / [2020-10-15T02:47:47.162Z] ---> Running in b73063d279f3 [2020-10-15T02:47:47.452Z] Removing intermediate container b73063d279f3 [2020-10-15T02:47:47.452Z] ---> b8fd2e8c3756 [2020-10-15T02:47:47.452Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-15T02:47:48.078Z] ---> 73d44626569d [2020-10-15T02:47:48.078Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-15T02:47:48.415Z] ---> f3d12c95f0dc [2020-10-15T02:47:48.415Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-15T02:47:49.010Z] ---> 82d0e3129934 [2020-10-15T02:47:49.010Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-15T02:47:49.279Z] ---> da8e17da930f [2020-10-15T02:47:49.279Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-15T02:47:49.558Z] ---> 79f3507719fa [2020-10-15T02:47:49.558Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-15T02:47:49.835Z] ---> Running in f875c86d7ea9 [2020-10-15T02:47:49.835Z] Removing intermediate container f875c86d7ea9 [2020-10-15T02:47:49.835Z] ---> a268d795fd53 [2020-10-15T02:47:49.835Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-15T02:47:50.168Z] ---> Running in 924f020be1fa [2020-10-15T02:47:50.168Z] Removing intermediate container 924f020be1fa [2020-10-15T02:47:50.168Z] ---> e604fb4d5571 [2020-10-15T02:47:50.168Z] Step 22/24 : LABEL arch=amd64 [2020-10-15T02:47:50.168Z] ---> Running in 535f1eedf79b [2020-10-15T02:47:50.448Z] Removing intermediate container 535f1eedf79b [2020-10-15T02:47:50.448Z] ---> 38270824cb22 [2020-10-15T02:47:50.448Z] Step 23/24 : LABEL git_sha=45c1db7a078e7895d1937ff01ca68aa047ba2514 [2020-10-15T02:47:50.448Z] ---> Running in 8533324c25c1 [2020-10-15T02:47:50.721Z] Removing intermediate container 8533324c25c1 [2020-10-15T02:47:50.721Z] ---> 479410438880 [2020-10-15T02:47:50.721Z] Step 24/24 : LABEL version=0.0.0 [2020-10-15T02:47:50.721Z] ---> Running in cf1bf9ac66d5 [2020-10-15T02:47:51.688Z] Removing intermediate container cf1bf9ac66d5 [2020-10-15T02:47:51.688Z] ---> 67d820f8575a [2020-10-15T02:47:51.688Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-15T02:47:51.688Z] Successfully built 67d820f8575a [2020-10-15T02:47:51.688Z] 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:48:04.092Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-15T02:48:04.092Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-15T02:48:04.092Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-15T02:48:04.092Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.125s coverage: 21.6% of statements [2020-10-15T02:48:07.509Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.192s coverage: 97.1% of statements [2020-10-15T02:48:34.302Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.126s coverage: 9.4% of statements [2020-10-15T02:48:34.302Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.117s coverage: 21.9% of statements [2020-10-15T02:48:34.302Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-15T02:48:34.302Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.579s coverage: 40.0% of statements [2020-10-15T02:48:34.302Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-15T02:48:34.302Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.789s coverage: 68.9% of statements [2020-10-15T02:48:34.302Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-15T02:48:34.302Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-15T02:48:34.302Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-15T02:48:34.302Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-15T02:48:34.302Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.174s coverage: 52.6% of statements [2020-10-15T02:48:34.302Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-15T02:48:34.302Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-15T02:48:34.302Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.885s coverage: 68.9% of statements [2020-10-15T02:48:34.302Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-15T02:48:34.302Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-15T02:48:34.302Z] GO111MODULE=on go vet ./... [2020-10-15T02:49:06.689Z] gofmt -l . [2020-10-15T02:49:06.689Z] [ "`gofmt -l .`" = "" ] [2020-10-15T02:49:06.689Z] ./bin/test-attribution-txt.sh [2020-10-15T02:49:06.689Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-15T02:49:06.707Z] Warning: overwriting stash ‘coverage-report’ [2020-10-15T02:49:07.722Z] Stashed 1 file(s) [Pipeline] } [2020-10-15T02:49:07.727Z] $ docker stop --time=1 1f49e0269cd9e1c26fc26e84262b761e9739dd879d195fb582c02889b9638d9a [2020-10-15T02:49:10.001Z] $ docker rm -f 1f49e0269cd9e1c26fc26e84262b761e9739dd879d195fb582c02889b9638d9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-15T02:49:11.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-15T02:49:11.962Z] + ls -al . [2020-10-15T02:49:11.962Z] total 224 [2020-10-15T02:49:11.962Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 02:49 . [2020-10-15T02:49:11.962Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:45 .. [2020-10-15T02:49:11.962Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 15 02:45 .dockerignore [2020-10-15T02:49:11.962Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 02:45 .git [2020-10-15T02:49:11.962Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 02:45 .github [2020-10-15T02:49:11.962Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 15 02:45 .gitignore [2020-10-15T02:49:11.962Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 15 02:45 Dockerfile.build [2020-10-15T02:49:11.962Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 15 02:45 Jenkinsfile [2020-10-15T02:49:11.962Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 15 02:45 LICENSE [2020-10-15T02:49:11.962Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 15 02:45 Makefile [2020-10-15T02:49:11.962Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 15 02:45 README.md [2020-10-15T02:49:11.962Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 15 02:45 RELEASE-NOTES.txt [2020-10-15T02:49:11.962Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 02:42 VERSION [2020-10-15T02:49:11.962Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 02:45 bin [2020-10-15T02:49:11.962Z] -rw-r--r-- 1 jenkins jenkins 110392 Oct 15 02:48 coverage.out [2020-10-15T02:49:11.962Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:45 example [2020-10-15T02:49:11.962Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 15 02:49 go.mod [2020-10-15T02:49:11.962Z] -rw-r--r-- 1 jenkins jenkins 13737 Oct 15 02:49 go.sum [2020-10-15T02:49:11.962Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 15 02:45 internal [2020-10-15T02:49:11.962Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:45 openapi [2020-10-15T02:49:11.962Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 15 02:45 pkg [2020-10-15T02:49:11.962Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:45 snap [2020-10-15T02:49:11.962Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 15 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:49:12.307Z] + 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=45c1db7a078e7895d1937ff01ca68aa047ba2514 --label arch=arm64 --label version=0.0.0 . [2020-10-15T02:49:12.907Z] Sending build context to Docker daemon 2.363MB [2020-10-15T02:49:12.907Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-15T02:49:12.907Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-15T02:49:12.907Z] ---> b78a240ccc2d [2020-10-15T02:49:12.907Z] Step 3/24 : ARG MAKE='make build' [2020-10-15T02:49:13.178Z] ---> Running in cf3a6a615331 [2020-10-15T02:49:13.772Z] Removing intermediate container cf3a6a615331 [2020-10-15T02:49:13.772Z] ---> a6f6deef4893 [2020-10-15T02:49:13.772Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-15T02:49:13.772Z] ---> Running in 64af4fb61d91 [2020-10-15T02:49:14.045Z] Removing intermediate container 64af4fb61d91 [2020-10-15T02:49:14.045Z] ---> 02b140dbd9a5 [2020-10-15T02:49:14.045Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:49:14.319Z] ---> Running in 110e6d3f35a2 [2020-10-15T02:49:14.913Z] Removing intermediate container 110e6d3f35a2 [2020-10-15T02:49:14.913Z] ---> 67abe9ac3e03 [2020-10-15T02:49:14.913Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T02:49:14.913Z] ---> Running in 027b4a2cf6ed [2020-10-15T02:49:17.534Z] Removing intermediate container 027b4a2cf6ed [2020-10-15T02:49:17.534Z] ---> 6b00d84a877f [2020-10-15T02:49:17.534Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-15T02:49:17.534Z] ---> Running in e4c8e724c699 [2020-10-15T02:49:18.983Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-15T02:49:19.958Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-15T02:49:20.554Z] OK: 142 MiB in 39 packages [2020-10-15T02:49:21.538Z] Removing intermediate container e4c8e724c699 [2020-10-15T02:49:21.538Z] ---> 89fcedcb3118 [2020-10-15T02:49:21.538Z] Step 8/24 : COPY . . [2020-10-15T02:49:22.975Z] ---> e044413ad1b8 [2020-10-15T02:49:22.975Z] Step 9/24 : RUN ${MAKE} [2020-10-15T02:49:22.975Z] ---> Running in f78a2c728cd1 [2020-10-15T02:49:24.412Z] 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:49:51.216Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-15T02:49:51.216Z] Removing intermediate container f78a2c728cd1 [2020-10-15T02:49:51.216Z] ---> 67f34c5395e6 [2020-10-15T02:49:51.216Z] Step 10/24 : FROM scratch [2020-10-15T02:49:51.216Z] ---> [2020-10-15T02:49:51.216Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:49:51.216Z] ---> Running in 9a0bb0de8697 [2020-10-15T02:49:51.216Z] Removing intermediate container 9a0bb0de8697 [2020-10-15T02:49:51.216Z] ---> 20be4c682718 [2020-10-15T02:49:51.216Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-15T02:49:51.216Z] ---> Running in 8369bc09ea5c [2020-10-15T02:49:51.216Z] Removing intermediate container 8369bc09ea5c [2020-10-15T02:49:51.216Z] ---> dd9076179ea7 [2020-10-15T02:49:51.216Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-15T02:49:51.216Z] ---> Running in 206b4b6d4746 [2020-10-15T02:49:51.812Z] Removing intermediate container 206b4b6d4746 [2020-10-15T02:49:51.812Z] ---> 31863e7d9a86 [2020-10-15T02:49:51.812Z] Step 14/24 : WORKDIR / [2020-10-15T02:49:51.812Z] ---> Running in e2d14c5baa2d [2020-10-15T02:49:52.406Z] Removing intermediate container e2d14c5baa2d [2020-10-15T02:49:52.406Z] ---> 993c34efe8e3 [2020-10-15T02:49:52.406Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-15T02:49:53.402Z] ---> f1cd16cd071a [2020-10-15T02:49:53.402Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-15T02:49:54.385Z] ---> 60b42430d935 [2020-10-15T02:49: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:49:54.979Z] ---> c820a1f8f831 [2020-10-15T02:49:54.979Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-15T02:49:55.577Z] ---> 3986fb70fe72 [2020-10-15T02:49:55.577Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-15T02:49:56.552Z] ---> c3a8298b39ff [2020-10-15T02:49:56.552Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-15T02:49:56.552Z] ---> Running in e9f9a45dd313 [2020-10-15T02:49:57.146Z] Removing intermediate container e9f9a45dd313 [2020-10-15T02:49:57.146Z] ---> 8735d576e4c2 [2020-10-15T02:49:57.146Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-15T02:49:57.146Z] ---> Running in d5fbbb30624e [2020-10-15T02:49:57.739Z] Removing intermediate container d5fbbb30624e [2020-10-15T02:49:57.739Z] ---> 739190741c75 [2020-10-15T02:49:57.739Z] Step 22/24 : LABEL arch=arm64 [2020-10-15T02:49:57.739Z] ---> Running in 998fe4cd49fe [2020-10-15T02:49:58.338Z] Removing intermediate container 998fe4cd49fe [2020-10-15T02:49:58.338Z] ---> 8b3bdf4144c7 [2020-10-15T02:49:58.338Z] Step 23/24 : LABEL git_sha=45c1db7a078e7895d1937ff01ca68aa047ba2514 [2020-10-15T02:49:58.338Z] ---> Running in d5f20c183c03 [2020-10-15T02:49:58.941Z] Removing intermediate container d5f20c183c03 [2020-10-15T02:49:58.941Z] ---> 70ad3239baf1 [2020-10-15T02:49:58.941Z] Step 24/24 : LABEL version=0.0.0 [2020-10-15T02:49:58.941Z] ---> Running in 692b45779f6b [2020-10-15T02:49:59.532Z] Removing intermediate container 692b45779f6b [2020-10-15T02:49:59.532Z] ---> cad70809c9bf [2020-10-15T02:49:59.532Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-15T02:49:59.532Z] Successfully built cad70809c9bf [2020-10-15T02:49:59.532Z] 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:50:01.542Z] provisioning config files... [2020-10-15T02:50:01.563Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config5313852880327213095tmp [Pipeline] { [Pipeline] sh [2020-10-15T02:50:01.929Z] + set +x [2020-10-15T02:50:01.929Z] + curl -s https://codecov.io/bash [2020-10-15T02:50:01.929Z] + bash -s -- [2020-10-15T02:50:02.196Z] [2020-10-15T02:50:02.196Z] _____ _ [2020-10-15T02:50:02.196Z] / ____| | | [2020-10-15T02:50:02.196Z] | | ___ __| | ___ ___ _____ __ [2020-10-15T02:50:02.196Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-15T02:50:02.196Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-15T02:50:02.196Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-15T02:50:02.196Z] Bash-20201009-048fee3 [2020-10-15T02:50:02.196Z] [2020-10-15T02:50:02.196Z] [2020-10-15T02:50:02.196Z] ==> Jenkins CI detected. [2020-10-15T02:50:02.196Z] project root: . [2020-10-15T02:50:02.196Z] Fixing merge commit SHA [2020-10-15T02:50:02.196Z] --> token set from env [2020-10-15T02:50:02.196Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-15T02:50:02.196Z] ==> Running gcov in . (disable via -X gcov) [2020-10-15T02:50:02.196Z] find: ‘./.semver’: Permission denied [2020-10-15T02:50:02.196Z] ==> Python coveragepy not found [2020-10-15T02:50:02.196Z] ==> Searching for coverage reports in: [2020-10-15T02:50:02.196Z] + . [2020-10-15T02:50:02.196Z] -> Found 1 reports [2020-10-15T02:50:02.196Z] ==> Detecting git/mercurial file structure [2020-10-15T02:50:02.196Z] ==> Reading reports [2020-10-15T02:50:02.196Z] + ./coverage.out bytes=110392 [2020-10-15T02:50:02.196Z] ==> Appending adjustments [2020-10-15T02:50:02.196Z] https://docs.codecov.io/docs/fixing-reports [2020-10-15T02:50:02.463Z] find: ‘./.semver’: Permission denied [2020-10-15T02:50:02.747Z] find: ‘./.semver’: Permission denied [2020-10-15T02:50:02.747Z] find: ‘./.semver’: Permission denied [2020-10-15T02:50:02.747Z] [2020-10-15T02:50:02.747Z] + Found adjustments [2020-10-15T02:50:02.747Z] ==> Gzipping contents [2020-10-15T02:50:02.747Z] ==> Uploading reports [2020-10-15T02:50:02.747Z] url: https://codecov.io [2020-10-15T02:50:02.747Z] query: branch=PR-584&commit=9121cb4fd2f17f024cc2e84f36967dd0fb0597df&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-15T02:50:02.747Z] -> Pinging Codecov [2020-10-15T02:50:02.748Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-584&commit=9121cb4fd2f17f024cc2e84f36967dd0fb0597df&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-15T02:50:02.748Z] -> Uploading to [2020-10-15T02:50:02.748Z] [2020-10-15T02:50:02.748Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-15T02:50:02.748Z] Dload Upload Total Spent Left Speed [2020-10-15T02:50:02.748Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-15T02:50:02.748Z] X> Failed to upload [2020-10-15T02:50:02.748Z] ==> Uploading to Codecov [2020-10-15T02:50:02.748Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-15T02:50:02.748Z] Dload Upload Total Spent Left Speed [2020-10-15T02:50:03.583Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18639 100 110 100 18529 167 28182 --:--:-- --:--:-- --:--:-- 28159 [2020-10-15T02:50:03.583Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9121cb4fd2f17f024cc2e84f36967dd0fb0597df [Pipeline] } [2020-10-15T02:50:03.594Z] 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:50:06.327Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:50:06.894Z] ---> package-listing.sh [2020-10-15T02:50:06.894Z] ++ facter osfamily [2020-10-15T02:50:06.894Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-15T02:50:06.894Z] + OS_FAMILY=redhat [2020-10-15T02:50:06.894Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-15T02:50:06.894Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-15T02:50:06.894Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-15T02:50:06.894Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-15T02:50:06.894Z] + PACKAGES=/tmp/packages_start.txt [2020-10-15T02:50:06.894Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-15T02:50:06.894Z] + PACKAGES=/tmp/packages_end.txt [2020-10-15T02:50:06.894Z] + case "${OS_FAMILY}" in [2020-10-15T02:50:06.894Z] + rpm -qa [2020-10-15T02:50:06.894Z] + sort [2020-10-15T02:50:11.126Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-15T02:50:11.126Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-15T02:50:11.126Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-15T02:50:11.126Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-15T02:50:11.126Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [2020-10-15T02:50:11.126Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [Pipeline] echo [2020-10-15T02:50:11.138Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-584/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-15T02:50:11.431Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:50:11.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T02:50:11.744Z] [2020-10-15T02:50:11.744Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:50:12.097Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T02:50:12.097Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-15T02:50:12.097Z] df20fa9351a1: Pulling fs layer [2020-10-15T02:50:12.097Z] 36b3adc4ff6f: Pulling fs layer [2020-10-15T02:50:12.097Z] 8ad3a11d3b57: Pulling fs layer [2020-10-15T02:50:12.097Z] 46f8f816bc3b: Pulling fs layer [2020-10-15T02:50:12.097Z] 93b61091891f: Pulling fs layer [2020-10-15T02:50:12.097Z] 93b9cdb0e59b: Pulling fs layer [2020-10-15T02:50:12.097Z] 5e14af77c1be: Pulling fs layer [2020-10-15T02:50:12.097Z] 01666e4c0597: Pulling fs layer [2020-10-15T02:50:12.097Z] aa168da1d23b: Pulling fs layer [2020-10-15T02:50:12.097Z] 93b9cdb0e59b: Waiting [2020-10-15T02:50:12.097Z] 5e14af77c1be: Waiting [2020-10-15T02:50:12.097Z] 01666e4c0597: Waiting [2020-10-15T02:50:12.097Z] aa168da1d23b: Waiting [2020-10-15T02:50:12.097Z] 46f8f816bc3b: Waiting [2020-10-15T02:50:12.097Z] 93b61091891f: Waiting [2020-10-15T02:50:12.097Z] 36b3adc4ff6f: Verifying Checksum [2020-10-15T02:50:12.097Z] 36b3adc4ff6f: Download complete [2020-10-15T02:50:12.097Z] 46f8f816bc3b: Verifying Checksum [2020-10-15T02:50:12.097Z] 46f8f816bc3b: Download complete [2020-10-15T02:50:12.097Z] df20fa9351a1: Verifying Checksum [2020-10-15T02:50:12.097Z] df20fa9351a1: Download complete [2020-10-15T02:50:12.364Z] 93b9cdb0e59b: Verifying Checksum [2020-10-15T02:50:12.364Z] 93b9cdb0e59b: Download complete [2020-10-15T02:50:12.364Z] 5e14af77c1be: Download complete [2020-10-15T02:50:12.364Z] 93b61091891f: Verifying Checksum [2020-10-15T02:50:12.364Z] 93b61091891f: Download complete [2020-10-15T02:50:12.364Z] 01666e4c0597: Verifying Checksum [2020-10-15T02:50:12.364Z] 01666e4c0597: Download complete [2020-10-15T02:50:12.626Z] df20fa9351a1: Pull complete [2020-10-15T02:50:12.627Z] 36b3adc4ff6f: Pull complete [2020-10-15T02:50:13.206Z] 8ad3a11d3b57: Verifying Checksum [2020-10-15T02:50:13.206Z] 8ad3a11d3b57: Download complete [2020-10-15T02:50:13.787Z] 8ad3a11d3b57: Pull complete [2020-10-15T02:50:13.787Z] 46f8f816bc3b: Pull complete [2020-10-15T02:50:14.376Z] 93b61091891f: Pull complete [2020-10-15T02:50:14.648Z] 93b9cdb0e59b: Pull complete [2020-10-15T02:50:14.648Z] aa168da1d23b: Verifying Checksum [2020-10-15T02:50:14.648Z] aa168da1d23b: Download complete [2020-10-15T02:50:14.648Z] 5e14af77c1be: Pull complete [2020-10-15T02:50:14.914Z] 01666e4c0597: Pull complete [2020-10-15T02:50:21.545Z] aa168da1d23b: Pull complete [2020-10-15T02:50:21.545Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-15T02:50:21.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T02:50:21.545Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-15T02:50:21.716Z] prd-centos7-docker-4c-2g-5503 does not seem to be running inside a container [2020-10-15T02:50:21.770Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-584/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-15T02:50:25.553Z] $ docker top eb1f6da21f4cb326e7a901be83760f47d3f39942fbc124e8c49e96d154ce55b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T02:50:26.101Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-15T02:50:26.398Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-15T02:50:26.696Z] + ls /var/log/sa-host [2020-10-15T02:50:26.697Z] + sadf -c /var/log/sa-host/sa05 [2020-10-15T02:50:26.697Z] file_magic: OK [2020-10-15T02:50:26.697Z] HZ: Using current value: 100 [2020-10-15T02:50:26.697Z] file_header: OK [2020-10-15T02:50:26.697Z] 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:50:26.697Z] Statistics: [2020-10-15T02:50:26.697Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-15T02:50:26.697Z] File successfully converted to sysstat format version 12.2.1 [2020-10-15T02:50:26.697Z] + sadf -c /var/log/sa-host/sa15 [2020-10-15T02:50:26.697Z] file_magic: OK [2020-10-15T02:50:26.697Z] HZ: Using current value: 100 [2020-10-15T02:50:26.697Z] file_header: OK [2020-10-15T02:50:26.697Z] 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:50:26.697Z] Statistics: [2020-10-15T02:50:26.697Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-15T02:50:26.697Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-15T02:50:26.895Z] provisioning config files... [2020-10-15T02:50:26.915Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config8297403452240173195tmp [Pipeline] { [Pipeline] echo [2020-10-15T02:50:26.982Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:50:27.278Z] ---> create-netrc.sh [Pipeline] } [2020-10-15T02:50:27.288Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-15T02:50:27.377Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:50:27.676Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-15T02:50:27.687Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:50:27.985Z] ---> sudo-logs.sh [2020-10-15T02:50:27.985Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-15T02:50:27.996Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:50:28.292Z] ---> job-cost.sh [2020-10-15T02:50:28.292Z] lf-activate-venv: SKIPPING [2020-10-15T02:50:28.292Z] INFO: No Stack... [2020-10-15T02:50:29.681Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-15T02:50:29.943Z] INFO: Archiving Costs [Pipeline] echo [2020-10-15T02:50:29.956Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:50:30.250Z] ---> logs-deploy.sh [2020-10-15T02:50:30.250Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/20 [2020-10-15T02:50:30.250Z] INFO: archiving workspace using pattern(s): [2020-10-15T02:50:32.172Z] Archives upload complete. [2020-10-15T02:50:32.172Z] INFO: archiving logs to Nexus